thincloud-resque 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,8 @@ module Thincloud
22
22
  end
23
23
  end
24
24
 
25
+ rake_tasks { require "resque/tasks" }
26
+
25
27
  initializer "thincloud.resque.environment" do
26
28
  require "redis"
27
29
  require "resque"
@@ -54,6 +56,10 @@ module Thincloud
54
56
  if configuration.mailer_environments.include?(Rails.env.to_sym)
55
57
  require "resque_mailer"
56
58
 
59
+ # We manage the environments by only including Resque::Mailer for
60
+ # explicit environments (#mailer_environments)
61
+ ::Resque::Mailer.excluded_environments = []
62
+
57
63
  # Make sure that Resque::Mailer ends up at the correct place
58
64
  # in the inheritance chain
59
65
  ActiveSupport.on_load :action_mailer do
@@ -1,5 +1,5 @@
1
1
  module Thincloud
2
2
  module Resque
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
File without changes
@@ -0,0 +1,12 @@
1
+ Connecting to database specified by database.yml
2
+  (0.8ms) begin transaction
3
+  (0.1ms) rollback transaction
4
+  (0.1ms) begin transaction
5
+  (0.0ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+  (0.1ms) rollback transaction
8
+  (0.1ms) begin transaction
9
+
10
+
11
+ Started GET "/resque" for 127.0.0.1 at 2012-11-27 13:40:14 -0800
12
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thincloud-resque
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-22 00:00:00.000000000 Z
12
+ date: 2012-11-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -115,7 +115,6 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - lib/tasks/thincloud-resque_tasks.rake
119
118
  - lib/thincloud/resque/capistrano.rb
120
119
  - lib/thincloud/resque/configuration.rb
121
120
  - lib/thincloud/resque/engine.rb
@@ -150,6 +149,8 @@ files:
150
149
  - test/dummy/config/routes.rb
151
150
  - test/dummy/config.ru
152
151
  - test/dummy/db/schema.rb
152
+ - test/dummy/db/test.sqlite3
153
+ - test/dummy/log/test.log
153
154
  - test/dummy/public/404.html
154
155
  - test/dummy/public/422.html
155
156
  - test/dummy/public/500.html
@@ -177,7 +178,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
178
  version: '0'
178
179
  segments:
179
180
  - 0
180
- hash: -3922522443370155668
181
+ hash: 4037165730238706209
181
182
  required_rubygems_version: !ruby/object:Gem::Requirement
182
183
  none: false
183
184
  requirements:
@@ -186,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
187
  version: '0'
187
188
  segments:
188
189
  - 0
189
- hash: -3922522443370155668
190
+ hash: 4037165730238706209
190
191
  requirements: []
191
192
  rubyforge_project:
192
193
  rubygems_version: 1.8.24
@@ -219,6 +220,8 @@ test_files:
219
220
  - test/dummy/config/routes.rb
220
221
  - test/dummy/config.ru
221
222
  - test/dummy/db/schema.rb
223
+ - test/dummy/db/test.sqlite3
224
+ - test/dummy/log/test.log
222
225
  - test/dummy/public/404.html
223
226
  - test/dummy/public/422.html
224
227
  - test/dummy/public/500.html
@@ -1,2 +0,0 @@
1
- # Make resque tasks available to the application
2
- require "resque/tasks"