simple_worker 1.0.3.beta → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_worker/service.rb +4 -0
- metadata +6 -6
@@ -148,6 +148,10 @@ end
|
|
148
148
|
"
|
149
149
|
end
|
150
150
|
|
151
|
+
if SimpleWorker.config.database && !SimpleWorker.config.database.empty?
|
152
|
+
f.write "require 'active_record'"
|
153
|
+
end
|
154
|
+
|
151
155
|
if merged_mailers && !merged_mailers.empty?
|
152
156
|
# todo: isn't 'action_mailer already required in railtie?
|
153
157
|
f.write "require 'action_mailer'\n"
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 1.0.
|
4
|
+
prerelease:
|
5
|
+
version: 1.0.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Travis Reeder
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-22 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: zip
|
@@ -73,13 +73,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
73
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
|
-
- - "
|
76
|
+
- - ">="
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
78
|
+
version: "0"
|
79
79
|
requirements: []
|
80
80
|
|
81
81
|
rubyforge_project:
|
82
|
-
rubygems_version: 1.8.
|
82
|
+
rubygems_version: 1.8.8
|
83
83
|
signing_key:
|
84
84
|
specification_version: 3
|
85
85
|
summary: The official SimpleWorker gem for http://www.simpleworker.com
|