Patched two small things for Rails 4/Ruby 2.0:
We now check for Rails::VERSION.MAJOR >= 4 as an or condition to assets being enabled. Rails 4 does not use the assets.enabled flag anymore, so in Rails 4, we just want TSR to turn itself on.
Also, I updated the reference parser to work with Ruby 2.0 and generally be a bit more cross-version. Should now work in Ruby 1.x/2.0 and Rails 3/4.
Merge branch 'master' of https://github.com/brainling/typescript-rails