Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Mongoid 2.0.0.rc.1 #22

Closed
KieranP opened this issue Jan 10, 2011 · 15 comments
Closed

Support for Mongoid 2.0.0.rc.1 #22

KieranP opened this issue Jan 10, 2011 · 15 comments

Comments

@KieranP
Copy link

KieranP commented Jan 10, 2011

mongoid-rspec is broken on Mongoid 2.0.0.rc.1, because mongoid/associations file is no longer present?

Would you be able to take a look and, if at all possible, please provide a fix? I'm afraid I don't have the time to contribute one myself.

@voldy
Copy link

voldy commented Jan 11, 2011

I can confirm that problem exists on Mongoid 2.0.0.rc.3

no such file to load -- mongoid/associations

ruby-1.9.2-p0/gems/mongoid-rspec-1.3.2/lib/matchers/associations.rb:1:in `<top (required)>'

@chicks
Copy link

chicks commented Jan 15, 2011

I'd like to vote this one up.

@runeb
Copy link

runeb commented Jan 18, 2011

Wow, what an attitude!
"fix ASAP"? You've really missed the point of free and open source software.

@KieranP
Copy link
Author

KieranP commented Jan 18, 2011

@rubeb: Don't be like that please. I wasn't demanding it be fixed, I was politely asking, hence the word 'Please'. Just because I don't have the time to fix it myself doesn't mean I should have left the issue unreported.

@runeb
Copy link

runeb commented Jan 18, 2011

Thats not polite in any country I know of. In (your) best case, thats a polite question to take a look at something, coupled by the word 'and' to an order to drop everything and do it right away (dammit!).

Don't you think gem authors have better things to do than to please you "as soon as possible"? Please spend the rest of your day contemplating this.

To others who have problems with this bug; there is a fork by durran in the pull request queue that fixes it.

Politely yours,
runeb

@KieranP
Copy link
Author

KieranP commented Jan 18, 2011

@rubeb Wow. I don't know what I did to offend you so much. I'm sorry.

I have changed the wording in the first post. Hopefully it sounds nicer now.

@runeb
Copy link

runeb commented Jan 18, 2011

I just find the expression "ASAP" extremely inappropriate with regards to FOSS where people contribute their spare time to make something others can use for free and profit, asking nothing in return. I'm sure deep down you will agree.

Thats great, but like I said its already fixed and a pull request is issued. There is no need to keep asking Evan to fix it.

@chicks
Copy link

chicks commented Jan 19, 2011

Any idea when you guys will merge the pull request and cut a new gem?

@benschwarz
Copy link

This issue has bitten me as well now.
Until this issue is resolved, the working configuration is:

gem "mongoid", "2.0.0.beta.20"

group :test do
  gem 'mongoid-rspec', '1.2.1'
end

It'd be good to get some visibility to this issue so that we can plan to drop using mongoid-rspec or not.

@jc00ke
Copy link
Contributor

jc00ke commented Feb 15, 2011

It would be really nice to have support for mongoid 2.0.0.rc.7, which I believe has removed associations like mongoid-rspec expects.

mongoid-rspec looks really nice and I'd love to use it!

@jmaicher
Copy link

+1

It would be awesome to have support for the mongoid 2.0.0.rc versions.

@jc00ke
Copy link
Contributor

jc00ke commented Feb 23, 2011

I've been using Durran's fork & it's great: https://github.com/durran/mongoid-rspec

@evansagge
Copy link
Contributor

mongoid-rspec 1.4.1 on rubygems should be compatible with mongoid 2.0.0.rc versions now.

@jmaicher
Copy link

jmaicher commented Mar 8, 2011

Is it still compatible with the mongoid 2.0.0.beta versions?

@evansagge
Copy link
Contributor

Unfortunately, most of the changes made on mongoid 2.0 rc made it such that mongoid-rspec is no longer compatible with the beta versions.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants