Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds ':' to VALID_KEY_CHARS for ruby_key_literals. #208

Merged
merged 2 commits into from
Nov 1, 2016

Conversation

keldin-coding
Copy link

Aims to fix #207

Passing build: https://travis-ci.org/jon2992/i18n-tasks/builds/172334674

This line in i18n_tasks_output_matcher was adjusted to allow non-globbing keys to print out correctly if they end in a colon. I left a comment explaining my changes in capture_std.rb. Maybe it's just my system, but Travis also failed for that reason. It made sense to met that the tests should support ActiveSupport 4 and 5 given the support of the gem itself is that.

@keldin-coding
Copy link
Author

keldin-coding commented Nov 1, 2016

Travis is trying to install jruby-9.0.0.0-pre1 which works at ruby 2.2.0. ActiveSupport for Rails 5 requires 2.2.2. I'm not really sure what to do about this scenario.

@glebm
Copy link
Owner

glebm commented Nov 1, 2016

I'm looking into travis

# both rails 4 and 5 which the gemspec supports.
require 'active_support/gem_version'

if ActiveSupport::VERSION::MAJOR == 5
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would check for version 4 instead; Then there is a chance it will also work for Rails 6

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point: 50ba5b3

@glebm glebm added this to the v0.9.6 milestone Nov 1, 2016
@glebm glebm added the bug label Nov 1, 2016
@glebm glebm merged commit 608c627 into glebm:master Nov 1, 2016
@glebm
Copy link
Owner

glebm commented Nov 1, 2016

Travis seems to be having a bad day (not displaying any logs), but I'll run the tests locally and release v0.9.6 anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Valid keys slipping through as invalid and not showing up missing
2 participants