Skip to content

Commit a5acceb

Browse files
committed
Merge branch 'resque-2.0-support'
2 parents 7b19321 + c59521e commit a5acceb

File tree

5 files changed

+51
-37
lines changed

5 files changed

+51
-37
lines changed

Gemfile.lock

+46-30
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,59 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.3.5)
5-
builder (3.2.2)
6-
faraday (0.7.6)
7-
addressable (~> 2.2)
8-
multipart-post (~> 1.1)
9-
rack (~> 1.1)
10-
git (1.2.6)
11-
github_api (0.4.10)
12-
faraday (~> 0.7.6)
13-
hashie (~> 1.2.0)
14-
multi_json (~> 1.0)
15-
oauth2 (~> 0.5.2)
16-
hashie (1.2.0)
17-
highline (1.6.20)
18-
jeweler (2.0.0)
4+
addressable (2.4.0)
5+
builder (3.2.4)
6+
descendants_tracker (0.0.4)
7+
thread_safe (~> 0.3, >= 0.3.1)
8+
faraday (0.9.2)
9+
multipart-post (>= 1.2, < 3)
10+
git (1.7.0)
11+
rchardet (~> 1.8)
12+
github_api (0.16.0)
13+
addressable (~> 2.4.0)
14+
descendants_tracker (~> 0.0.4)
15+
faraday (~> 0.8, < 0.10)
16+
hashie (>= 3.4)
17+
mime-types (>= 1.16, < 3.0)
18+
oauth2 (~> 1.0)
19+
hashie (4.1.0)
20+
highline (2.0.3)
21+
jeweler (2.3.9)
1922
builder
20-
bundler (>= 1.0)
23+
bundler
2124
git (>= 1.2.5)
22-
github_api
25+
github_api (~> 0.16.0)
2326
highline (>= 1.6.15)
2427
nokogiri (>= 1.5.10)
28+
psych
2529
rake
2630
rdoc
27-
json (1.8.1)
31+
semver2
32+
jwt (2.2.2)
2833
metaclass (0.0.2)
29-
mini_portile (0.5.2)
34+
mime-types (2.99.3)
35+
mini_portile2 (2.4.0)
3036
minitest (5.5.1)
3137
mocha (0.14.0)
3238
metaclass (~> 0.0.1)
33-
multi_json (1.3.6)
34-
multipart-post (1.2.0)
35-
nokogiri (1.6.1)
36-
mini_portile (~> 0.5.0)
37-
oauth2 (0.5.2)
38-
faraday (~> 0.7)
39-
multi_json (~> 1.0)
40-
rack (1.4.1)
39+
multi_json (1.15.0)
40+
multi_xml (0.6.0)
41+
multipart-post (2.1.1)
42+
nokogiri (1.10.10)
43+
mini_portile2 (~> 2.4.0)
44+
oauth2 (1.4.4)
45+
faraday (>= 0.8, < 2.0)
46+
jwt (>= 1.0, < 3.0)
47+
multi_json (~> 1.3)
48+
multi_xml (~> 0.5)
49+
rack (>= 1.2, < 3)
50+
psych (3.2.0)
51+
rack (1.6.13)
4152
rack-protection (1.2.0)
4253
rack
43-
rake (10.1.1)
44-
rdoc (4.1.1)
45-
json (~> 1.4)
54+
rake (13.0.1)
55+
rchardet (1.8.0)
56+
rdoc (6.2.1)
4657
redis (3.0.2)
4758
redis-namespace (1.2.1)
4859
redis (~> 3.0.0)
@@ -51,10 +62,12 @@ GEM
5162
redis-namespace (~> 1.0)
5263
sinatra (>= 0.9.2)
5364
vegas (~> 0.1.2)
65+
semver2 (3.4.2)
5466
sinatra (1.3.3)
5567
rack (~> 1.3, >= 1.3.6)
5668
rack-protection (~> 1.2)
5769
tilt (~> 1.3, >= 1.3.3)
70+
thread_safe (0.3.6)
5871
tilt (1.3.3)
5972
vegas (0.1.11)
6073
rack (>= 1.0.0)
@@ -67,3 +80,6 @@ DEPENDENCIES
6780
minitest (~> 5.5)
6881
mocha (~> 0.9)
6982
resque (~> 1.19)
83+
84+
BUNDLED WITH
85+
2.1.4

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require 'resque/tasks'
88
begin
99
require 'jeweler'
1010
Jeweler::Tasks.new do |gem|
11-
gem.name = "resque-status"
11+
gem.name = "powerhome-resque-status"
1212
gem.version = Resque::Plugins::Status::VERSION
1313
gem.summary = %Q{resque-status is an extension to the resque queue system that provides simple trackable jobs.}
1414
gem.description = %Q{resque-status is an extension to the resque queue system that provides simple trackable jobs. It provides a Resque::Plugins::Status::Hash class which can set/get the statuses of jobs and a Resque::Plugins::Status class that when included provides easily trackable/killable jobs.}

lib/resque/plugins/status.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module Plugins
2828
# This job would iterate num times updating the status as it goes. At the end
2929
# we update the status telling anyone listening to this job that its complete.
3030
module Status
31-
VERSION = '0.5.0'
31+
VERSION = '0.6.0'
3232

3333
STATUS_QUEUED = 'queued'
3434
STATUS_WORKING = 'working'

powerhome-resque-status.gemspec

-1
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,3 @@ Gem::Specification.new do |s|
5959
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
6060
end
6161
end
62-

resque-status.gemspec

+3-4
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,14 @@ Gem::Specification.new do |s|
5151
s.specification_version = 4
5252

5353
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54-
s.add_runtime_dependency(%q<resque>, ["~> 1.19"])
54+
s.add_runtime_dependency(%q<resque>, [">= 1.19", "< 3"])
5555
s.add_development_dependency(%q<jeweler>, [">= 0"])
5656
else
57-
s.add_dependency(%q<resque>, ["~> 1.19"])
57+
s.add_dependency(%q<resque>, [">= 1.19", "< 3"])
5858
s.add_dependency(%q<jeweler>, [">= 0"])
5959
end
6060
else
61-
s.add_dependency(%q<resque>, ["~> 1.19"])
61+
s.add_dependency(%q<resque>, [">= 1.19", "< 3"])
6262
s.add_dependency(%q<jeweler>, [">= 0"])
6363
end
6464
end
65-

0 commit comments

Comments
 (0)