dkubb / axiom

Simplifies querying of structured data using relational algebra
https://github.com/dkubb/axiom
MIT License
459 stars 22 forks source link

Update the code to use the 1.9 Hash format #35

Closed dkubb closed 10 years ago

dkubb commented 11 years ago

This branch changes the library and specs to use the 1.9 Hash format.

On one hand, I'm not always a fan of this syntax (like when the key and value are Symbol objects), on the other hand it does make it absolutely clear the code is 1.9 only, so there's no mistaking our intentions.

mbj commented 11 years ago

@dkubb Why just dont rase an error on `RUBY_VERSION <= '1.9', this is even better than a SyntaxError on 1.8!

dkubb commented 11 years ago

@mbj haha. I know I could add an entry in the gemspec to force it on install.

dkubb commented 10 years ago

I am going to close this for now. later on when I update the code to match rubocop conventions I will make this change.