workless 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -1
- data/Gemfile.lock +48 -46
- data/VERSION +1 -1
- data/workless.gemspec +44 -28
- metadata +101 -19
- data/.gitignore +0 -21
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,56 +2,56 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
abstract (1.0.0)
|
5
|
-
actionmailer (3.0.
|
6
|
-
actionpack (= 3.0.
|
7
|
-
mail (~> 2.2.
|
8
|
-
actionpack (3.0.
|
9
|
-
activemodel (= 3.0.
|
10
|
-
activesupport (= 3.0.
|
5
|
+
actionmailer (3.0.3)
|
6
|
+
actionpack (= 3.0.3)
|
7
|
+
mail (~> 2.2.9)
|
8
|
+
actionpack (3.0.3)
|
9
|
+
activemodel (= 3.0.3)
|
10
|
+
activesupport (= 3.0.3)
|
11
11
|
builder (~> 2.1.2)
|
12
12
|
erubis (~> 2.6.6)
|
13
|
-
i18n (~> 0.4
|
13
|
+
i18n (~> 0.4)
|
14
14
|
rack (~> 1.2.1)
|
15
|
-
rack-mount (~> 0.6.
|
16
|
-
rack-test (~> 0.5.
|
15
|
+
rack-mount (~> 0.6.13)
|
16
|
+
rack-test (~> 0.5.6)
|
17
17
|
tzinfo (~> 0.3.23)
|
18
|
-
activemodel (3.0.
|
19
|
-
activesupport (= 3.0.
|
18
|
+
activemodel (3.0.3)
|
19
|
+
activesupport (= 3.0.3)
|
20
20
|
builder (~> 2.1.2)
|
21
|
-
i18n (~> 0.4
|
22
|
-
activerecord (3.0.
|
23
|
-
activemodel (= 3.0.
|
24
|
-
activesupport (= 3.0.
|
25
|
-
arel (~>
|
21
|
+
i18n (~> 0.4)
|
22
|
+
activerecord (3.0.3)
|
23
|
+
activemodel (= 3.0.3)
|
24
|
+
activesupport (= 3.0.3)
|
25
|
+
arel (~> 2.0.2)
|
26
26
|
tzinfo (~> 0.3.23)
|
27
|
-
activeresource (3.0.
|
28
|
-
activemodel (= 3.0.
|
29
|
-
activesupport (= 3.0.
|
30
|
-
activesupport (3.0.
|
31
|
-
arel (
|
32
|
-
activesupport (~> 3.0.0)
|
27
|
+
activeresource (3.0.3)
|
28
|
+
activemodel (= 3.0.3)
|
29
|
+
activesupport (= 3.0.3)
|
30
|
+
activesupport (3.0.3)
|
31
|
+
arel (2.0.6)
|
33
32
|
builder (2.1.2)
|
34
|
-
configuration (1.
|
33
|
+
configuration (1.2.0)
|
35
34
|
daemons (1.1.0)
|
36
|
-
delayed_job (2.1.
|
35
|
+
delayed_job (2.1.2)
|
37
36
|
activesupport (~> 3.0)
|
38
37
|
daemons
|
39
38
|
erubis (2.6.6)
|
40
39
|
abstract (>= 1.0.0)
|
41
|
-
fattr (2.
|
42
|
-
heroku (1.
|
40
|
+
fattr (2.2.0)
|
41
|
+
heroku (1.15.0)
|
43
42
|
json_pure (>= 1.2.0, < 1.5.0)
|
44
43
|
launchy (~> 0.3.2)
|
45
44
|
rest-client (>= 1.4.0, < 1.7.0)
|
46
|
-
i18n (0.
|
45
|
+
i18n (0.5.0)
|
47
46
|
json_pure (1.4.6)
|
48
47
|
launchy (0.3.7)
|
49
48
|
configuration (>= 0.0.5)
|
50
49
|
rake (>= 0.8.1)
|
51
|
-
mail (2.2.
|
50
|
+
mail (2.2.12)
|
52
51
|
activesupport (>= 2.3.6)
|
53
|
-
|
54
|
-
|
52
|
+
i18n (>= 0.4.0)
|
53
|
+
mime-types (~> 1.16)
|
54
|
+
treetop (~> 1.4.8)
|
55
55
|
mime-types (1.16)
|
56
56
|
polyglot (0.3.1)
|
57
57
|
rack (1.2.1)
|
@@ -59,19 +59,19 @@ GEM
|
|
59
59
|
rack (>= 1.0.0)
|
60
60
|
rack-test (0.5.6)
|
61
61
|
rack (>= 1.0)
|
62
|
-
rails (3.0.
|
63
|
-
actionmailer (= 3.0.
|
64
|
-
actionpack (= 3.0.
|
65
|
-
activerecord (= 3.0.
|
66
|
-
activeresource (= 3.0.
|
67
|
-
activesupport (= 3.0.
|
68
|
-
bundler (~> 1.0
|
69
|
-
railties (= 3.0.
|
70
|
-
railties (3.0.
|
71
|
-
actionpack (= 3.0.
|
72
|
-
activesupport (= 3.0.
|
73
|
-
rake (>= 0.8.
|
74
|
-
thor (~> 0.14.
|
62
|
+
rails (3.0.3)
|
63
|
+
actionmailer (= 3.0.3)
|
64
|
+
actionpack (= 3.0.3)
|
65
|
+
activerecord (= 3.0.3)
|
66
|
+
activeresource (= 3.0.3)
|
67
|
+
activesupport (= 3.0.3)
|
68
|
+
bundler (~> 1.0)
|
69
|
+
railties (= 3.0.3)
|
70
|
+
railties (3.0.3)
|
71
|
+
actionpack (= 3.0.3)
|
72
|
+
activesupport (= 3.0.3)
|
73
|
+
rake (>= 0.8.7)
|
74
|
+
thor (~> 0.14.4)
|
75
75
|
rake (0.8.7)
|
76
76
|
rest-client (1.6.1)
|
77
77
|
mime-types (>= 1.16)
|
@@ -79,8 +79,9 @@ GEM
|
|
79
79
|
session
|
80
80
|
session (3.1.0)
|
81
81
|
fattr
|
82
|
-
thor (0.14.
|
83
|
-
|
82
|
+
thor (0.14.6)
|
83
|
+
thoughtbot-shoulda (2.11.1)
|
84
|
+
treetop (1.4.9)
|
84
85
|
polyglot (>= 0.3.1)
|
85
86
|
tzinfo (0.3.23)
|
86
87
|
|
@@ -88,7 +89,8 @@ PLATFORMS
|
|
88
89
|
ruby
|
89
90
|
|
90
91
|
DEPENDENCIES
|
91
|
-
delayed_job (
|
92
|
+
delayed_job (~> 2.1.0)
|
92
93
|
heroku
|
93
94
|
rails (>= 3.0.0)
|
94
95
|
rush (= 0.6.7)
|
96
|
+
thoughtbot-shoulda
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
data/workless.gemspec
CHANGED
@@ -1,51 +1,49 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{workless}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["lostboy"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-12-21}
|
13
13
|
s.description = %q{Extension to Delayed Job to enable workers to scale up when needed}
|
14
14
|
s.email = %q{paul.crabtree@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.textile"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".bundle/config",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
"workless.gemspec"
|
21
|
+
".document",
|
22
|
+
".rvmrc",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"LICENSE",
|
26
|
+
"README.textile",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"lib/workless.rb",
|
30
|
+
"lib/workless/railtie.rb",
|
31
|
+
"lib/workless/scaler.rb",
|
32
|
+
"lib/workless/scalers/base.rb",
|
33
|
+
"lib/workless/scalers/heroku.rb",
|
34
|
+
"lib/workless/scalers/local.rb",
|
35
|
+
"lib/workless/scalers/null.rb",
|
36
|
+
"test/helper.rb",
|
37
|
+
"test/test_workless.rb",
|
38
|
+
"workless.gemspec"
|
40
39
|
]
|
41
40
|
s.homepage = %q{http://github.com/lostboy/workless}
|
42
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
43
41
|
s.require_paths = ["lib"]
|
44
42
|
s.rubygems_version = %q{1.3.7}
|
45
43
|
s.summary = %q{Use delayed job workers only when theyre needed}
|
46
44
|
s.test_files = [
|
47
45
|
"test/helper.rb",
|
48
|
-
|
46
|
+
"test/test_workless.rb"
|
49
47
|
]
|
50
48
|
|
51
49
|
if s.respond_to? :specification_version then
|
@@ -53,24 +51,42 @@ Gem::Specification.new do |s|
|
|
53
51
|
s.specification_version = 3
|
54
52
|
|
55
53
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
54
|
+
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
55
|
+
s.add_runtime_dependency(%q<heroku>, [">= 0"])
|
56
|
+
s.add_runtime_dependency(%q<rush>, ["= 0.6.7"])
|
57
|
+
s.add_runtime_dependency(%q<delayed_job>, ["~> 2.1.0"])
|
58
|
+
s.add_runtime_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
56
59
|
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
57
60
|
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
58
61
|
s.add_runtime_dependency(%q<heroku>, [">= 0"])
|
59
62
|
s.add_runtime_dependency(%q<rush>, ["= 0.6.7"])
|
60
|
-
s.add_runtime_dependency(%q<delayed_job>, ["
|
63
|
+
s.add_runtime_dependency(%q<delayed_job>, ["~> 2.1.0"])
|
64
|
+
s.add_runtime_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
61
65
|
else
|
66
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
67
|
+
s.add_dependency(%q<heroku>, [">= 0"])
|
68
|
+
s.add_dependency(%q<rush>, ["= 0.6.7"])
|
69
|
+
s.add_dependency(%q<delayed_job>, ["~> 2.1.0"])
|
70
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
62
71
|
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
63
72
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
64
73
|
s.add_dependency(%q<heroku>, [">= 0"])
|
65
74
|
s.add_dependency(%q<rush>, ["= 0.6.7"])
|
66
|
-
s.add_dependency(%q<delayed_job>, ["
|
75
|
+
s.add_dependency(%q<delayed_job>, ["~> 2.1.0"])
|
76
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
67
77
|
end
|
68
78
|
else
|
79
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
80
|
+
s.add_dependency(%q<heroku>, [">= 0"])
|
81
|
+
s.add_dependency(%q<rush>, ["= 0.6.7"])
|
82
|
+
s.add_dependency(%q<delayed_job>, ["~> 2.1.0"])
|
83
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
69
84
|
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
70
85
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
71
86
|
s.add_dependency(%q<heroku>, [">= 0"])
|
72
87
|
s.add_dependency(%q<rush>, ["= 0.6.7"])
|
73
|
-
s.add_dependency(%q<delayed_job>, ["
|
88
|
+
s.add_dependency(%q<delayed_job>, ["~> 2.1.0"])
|
89
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
74
90
|
end
|
75
91
|
end
|
76
92
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 8
|
9
|
+
version: 0.0.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- lostboy
|
@@ -14,12 +14,83 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-12-21 00:00:00 +00:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
21
|
+
name: rails
|
22
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 3
|
29
|
+
- 0
|
30
|
+
- 0
|
31
|
+
version: 3.0.0
|
32
|
+
type: :runtime
|
33
|
+
prerelease: false
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: heroku
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
segments:
|
43
|
+
- 0
|
44
|
+
version: "0"
|
45
|
+
type: :runtime
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rush
|
50
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - "="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
- 6
|
58
|
+
- 7
|
59
|
+
version: 0.6.7
|
60
|
+
type: :runtime
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: delayed_job
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
segments:
|
71
|
+
- 2
|
72
|
+
- 1
|
73
|
+
- 0
|
74
|
+
version: 2.1.0
|
75
|
+
type: :runtime
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: *id004
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: thoughtbot-shoulda
|
80
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
segments:
|
86
|
+
- 0
|
87
|
+
version: "0"
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *id005
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: thoughtbot-shoulda
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
23
94
|
none: false
|
24
95
|
requirements:
|
25
96
|
- - ">="
|
@@ -29,10 +100,10 @@ dependencies:
|
|
29
100
|
version: "0"
|
30
101
|
type: :development
|
31
102
|
prerelease: false
|
32
|
-
version_requirements: *
|
103
|
+
version_requirements: *id006
|
33
104
|
- !ruby/object:Gem::Dependency
|
34
105
|
name: rails
|
35
|
-
requirement: &
|
106
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
36
107
|
none: false
|
37
108
|
requirements:
|
38
109
|
- - ">="
|
@@ -44,10 +115,10 @@ dependencies:
|
|
44
115
|
version: 3.0.0
|
45
116
|
type: :runtime
|
46
117
|
prerelease: false
|
47
|
-
version_requirements: *
|
118
|
+
version_requirements: *id007
|
48
119
|
- !ruby/object:Gem::Dependency
|
49
120
|
name: heroku
|
50
|
-
requirement: &
|
121
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
51
122
|
none: false
|
52
123
|
requirements:
|
53
124
|
- - ">="
|
@@ -57,10 +128,10 @@ dependencies:
|
|
57
128
|
version: "0"
|
58
129
|
type: :runtime
|
59
130
|
prerelease: false
|
60
|
-
version_requirements: *
|
131
|
+
version_requirements: *id008
|
61
132
|
- !ruby/object:Gem::Dependency
|
62
133
|
name: rush
|
63
|
-
requirement: &
|
134
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
64
135
|
none: false
|
65
136
|
requirements:
|
66
137
|
- - "="
|
@@ -72,23 +143,35 @@ dependencies:
|
|
72
143
|
version: 0.6.7
|
73
144
|
type: :runtime
|
74
145
|
prerelease: false
|
75
|
-
version_requirements: *
|
146
|
+
version_requirements: *id009
|
76
147
|
- !ruby/object:Gem::Dependency
|
77
148
|
name: delayed_job
|
78
|
-
requirement: &
|
149
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
79
150
|
none: false
|
80
151
|
requirements:
|
81
|
-
- -
|
152
|
+
- - ~>
|
82
153
|
- !ruby/object:Gem::Version
|
83
154
|
segments:
|
84
155
|
- 2
|
85
156
|
- 1
|
86
157
|
- 0
|
87
|
-
|
88
|
-
version: 2.1.0.pre2
|
158
|
+
version: 2.1.0
|
89
159
|
type: :runtime
|
90
160
|
prerelease: false
|
91
|
-
version_requirements: *
|
161
|
+
version_requirements: *id010
|
162
|
+
- !ruby/object:Gem::Dependency
|
163
|
+
name: thoughtbot-shoulda
|
164
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
segments:
|
170
|
+
- 0
|
171
|
+
version: "0"
|
172
|
+
type: :runtime
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: *id011
|
92
175
|
description: Extension to Delayed Job to enable workers to scale up when needed
|
93
176
|
email: paul.crabtree@gmail.com
|
94
177
|
executables: []
|
@@ -101,7 +184,6 @@ extra_rdoc_files:
|
|
101
184
|
files:
|
102
185
|
- .bundle/config
|
103
186
|
- .document
|
104
|
-
- .gitignore
|
105
187
|
- .rvmrc
|
106
188
|
- Gemfile
|
107
189
|
- Gemfile.lock
|
@@ -124,8 +206,8 @@ homepage: http://github.com/lostboy/workless
|
|
124
206
|
licenses: []
|
125
207
|
|
126
208
|
post_install_message:
|
127
|
-
rdoc_options:
|
128
|
-
|
209
|
+
rdoc_options: []
|
210
|
+
|
129
211
|
require_paths:
|
130
212
|
- lib
|
131
213
|
required_ruby_version: !ruby/object:Gem::Requirement
|