resque-multi-step 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/Rakefile +11 -26
- data/VERSION +1 -1
- data/resque-multi-step.gemspec +14 -14
- data/spec/spec_helper.rb +4 -6
- metadata +11 -24
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
|
+
require 'rcov'
|
3
4
|
|
4
5
|
begin
|
5
6
|
require 'jeweler'
|
@@ -11,12 +12,12 @@ begin
|
|
11
12
|
gem.homepage = "http://github.com/pezra/resque-multi-step"
|
12
13
|
gem.authors = ["Peter Williams", "Morgan Whitney"]
|
13
14
|
|
14
|
-
gem.add_development_dependency "rspec"
|
15
|
+
gem.add_development_dependency "rspec"
|
15
16
|
|
16
|
-
gem.add_dependency 'redis-namespace'
|
17
|
+
gem.add_dependency 'redis-namespace'
|
17
18
|
gem.add_dependency 'yajl-ruby'
|
18
|
-
gem.add_dependency 'resque'
|
19
|
-
gem.add_dependency 'resque-fairly'
|
19
|
+
gem.add_dependency 'resque'
|
20
|
+
gem.add_dependency 'resque-fairly'
|
20
21
|
|
21
22
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
22
23
|
end
|
@@ -24,30 +25,14 @@ begin
|
|
24
25
|
rescue LoadError
|
25
26
|
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
26
27
|
end
|
27
|
-
|
28
|
-
require '
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
35
|
-
spec.libs << 'lib' << 'spec'
|
36
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
37
|
-
spec.rcov = true
|
38
|
-
end
|
39
|
-
|
40
|
-
namespace(:spec) do
|
41
|
-
Spec::Rake::SpecTask.new(:acceptance) do |spec|
|
42
|
-
spec.libs << 'lib' << 'spec'
|
43
|
-
spec.spec_files = FileList['spec/acceptance/*_spec.rb']
|
44
|
-
end
|
28
|
+
|
29
|
+
require 'rcov/rcovtask'
|
30
|
+
Rcov::RcovTask.new do |t|
|
31
|
+
t.libs << 'lib' << 'spec'
|
32
|
+
t.pattern = 'spec/**/*_spec.rb'
|
33
|
+
t.verbose = true
|
45
34
|
end
|
46
35
|
|
47
|
-
task :spec => :check_dependencies
|
48
|
-
|
49
|
-
task :default => :spec
|
50
|
-
|
51
36
|
require 'rake/rdoctask'
|
52
37
|
Rake::RDocTask.new do |rdoc|
|
53
38
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.3
|
data/resque-multi-step.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{resque-multi-step}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Peter Williams", "Morgan Whitney"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-05-23}
|
13
13
|
s.description = %q{Provides multi-step tasks with finalization and progress tracking}
|
14
14
|
s.email = %q{pezra@barelyenough.org}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -59,24 +59,24 @@ Gem::Specification.new do |s|
|
|
59
59
|
s.specification_version = 3
|
60
60
|
|
61
61
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
62
|
-
s.add_development_dependency(%q<rspec>, [">=
|
63
|
-
s.add_runtime_dependency(%q<redis-namespace>, [">= 0
|
62
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
63
|
+
s.add_runtime_dependency(%q<redis-namespace>, [">= 0"])
|
64
64
|
s.add_runtime_dependency(%q<yajl-ruby>, [">= 0"])
|
65
|
-
s.add_runtime_dependency(%q<resque>, ["
|
66
|
-
s.add_runtime_dependency(%q<resque-fairly>, ["
|
65
|
+
s.add_runtime_dependency(%q<resque>, [">= 0"])
|
66
|
+
s.add_runtime_dependency(%q<resque-fairly>, [">= 0"])
|
67
67
|
else
|
68
|
-
s.add_dependency(%q<rspec>, [">=
|
69
|
-
s.add_dependency(%q<redis-namespace>, [">= 0
|
68
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
69
|
+
s.add_dependency(%q<redis-namespace>, [">= 0"])
|
70
70
|
s.add_dependency(%q<yajl-ruby>, [">= 0"])
|
71
|
-
s.add_dependency(%q<resque>, ["
|
72
|
-
s.add_dependency(%q<resque-fairly>, ["
|
71
|
+
s.add_dependency(%q<resque>, [">= 0"])
|
72
|
+
s.add_dependency(%q<resque-fairly>, [">= 0"])
|
73
73
|
end
|
74
74
|
else
|
75
|
-
s.add_dependency(%q<rspec>, [">=
|
76
|
-
s.add_dependency(%q<redis-namespace>, [">= 0
|
75
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
76
|
+
s.add_dependency(%q<redis-namespace>, [">= 0"])
|
77
77
|
s.add_dependency(%q<yajl-ruby>, [">= 0"])
|
78
|
-
s.add_dependency(%q<resque>, ["
|
79
|
-
s.add_dependency(%q<resque-fairly>, ["
|
78
|
+
s.add_dependency(%q<resque>, [">= 0"])
|
79
|
+
s.add_dependency(%q<resque-fairly>, [">= 0"])
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,16 +1,14 @@
|
|
1
1
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
2
2
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
3
3
|
require 'resque-multi-step'
|
4
|
-
require 'spec'
|
5
|
-
require 'spec/autorun'
|
6
4
|
require 'pp'
|
7
|
-
|
8
|
-
|
5
|
+
require 'rspec'
|
6
|
+
|
7
|
+
RSpec.configure do |config|
|
9
8
|
config.before do
|
10
9
|
# Tests are jailed to a testing namespace and that space does
|
11
10
|
# contains in left over data from previous runs.
|
12
11
|
Resque.redis.namespace = "resque-multi-step-task-testing"
|
13
12
|
Resque.redis.keys('*').each{|k| Resque.redis.del k}
|
14
|
-
|
15
13
|
end
|
16
|
-
end
|
14
|
+
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 1.1.
|
8
|
+
- 3
|
9
|
+
version: 1.1.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Peter Williams
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-05-23 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -27,10 +27,8 @@ dependencies:
|
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
segments:
|
30
|
-
-
|
31
|
-
|
32
|
-
- 9
|
33
|
-
version: 1.2.9
|
30
|
+
- 0
|
31
|
+
version: "0"
|
34
32
|
type: :development
|
35
33
|
version_requirements: *id001
|
36
34
|
- !ruby/object:Gem::Dependency
|
@@ -43,16 +41,7 @@ dependencies:
|
|
43
41
|
- !ruby/object:Gem::Version
|
44
42
|
segments:
|
45
43
|
- 0
|
46
|
-
|
47
|
-
- 0
|
48
|
-
version: 0.8.0
|
49
|
-
- - <=
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
segments:
|
52
|
-
- 0
|
53
|
-
- 10
|
54
|
-
- 0
|
55
|
-
version: 0.10.0
|
44
|
+
version: "0"
|
56
45
|
type: :runtime
|
57
46
|
version_requirements: *id002
|
58
47
|
- !ruby/object:Gem::Dependency
|
@@ -74,12 +63,11 @@ dependencies:
|
|
74
63
|
requirement: &id004 !ruby/object:Gem::Requirement
|
75
64
|
none: false
|
76
65
|
requirements:
|
77
|
-
- -
|
66
|
+
- - ">="
|
78
67
|
- !ruby/object:Gem::Version
|
79
68
|
segments:
|
80
|
-
-
|
81
|
-
|
82
|
-
version: "1.10"
|
69
|
+
- 0
|
70
|
+
version: "0"
|
83
71
|
type: :runtime
|
84
72
|
version_requirements: *id004
|
85
73
|
- !ruby/object:Gem::Dependency
|
@@ -88,12 +76,11 @@ dependencies:
|
|
88
76
|
requirement: &id005 !ruby/object:Gem::Requirement
|
89
77
|
none: false
|
90
78
|
requirements:
|
91
|
-
- -
|
79
|
+
- - ">="
|
92
80
|
- !ruby/object:Gem::Version
|
93
81
|
segments:
|
94
|
-
- 1
|
95
82
|
- 0
|
96
|
-
version: "
|
83
|
+
version: "0"
|
97
84
|
type: :runtime
|
98
85
|
version_requirements: *id005
|
99
86
|
description: Provides multi-step tasks with finalization and progress tracking
|