resqutils 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +2 -0
- data/Gemfile.lock +20 -20
- data/gemfiles/rspec2.gemfile.lock +8 -8
- data/lib/resqutils/spec/resque_helpers.rb +5 -1
- data/lib/resqutils/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8a0283c75cede4be60e7aa55c5efbcc71852ab7
|
4
|
+
data.tar.gz: 9529c8d5f0e94e81eb478d4cda5e69b3c2c23462
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd9162d8d98c4d1a00754c505ee0e5067295cb8d3b5896a22a6c0a559ed57e3a039b78581f9e33e9f90515d47af309df4c6f2f3e577e594d2e5e0ebe331d2808
|
7
|
+
data.tar.gz: bac8f74118cf78fd8e4ef5b61e9df0a78a4375ce4251888cf929f28ddd255faa5807d33ef61d196cc9fbe829909c4099a6a295c10ff569c9838b3caae32d8532
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.3.0
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
resqutils (1.2.
|
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.
|
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.
|
19
|
-
redis (3.2.
|
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.
|
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.
|
29
|
-
rspec-core (~> 3.
|
30
|
-
rspec-expectations (~> 3.
|
31
|
-
rspec-mocks (~> 3.
|
32
|
-
rspec-core (3.3
|
33
|
-
rspec-support (~> 3.
|
34
|
-
rspec-expectations (3.
|
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.
|
37
|
-
rspec-mocks (3.
|
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.
|
40
|
-
rspec-support (3.
|
41
|
-
sinatra (1.4.
|
42
|
-
rack (~> 1.
|
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.
|
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.
|
59
|
+
1.12.5
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
resqutils (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.
|
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.
|
19
|
+
redis (3.2.2)
|
20
20
|
redis-namespace (1.5.2)
|
21
21
|
redis (~> 3.0, >= 3.0.4)
|
22
|
-
resque (1.
|
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.
|
37
|
-
rack (~> 1.
|
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.
|
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.
|
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
|
-
|
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
|
data/lib/resqutils/version.rb
CHANGED
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.
|
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:
|
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.
|
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
|