jeffkreeftmeijer / navvy

Simple Ruby background job processor inspired by delayed_job, but aiming for database agnosticism.
https://jeffkreeftmeijer.com
Other
215 stars 23 forks source link

Upgrade adapters #14

Open hderms opened 11 years ago

hderms commented 11 years ago

upgrade adapters to current RubyGems.org versions

jeffkreeftmeijer commented 11 years ago

Hey Dermot,

I tried running the tests locally (rake spec), but I got the following error 49 times when running the MongoMapper tests;

1) Navvy::Job.enqueue should enqueue a job
     Failure/Error: Navvy::Job.enqueue(Cow, :speak)
     NoMethodError:
       undefined method `read_inheritable_attribute' for Navvy::Job:Class
     # ./lib/navvy/job/mongo_mapper.rb:44:in `enqueue'
     # ./spec/job_spec.rb:55:in `block (3 levels) in <top (required)>'

Did you run into this too? It seems like MongoMapper removed a method or something, but I didn't have a lot of time to look into it.

hderms commented 11 years ago

Ah sorry Jeff,

I was running the tests specific to the various matchers determined by rake -T. I thought you had cordoned them off into specific worker tasks. I'll get on this soon.

On Mon, Mar 18, 2013 at 5:06 PM, Jeff Kreeftmeijer <notifications@github.com

wrote:

Hey Dermot,

I tried running the tests locally (rake spec), but I got the following error 49 times when running the MongoMapper tests;

1) Navvy::Job.enqueue should enqueue a job Failure/Error: Navvy::Job.enqueue(Cow, :speak) NoMethodError: undefined method `read_inheritable_attribute' for Navvy::Job:Class

./lib/navvy/job/mongo_mapper.rb:44:in`enqueue'

 # ./spec/job_spec.rb:55:in `block (3 levels) in <top (required)>'

Did you run into this too? It seems like MongoMapper removed a method or something, but I didn't have a lot of time to look into it.

— Reply to this email directly or view it on GitHubhttps://github.com/jeffkreeftmeijer/navvy/pull/14#issuecomment-15085131 .

jeffkreeftmeijer commented 11 years ago

No problem at all, the whole rake task thing is quite weird anyway. Please take your time. :)