fpm-cookery 0.16.2 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +8 -0
- data/fpm-cookery.gemspec +1 -1
- data/lib/fpm/cookery/cli.rb +4 -3
- data/lib/fpm/cookery/config.rb +3 -2
- data/lib/fpm/cookery/omnibus_packager.rb +24 -13
- data/lib/fpm/cookery/package/package.rb +1 -0
- data/lib/fpm/cookery/packager.rb +3 -2
- data/lib/fpm/cookery/path_helper.rb +5 -0
- data/lib/fpm/cookery/recipe.rb +1 -1
- data/lib/fpm/cookery/source_handler/curl.rb +7 -5
- data/lib/fpm/cookery/source_handler/git.rb +2 -2
- data/lib/fpm/cookery/source_handler/hg.rb +2 -2
- data/lib/fpm/cookery/source_handler/local_path.rb +1 -1
- data/lib/fpm/cookery/source_handler/noop.rb +2 -2
- data/lib/fpm/cookery/source_handler/svn.rb +2 -2
- data/lib/fpm/cookery/source_handler/template.rb +2 -2
- data/lib/fpm/cookery/utils.rb +9 -1
- data/lib/fpm/cookery/version.rb +1 -1
- data/spec/config_spec.rb +10 -1
- data/spec/package_spec.rb +5 -0
- data/spec/path_helper_spec.rb +8 -4
- data/spec/path_spec.rb +2 -2
- data/spec/recipe_spec.rb +1 -0
- metadata +7 -29
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MDg4YWE1MTIzYTg3NTNhYjA1NTc3OWEyMTRiYTkyNDljNjgxYTFlMQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MzFjNjY2Y2Q4NDI4YWU5MGE4YzhlYTA0MzMyMDViYzMyMWUwOTQ4YQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MjQ1MWQ0MDI4ODgzZTFjMjE0MWU4Y2I3YzM1OTMyYzgxMThhN2MyYzFkODM3
|
10
|
+
ZmQwNWEzMmViZjVlOTdhNzk4ZjRlODIwNGRhOTg2ODVkZmMzZWZlM2QxYzEz
|
11
|
+
YWRiMzYwYWM2ZTdkYWEyMzgyODQ3ZTRiNjIxNWNiMzU4ZWNiOWM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MDc2NzgxYmZkNDA1ZDg4NDVlZTEwYjg2MmM4NjNmYjM2ZThkN2Y2ODMyMzVj
|
14
|
+
ZGQyMzVhZjdkZjZmOTNkYTVmMjRkNzRmOWI3NjU2ZmM4M2Y3ZDNmNjA5ZTQw
|
15
|
+
ODIwOGJlYTc5ZjEyNTE5MzcwNzY5ZTExM2M4NWEwMzA5NzNhNWU=
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# v0.17.0 (2014-02-01)
|
2
|
+
* Update fpm dependency to 1.0.0. (joschi / #62)
|
3
|
+
* Add `-q` command line option to disable progress bars. (#58)
|
4
|
+
* Add `directories` recipe attribute. (#53)
|
5
|
+
* Add `autogen` build helper. (sepulworld/autogen-support / #54)
|
6
|
+
* Add `root_prefix` and `root` path helper. (sepulworld/set-root-prefix / #52)
|
7
|
+
* Support recursive omnibus recipes dependencies. (avishai-ish-shalom / #49)
|
8
|
+
|
1
9
|
# v0.16.2 (2013-10-19)
|
2
10
|
* Add support for submodules in git provider. (narkisr / #50)
|
3
11
|
* Set a default maintainer.
|
data/fpm-cookery.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
|
21
21
|
s.add_development_dependency "minitest", "~> 5.0"
|
22
22
|
s.add_development_dependency "rake"
|
23
|
-
s.add_runtime_dependency "fpm", "~> 0.
|
23
|
+
s.add_runtime_dependency "fpm", "~> 1.0.0"
|
24
24
|
s.add_runtime_dependency "facter"
|
25
25
|
s.add_runtime_dependency "puppet"
|
26
26
|
s.add_runtime_dependency "addressable"
|
data/lib/fpm/cookery/cli.rb
CHANGED
@@ -17,6 +17,7 @@ module FPM
|
|
17
17
|
option ['-D', '--debug'], :flag, 'enable debug output'
|
18
18
|
option ['-t', '--target'], 'TARGET', 'set desired fpm output target (deb, rpm, etc)'
|
19
19
|
option ['-p', '--platform'], 'PLATFORM', 'set the target platform (centos, ubuntu, debian)'
|
20
|
+
option ['-q', '--quiet'], :flag, 'Disable verbose output like progress bars'
|
20
21
|
option ['-V', '--version'], :flag, 'show fpm-cookery and fpm version'
|
21
22
|
option '--[no-]deps', :flag, 'enable/disable dependency checking',
|
22
23
|
:attribute_name => 'dependency_check'
|
@@ -62,7 +63,7 @@ module FPM
|
|
62
63
|
FPM::Cookery::BaseRecipe.send(:include, FPM::Cookery::BookHook)
|
63
64
|
|
64
65
|
FPM::Cookery::Book.instance.load_recipe(recipe_file) do |recipe|
|
65
|
-
packager = FPM::Cookery::Packager.new(recipe,
|
66
|
+
packager = FPM::Cookery::Packager.new(recipe, config.to_hash)
|
66
67
|
packager.target = FPM::Cookery::Facts.target.to_s
|
67
68
|
|
68
69
|
exec(config, recipe, packager)
|
@@ -97,9 +98,9 @@ module FPM
|
|
97
98
|
|
98
99
|
def exec(config, recipe, packager)
|
99
100
|
if recipe.omnibus_package == true
|
100
|
-
FPM::Cookery::OmnibusPackager.new(packager).run
|
101
|
+
FPM::Cookery::OmnibusPackager.new(packager, config.to_hash).run
|
101
102
|
elsif recipe.chain_package == true
|
102
|
-
FPM::Cookery::ChainPackager.new(packager,
|
103
|
+
FPM::Cookery::ChainPackager.new(packager, config.to_hash).run
|
103
104
|
else
|
104
105
|
packager.dispense
|
105
106
|
end
|
data/lib/fpm/cookery/config.rb
CHANGED
@@ -6,7 +6,7 @@ module FPM
|
|
6
6
|
class Config
|
7
7
|
ATTRIBUTES = [
|
8
8
|
:color, :debug, :target, :platform, :maintainer, :vendor,
|
9
|
-
:skip_package, :keep_destdir, :dependency_check
|
9
|
+
:skip_package, :keep_destdir, :dependency_check, :quiet
|
10
10
|
].freeze
|
11
11
|
|
12
12
|
DEFAULTS = {
|
@@ -14,7 +14,8 @@ module FPM
|
|
14
14
|
:debug => false,
|
15
15
|
:dependency_check => true,
|
16
16
|
:skip_package => false,
|
17
|
-
:keep_destdir => false
|
17
|
+
:keep_destdir => false,
|
18
|
+
:quiet => false
|
18
19
|
}.freeze
|
19
20
|
|
20
21
|
def self.load_file(paths)
|
@@ -14,13 +14,11 @@ module FPM
|
|
14
14
|
@depends = []
|
15
15
|
end
|
16
16
|
|
17
|
-
def
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
recipe.omnibus_recipes.each do |name|
|
17
|
+
def load_omnibus_recipes(_recipe)
|
18
|
+
dep_recipes = []
|
19
|
+
_recipe.omnibus_recipes.each do |name|
|
22
20
|
recipe_file = build_recipe_file_path(name)
|
23
|
-
|
21
|
+
Log.info "Loading dependency recipe #{name} from #{recipe_file}"
|
24
22
|
unless File.exists?(recipe_file)
|
25
23
|
Log.fatal "Cannot find a recipe for #{name} at #{recipe_file}"
|
26
24
|
exit 1
|
@@ -29,16 +27,29 @@ module FPM
|
|
29
27
|
FPM::Cookery::Book.instance.load_recipe(recipe_file) do |dep_recipe|
|
30
28
|
dep_recipe.destdir = "#{recipe.omnibus_dir}/embedded" if recipe.omnibus_dir
|
31
29
|
dep_recipe.omnibus_installing = true if recipe.omnibus_dir
|
30
|
+
if dep_recipe.omnibus_recipes.any?
|
31
|
+
dep_recipes += load_omnibus_recipes(dep_recipe)
|
32
|
+
end
|
33
|
+
dep_recipes << dep_recipe
|
34
|
+
end
|
35
|
+
end
|
36
|
+
dep_recipes
|
37
|
+
end
|
38
|
+
|
39
|
+
def run
|
40
|
+
# Omnibus packages are many builds in one package; e.g. Ruby + Puppet together.
|
41
|
+
Log.info "Recipe #{recipe.name} is an Omnibus package; looking for child recipes to build"
|
32
42
|
|
33
|
-
|
34
|
-
|
43
|
+
dep_recipes = load_omnibus_recipes(recipe)
|
44
|
+
dep_recipes.uniq.each do |dep_recipe|
|
45
|
+
pkg = FPM::Cookery::Packager.new(dep_recipe, :skip_package => true, :keep_destdir => true)
|
46
|
+
pkg.target = FPM::Cookery::Facts.target.to_s
|
35
47
|
|
36
|
-
|
37
|
-
|
48
|
+
Log.info "Located recipe for child recipe #{dep_recipe.name}; starting build"
|
49
|
+
pkg.dispense
|
38
50
|
|
39
|
-
|
40
|
-
|
41
|
-
end
|
51
|
+
@depends += dep_recipe.depends
|
52
|
+
Log.info "Finished building #{dep_recipe.name}, moving on to next recipe"
|
42
53
|
end
|
43
54
|
|
44
55
|
# Now all child recipes are built; set depends to combined set of dependencies
|
data/lib/fpm/cookery/packager.rb
CHANGED
@@ -70,7 +70,7 @@ module FPM
|
|
70
70
|
recipe.cachedir.mkdir
|
71
71
|
Dir.chdir(recipe.cachedir) do
|
72
72
|
Log.info "Fetching source: #{source.source_url}"
|
73
|
-
source.fetch
|
73
|
+
source.fetch(:quiet => config[:quiet])
|
74
74
|
|
75
75
|
if source.checksum?
|
76
76
|
SourceIntegrityCheck.new(recipe).tap do |check|
|
@@ -107,7 +107,8 @@ module FPM
|
|
107
107
|
build_cookie = build_cookie_name(package_name)
|
108
108
|
|
109
109
|
if File.exists?(build_cookie)
|
110
|
-
Log.
|
110
|
+
Log.warn "Skipping build of #{recipe.name} because build cookie found (#{build_cookie})," \
|
111
|
+
" use \"fpm-cook clean\" to rebuild!"
|
111
112
|
else
|
112
113
|
Log.info "Building in #{File.expand_path(extracted_source, recipe.builddir)}"
|
113
114
|
recipe.build and FileUtils.touch(build_cookie)
|
@@ -30,6 +30,11 @@ module FPM
|
|
30
30
|
current_pathname_for('var')/path
|
31
31
|
end
|
32
32
|
|
33
|
+
def root(path = nil)
|
34
|
+
current_pathname_for(nil)/path
|
35
|
+
end
|
36
|
+
alias_method :root_prefix, :root
|
37
|
+
|
33
38
|
def bin(path = nil) prefix/'bin'/path end
|
34
39
|
def doc(path = nil) prefix/'share/doc'/path end
|
35
40
|
def include(path = nil) prefix/'include'/path end
|
data/lib/fpm/cookery/recipe.rb
CHANGED
@@ -62,7 +62,7 @@ module FPM
|
|
62
62
|
|
63
63
|
attr_rw_list :build_depends, :config_files, :conflicts, :depends,
|
64
64
|
:exclude, :patches, :provides, :replaces, :omnibus_recipes,
|
65
|
-
:omnibus_additional_paths, :chain_recipes
|
65
|
+
:omnibus_additional_paths, :chain_recipes, :directories
|
66
66
|
|
67
67
|
attr_reader :filename
|
68
68
|
|
@@ -9,18 +9,18 @@ module FPM
|
|
9
9
|
NAME = :curl
|
10
10
|
CHECKSUM = true
|
11
11
|
|
12
|
-
def fetch
|
12
|
+
def fetch(config = {})
|
13
13
|
if local_path.exist?
|
14
14
|
Log.info "Using cached file #{local_path}"
|
15
15
|
else
|
16
16
|
Dir.chdir(cachedir) do
|
17
|
-
curl(url, local_path) unless local_path.exist?
|
17
|
+
curl(url, local_path, config) unless local_path.exist?
|
18
18
|
end
|
19
19
|
end
|
20
20
|
local_path
|
21
21
|
end
|
22
22
|
|
23
|
-
def extract
|
23
|
+
def extract(config = {})
|
24
24
|
Dir.chdir(builddir) do
|
25
25
|
case local_path.extname
|
26
26
|
when '.bz2', '.gz', '.tgz'
|
@@ -42,9 +42,11 @@ module FPM
|
|
42
42
|
end
|
43
43
|
|
44
44
|
private
|
45
|
-
def curl(url, path)
|
45
|
+
def curl(url, path, config)
|
46
46
|
args = options[:args] || '-fL'
|
47
|
-
cmd = ['curl', args
|
47
|
+
cmd = ['curl', args]
|
48
|
+
cmd << (config[:quiet] ? '-s' : '--progress-bar')
|
49
|
+
cmd += ['-o', path, url]
|
48
50
|
safesystem(*cmd)
|
49
51
|
rescue RuntimeError => e
|
50
52
|
Log.error("Command failed: #{cmd.join(' ')}")
|
@@ -8,7 +8,7 @@ module FPM
|
|
8
8
|
CHECKSUM = false
|
9
9
|
NAME = :git
|
10
10
|
|
11
|
-
def fetch
|
11
|
+
def fetch(config = {})
|
12
12
|
rev = options[:sha] || options[:tag]
|
13
13
|
|
14
14
|
if local_path.exist?
|
@@ -32,7 +32,7 @@ module FPM
|
|
32
32
|
local_path
|
33
33
|
end
|
34
34
|
|
35
|
-
def extract
|
35
|
+
def extract(config = {})
|
36
36
|
extracted_source = (builddir/local_path.basename('.git').to_s).to_s
|
37
37
|
|
38
38
|
Dir.chdir(local_path) do
|
@@ -8,7 +8,7 @@ module FPM
|
|
8
8
|
CHECKSUM = false
|
9
9
|
NAME = :hg
|
10
10
|
|
11
|
-
def fetch
|
11
|
+
def fetch(config = {})
|
12
12
|
if local_path.exist?
|
13
13
|
Dir.chdir(local_path) do
|
14
14
|
hg('pull')
|
@@ -23,7 +23,7 @@ module FPM
|
|
23
23
|
local_path
|
24
24
|
end
|
25
25
|
|
26
|
-
def extract
|
26
|
+
def extract(config = {})
|
27
27
|
src = (builddir/local_path.basename('.hg').to_s).to_s
|
28
28
|
|
29
29
|
Dir.chdir(local_path) do
|
@@ -7,11 +7,11 @@ module FPM
|
|
7
7
|
CHECKSUM = false
|
8
8
|
NAME = :noop
|
9
9
|
|
10
|
-
def fetch
|
10
|
+
def fetch(config = {})
|
11
11
|
Log.info "Noop source_handler; do nothing."
|
12
12
|
end
|
13
13
|
|
14
|
-
def extract
|
14
|
+
def extract(config = {})
|
15
15
|
Log.info "Not extracting - noop source handler"
|
16
16
|
builddir
|
17
17
|
end
|
@@ -8,7 +8,7 @@ module FPM
|
|
8
8
|
CHECKSUM = false
|
9
9
|
NAME = :svn
|
10
10
|
|
11
|
-
def fetch
|
11
|
+
def fetch(config = {})
|
12
12
|
# TODO(lusis) - implement some caching using 'svn info'?
|
13
13
|
Dir.chdir(cachedir) do
|
14
14
|
svn(url, local_path)
|
@@ -16,7 +16,7 @@ module FPM
|
|
16
16
|
local_path
|
17
17
|
end
|
18
18
|
|
19
|
-
def extract
|
19
|
+
def extract(config = {})
|
20
20
|
Dir.chdir(builddir) do
|
21
21
|
safesystem('cp', '-Rp', local_path, '.')
|
22
22
|
extracted_source
|
data/lib/fpm/cookery/utils.rb
CHANGED
@@ -21,7 +21,7 @@ module FPM
|
|
21
21
|
end
|
22
22
|
|
23
23
|
# From brew2deb. (lib/debian_formula.rb)
|
24
|
-
def
|
24
|
+
def argument_build(*args)
|
25
25
|
if args.last.is_a?(Hash)
|
26
26
|
opts = args.pop
|
27
27
|
args += opts.map{ |k,v|
|
@@ -33,10 +33,18 @@ module FPM
|
|
33
33
|
end
|
34
34
|
}
|
35
35
|
end
|
36
|
+
end
|
36
37
|
|
38
|
+
def configure(*args)
|
39
|
+
args = argument_build(*args)
|
37
40
|
safesystem './configure', *args
|
38
41
|
end
|
39
42
|
|
43
|
+
def autogen(*args)
|
44
|
+
args = argument_build(*args)
|
45
|
+
safesystem './autogen.sh', *args
|
46
|
+
end
|
47
|
+
|
40
48
|
# From brew2deb. (lib/debian_formula.rb)
|
41
49
|
def make(*args)
|
42
50
|
env = args.pop if args.last.is_a?(Hash)
|
data/lib/fpm/cookery/version.rb
CHANGED
data/spec/config_spec.rb
CHANGED
@@ -74,6 +74,14 @@ describe 'Config' do
|
|
74
74
|
common_tests(:vendor)
|
75
75
|
end
|
76
76
|
|
77
|
+
describe '#quiet' do
|
78
|
+
it 'defaults to false' do
|
79
|
+
default_config.quiet.must_equal false
|
80
|
+
end
|
81
|
+
|
82
|
+
common_tests(:quiet)
|
83
|
+
end
|
84
|
+
|
77
85
|
describe '#skip_package' do
|
78
86
|
it 'defaults to false' do
|
79
87
|
default_config.skip_package.must_equal false
|
@@ -109,7 +117,8 @@ describe 'Config' do
|
|
109
117
|
:vendor => nil,
|
110
118
|
:skip_package => false,
|
111
119
|
:keep_destdir => false,
|
112
|
-
:dependency_check => true
|
120
|
+
:dependency_check => true,
|
121
|
+
:quiet => false
|
113
122
|
})
|
114
123
|
end
|
115
124
|
end
|
data/spec/package_spec.rb
CHANGED
@@ -49,6 +49,7 @@ describe 'Package' do
|
|
49
49
|
provides 'foo-package'
|
50
50
|
replaces 'foo-old'
|
51
51
|
config_files '/etc/foo.conf'
|
52
|
+
directories '/var/lib/foo', '/var/cache/foo'
|
52
53
|
end
|
53
54
|
end
|
54
55
|
|
@@ -101,6 +102,10 @@ describe 'Package' do
|
|
101
102
|
package.fpm.config_files.must_equal ['/etc/foo.conf']
|
102
103
|
end
|
103
104
|
|
105
|
+
it 'sets the directories' do
|
106
|
+
package.fpm.directories.must_equal ['/var/lib/foo', '/var/cache/foo']
|
107
|
+
end
|
108
|
+
|
104
109
|
describe 'attributes' do
|
105
110
|
let(:attributes) { package.fpm.attributes }
|
106
111
|
|
data/spec/path_helper_spec.rb
CHANGED
@@ -12,6 +12,8 @@ describe "PathHelper" do
|
|
12
12
|
|
13
13
|
describe "path helper methods" do
|
14
14
|
[ ['prefix', '/usr'],
|
15
|
+
['root_prefix', '/'],
|
16
|
+
['root', '/'],
|
15
17
|
['etc', '/etc'],
|
16
18
|
['opt', '/opt'],
|
17
19
|
['var', '/var'],
|
@@ -36,6 +38,8 @@ describe "PathHelper" do
|
|
36
38
|
name, path = m
|
37
39
|
|
38
40
|
describe "##{name}" do
|
41
|
+
def c(path); path.gsub(%r{//}, '/'); end
|
42
|
+
|
39
43
|
context "without an argument" do
|
40
44
|
it "returns #{path}" do
|
41
45
|
helper.send(name).to_s.must_equal path
|
@@ -44,7 +48,7 @@ describe "PathHelper" do
|
|
44
48
|
|
45
49
|
context "with an argument" do
|
46
50
|
it "adds the argument to the path" do
|
47
|
-
helper.send(name, 'foo/bar').to_s.must_equal "#{path}/foo/bar"
|
51
|
+
helper.send(name, 'foo/bar').to_s.must_equal c("#{path}/foo/bar")
|
48
52
|
end
|
49
53
|
end
|
50
54
|
|
@@ -58,7 +62,7 @@ describe "PathHelper" do
|
|
58
62
|
before { helper.installing = true}
|
59
63
|
|
60
64
|
it "adds the destdir as prefix" do
|
61
|
-
helper.send(name, 'blah').to_s.must_equal "#{helper.destdir}#{path}/blah"
|
65
|
+
helper.send(name, 'blah').to_s.must_equal c("#{helper.destdir}#{path}/blah")
|
62
66
|
end
|
63
67
|
end
|
64
68
|
|
@@ -66,7 +70,7 @@ describe "PathHelper" do
|
|
66
70
|
before { helper.omnibus_installing = true }
|
67
71
|
|
68
72
|
it "does not add anything to the path" do
|
69
|
-
helper.send(name, 'blah').to_s.must_equal "#{path}/blah"
|
73
|
+
helper.send(name, 'blah').to_s.must_equal c("#{path}/blah")
|
70
74
|
end
|
71
75
|
end
|
72
76
|
|
@@ -74,7 +78,7 @@ describe "PathHelper" do
|
|
74
78
|
before { helper.omnibus_installing = true ; helper.installing = true }
|
75
79
|
|
76
80
|
it "does not add anything to the path" do
|
77
|
-
helper.send(name, 'blah').to_s.must_equal "#{path}/blah"
|
81
|
+
helper.send(name, 'blah').to_s.must_equal c("#{path}/blah")
|
78
82
|
end
|
79
83
|
end
|
80
84
|
end
|
data/spec/path_spec.rb
CHANGED
@@ -6,13 +6,13 @@ describe "Path" do
|
|
6
6
|
describe ".pwd" do
|
7
7
|
it "returns the current dir" do
|
8
8
|
Dir.chdir('/tmp') do
|
9
|
-
FPM::Cookery::Path.pwd.to_s.
|
9
|
+
FPM::Cookery::Path.pwd.to_s.must_match %r{/tmp|/private/tmp}
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
13
13
|
it "adds the given path to the current dir" do
|
14
14
|
Dir.chdir('/tmp') do
|
15
|
-
FPM::Cookery::Path.pwd('foo').to_s.
|
15
|
+
FPM::Cookery::Path.pwd('foo').to_s.must_match %r{/tmp|/private/tmp}
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
data/spec/recipe_spec.rb
CHANGED
@@ -223,6 +223,7 @@ describe "Recipe" do
|
|
223
223
|
spec_recipe_attribute_list(:replaces, %w{one two})
|
224
224
|
spec_recipe_attribute_list(:omnibus_recipes, %w{one two})
|
225
225
|
spec_recipe_attribute_list(:chain_recipes, %w{one two})
|
226
|
+
spec_recipe_attribute_list(:directories, %w{one two})
|
226
227
|
|
227
228
|
describe ".source" do
|
228
229
|
it "sets a source url" do
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fpm-cookery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.17.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Bernd Ahlers
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-02-01 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: minitest
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rake
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,23 +41,20 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: fpm
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
47
|
+
version: 1.0.0
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
54
|
+
version: 1.0.0
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: facter
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ! '>='
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: puppet
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ! '>='
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ! '>='
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: addressable
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ! '>='
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ! '>='
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -110,7 +97,6 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: systemu
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - ! '>='
|
116
102
|
- !ruby/object:Gem::Version
|
@@ -118,7 +104,6 @@ dependencies:
|
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
108
|
- - ! '>='
|
124
109
|
- !ruby/object:Gem::Version
|
@@ -226,32 +211,25 @@ files:
|
|
226
211
|
- spec/spec_helper.rb
|
227
212
|
homepage: ''
|
228
213
|
licenses: []
|
214
|
+
metadata: {}
|
229
215
|
post_install_message:
|
230
216
|
rdoc_options: []
|
231
217
|
require_paths:
|
232
218
|
- lib
|
233
219
|
required_ruby_version: !ruby/object:Gem::Requirement
|
234
|
-
none: false
|
235
220
|
requirements:
|
236
221
|
- - ! '>='
|
237
222
|
- !ruby/object:Gem::Version
|
238
223
|
version: '0'
|
239
|
-
segments:
|
240
|
-
- 0
|
241
|
-
hash: 2714022872265180185
|
242
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
|
-
none: false
|
244
225
|
requirements:
|
245
226
|
- - ! '>='
|
246
227
|
- !ruby/object:Gem::Version
|
247
228
|
version: '0'
|
248
|
-
segments:
|
249
|
-
- 0
|
250
|
-
hash: 2714022872265180185
|
251
229
|
requirements: []
|
252
230
|
rubyforge_project: fpm-cookery
|
253
|
-
rubygems_version:
|
231
|
+
rubygems_version: 2.2.0
|
254
232
|
signing_key:
|
255
|
-
specification_version:
|
233
|
+
specification_version: 4
|
256
234
|
summary: A tool for building software packages with fpm.
|
257
235
|
test_files: []
|