simple_worker 1.0.9 → 1.0.10

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/config.rb +4 -3
  2. metadata +2 -2
@@ -224,13 +224,14 @@ module SimpleWorker
224
224
  gem_info = {:name=>gem_name, :merge=>true}
225
225
  if options.is_a?(Hash)
226
226
  gem_info.merge!(options)
227
+ if options[:include_dirs]
228
+ gem_info[:include_dirs] = options[:include_dirs].is_a?(Array) ? options[:include_dirs] : [options[:include_dirs]]
229
+ end
227
230
  else
228
231
  gem_info[:version] = options
229
232
  end
230
233
  gem_info[:require] ||= gem_name
231
- if options[:include_dirs]
232
- gem_info[:include_dirs] = options[:include_dirs].is_a?(Array) ? options[:include_dirs] : [options[:include_dirs]]
233
- end
234
+
234
235
  path = SimpleWorker::Service.get_gem_path(gem_info)
235
236
  SimpleWorker.logger.debug "Gem path=#{path}"
236
237
  if !path
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: simple_worker
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.9
5
+ version: 1.0.10
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-09-14 00:00:00 Z
13
+ date: 2011-09-15 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: zip