aberant / osc-ruby

Open Sound Control Library for Ruby
MIT License
94 stars 16 forks source link

Numeric overrides collide with ActiveSupport #18

Open aviemet opened 8 months ago

aviemet commented 8 months ago

Hi, not sure if you're still maintaining this package. I wanted to try using this in a Rails project, but ended up with some errors in other packages because of the time method overrides. The return values from seconds, minutes, etc. are different than those from the same methods in ActiveSupport.

Is there a way to disable the class extension by any chance since all of those methods are already provided by Rails?

Thank you

aberant commented 8 months ago

Huh, I don't see any uses of these methods. I'm going to look into removing lib/osc-ruby/core_ext/numeric.rb

aberant commented 4 months ago

This should be fixed in 1.1.5.