Release new version for Ruby 2.0.0 support #500

Closed
mbleigh opened this Issue Feb 25, 2013 · 12 comments

Comments

Projects
None yet

mbleigh commented Feb 25, 2013

Now that Ruby 2.0 is out, it'd be great to have a new release since the current version doesn't work out of the box.

fnando commented Feb 27, 2013

+1

warmwind commented Mar 6, 2013

+1. That has been fix long time ago in #473 (Last November) and ruby 2.0 has officially released for a couple of weeks already.

Bramanga commented Mar 8, 2013

+1

Contributor

jnunemaker commented Mar 13, 2013

A new version is on the todo list. I'll try to release it today. I don't need any more +1's.

Contributor

jnunemaker commented Mar 14, 2013

Working on this, but there are some failures with ruby 1.8.x so it is taking some time.

Contributor

leifcr commented Mar 19, 2013

How about leaving 1.8.x out in the cold?

stfairy commented Apr 3, 2013

Is it fixed now? It seems the change in #473 is merged into the master but I'm still experiencing errors as follows

/home/xjia/local/lib/ruby/gems/2.0.0/gems/mongo_mapper-0.12.0/lib/mongo_mapper/plugins/associations/proxy.rb:97:in `send': undefined method `load_target' for #<Array:0x007f7992bc4ab8> (NoMethodError)
    from /home/xjia/local/lib/ruby/gems/2.0.0/gems/mongo_mapper-0.12.0/lib/mongo_mapper/plugins/embedded_callbacks.rb:18:in `block in run_callbacks'
    from /home/xjia/local/lib/ruby/gems/2.0.0/gems/mongo_mapper-0.12.0/lib/mongo_mapper/plugins/embedded_callbacks.rb:17:in `each'
    from /home/xjia/local/lib/ruby/gems/2.0.0/gems/mongo_mapper-0.12.0/lib/mongo_mapper/plugins/embedded_callbacks.rb:17:in `run_callbacks'
    from /home/xjia/local/lib/ruby/gems/2.0.0/gems/mongo_mapper-0.12.0/lib/mongo_mapper/plugins/validations.rb:84:in `run_validations!'
    from /home/xjia/local/lib/ruby/gems/2.0.0/gems/activemodel-3.2.13/lib/active_model/validations.rb:195:in `valid?'
    from /home/xjia/local/lib/ruby/gems/2.0.0/gems/mongo_mapper-0.12.0/lib/mongo_mapper/plugins/validations.rb:27:in `valid?'
    from /home/xjia/local/lib/ruby/gems/2.0.0/gems/mongo_mapper-0.12.0/lib/mongo_mapper/plugins/validations.rb:22:in `save'
    from /home/xjia/local/lib/ruby/gems/2.0.0/gems/mongo_mapper-0.12.0/lib/mongo_mapper/plugins/identity_map.rb:113:in `save'
    from /home/xjia/local/lib/ruby/gems/2.0.0/gems/mongo_mapper-0.12.0/lib/mongo_mapper/plugins/querying.rb:134:in `save!'
    from test.rb:24:in `<main>'

I'm using ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]

Or anything which can help get rid of this temporarily?

I've confirmed the current master works with ruby 2.0.0. That's great!

Do you have any idea about ETA of a new version release?

Contributor

jcaudle commented May 14, 2013

@masatomo I've gotten MM's test suite passing on 1.9.3 and 2.0.0, but it is currently failing on ree and 1.8.7. I've got a branch going for fixing those tests, but I haven't had a lot of time recently to get those tests passing. Once I do, I think a release will be forthcoming.

Contributor

jcaudle commented Jul 6, 2013

Ruby 2.0.0 is supported on master. Closing this. A release will be coming soon.

jcaudle closed this Jul 6, 2013

It's been 6 months and still no new release and this is still broken.. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment