fpm-cookery 0.14.1 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/fpm/cookery/cli.rb +5 -1
- data/lib/fpm/cookery/packager.rb +3 -1
- data/lib/fpm/cookery/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
data/lib/fpm/cookery/cli.rb
CHANGED
@@ -54,6 +54,10 @@ module FPM
|
|
54
54
|
exit 0
|
55
55
|
end
|
56
56
|
|
57
|
+
options.on("--no-deps", "Disable dependency checking") do |o|
|
58
|
+
@nodep = true
|
59
|
+
end
|
60
|
+
|
57
61
|
# Parse flags and such, remainder is all non-option args.
|
58
62
|
remainder = options.parse(argv)
|
59
63
|
|
@@ -123,7 +127,7 @@ module FPM
|
|
123
127
|
FPM::Cookery::Recipe.send(:include, FPM::Cookery::BookHook)
|
124
128
|
|
125
129
|
FPM::Cookery::Book.instance.load_recipe(@filename) do |recipe|
|
126
|
-
packager = FPM::Cookery::Packager.new(recipe)
|
130
|
+
packager = FPM::Cookery::Packager.new(recipe, :dependency_check => !@nodep)
|
127
131
|
packager.target = FPM::Cookery::Facts.target.to_s
|
128
132
|
|
129
133
|
@actions.each do |action|
|
data/lib/fpm/cookery/packager.rb
CHANGED
@@ -56,7 +56,9 @@ module FPM
|
|
56
56
|
Log.info ''
|
57
57
|
|
58
58
|
# RecipeInspector.verify!(recipe)
|
59
|
-
|
59
|
+
if config.fetch(:dependency_check, true)
|
60
|
+
DependencyInspector.verify!(recipe.depends, recipe.build_depends)
|
61
|
+
end
|
60
62
|
|
61
63
|
recipe.installing = false
|
62
64
|
|
data/lib/fpm/cookery/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fpm-cookery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
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: 2013-06-
|
12
|
+
date: 2013-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -183,7 +183,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
segments:
|
185
185
|
- 0
|
186
|
-
hash:
|
186
|
+
hash: -1809059982540463835
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
188
|
none: false
|
189
189
|
requirements:
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
version: '0'
|
193
193
|
segments:
|
194
194
|
- 0
|
195
|
-
hash:
|
195
|
+
hash: -1809059982540463835
|
196
196
|
requirements: []
|
197
197
|
rubyforge_project: fpm-cookery
|
198
198
|
rubygems_version: 1.8.25
|