-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop MRI < 2.3 support and test against the latest rubies (#298)
* Test against the latest ruby * Test against all major supported MRI's * Drop support for EOL'd rubies * Test major supported jrubies as well: 9.1 as MRI 2.3-compatible and 9.2 as MRI 2.5-compatible. * Fix rubocop TODO's that can now be fixed
- Loading branch information
1 parent
1c9160c
commit 3582b9a
Showing
16 changed files
with
100 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,23 +11,21 @@ Gem::Specification.new do |s| # rubocop:disable Metrics/BlockLength | |
s.email = ['[email protected]'] | ||
s.license = 'MIT' | ||
s.summary = 'Manage localization and translation with the awesome power of static analysis' | ||
s.description = <<-TEXT | ||
i18n-tasks helps you find and manage missing and unused translations. | ||
s.description = <<~TEXT | ||
i18n-tasks helps you find and manage missing and unused translations. | ||
It analyses code statically for key usages, such as `I18n.t('some.key')`, in order to report keys that are missing or unused, | ||
pre-fill missing keys (optionally from Google Translate), and remove unused keys. | ||
It analyses code statically for key usages, such as `I18n.t('some.key')`, in order to report keys that are missing or unused, | ||
pre-fill missing keys (optionally from Google Translate), and remove unused keys. | ||
TEXT | ||
s.post_install_message = <<-TEXT | ||
# Install default configuration: | ||
cp $(i18n-tasks gem-path)/templates/config/i18n-tasks.yml config/ | ||
# Add an RSpec for missing and unused keys: | ||
cp $(i18n-tasks gem-path)/templates/rspec/i18n_spec.rb spec/ | ||
s.post_install_message = <<~TEXT | ||
# Install default configuration: | ||
cp $(i18n-tasks gem-path)/templates/config/i18n-tasks.yml config/ | ||
# Add an RSpec for missing and unused keys: | ||
cp $(i18n-tasks gem-path)/templates/rspec/i18n_spec.rb spec/ | ||
TEXT | ||
s.homepage = 'https://github.com/glebm/i18n-tasks' | ||
s.metadata = { 'issue_tracker' => 'https://github.com/glebm/i18n-tasks' } if s.respond_to?(:metadata=) | ||
# rubocop:disable Gemspec/RequiredRubyVersion | ||
s.required_ruby_version = '~> 2.1' if s.respond_to?(:required_ruby_version=) | ||
# rubocop:enable Gemspec/RequiredRubyVersion | ||
s.required_ruby_version = '~> 2.3' if s.respond_to?(:required_ruby_version=) | ||
|
||
s.files = `git ls-files`.split($/) | ||
s.files -= s.files.grep(%r{^(doc/|\.|spec/)}) + %w[CHANGES.md config/i18n-tasks.yml Gemfile] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters