Project

General

Profile

« Previous | Next » 

Revision a6767c1c

Added by David Davis almost 10 years ago

Fixes #6640 - Update rubocop to 0.24.1

View differences:

Rakefile
begin
require 'rubocop/rake_task'
Rubocop::RakeTask.new
RuboCop::RakeTask.new
desc "Runs Rubocop style checker with xml output for Jenkins"
task 'rubocop:jenkins' do
......
Rake::Task['rubocop'].execute
end
namespace :gettext do
desc "Update pot file"
......
require 'gettext/tools'
domain = HammerCLIKatello::I18n::LocaleDomain.new
GetText.update_pofiles(domain.domain_name, domain.translated_files, "#{domain.domain_name} #{HammerCLIKatello.version.to_s}", :po_root => domain.locale_dir)
GetText.update_pofiles(domain.domain_name,
domain.translated_files,
"#{domain.domain_name} #{HammerCLIKatello.version}",
:po_root => domain.locale_dir
)
end
end

Also available in: Unified diff