resqutils 1.2.0 → 1.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a80c8babeebfe016d723913e3526e2b20970d672
4
- data.tar.gz: 19828b603b4b2f7f991e03e2be56f4a441a29fae
3
+ metadata.gz: d8a0283c75cede4be60e7aa55c5efbcc71852ab7
4
+ data.tar.gz: 9529c8d5f0e94e81eb478d4cda5e69b3c2c23462
5
5
  SHA512:
6
- metadata.gz: d1d995e26e2361f9d040631b922f1c495da746109a2ff9217f2dd544a7baa155281394b0729790c2b95c1cb38242a0c81ded71950ba43e61697ce5f2415203ea
7
- data.tar.gz: ef07f5f0aa385e580f7bb6141ca61e27aaefe0aa31a466517fd9d105a10ba68cde2d898a5958a94a712f618eb3135cecffe74a16d5ef3b6d89f1829260d31ddc
6
+ metadata.gz: dd9162d8d98c4d1a00754c505ee0e5067295cb8d3b5896a22a6c0a559ed57e3a039b78581f9e33e9f90515d47af309df4c6f2f3e577e594d2e5e0ebe331d2808
7
+ data.tar.gz: bac8f74118cf78fd8e4ef5b61e9df0a78a4375ce4251888cf929f28ddd255faa5807d33ef61d196cc9fbe829909c4099a6a295c10ff569c9838b3caae32d8532
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.3.0
@@ -5,6 +5,8 @@ rvm:
5
5
  - 2.0.0
6
6
  - 1.9.3
7
7
  - ruby-head
8
+ before_install:
9
+ - gem install bundler
8
10
  gemfile:
9
11
  - Gemfile
10
12
  - gemfiles/rspec2.gemfile
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- resqutils (1.2.0)
4
+ resqutils (1.2.1)
5
5
  resque
6
6
 
7
7
  GEM
@@ -11,38 +11,38 @@ GEM
11
11
  fakeredis (0.5.0)
12
12
  redis (~> 3.0)
13
13
  mono_logger (1.1.0)
14
- multi_json (1.11.2)
14
+ multi_json (1.12.1)
15
15
  rack (1.6.4)
16
16
  rack-protection (1.5.3)
17
17
  rack
18
- rake (10.4.2)
19
- redis (3.2.1)
18
+ rake (10.5.0)
19
+ redis (3.2.2)
20
20
  redis-namespace (1.5.2)
21
21
  redis (~> 3.0, >= 3.0.4)
22
- resque (1.25.2)
22
+ resque (1.26.0)
23
23
  mono_logger (~> 1.0)
24
24
  multi_json (~> 1.0)
25
25
  redis-namespace (~> 1.3)
26
26
  sinatra (>= 0.9.2)
27
27
  vegas (~> 0.1.2)
28
- rspec (3.3.0)
29
- rspec-core (~> 3.3.0)
30
- rspec-expectations (~> 3.3.0)
31
- rspec-mocks (~> 3.3.0)
32
- rspec-core (3.3.2)
33
- rspec-support (~> 3.3.0)
34
- rspec-expectations (3.3.1)
28
+ rspec (3.4.0)
29
+ rspec-core (~> 3.4.0)
30
+ rspec-expectations (~> 3.4.0)
31
+ rspec-mocks (~> 3.4.0)
32
+ rspec-core (3.4.3)
33
+ rspec-support (~> 3.4.0)
34
+ rspec-expectations (3.4.0)
35
35
  diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.3.0)
37
- rspec-mocks (3.3.2)
36
+ rspec-support (~> 3.4.0)
37
+ rspec-mocks (3.4.1)
38
38
  diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.3.0)
40
- rspec-support (3.3.0)
41
- sinatra (1.4.6)
42
- rack (~> 1.4)
39
+ rspec-support (~> 3.4.0)
40
+ rspec-support (3.4.1)
41
+ sinatra (1.4.7)
42
+ rack (~> 1.5)
43
43
  rack-protection (~> 1.4)
44
44
  tilt (>= 1.3, < 3)
45
- tilt (2.0.1)
45
+ tilt (2.0.5)
46
46
  vegas (0.1.11)
47
47
  rack (>= 1.0.0)
48
48
 
@@ -56,4 +56,4 @@ DEPENDENCIES
56
56
  rspec
57
57
 
58
58
  BUNDLED WITH
59
- 1.10.6
59
+ 1.12.5
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- resqutils (1.1.1)
4
+ resqutils (1.2.1)
5
5
  resque
6
6
 
7
7
  GEM
@@ -11,15 +11,15 @@ GEM
11
11
  fakeredis (0.5.0)
12
12
  redis (~> 3.0)
13
13
  mono_logger (1.1.0)
14
- multi_json (1.11.2)
14
+ multi_json (1.12.1)
15
15
  rack (1.6.4)
16
16
  rack-protection (1.5.3)
17
17
  rack
18
18
  rake (10.4.2)
19
- redis (3.2.1)
19
+ redis (3.2.2)
20
20
  redis-namespace (1.5.2)
21
21
  redis (~> 3.0, >= 3.0.4)
22
- resque (1.25.2)
22
+ resque (1.26.0)
23
23
  mono_logger (~> 1.0)
24
24
  multi_json (~> 1.0)
25
25
  redis-namespace (~> 1.3)
@@ -33,11 +33,11 @@ GEM
33
33
  rspec-expectations (2.99.2)
34
34
  diff-lcs (>= 1.1.3, < 2.0)
35
35
  rspec-mocks (2.99.4)
36
- sinatra (1.4.6)
37
- rack (~> 1.4)
36
+ sinatra (1.4.7)
37
+ rack (~> 1.5)
38
38
  rack-protection (~> 1.4)
39
39
  tilt (>= 1.3, < 3)
40
- tilt (2.0.1)
40
+ tilt (2.0.5)
41
41
  vegas (0.1.11)
42
42
  rack (>= 1.0.0)
43
43
 
@@ -51,4 +51,4 @@ DEPENDENCIES
51
51
  rspec (~> 2)
52
52
 
53
53
  BUNDLED WITH
54
- 1.10.6
54
+ 1.12.5
@@ -26,7 +26,11 @@ module Resqutils::Spec::ResqueHelpers
26
26
  end
27
27
  raise "No jobs on #{queue}" if job.nil?
28
28
  klass = job["class"].constantize
29
- klass.should == expected_class
29
+ if Gem.loaded_specs['rspec'].version >= Gem::Version.new('3')
30
+ expect(klass).to eq(expected_class)
31
+ else
32
+ klass.should == expected_class
33
+ end
30
34
  block.call(job)
31
35
  klass.perform(*job["args"])
32
36
  end
@@ -1,3 +1,3 @@
1
1
  module Resqutils
2
- VERSION='1.2.0'
2
+ VERSION='1.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resqutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stitch Fix Engineering
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-11-19 00:00:00.000000000 Z
13
+ date: 2017-04-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: resque
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.4.1
130
+ rubygems_version: 2.5.1
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Utilities for using Resque in a Rails app