iron_worker_ng 0.14.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,10 +80,10 @@ module IronWorkerNG
80
80
  @full_remote_build = true
81
81
  end
82
82
 
83
- eval(content)
84
-
85
83
  @base_dir = File.dirname(worker_file) == '.' ? '' : File.dirname(worker_file) + '/'
86
84
 
85
+ eval(content)
86
+
87
87
  break
88
88
  end
89
89
  end
@@ -23,13 +23,17 @@ module IronWorkerNG
23
23
 
24
24
  IronCore::Logger.info 'IronWorkerNG', "Adding ruby gems dependencies from #{groups.join(', ')} group#{groups.length > 1 ? 's' : ''} of #{path}"
25
25
 
26
- specs = Bundler::Definition.build(path, path + '.lock', nil).specs_for(groups)
26
+ feature = IronWorkerNG::Feature::Ruby::MergeGemfile::Feature.new(self, path, groups)
27
27
 
28
- specs.each do |spec|
29
- merge_gem(spec.name, spec.version.to_s)
28
+ IronWorkerNG::Fetcher.fetch_to_file(feature.rebase(path)) do |gemfile|
29
+ specs = Bundler::Definition.build(gemfile, path + '.lock', nil).specs_for(groups)
30
+
31
+ specs.each do |spec|
32
+ merge_gem(spec.name, spec.version.to_s)
33
+ end
30
34
  end
31
35
 
32
- @features << IronWorkerNG::Feature::Ruby::MergeGemfile::Feature.new(self, path, groups)
36
+ @features << feature
33
37
  end
34
38
 
35
39
  alias :gemfile :merge_gemfile
@@ -1,5 +1,5 @@
1
1
  module IronWorkerNG
2
- VERSION = '0.14.0'
2
+ VERSION = '0.14.1'
3
3
 
4
4
  def self.version
5
5
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_worker_ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-10 00:00:00.000000000 Z
13
+ date: 2012-12-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: iron_core