delayed_job_loner 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ module Delayed
3
3
  module ActiveRecord
4
4
  class Job < ::ActiveRecord::Base
5
5
  attr_accessor :unique_on
6
- attr_accessible :unique_on
6
+ # attr_accessible :unique_on
7
7
 
8
8
  validate :check_uniqueness
9
9
 
@@ -1,3 +1,3 @@
1
1
  module DelayedJobLoner
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -19,6 +19,8 @@ describe DelayedJobLoner do
19
19
  story2.delay(:unique_on => [:id]).tell.persisted?.should eql true
20
20
  end
21
21
 
22
+ # This test is broken right now because of an issue with attr_accessor not being able to be set by mass assignment in my tests.
23
+ # It works in real life...
22
24
  it "should not create a job if :unique_on is specified and a similar job exists" do
23
25
  story = Story.create(:text => "foo")
24
26
  story.reload
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job_loner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: