fpm-cookery 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +10 -0
- data/CHANGELOG.md +8 -0
- data/bin/fpm-cook +1 -1
- data/fpm-cookery.gemspec +2 -1
- data/lib/fpm/cookery/chain_packager.rb +58 -0
- data/lib/fpm/cookery/cli.rb +93 -104
- data/lib/fpm/cookery/config.rb +86 -0
- data/lib/fpm/cookery/dependency_inspector.rb +7 -3
- data/lib/fpm/cookery/exceptions.rb +11 -0
- data/lib/fpm/cookery/facts.rb +1 -0
- data/lib/fpm/cookery/log.rb +1 -1
- data/lib/fpm/cookery/package/dir.rb +11 -35
- data/lib/fpm/cookery/package/gem.rb +25 -0
- data/lib/fpm/cookery/package/maintainer.rb +39 -0
- data/lib/fpm/cookery/package/package.rb +100 -0
- data/lib/fpm/cookery/package/version.rb +48 -0
- data/lib/fpm/cookery/packager.rb +65 -97
- data/lib/fpm/cookery/path.rb +4 -0
- data/lib/fpm/cookery/recipe.rb +59 -19
- data/lib/fpm/cookery/shellout.rb +35 -0
- data/lib/fpm/cookery/source_handler/curl.rb +12 -2
- data/lib/fpm/cookery/version.rb +1 -1
- data/recipes/arr-pm/recipe.rb +4 -0
- data/recipes/backports/recipe.rb +4 -0
- data/recipes/cabin/recipe.rb +4 -0
- data/recipes/clamp/recipe.rb +4 -0
- data/recipes/facter/recipe.rb +4 -0
- data/recipes/fpm-cookery-gem/addressable.rb +4 -0
- data/recipes/fpm-cookery-gem/arr-pm.rb +4 -0
- data/recipes/fpm-cookery-gem/backports.rb +4 -0
- data/recipes/fpm-cookery-gem/cabin.rb +4 -0
- data/recipes/fpm-cookery-gem/childprocess.rb +7 -0
- data/recipes/fpm-cookery-gem/clamp.rb +4 -0
- data/recipes/fpm-cookery-gem/facter.rb +4 -0
- data/recipes/fpm-cookery-gem/ffi.rb +4 -0
- data/recipes/fpm-cookery-gem/fpm.rb +7 -0
- data/recipes/fpm-cookery-gem/ftw.rb +7 -0
- data/recipes/fpm-cookery-gem/hiera.rb +7 -0
- data/recipes/fpm-cookery-gem/http_parser.rb.rb +4 -0
- data/recipes/fpm-cookery-gem/json.rb +4 -0
- data/recipes/fpm-cookery-gem/json_pure.rb +4 -0
- data/recipes/fpm-cookery-gem/puppet.rb +7 -0
- data/recipes/fpm-cookery-gem/recipe.rb +7 -0
- data/recipes/fpm-cookery-gem/rgen.rb +4 -0
- data/recipes/fpm-cookery/recipe.rb +1 -1
- data/recipes/fpm-cookery/ruby.rb +20 -10
- data/recipes/fpm/recipe.rb +4 -0
- data/recipes/json/recipe.rb +4 -0
- data/recipes/open4/recipe.rb +4 -0
- data/spec/config_spec.rb +167 -0
- data/spec/facts_spec.rb +7 -0
- data/spec/fixtures/test-config-1.yml +2 -0
- data/spec/package_maintainer_spec.rb +79 -0
- data/spec/package_spec.rb +182 -0
- data/spec/package_version_spec.rb +119 -0
- data/spec/recipe_spec.rb +18 -0
- data/spec/spec_helper.rb +1 -0
- metadata +61 -6
data/spec/facts_spec.rb
CHANGED
@@ -76,6 +76,13 @@ describe "Facts" do
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
+
describe "with platform Darwin" do
|
80
|
+
it "returns osxpkg" do
|
81
|
+
FPM::Cookery::Facts.platform = 'Darwin'
|
82
|
+
FPM::Cookery::Facts.target.must_equal :osxpkg
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
79
86
|
describe "with an unknown platform" do
|
80
87
|
it "returns nil" do
|
81
88
|
FPM::Cookery::Facts.platform = '___X___'
|
@@ -0,0 +1,79 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'fpm/cookery/package/maintainer'
|
3
|
+
require 'ostruct'
|
4
|
+
|
5
|
+
describe 'Maintainer' do
|
6
|
+
let(:klass) { FPM::Cookery::Package::Maintainer }
|
7
|
+
|
8
|
+
let(:recipe) { OpenStruct.new }
|
9
|
+
let(:config) { {} }
|
10
|
+
|
11
|
+
let(:maintainer) { klass.new(recipe, config) }
|
12
|
+
|
13
|
+
def with_shellout_stub(&spec)
|
14
|
+
callable = lambda do |key|
|
15
|
+
case key
|
16
|
+
when 'user.name'
|
17
|
+
'John Doe'
|
18
|
+
when 'user.email'
|
19
|
+
'john@example.com'
|
20
|
+
else
|
21
|
+
raise "Invalid key: #{key}"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
FPM::Cookery::Shellout.stub(:git_config_get, callable, &spec)
|
26
|
+
end
|
27
|
+
|
28
|
+
describe '#to_s' do
|
29
|
+
context 'with maintainer set in recipe' do
|
30
|
+
it 'returns the recipe maintainer' do
|
31
|
+
with_shellout_stub do
|
32
|
+
recipe.maintainer = 'Foo <bar@example.com>'
|
33
|
+
|
34
|
+
maintainer.to_s.must_equal 'Foo <bar@example.com>'
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
context 'with maintainer set in config' do
|
40
|
+
it 'returns the config maintainer' do
|
41
|
+
with_shellout_stub do
|
42
|
+
config[:maintainer] = 'Foo <bar@example.com>'
|
43
|
+
|
44
|
+
maintainer.to_s.must_equal 'Foo <bar@example.com>'
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
context 'with maintainer in config and recipe' do
|
50
|
+
it 'returns the config maintainer' do
|
51
|
+
with_shellout_stub do
|
52
|
+
recipe.maintainer = 'Foo <bar@example.com>'
|
53
|
+
config[:maintainer] = 'Jane Doe <jane@example.com>'
|
54
|
+
|
55
|
+
maintainer.to_s.must_equal 'Jane Doe <jane@example.com>'
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
context 'without any maintainer set' do
|
61
|
+
it 'returns the maintainer from git' do
|
62
|
+
with_shellout_stub do
|
63
|
+
maintainer.to_s.must_equal 'John Doe <john@example.com>'
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe '#to_str' do
|
71
|
+
it 'converts the maintainer object to a string' do
|
72
|
+
with_shellout_stub do
|
73
|
+
recipe.maintainer = 'Foo <bar@example.com>'
|
74
|
+
|
75
|
+
maintainer.to_str.must_equal 'Foo <bar@example.com>'
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,182 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'fpm/cookery/package/package'
|
3
|
+
|
4
|
+
require 'fpm/package/dir'
|
5
|
+
require 'fpm/cookery/recipe'
|
6
|
+
|
7
|
+
describe 'Package' do
|
8
|
+
let(:config) { {} }
|
9
|
+
|
10
|
+
let(:package_bare_class) do
|
11
|
+
Class.new(FPM::Cookery::Package::Package)
|
12
|
+
end
|
13
|
+
|
14
|
+
let(:package_bare) do
|
15
|
+
package_bare_class.new(recipe, config)
|
16
|
+
end
|
17
|
+
|
18
|
+
let(:package_class) do
|
19
|
+
Class.new(FPM::Cookery::Package::Package) {
|
20
|
+
attr_reader :test_package_setup_run, :test_package_input_run
|
21
|
+
|
22
|
+
def fpm_object
|
23
|
+
FPM::Package::Dir.new
|
24
|
+
end
|
25
|
+
|
26
|
+
def package_setup
|
27
|
+
@test_package_setup_run = true
|
28
|
+
end
|
29
|
+
|
30
|
+
def package_input
|
31
|
+
@test_package_input_run = true
|
32
|
+
end
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
let(:package) do
|
37
|
+
package_class.new(recipe, config)
|
38
|
+
end
|
39
|
+
|
40
|
+
let(:recipe) do
|
41
|
+
Class.new(FPM::Cookery::Recipe) do
|
42
|
+
description 'a test package'
|
43
|
+
name 'foo'
|
44
|
+
homepage 'http://example.com'
|
45
|
+
section 'langs'
|
46
|
+
arch 'all'
|
47
|
+
depends 'ab', 'c'
|
48
|
+
conflicts 'xz', 'y'
|
49
|
+
provides 'foo-package'
|
50
|
+
replaces 'foo-old'
|
51
|
+
config_files '/etc/foo.conf'
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
describe 'fpm package object initialization' do
|
56
|
+
it 'sets name' do
|
57
|
+
package.fpm.name.must_equal 'foo'
|
58
|
+
end
|
59
|
+
|
60
|
+
it 'sets url' do
|
61
|
+
package.fpm.url.must_equal 'http://example.com'
|
62
|
+
end
|
63
|
+
|
64
|
+
it 'sets category' do
|
65
|
+
package.fpm.category.must_equal 'langs'
|
66
|
+
end
|
67
|
+
|
68
|
+
context 'without section set' do
|
69
|
+
it 'sets category to "optional"' do
|
70
|
+
recipe.instance_variable_set(:@section, nil)
|
71
|
+
|
72
|
+
package.fpm.category.must_equal 'optional'
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
it 'sets the description' do
|
77
|
+
package.fpm.description.must_equal 'a test package'
|
78
|
+
end
|
79
|
+
|
80
|
+
it 'sets the architecture' do
|
81
|
+
package.fpm.architecture.must_equal 'all'
|
82
|
+
end
|
83
|
+
|
84
|
+
it 'sets the dependencies' do
|
85
|
+
package.fpm.dependencies.must_equal ['ab', 'c']
|
86
|
+
end
|
87
|
+
|
88
|
+
it 'sets the conflicts' do
|
89
|
+
package.fpm.conflicts.must_equal ['xz', 'y']
|
90
|
+
end
|
91
|
+
|
92
|
+
it 'sets the provides' do
|
93
|
+
package.fpm.provides.must_equal ['foo-package']
|
94
|
+
end
|
95
|
+
|
96
|
+
it 'sets the replaces' do
|
97
|
+
package.fpm.replaces.must_equal ['foo-old']
|
98
|
+
end
|
99
|
+
|
100
|
+
it 'sets the config_files' do
|
101
|
+
package.fpm.config_files.must_equal ['/etc/foo.conf']
|
102
|
+
end
|
103
|
+
|
104
|
+
describe 'attributes' do
|
105
|
+
let(:attributes) { package.fpm.attributes }
|
106
|
+
|
107
|
+
it 'sets deb_compression' do
|
108
|
+
attributes[:deb_compression].must_equal 'gzip'
|
109
|
+
end
|
110
|
+
|
111
|
+
it 'sets deb_user' do
|
112
|
+
attributes[:deb_user].must_equal 'root'
|
113
|
+
end
|
114
|
+
|
115
|
+
it 'sets deb_group' do
|
116
|
+
attributes[:deb_group].must_equal 'root'
|
117
|
+
end
|
118
|
+
|
119
|
+
it 'sets rpm_compression' do
|
120
|
+
attributes[:rpm_compression].must_equal 'gzip'
|
121
|
+
end
|
122
|
+
|
123
|
+
it 'sets rpm_digest' do
|
124
|
+
attributes[:rpm_digest].must_equal 'md5'
|
125
|
+
end
|
126
|
+
|
127
|
+
it 'sets rpm_user' do
|
128
|
+
attributes[:rpm_user].must_equal 'root'
|
129
|
+
end
|
130
|
+
|
131
|
+
it 'sets rpm_group' do
|
132
|
+
attributes[:rpm_group].must_equal 'root'
|
133
|
+
end
|
134
|
+
|
135
|
+
it 'sets rpm_defattrfile' do
|
136
|
+
attributes[:rpm_defattrfile].must_equal '-'
|
137
|
+
end
|
138
|
+
|
139
|
+
it 'sets rpm_defattrdir' do
|
140
|
+
attributes[:rpm_defattrdir].must_equal '-'
|
141
|
+
end
|
142
|
+
|
143
|
+
it 'sets excludes' do
|
144
|
+
attributes[:excludes].must_equal []
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
it 'calls the package_setup method' do
|
149
|
+
package.test_package_setup_run.must_equal true
|
150
|
+
end
|
151
|
+
|
152
|
+
it 'calls the package_input method' do
|
153
|
+
package.test_package_input_run.must_equal true
|
154
|
+
end
|
155
|
+
|
156
|
+
context 'without package_input method defined' do
|
157
|
+
before do
|
158
|
+
package_bare_class.class_eval do
|
159
|
+
def fpm_class
|
160
|
+
end
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
it 'raises a MethodNotImplemented error' do
|
165
|
+
proc { package_bare }.must_raise FPM::Cookery::Error::MethodNotImplemented
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
context 'without fpm_object method defined' do
|
170
|
+
before do
|
171
|
+
package_bare_class.class_eval do
|
172
|
+
def package_input
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
it 'raises a MethodNotImplemented error' do
|
178
|
+
proc { package_bare }.must_raise FPM::Cookery::Error::MethodNotImplemented
|
179
|
+
end
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
@@ -0,0 +1,119 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'fpm/cookery/package/version'
|
3
|
+
require 'ostruct'
|
4
|
+
|
5
|
+
describe 'Version' do
|
6
|
+
let(:klass) { FPM::Cookery::Package::Version }
|
7
|
+
|
8
|
+
let(:recipe) { OpenStruct.new(:version => '1.2.0') }
|
9
|
+
let(:target) { 'deb' }
|
10
|
+
let(:config) { {} }
|
11
|
+
|
12
|
+
let(:version) { klass.new(recipe, target, config) }
|
13
|
+
|
14
|
+
describe '#vendor_delimiter' do
|
15
|
+
context 'with target deb' do
|
16
|
+
it 'returns "+"' do
|
17
|
+
version.vendor_delimiter.must_equal '+'
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
context 'with target rpm' do
|
22
|
+
let(:target) { 'rpm' }
|
23
|
+
|
24
|
+
it 'returns "."' do
|
25
|
+
version.vendor_delimiter.must_equal '.'
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
context 'with unknown target' do
|
30
|
+
let(:target) { '_foo_' }
|
31
|
+
|
32
|
+
it 'returns "-"' do
|
33
|
+
version.vendor_delimiter.must_equal '-'
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe '#vendor' do
|
39
|
+
context 'with config.vendor set' do
|
40
|
+
it 'returns the config.vendor value' do
|
41
|
+
config[:vendor] = 'foo'
|
42
|
+
|
43
|
+
version.vendor.must_equal 'foo'
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
context 'with recipe.vendor set' do
|
48
|
+
it 'returns the recipe.vendor value' do
|
49
|
+
recipe.vendor = 'bar'
|
50
|
+
|
51
|
+
version.vendor.must_equal 'bar'
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
context 'with config.vendor and recipe.vendor set' do
|
56
|
+
it 'returns the config.vendor value' do
|
57
|
+
config[:vendor] = 'foo'
|
58
|
+
recipe.vendor = 'bar'
|
59
|
+
|
60
|
+
version.vendor.must_equal 'foo'
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe '#revision' do
|
66
|
+
it 'returns the recipe.revision value' do
|
67
|
+
recipe.revision = 24
|
68
|
+
|
69
|
+
version.revision.must_equal 24
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
describe '#epoch' do
|
74
|
+
it 'returns the version epoch' do
|
75
|
+
recipe.version = '4:1.2.3'
|
76
|
+
|
77
|
+
version.epoch.must_equal '4'
|
78
|
+
end
|
79
|
+
|
80
|
+
context 'without epoch' do
|
81
|
+
it 'returns nil' do
|
82
|
+
recipe.version = '1.2.3'
|
83
|
+
|
84
|
+
version.epoch.must_equal nil
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe '#to_s' do
|
90
|
+
it 'returns a string representation of the version' do
|
91
|
+
recipe.version = '2.1.3'
|
92
|
+
recipe.vendor = 'testing'
|
93
|
+
recipe.revision = 5
|
94
|
+
|
95
|
+
version.to_s.must_equal '2.1.3+testing5'
|
96
|
+
end
|
97
|
+
|
98
|
+
context 'without vendor' do
|
99
|
+
it 'returns a string representation' do
|
100
|
+
recipe.version = '2.1.3'
|
101
|
+
recipe.revision = 5
|
102
|
+
|
103
|
+
version.to_s.must_equal '2.1.3-5'
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
describe '#to_str' do
|
109
|
+
let(:target) { 'rpm' }
|
110
|
+
|
111
|
+
it 'returns a string representation of the version' do
|
112
|
+
recipe.version = '1.3'
|
113
|
+
recipe.vendor = 'foo'
|
114
|
+
recipe.revision = 1
|
115
|
+
|
116
|
+
version.to_str.must_equal '1.3.foo1'
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
data/spec/recipe_spec.rb
CHANGED
@@ -176,6 +176,12 @@ describe "Recipe" do
|
|
176
176
|
end
|
177
177
|
end
|
178
178
|
|
179
|
+
describe "#chain_package" do
|
180
|
+
it "can be set" do
|
181
|
+
check_attribute(:chain_package, true)
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
179
185
|
describe "#omnibus_package" do
|
180
186
|
it "can be set" do
|
181
187
|
check_attribute(:omnibus_package, true)
|
@@ -216,6 +222,7 @@ describe "Recipe" do
|
|
216
222
|
spec_recipe_attribute_list(:provides, %w{one two})
|
217
223
|
spec_recipe_attribute_list(:replaces, %w{one two})
|
218
224
|
spec_recipe_attribute_list(:omnibus_recipes, %w{one two})
|
225
|
+
spec_recipe_attribute_list(:chain_recipes, %w{one two})
|
219
226
|
|
220
227
|
describe ".source" do
|
221
228
|
it "sets a source url" do
|
@@ -458,4 +465,15 @@ describe "Recipe" do
|
|
458
465
|
end
|
459
466
|
end
|
460
467
|
end
|
468
|
+
|
469
|
+
describe "#depends_all" do
|
470
|
+
it "returns build_depends and depends package names" do
|
471
|
+
klass.depends [:pkg1, :pkg2]
|
472
|
+
klass.build_depends [:pkg3, :pkg4]
|
473
|
+
|
474
|
+
[:pkg1, :pkg2, :pkg3, :pkg4].all? { |i|
|
475
|
+
klass.depends_all.member?(i) && recipe.depends_all.member?(i)
|
476
|
+
}.must_equal true
|
477
|
+
end
|
478
|
+
end
|
461
479
|
end
|
data/spec/spec_helper.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.16.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-
|
12
|
+
date: 2013-09-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '5.0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
29
|
+
version: '5.0'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rake
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,6 +107,22 @@ dependencies:
|
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: systemu
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
110
126
|
description: A tool for building software packages with fpm.
|
111
127
|
email:
|
112
128
|
- bernd@tuneafish.de
|
@@ -117,6 +133,7 @@ extra_rdoc_files: []
|
|
117
133
|
files:
|
118
134
|
- .autotest
|
119
135
|
- .gitignore
|
136
|
+
- .travis.yml
|
120
137
|
- CHANGELOG.md
|
121
138
|
- Gemfile
|
122
139
|
- LICENSE
|
@@ -126,8 +143,11 @@ files:
|
|
126
143
|
- fpm-cookery.gemspec
|
127
144
|
- lib/fpm/cookery/book.rb
|
128
145
|
- lib/fpm/cookery/book_hook.rb
|
146
|
+
- lib/fpm/cookery/chain_packager.rb
|
129
147
|
- lib/fpm/cookery/cli.rb
|
148
|
+
- lib/fpm/cookery/config.rb
|
130
149
|
- lib/fpm/cookery/dependency_inspector.rb
|
150
|
+
- lib/fpm/cookery/exceptions.rb
|
131
151
|
- lib/fpm/cookery/facts.rb
|
132
152
|
- lib/fpm/cookery/log.rb
|
133
153
|
- lib/fpm/cookery/log/color.rb
|
@@ -136,10 +156,15 @@ files:
|
|
136
156
|
- lib/fpm/cookery/log/output/null.rb
|
137
157
|
- lib/fpm/cookery/omnibus_packager.rb
|
138
158
|
- lib/fpm/cookery/package/dir.rb
|
159
|
+
- lib/fpm/cookery/package/gem.rb
|
160
|
+
- lib/fpm/cookery/package/maintainer.rb
|
161
|
+
- lib/fpm/cookery/package/package.rb
|
162
|
+
- lib/fpm/cookery/package/version.rb
|
139
163
|
- lib/fpm/cookery/packager.rb
|
140
164
|
- lib/fpm/cookery/path.rb
|
141
165
|
- lib/fpm/cookery/path_helper.rb
|
142
166
|
- lib/fpm/cookery/recipe.rb
|
167
|
+
- lib/fpm/cookery/shellout.rb
|
143
168
|
- lib/fpm/cookery/source.rb
|
144
169
|
- lib/fpm/cookery/source_handler.rb
|
145
170
|
- lib/fpm/cookery/source_handler/curl.rb
|
@@ -152,17 +177,47 @@ files:
|
|
152
177
|
- lib/fpm/cookery/source_integrity_check.rb
|
153
178
|
- lib/fpm/cookery/utils.rb
|
154
179
|
- lib/fpm/cookery/version.rb
|
180
|
+
- recipes/arr-pm/recipe.rb
|
181
|
+
- recipes/backports/recipe.rb
|
182
|
+
- recipes/cabin/recipe.rb
|
183
|
+
- recipes/clamp/recipe.rb
|
184
|
+
- recipes/facter/recipe.rb
|
185
|
+
- recipes/fpm-cookery-gem/addressable.rb
|
186
|
+
- recipes/fpm-cookery-gem/arr-pm.rb
|
187
|
+
- recipes/fpm-cookery-gem/backports.rb
|
188
|
+
- recipes/fpm-cookery-gem/cabin.rb
|
189
|
+
- recipes/fpm-cookery-gem/childprocess.rb
|
190
|
+
- recipes/fpm-cookery-gem/clamp.rb
|
191
|
+
- recipes/fpm-cookery-gem/facter.rb
|
192
|
+
- recipes/fpm-cookery-gem/ffi.rb
|
193
|
+
- recipes/fpm-cookery-gem/fpm.rb
|
194
|
+
- recipes/fpm-cookery-gem/ftw.rb
|
195
|
+
- recipes/fpm-cookery-gem/hiera.rb
|
196
|
+
- recipes/fpm-cookery-gem/http_parser.rb.rb
|
197
|
+
- recipes/fpm-cookery-gem/json.rb
|
198
|
+
- recipes/fpm-cookery-gem/json_pure.rb
|
199
|
+
- recipes/fpm-cookery-gem/puppet.rb
|
200
|
+
- recipes/fpm-cookery-gem/recipe.rb
|
201
|
+
- recipes/fpm-cookery-gem/rgen.rb
|
155
202
|
- recipes/fpm-cookery/fpm-cook.bin
|
156
203
|
- recipes/fpm-cookery/recipe.rb
|
157
204
|
- recipes/fpm-cookery/ruby.rb
|
205
|
+
- recipes/fpm/recipe.rb
|
206
|
+
- recipes/json/recipe.rb
|
158
207
|
- recipes/nodejs/recipe.rb
|
159
208
|
- recipes/omnibustest/bundler-gem.rb
|
160
209
|
- recipes/omnibustest/recipe.rb
|
161
210
|
- recipes/omnibustest/ruby.rb
|
211
|
+
- recipes/open4/recipe.rb
|
162
212
|
- recipes/redis/recipe.rb
|
163
213
|
- recipes/redis/redis-server.init.d
|
214
|
+
- spec/config_spec.rb
|
164
215
|
- spec/facts_spec.rb
|
216
|
+
- spec/fixtures/test-config-1.yml
|
165
217
|
- spec/fixtures/test-source-1.0.tar.gz
|
218
|
+
- spec/package_maintainer_spec.rb
|
219
|
+
- spec/package_spec.rb
|
220
|
+
- spec/package_version_spec.rb
|
166
221
|
- spec/path_helper_spec.rb
|
167
222
|
- spec/path_spec.rb
|
168
223
|
- spec/recipe_spec.rb
|
@@ -183,7 +238,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
238
|
version: '0'
|
184
239
|
segments:
|
185
240
|
- 0
|
186
|
-
hash:
|
241
|
+
hash: 4072366461725663513
|
187
242
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
243
|
none: false
|
189
244
|
requirements:
|
@@ -192,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
247
|
version: '0'
|
193
248
|
segments:
|
194
249
|
- 0
|
195
|
-
hash:
|
250
|
+
hash: 4072366461725663513
|
196
251
|
requirements: []
|
197
252
|
rubyforge_project: fpm-cookery
|
198
253
|
rubygems_version: 1.8.25
|