omnibus 2.0.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rubocop.yml +2 -0
- data/.travis.yml +0 -2
- data/CHANGELOG.md +26 -6
- data/Gemfile +7 -0
- data/Guardfile +10 -0
- data/README.md +103 -160
- data/Rakefile +6 -1
- data/docs/Building on OSX.md +66 -0
- data/docs/omnibus-build-cache.md +75 -0
- data/lib/omnibus.rb +9 -13
- data/lib/omnibus/artifact.rb +1 -13
- data/lib/omnibus/assets/README-logo.png +0 -0
- data/lib/omnibus/assets/logo.psd +0 -0
- data/lib/omnibus/builder.rb +1 -0
- data/lib/omnibus/cli/application.rb +17 -4
- data/lib/omnibus/cli/build.rb +6 -4
- data/lib/omnibus/config.rb +33 -0
- data/lib/omnibus/exceptions.rb +20 -14
- data/lib/omnibus/health_check.rb +2 -0
- data/lib/omnibus/install_path_cache.rb +106 -0
- data/lib/omnibus/library.rb +18 -1
- data/lib/omnibus/packagers/base.rb +228 -0
- data/lib/omnibus/packagers/mac_dmg.rb +215 -0
- data/lib/omnibus/packagers/mac_pkg.rb +129 -253
- data/lib/omnibus/project.rb +89 -95
- data/lib/omnibus/s3_cacher.rb +4 -7
- data/lib/omnibus/software.rb +47 -83
- data/lib/omnibus/sugar.rb +49 -0
- data/lib/omnibus/templates/.kitchen.yml.erb +3 -0
- data/lib/omnibus/templates/Berksfile.erb +4 -0
- data/lib/omnibus/templates/Gemfile.erb +1 -1
- data/lib/omnibus/templates/mac_dmg/background.png +0 -0
- data/lib/omnibus/templates/mac_dmg/icon.png +0 -0
- data/lib/omnibus/templates/mac_pkg/background.png +0 -0
- data/lib/omnibus/templates/mac_pkg/license.html.erb +1 -0
- data/lib/omnibus/templates/mac_pkg/welcome.html.erb +9 -0
- data/lib/omnibus/templates/omnibus.rb.example.erb +31 -4
- data/lib/omnibus/version.rb +1 -1
- data/omnibus.gemspec +5 -4
- data/spec/fixtures/sample/files/mac_dmg/Resources/background.png +0 -0
- data/spec/fixtures/sample/files/mac_dmg/Resources/icon.png +0 -0
- data/spec/fixtures/sample/files/mac_pkg/Resources/background.png +0 -0
- data/spec/fixtures/sample/files/mac_pkg/Resources/license.html +1 -0
- data/spec/fixtures/sample/files/mac_pkg/Resources/welcome.html +9 -0
- data/{functional/fixtures/mac_pkg/package-scripts/functional-test-project → spec/fixtures/sample/package-scripts/sample}/postinstall +0 -0
- data/spec/functional/packagers/mac_spec.rb +74 -0
- data/spec/spec_helper.rb +14 -3
- data/spec/sugar_spec.rb +20 -0
- data/spec/{artifact_spec.rb → unit/artifact_spec.rb} +2 -3
- data/spec/{build_version_spec.rb → unit/build_version_spec.rb} +0 -0
- data/spec/{config_spec.rb → unit/config_spec.rb} +4 -0
- data/spec/{fetchers → unit/fetchers}/git_fetcher_spec.rb +0 -0
- data/spec/{fetchers → unit/fetchers}/net_fetcher_spec.rb +0 -0
- data/spec/unit/install_path_cache_spec.rb +175 -0
- data/spec/unit/library_spec.rb +67 -0
- data/spec/{omnibus_spec.rb → unit/omnibus_spec.rb} +0 -0
- data/spec/{overrides_spec.rb → unit/overrides_spec.rb} +0 -0
- data/spec/{package_release_spec.rb → unit/package_release_spec.rb} +0 -0
- data/spec/unit/packagers/base_spec.rb +221 -0
- data/spec/unit/packagers/mac_pkg_spec.rb +163 -0
- data/spec/{project_spec.rb → unit/project_spec.rb} +0 -14
- data/spec/{s3_cacher_spec.rb → unit/s3_cacher_spec.rb} +0 -0
- data/spec/{software_spec.rb → unit/software_spec.rb} +0 -1
- metadata +122 -103
- data/functional/fixtures/mac_pkg/files/mac_pkg/Resources/background.png +0 -0
- data/functional/fixtures/mac_pkg/files/mac_pkg/Resources/license.html +0 -1
- data/functional/fixtures/mac_pkg/files/mac_pkg/Resources/welcome.html +0 -1
- data/functional/packagers/mac_pkg_spec.rb +0 -72
- data/lib/omnibus/clean_tasks.rb +0 -28
- data/spec/packagers/mac_pkg_spec.rb +0 -262
@@ -0,0 +1,163 @@
|
|
1
|
+
#
|
2
|
+
# Copyright:: Copyright (c) 2014 Chef Software, Inc.
|
3
|
+
# License:: Apache License, Version 2.0
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
|
18
|
+
require 'stringio'
|
19
|
+
require 'spec_helper'
|
20
|
+
|
21
|
+
describe Omnibus::Packager::MacPkg do
|
22
|
+
|
23
|
+
let(:project_name) { 'myproject' }
|
24
|
+
|
25
|
+
let(:mac_pkg_identifier) { 'com.mycorp.myproject' }
|
26
|
+
|
27
|
+
let(:omnibus_root) { '/omnibus/project/root' }
|
28
|
+
|
29
|
+
let(:scripts_path) { "#{omnibus_root}/scripts" }
|
30
|
+
|
31
|
+
let(:package_dir) { '/home/someuser/omnibus-myproject/pkg' }
|
32
|
+
|
33
|
+
let(:package_tmp) { '/var/cache/omnibus/pkg-tmp' }
|
34
|
+
|
35
|
+
let(:files_path) { "#{omnibus_root}/files" }
|
36
|
+
|
37
|
+
let(:expected_distribution_content) do
|
38
|
+
<<-EOH
|
39
|
+
<?xml version="1.0" standalone="no"?>
|
40
|
+
<installer-gui-script minSpecVersion="1">
|
41
|
+
<title>Myproject</title>
|
42
|
+
<background file="background.png" alignment="bottomleft" mime-type="image/png"/>
|
43
|
+
<welcome file="welcome.html" mime-type="text/html"/>
|
44
|
+
<license file="license.html" mime-type="text/html"/>
|
45
|
+
|
46
|
+
<!-- Generated by productbuild - - synthesize -->
|
47
|
+
<pkg-ref id="com.mycorp.myproject"/>
|
48
|
+
<options customize="never" require-scripts="false"/>
|
49
|
+
<choices-outline>
|
50
|
+
<line choice="default">
|
51
|
+
<line choice="com.mycorp.myproject"/>
|
52
|
+
</line>
|
53
|
+
</choices-outline>
|
54
|
+
<choice id="default"/>
|
55
|
+
<choice id="com.mycorp.myproject" visible="false">
|
56
|
+
<pkg-ref id="com.mycorp.myproject"/>
|
57
|
+
</choice>
|
58
|
+
<pkg-ref id="com.mycorp.myproject" version="23.4.2" onConclusion="none">myproject-core.pkg</pkg-ref>
|
59
|
+
</installer-gui-script>
|
60
|
+
EOH
|
61
|
+
end
|
62
|
+
|
63
|
+
let(:expected_distribution_path) { '/var/cache/omnibus/pkg-tmp/mac_pkg/Distribution' }
|
64
|
+
|
65
|
+
let(:project) do
|
66
|
+
double Omnibus::Project,
|
67
|
+
name: project_name,
|
68
|
+
build_version: '23.4.2',
|
69
|
+
iteration: 4,
|
70
|
+
maintainer: "Joe's Software",
|
71
|
+
install_path: '/opt/myproject',
|
72
|
+
package_scripts_path: scripts_path,
|
73
|
+
files_path: files_path,
|
74
|
+
package_dir: package_dir,
|
75
|
+
package_tmp: package_tmp,
|
76
|
+
mac_pkg_identifier: mac_pkg_identifier
|
77
|
+
end
|
78
|
+
|
79
|
+
let(:packager) do
|
80
|
+
Omnibus::Packager::MacPkg.new(project)
|
81
|
+
end
|
82
|
+
|
83
|
+
it "uses the project's version" do
|
84
|
+
expect(packager.version).to eq(project.build_version)
|
85
|
+
end
|
86
|
+
|
87
|
+
it "uses the project's name" do
|
88
|
+
expect(packager.name).to eq(project.name)
|
89
|
+
end
|
90
|
+
|
91
|
+
it "uses the project's mac_pkg_identifier" do
|
92
|
+
expect(packager.identifier).to eq(mac_pkg_identifier)
|
93
|
+
end
|
94
|
+
|
95
|
+
it 'names the component package PROJECT_NAME-core.pkg' do
|
96
|
+
expect(packager.component_pkg).to eq('myproject-core.pkg')
|
97
|
+
end
|
98
|
+
|
99
|
+
it 'names the product package PROJECT_NAME.pkg' do
|
100
|
+
expect(packager.package_name).to eq('myproject-23.4.2-4.pkg')
|
101
|
+
end
|
102
|
+
|
103
|
+
it "use's the project's package_scripts_path" do
|
104
|
+
expect(packager.scripts).to eq(project.package_scripts_path)
|
105
|
+
end
|
106
|
+
|
107
|
+
it 'runs pkgbuild' do
|
108
|
+
expect(packager).to receive(:execute).with <<-EOH.gsub(/^ {6}/, '')
|
109
|
+
pkgbuild \\
|
110
|
+
--identifier "com.mycorp.myproject" \\
|
111
|
+
--version "23.4.2" \\
|
112
|
+
--scripts "/omnibus/project/root/scripts" \\
|
113
|
+
--root "/opt/myproject" \\
|
114
|
+
--install-location "/opt/myproject" \\
|
115
|
+
"myproject-core.pkg"
|
116
|
+
EOH
|
117
|
+
packager.build_component_pkg
|
118
|
+
end
|
119
|
+
|
120
|
+
it 'generates a Distribution file describing the product package content' do
|
121
|
+
file = StringIO.new
|
122
|
+
File.stub(:open).with(any_args).and_yield(file)
|
123
|
+
|
124
|
+
expect(file).to receive(:puts).with(expected_distribution_content)
|
125
|
+
packager.generate_distribution
|
126
|
+
end
|
127
|
+
|
128
|
+
describe 'generating the distribution file' do
|
129
|
+
let(:distribution_file) { StringIO.new }
|
130
|
+
|
131
|
+
before do
|
132
|
+
expect(File).to receive(:open)
|
133
|
+
.with(expected_distribution_path, 'w', 0600)
|
134
|
+
.and_yield(distribution_file)
|
135
|
+
end
|
136
|
+
|
137
|
+
it 'writes the distribution file to the staging directory' do
|
138
|
+
packager.generate_distribution
|
139
|
+
expect(distribution_file.string).to eq(expected_distribution_content)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
describe 'building the product package' do
|
144
|
+
it 'generates the distribution and runs productbuild' do
|
145
|
+
expect(packager).to receive(:execute).with <<-EOH.gsub(/^ {8}/, '')
|
146
|
+
productbuild \\
|
147
|
+
--distribution "/var/cache/omnibus/pkg-tmp/mac_pkg/Distribution" \\
|
148
|
+
--resources "/omnibus/project/root/files/mac_pkg/Resources" \\
|
149
|
+
"/home/someuser/omnibus-myproject/pkg/myproject-23.4.2-4.pkg"
|
150
|
+
EOH
|
151
|
+
packager.build_product_pkg
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
context "when the mac_pkg_identifier isn't specified by the project" do
|
156
|
+
let(:mac_pkg_identifier) { nil }
|
157
|
+
let(:project_name) { 'My $Project' }
|
158
|
+
|
159
|
+
it 'uses com.example.PROJECT_NAME as the identifier' do
|
160
|
+
expect(packager.identifier).to eq('test.joessoftware.pkg.myproject')
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
@@ -135,18 +135,4 @@ describe Omnibus::Project do
|
|
135
135
|
expect(project.override(:thing)[:version]).to eq('6.6.6')
|
136
136
|
end
|
137
137
|
end
|
138
|
-
|
139
|
-
describe '#package_user' do
|
140
|
-
it 'returns root by default' do
|
141
|
-
subject.instance_variable_set(:@package_user, nil)
|
142
|
-
expect(subject.package_user).to eq('root')
|
143
|
-
end
|
144
|
-
end
|
145
|
-
|
146
|
-
describe '#package_group' do
|
147
|
-
it 'returns root by default' do
|
148
|
-
subject.instance_variable_set(:@package_group, nil)
|
149
|
-
expect(subject.package_group).to eq('root')
|
150
|
-
end
|
151
|
-
end
|
152
138
|
end
|
File without changes
|
metadata
CHANGED
@@ -1,174 +1,167 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omnibus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Chef Software, Inc.
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
14
|
+
name: chef-sugar
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1.
|
19
|
+
version: '1.2'
|
22
20
|
type: :runtime
|
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
|
29
|
-
version: '1.
|
26
|
+
version: '1.2'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
name: mixlib-
|
28
|
+
name: mixlib-shellout
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
33
|
+
version: '1.3'
|
38
34
|
type: :runtime
|
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
|
45
|
-
version: '
|
40
|
+
version: '1.3'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
42
|
+
name: mixlib-config
|
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: '2.1'
|
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: '2.1'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
56
|
+
name: ohai
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - "~>"
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
61
|
+
version: '6.12'
|
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
|
77
|
-
version: '
|
68
|
+
version: '6.12'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: fpm
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- - ~>
|
73
|
+
- - "~>"
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
75
|
+
version: 1.0.0
|
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
|
93
|
-
version:
|
82
|
+
version: 1.0.0
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: uber-s3
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - ">="
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0'
|
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
|
109
96
|
version: '0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: thor
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: 0.16.0
|
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
|
125
110
|
version: 0.16.0
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: rspec
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- - ~>
|
115
|
+
- - "~>"
|
132
116
|
- !ruby/object:Gem::Version
|
133
|
-
version: 2.14
|
117
|
+
version: '2.14'
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- - ~>
|
122
|
+
- - "~>"
|
140
123
|
- !ruby/object:Gem::Version
|
141
|
-
version: 2.14
|
124
|
+
version: '2.14'
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: rubocop
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.18'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.18'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
148
144
|
- !ruby/object:Gem::Version
|
149
|
-
version: 0
|
145
|
+
version: '0'
|
150
146
|
type: :development
|
151
147
|
prerelease: false
|
152
148
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
149
|
requirements:
|
155
|
-
- -
|
150
|
+
- - ">="
|
156
151
|
- !ruby/object:Gem::Version
|
157
|
-
version: 0
|
152
|
+
version: '0'
|
158
153
|
- !ruby/object:Gem::Dependency
|
159
154
|
name: bundler
|
160
155
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
156
|
requirements:
|
163
|
-
- -
|
157
|
+
- - ">="
|
164
158
|
- !ruby/object:Gem::Version
|
165
159
|
version: '0'
|
166
160
|
type: :development
|
167
161
|
prerelease: false
|
168
162
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
163
|
requirements:
|
171
|
-
- -
|
164
|
+
- - ">="
|
172
165
|
- !ruby/object:Gem::Version
|
173
166
|
version: '0'
|
174
167
|
description: Omnibus helps you build self-installing, full-stack software builds.
|
@@ -178,11 +171,12 @@ executables:
|
|
178
171
|
extensions: []
|
179
172
|
extra_rdoc_files: []
|
180
173
|
files:
|
181
|
-
- .gitignore
|
182
|
-
- .rubocop.yml
|
183
|
-
- .travis.yml
|
174
|
+
- ".gitignore"
|
175
|
+
- ".rubocop.yml"
|
176
|
+
- ".travis.yml"
|
184
177
|
- CHANGELOG.md
|
185
178
|
- Gemfile
|
179
|
+
- Guardfile
|
186
180
|
- LICENSE
|
187
181
|
- NOTICE
|
188
182
|
- README.md
|
@@ -190,16 +184,14 @@ files:
|
|
190
184
|
- bin/makeself-header.sh
|
191
185
|
- bin/makeself.sh
|
192
186
|
- bin/omnibus
|
193
|
-
-
|
194
|
-
-
|
195
|
-
- functional/fixtures/mac_pkg/files/mac_pkg/Resources/welcome.html
|
196
|
-
- functional/fixtures/mac_pkg/package-scripts/functional-test-project/postinstall
|
197
|
-
- functional/packagers/mac_pkg_spec.rb
|
187
|
+
- docs/Building on OSX.md
|
188
|
+
- docs/omnibus-build-cache.md
|
198
189
|
- lib/omnibus.rb
|
199
190
|
- lib/omnibus/artifact.rb
|
191
|
+
- lib/omnibus/assets/README-logo.png
|
192
|
+
- lib/omnibus/assets/logo.psd
|
200
193
|
- lib/omnibus/build_version.rb
|
201
194
|
- lib/omnibus/builder.rb
|
202
|
-
- lib/omnibus/clean_tasks.rb
|
203
195
|
- lib/omnibus/cli.rb
|
204
196
|
- lib/omnibus/cli/application.rb
|
205
197
|
- lib/omnibus/cli/base.rb
|
@@ -215,14 +207,18 @@ files:
|
|
215
207
|
- lib/omnibus/fetchers/path_fetcher.rb
|
216
208
|
- lib/omnibus/fetchers/s3_cache_fetcher.rb
|
217
209
|
- lib/omnibus/health_check.rb
|
210
|
+
- lib/omnibus/install_path_cache.rb
|
218
211
|
- lib/omnibus/library.rb
|
219
212
|
- lib/omnibus/overrides.rb
|
220
213
|
- lib/omnibus/package_release.rb
|
214
|
+
- lib/omnibus/packagers/base.rb
|
215
|
+
- lib/omnibus/packagers/mac_dmg.rb
|
221
216
|
- lib/omnibus/packagers/mac_pkg.rb
|
222
217
|
- lib/omnibus/project.rb
|
223
218
|
- lib/omnibus/reports.rb
|
224
219
|
- lib/omnibus/s3_cacher.rb
|
225
220
|
- lib/omnibus/software.rb
|
221
|
+
- lib/omnibus/sugar.rb
|
226
222
|
- lib/omnibus/templates/.kitchen.local.yml.erb
|
227
223
|
- lib/omnibus/templates/.kitchen.yml.erb
|
228
224
|
- lib/omnibus/templates/Berksfile.erb
|
@@ -230,6 +226,11 @@ files:
|
|
230
226
|
- lib/omnibus/templates/README.md.erb
|
231
227
|
- lib/omnibus/templates/Vagrantfile.erb
|
232
228
|
- lib/omnibus/templates/gitignore.erb
|
229
|
+
- lib/omnibus/templates/mac_dmg/background.png
|
230
|
+
- lib/omnibus/templates/mac_dmg/icon.png
|
231
|
+
- lib/omnibus/templates/mac_pkg/background.png
|
232
|
+
- lib/omnibus/templates/mac_pkg/license.html.erb
|
233
|
+
- lib/omnibus/templates/mac_pkg/welcome.html.erb
|
233
234
|
- lib/omnibus/templates/omnibus.rb.example.erb
|
234
235
|
- lib/omnibus/templates/package_scripts/makeselfinst.erb
|
235
236
|
- lib/omnibus/templates/package_scripts/postinst.erb
|
@@ -243,9 +244,6 @@ files:
|
|
243
244
|
- lib/omnibus/util.rb
|
244
245
|
- lib/omnibus/version.rb
|
245
246
|
- omnibus.gemspec
|
246
|
-
- spec/artifact_spec.rb
|
247
|
-
- spec/build_version_spec.rb
|
248
|
-
- spec/config_spec.rb
|
249
247
|
- spec/data/overrides/bad_line.overrides
|
250
248
|
- spec/data/overrides/good.overrides
|
251
249
|
- spec/data/overrides/with_dupes.overrides
|
@@ -253,48 +251,55 @@ files:
|
|
253
251
|
- spec/data/projects/sample.rb
|
254
252
|
- spec/data/software/erchef.rb
|
255
253
|
- spec/data/software/zlib.rb
|
256
|
-
- spec/
|
257
|
-
- spec/
|
258
|
-
- spec/
|
259
|
-
- spec/
|
260
|
-
- spec/
|
261
|
-
- spec/
|
262
|
-
- spec/
|
263
|
-
- spec/s3_cacher_spec.rb
|
264
|
-
- spec/software_spec.rb
|
254
|
+
- spec/fixtures/sample/files/mac_dmg/Resources/background.png
|
255
|
+
- spec/fixtures/sample/files/mac_dmg/Resources/icon.png
|
256
|
+
- spec/fixtures/sample/files/mac_pkg/Resources/background.png
|
257
|
+
- spec/fixtures/sample/files/mac_pkg/Resources/license.html
|
258
|
+
- spec/fixtures/sample/files/mac_pkg/Resources/welcome.html
|
259
|
+
- spec/fixtures/sample/package-scripts/sample/postinstall
|
260
|
+
- spec/functional/packagers/mac_spec.rb
|
265
261
|
- spec/spec_helper.rb
|
262
|
+
- spec/sugar_spec.rb
|
263
|
+
- spec/unit/artifact_spec.rb
|
264
|
+
- spec/unit/build_version_spec.rb
|
265
|
+
- spec/unit/config_spec.rb
|
266
|
+
- spec/unit/fetchers/git_fetcher_spec.rb
|
267
|
+
- spec/unit/fetchers/net_fetcher_spec.rb
|
268
|
+
- spec/unit/install_path_cache_spec.rb
|
269
|
+
- spec/unit/library_spec.rb
|
270
|
+
- spec/unit/omnibus_spec.rb
|
271
|
+
- spec/unit/overrides_spec.rb
|
272
|
+
- spec/unit/package_release_spec.rb
|
273
|
+
- spec/unit/packagers/base_spec.rb
|
274
|
+
- spec/unit/packagers/mac_pkg_spec.rb
|
275
|
+
- spec/unit/project_spec.rb
|
276
|
+
- spec/unit/s3_cacher_spec.rb
|
277
|
+
- spec/unit/software_spec.rb
|
266
278
|
homepage: https://github.com/opscode/omnibus-ruby
|
267
279
|
licenses:
|
268
280
|
- Apache 2.0
|
281
|
+
metadata: {}
|
269
282
|
post_install_message:
|
270
283
|
rdoc_options: []
|
271
284
|
require_paths:
|
272
285
|
- lib
|
273
286
|
required_ruby_version: !ruby/object:Gem::Requirement
|
274
|
-
none: false
|
275
287
|
requirements:
|
276
|
-
- -
|
288
|
+
- - ">="
|
277
289
|
- !ruby/object:Gem::Version
|
278
290
|
version: 1.9.1
|
279
291
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
|
-
none: false
|
281
292
|
requirements:
|
282
|
-
- -
|
293
|
+
- - ">="
|
283
294
|
- !ruby/object:Gem::Version
|
284
295
|
version: '0'
|
285
|
-
segments:
|
286
|
-
- 0
|
287
|
-
hash: 4053594469113083441
|
288
296
|
requirements: []
|
289
297
|
rubyforge_project:
|
290
|
-
rubygems_version:
|
298
|
+
rubygems_version: 2.2.2
|
291
299
|
signing_key:
|
292
|
-
specification_version:
|
300
|
+
specification_version: 4
|
293
301
|
summary: Omnibus helps you build self-installing, full-stack software builds.
|
294
302
|
test_files:
|
295
|
-
- spec/artifact_spec.rb
|
296
|
-
- spec/build_version_spec.rb
|
297
|
-
- spec/config_spec.rb
|
298
303
|
- spec/data/overrides/bad_line.overrides
|
299
304
|
- spec/data/overrides/good.overrides
|
300
305
|
- spec/data/overrides/with_dupes.overrides
|
@@ -302,14 +307,28 @@ test_files:
|
|
302
307
|
- spec/data/projects/sample.rb
|
303
308
|
- spec/data/software/erchef.rb
|
304
309
|
- spec/data/software/zlib.rb
|
305
|
-
- spec/
|
306
|
-
- spec/
|
307
|
-
- spec/
|
308
|
-
- spec/
|
309
|
-
- spec/
|
310
|
-
- spec/
|
311
|
-
- spec/
|
312
|
-
- spec/s3_cacher_spec.rb
|
313
|
-
- spec/software_spec.rb
|
310
|
+
- spec/fixtures/sample/files/mac_dmg/Resources/background.png
|
311
|
+
- spec/fixtures/sample/files/mac_dmg/Resources/icon.png
|
312
|
+
- spec/fixtures/sample/files/mac_pkg/Resources/background.png
|
313
|
+
- spec/fixtures/sample/files/mac_pkg/Resources/license.html
|
314
|
+
- spec/fixtures/sample/files/mac_pkg/Resources/welcome.html
|
315
|
+
- spec/fixtures/sample/package-scripts/sample/postinstall
|
316
|
+
- spec/functional/packagers/mac_spec.rb
|
314
317
|
- spec/spec_helper.rb
|
318
|
+
- spec/sugar_spec.rb
|
319
|
+
- spec/unit/artifact_spec.rb
|
320
|
+
- spec/unit/build_version_spec.rb
|
321
|
+
- spec/unit/config_spec.rb
|
322
|
+
- spec/unit/fetchers/git_fetcher_spec.rb
|
323
|
+
- spec/unit/fetchers/net_fetcher_spec.rb
|
324
|
+
- spec/unit/install_path_cache_spec.rb
|
325
|
+
- spec/unit/library_spec.rb
|
326
|
+
- spec/unit/omnibus_spec.rb
|
327
|
+
- spec/unit/overrides_spec.rb
|
328
|
+
- spec/unit/package_release_spec.rb
|
329
|
+
- spec/unit/packagers/base_spec.rb
|
330
|
+
- spec/unit/packagers/mac_pkg_spec.rb
|
331
|
+
- spec/unit/project_spec.rb
|
332
|
+
- spec/unit/s3_cacher_spec.rb
|
333
|
+
- spec/unit/software_spec.rb
|
315
334
|
has_rdoc:
|