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

Duplicate Keys in Hash throw a warning #11

Open
nodanaonlyzuul opened this issue Jan 31, 2017 · 1 comment
Open

Duplicate Keys in Hash throw a warning #11

nodanaonlyzuul opened this issue Jan 31, 2017 · 1 comment

Comments

@nodanaonlyzuul
Copy link

Starting a rails (3.2) app using Ruby 2.2 output the following:

yada/yada/yada/.rvm/gems/ruby-2.2.6@gemsetname/gems/timetwister-0.2.5/lib/timetwister/utilities.rb:124: warning: duplicated key at line 138 ignored: "marzo"
yada/yada/yada/.rvm/gems/ruby-2.2.6@gemsetname/gems/timetwister-0.2.5/lib/timetwister/utilities.rb:129: warning: duplicated key at line 143 ignored: "agosto"
yada/yada/yada/.rvm/gems/ruby-2.2.6@gemsetname/gems/timetwister-0.2.5/lib/timetwister/utilities.rb:118: warning: duplicated key at line 146 ignored: "novembre"
yada/yada/yada/.rvm/gems/ruby-2.2.6@gemsetname/gems/timetwister-0.2.5/lib/timetwister/utilities.rb:112: warning: duplicated key at line 154 ignored: "mai"

I know those month names exist in multiple languages but maybe you can move it to a unique key with a comment letting folks know the languages.

@alexduryee
Copy link
Owner

Sounds like a plan; I'll remove it from redundant languages and note the gap.

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

No branches or pull requests

2 participants