resque-delayed 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ ## 1.3.0 (2015-05-19)
2
+
3
+ * relax/simplify many dependencies; don't directly depend on redis; cleanup bundler usage; update gemspec based on current template; add spec rake task; add resque/delayed file to match gem name. Thanks @postmodern!
1
4
  ## 1.2.0 (2013-07-30)
2
5
 
3
6
  * relax Resque and Redis dependencies to allow wider range of installs
@@ -17,4 +20,4 @@
17
20
 
18
21
  ## 1.0.0 (2011-09-07)
19
22
 
20
- * initial release.
23
+ * initial release.
data/Rakefile CHANGED
@@ -1,5 +1,13 @@
1
1
  #!/usr/bin/env rake
2
2
 
3
- $:.unshift File.dirname(__FILE__)
3
+ begin
4
+ require 'bundler/setup'
5
+ rescue LoadError => error
6
+ abort error.message
7
+ end
8
+
4
9
  require "bundler/gem_tasks"
5
- require "lib/resque-delayed/tasks"
10
+ require "resque-delayed/tasks"
11
+
12
+ require "rspec/core/rake_task"
13
+ RSpec::Core::RakeTask.new
@@ -1,6 +1,6 @@
1
1
  require 'resque'
2
2
  require 'uuidtools'
3
3
 
4
- %w(resque-delayed resque worker).each do |component|
5
- require File.join(File.dirname(__FILE__), 'resque-delayed', component)
6
- end
4
+ require 'resque-delayed/resque-delayed'
5
+ require 'resque-delayed/resque'
6
+ require 'resque-delayed/worker'
@@ -1,5 +1,5 @@
1
1
  module Resque
2
2
  module Delayed
3
- VERSION = "1.2.0"
3
+ VERSION = "1.3.0"
4
4
  end
5
5
  end
@@ -0,0 +1 @@
1
+ require 'resque-delayed'
@@ -1,24 +1,26 @@
1
- require File.expand_path('../lib/resque-delayed/version', __FILE__)
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'resque-delayed/version'
2
5
 
3
6
  Gem::Specification.new do |gem|
4
7
  gem.authors = ["Justin Giancola"]
5
8
  gem.email = ["justin.giancola@gmail.com"]
6
9
  gem.summary = %q{Delayed job queueing for Resque}
7
10
  gem.description = %q{Enqueue jobs that will only appear for processing after a specified delay or at a particular time in the future}
8
- gem.homepage = "https://github.com/elucid/resque-delayed"
11
+ gem.homepage = "https://github.com/elucid/resque-delayed#readme"
9
12
 
10
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
11
- gem.files = `git ls-files`.split("\n")
12
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
13
+ gem.executables = `git ls-files -- bin/*`.split($/).map { |f| File.basename(f) }
14
+ gem.files = `git ls-files`.split($/)
15
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split($/)
13
16
  gem.name = "resque-delayed"
14
17
  gem.require_paths = ["lib"]
15
18
  gem.version = Resque::Delayed::VERSION
16
19
 
17
- gem.add_development_dependency "bundler", [">= 1.0.2", "< 1.2.0"]
20
+ gem.add_development_dependency "bundler", ["~> 1.0", ">= 1.0.2"]
18
21
  gem.add_development_dependency "rspec", "~> 2.6.0"
19
- gem.add_development_dependency "rake", [">= 0.8.7", "< 1.0"]
22
+ gem.add_development_dependency "rake"
20
23
 
21
- gem.add_dependency "redis", [">= 2.2.0", "< 3.1.0"]
22
- gem.add_dependency "resque", [">= 1.18.0", "< 2.0.0"]
23
- gem.add_dependency "uuidtools", "~> 2.1.2"
24
+ gem.add_dependency "resque", ["~> 1.0", ">= 1.18.0"]
25
+ gem.add_dependency "uuidtools", ["~> 2.1", ">= 2.1.2"]
24
26
  end
@@ -2,7 +2,6 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'bundler'
5
- Bundler.setup
6
5
  Bundler.require
7
6
 
8
7
  # this is necessary because of
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-delayed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,30 +9,30 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-30 00:00:00.000000000 Z
12
+ date: 2015-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.0'
19
22
  - - ! '>='
20
23
  - !ruby/object:Gem::Version
21
24
  version: 1.0.2
22
- - - <
23
- - !ruby/object:Gem::Version
24
- version: 1.2.0
25
25
  type: :development
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '1.0'
30
33
  - - ! '>='
31
34
  - !ruby/object:Gem::Version
32
35
  version: 1.0.2
33
- - - <
34
- - !ruby/object:Gem::Version
35
- version: 1.2.0
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
38
  requirement: !ruby/object:Gem::Requirement
