Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Release new version for Ruby 2.0.0 support #500

Closed
mbleigh opened this Issue · 12 comments
@mbleigh

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

+1

@warmwind

+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

+1

@jnunemaker
Owner

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

@jnunemaker
Owner

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

@leifcr

How about leaving 1.8.x out in the cold?

@stfairy

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?

@masatomo

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?

@jcaudle
Collaborator

@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.

@jcaudle
Collaborator

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

@jcaudle jcaudle closed this
@pbennett

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
Something went wrong with that request. Please try again.