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.
@@ -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
|
-
|
26
|
+
feature = IronWorkerNG::Feature::Ruby::MergeGemfile::Feature.new(self, path, groups)
|
27
27
|
|
28
|
-
|
29
|
-
|
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 <<
|
36
|
+
@features << feature
|
33
37
|
end
|
34
38
|
|
35
39
|
alias :gemfile :merge_gemfile
|
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.
|
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-
|
13
|
+
date: 2012-12-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: iron_core
|