@@ -56,10 +56,7 @@ dependencies:
56
56
  requirements:
57
57
  - - ! '>='
58
58
  - !ruby/object:Gem::Version
59
- version: 0.8.7
60
- - - <
61
- - !ruby/object:Gem::Version
62
- version: '1.0'
59
+ version: '0'
63
60
  type: :development
64
61
  prerelease: false
65
62
  version_requirements: !ruby/object:Gem::Requirement
@@ -67,60 +64,38 @@ dependencies:
67
64
  requirements:
68
65
  - - ! '>='
69
66
  - !ruby/object:Gem::Version
70
- version: 0.8.7
71
- - - <
72
- - !ruby/object:Gem::Version
73
- version: '1.0'
74
- - !ruby/object:Gem::Dependency
75
- name: redis
76
- requirement: !ruby/object:Gem::Requirement
77
- none: false
78
- requirements:
79
- - - ! '>='
80
- - !ruby/object:Gem::Version
81
- version: 2.2.0
82
- - - <
83
- - !ruby/object:Gem::Version
84
- version: 3.1.0
85
- type: :runtime
86
- prerelease: false
87
- version_requirements: !ruby/object:Gem::Requirement
88
- none: false
89
- requirements:
90
- - - ! '>='
91
- - !ruby/object:Gem::Version
92
- version: 2.2.0
93
- - - <
94
- - !ruby/object:Gem::Version
95
- version: 3.1.0
67
+ version: '0'
96
68
  - !ruby/object:Gem::Dependency
97
69
  name: resque
98
70
  requirement: !ruby/object:Gem::Requirement
99
71
  none: false
100
72
  requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '1.0'
101
76
  - - ! '>='
102
77
  - !ruby/object:Gem::Version
103
78
  version: 1.18.0
104
- - - <
105
- - !ruby/object:Gem::Version
106
- version: 2.0.0
107
79
  type: :runtime
108
80
  prerelease: false
109
81
  version_requirements: !ruby/object:Gem::Requirement
110
82
  none: false
111
83
  requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: '1.0'
112
87
  - - ! '>='
113
88
  - !ruby/object:Gem::Version
114
89
  version: 1.18.0
115
- - - <
116
- - !ruby/object:Gem::Version
117
- version: 2.0.0
118
90
  - !ruby/object:Gem::Dependency
119
91
  name: uuidtools
120
92
  requirement: !ruby/object:Gem::Requirement
121
93
  none: false
122
94
  requirements:
123
95
  - - ~>
96
+ - !ruby/object:Gem::Version
97
+ version: '2.1'
98
+ - - ! '>='
124
99
  - !ruby/object:Gem::Version
125
100
  version: 2.1.2
126
101
  type: :runtime
@@ -129,6 +104,9 @@ dependencies:
129
104
  none: false
130
105
  requirements:
131
106
  - - ~>
107
+ - !ruby/object:Gem::Version
108
+ version: '2.1'
109
+ - - ! '>='
132
110
  - !ruby/object:Gem::Version
133
111
  version: 2.1.2
134
112
  description: Enqueue jobs that will only appear for processing after a specified delay
@@ -151,6 +129,7 @@ files:
151
129
  - lib/resque-delayed/tasks.rb
152
130
  - lib/resque-delayed/version.rb
153
131
  - lib/resque-delayed/worker.rb
132
+ - lib/resque/delayed.rb
154
133
  - resque-delayed.gemspec
155
134
  - spec/redis-test.conf
156
135
  - spec/resque_delayed_spec.rb
@@ -158,7 +137,7 @@ files:
158
137
  - spec/spec_helper.rb
159
138
  - spec/support/extensions.rb
160
139
  - spec/worker_spec.rb
161
- homepage: https://github.com/elucid/resque-delayed
140
+ homepage: https://github.com/elucid/resque-delayed#readme
162
141
  licenses: []
163
142
  post_install_message:
164
143
  rdoc_options: []
@@ -172,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
172
151
  version: '0'
173
152
  segments:
174
153
  - 0
175
- hash: -773871503
154
+ hash: -58533304251622144
176
155
  required_rubygems_version: !ruby/object:Gem::Requirement
177
156
  none: false
178
157
  requirements:
@@ -181,10 +160,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
160
  version: '0'
182
161
  segments:
183
162
  - 0
184
- hash: -773871503
163
+ hash: -58533304251622144
185
164
  requirements: []
186
165
  rubyforge_project:
187
- rubygems_version: 1.8.24
166
+ rubygems_version: 1.8.30
188
167
  signing_key:
189
168
  specification_version: 3
190
169
  summary: Delayed job queueing for Resque