halostatue / color

Color tools for Ruby.
Other
133 stars 41 forks source link

What about Ruby 2.1.0 support? #13

Closed dpsk closed 8 years ago

dpsk commented 10 years ago

Trying example from documentation

Color::RGB.new(0x20, 0x40, 0x80)
(pry) output error: #<NoMethodError: undefined method `to_rgb' for #<Object:0x0000010186d588>>

I also noticed that builds on travis failing for Ruby 2.0.

Is there are any plans or anything i can help with on this one?

halostatue commented 10 years ago

Odd. There's nothing that should be failing. I'll look at it this week.

dpsk commented 10 years ago

Sorry for misinformation, working fine in Rails 4 + Ruby 2.1.1 combo. However this error keeps popping up from rails console(using pry).

halostatue commented 9 years ago

I'll look at it soon.

bguest commented 9 years ago

I'm thinking this (https://github.com/halostatue/color/pull/18) may fix your issue, I'm using my branch with a rails 4.2 / ruby 2.1.5 project...

halostatue commented 8 years ago

Merged #18; closing this based on @bguest’s comment.