simple_worker 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/simple_worker/service.rb +1 -1
  2. metadata +2 -2
@@ -116,7 +116,7 @@ module SimpleWorker
116
116
  f.write "require '#{r}'\n"
117
117
  end
118
118
  end
119
- if merged_mailers
119
+ if merged_mailers && !merged_mailers.empty?
120
120
  f.write "require 'action_mailer'\n"
121
121
  f.write "ActionMailer::Base.prepend_view_path('templates')\n"
122
122
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: simple_worker
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.3
5
+ version: 0.6.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-06-07 00:00:00 Z
13
+ date: 2011-06-08 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: zip