simple_resque 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_resque (1.0.2)
4
+ simple_resque (1.0.3)
5
5
  resque
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -23,10 +23,13 @@ I'll need to add other simplifications of the Resque API.
23
23
 
24
24
  SimpleResque.push("Transmogrifier",id: 3, state: "back_to_calvin")
25
25
 
26
- # Configuration
26
+ # These methods are useful in integration/acceptance tests; if you wanted
27
+ # to use these in production you would be better off using Resque the
28
+ # conventional way
27
29
 
28
- SimpleResque.resque = Resque
29
- SimpleResque.resque = MyResqueMock # useful for unit testing
30
+ SimpleResque.size("Transmogrifier") # => 1
31
+ SimpleResque.pop("Transmogrifier") # => {"class"=>"Transmogrifier", "args"=>{"id"=>3, "state"=>"back_to_calvin"}}
32
+ SimpleResque.clear("Transmogrifier")
30
33
 
31
34
  # Problems? Questions?
32
35
 
@@ -1,3 +1,3 @@
1
1
  module SimpleResque
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_resque
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-26 00:00:00.000000000Z
12
+ date: 2012-01-30 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: resque
16
- requirement: &2153394980 !ruby/object:Gem::Requirement
16
+ requirement: &2153508400 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2153394980
24
+ version_requirements: *2153508400
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &2153394560 !ruby/object:Gem::Requirement
27
+ requirement: &2153507980 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2153394560
35
+ version_requirements: *2153507980
36
36
  description: Provides a simpler interface to enqueue Resque jobs between codebases
37
37
  without having to define the Jobs in multiple codebases.
38
38
  email: mike@subelsky.com