omnibus 5.4.0 → 5.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -3
  3. data/CHANGELOG.md +21 -0
  4. data/Gemfile +8 -5
  5. data/README.md +3 -1
  6. data/Rakefile +20 -13
  7. data/appveyor.yml +4 -3
  8. data/bin/omnibus +3 -3
  9. data/features/commands/manifest.feature +19 -5
  10. data/features/step_definitions/generator_steps.rb +5 -6
  11. data/features/support/env.rb +4 -4
  12. data/lib/omnibus/build_version.rb +14 -14
  13. data/lib/omnibus/build_version_dsl.rb +3 -3
  14. data/lib/omnibus/builder.rb +50 -61
  15. data/lib/omnibus/changelog.rb +2 -2
  16. data/lib/omnibus/changelog_printer.rb +4 -4
  17. data/lib/omnibus/cleaner.rb +4 -4
  18. data/lib/omnibus/cli/base.rb +15 -15
  19. data/lib/omnibus/cli/cache.rb +13 -13
  20. data/lib/omnibus/cli/changelog.rb +8 -9
  21. data/lib/omnibus/cli/publish.rb +12 -13
  22. data/lib/omnibus/cli.rb +26 -27
  23. data/lib/omnibus/compressor.rb +6 -6
  24. data/lib/omnibus/compressors/base.rb +7 -2
  25. data/lib/omnibus/compressors/dmg.rb +12 -12
  26. data/lib/omnibus/compressors/null.rb +1 -1
  27. data/lib/omnibus/compressors/tgz.rb +8 -8
  28. data/lib/omnibus/config.rb +37 -26
  29. data/lib/omnibus/core_extensions/open_uri.rb +3 -3
  30. data/lib/omnibus/core_extensions.rb +1 -1
  31. data/lib/omnibus/digestable.rb +5 -4
  32. data/lib/omnibus/download_helpers.rb +7 -6
  33. data/lib/omnibus/exceptions.rb +29 -13
  34. data/lib/omnibus/fetcher.rb +0 -1
  35. data/lib/omnibus/fetchers/git_fetcher.rb +7 -7
  36. data/lib/omnibus/fetchers/net_fetcher.rb +19 -19
  37. data/lib/omnibus/fetchers/path_fetcher.rb +1 -1
  38. data/lib/omnibus/file_syncer.rb +3 -3
  39. data/lib/omnibus/generator.rb +60 -47
  40. data/lib/omnibus/git_cache.rb +33 -22
  41. data/lib/omnibus/git_repository.rb +5 -5
  42. data/lib/omnibus/health_check.rb +122 -119
  43. data/lib/omnibus/instrumentation.rb +1 -1
  44. data/lib/omnibus/licensing.rb +348 -60
  45. data/lib/omnibus/logger.rb +12 -9
  46. data/lib/omnibus/logging.rb +1 -1
  47. data/lib/omnibus/manifest.rb +4 -4
  48. data/lib/omnibus/manifest_diff.rb +6 -7
  49. data/lib/omnibus/manifest_entry.rb +1 -1
  50. data/lib/omnibus/metadata.rb +36 -36
  51. data/lib/omnibus/ohai.rb +6 -7
  52. data/lib/omnibus/package.rb +1 -1
  53. data/lib/omnibus/packager.rb +37 -28
  54. data/lib/omnibus/packagers/appx.rb +86 -0
  55. data/lib/omnibus/packagers/base.rb +21 -18
  56. data/lib/omnibus/packagers/bff.rb +22 -24
  57. data/lib/omnibus/packagers/deb.rb +20 -20
  58. data/lib/omnibus/packagers/ips.rb +18 -17
  59. data/lib/omnibus/packagers/makeself.rb +7 -7
  60. data/lib/omnibus/packagers/msi.rb +38 -193
  61. data/lib/omnibus/packagers/pkg.rb +16 -16
  62. data/lib/omnibus/packagers/rpm.rb +53 -54
  63. data/lib/omnibus/packagers/solaris.rb +14 -14
  64. data/lib/omnibus/packagers/windows_base.rb +192 -0
  65. data/lib/omnibus/project.rb +45 -43
  66. data/lib/omnibus/publisher.rb +3 -3
  67. data/lib/omnibus/publishers/artifactory_publisher.rb +39 -39
  68. data/lib/omnibus/publishers/s3_publisher.rb +7 -7
  69. data/lib/omnibus/reports.rb +10 -10
  70. data/lib/omnibus/s3_cache.rb +7 -7
  71. data/lib/omnibus/s3_helpers.rb +8 -7
  72. data/lib/omnibus/semantic_version.rb +1 -1
  73. data/lib/omnibus/software.rb +131 -81
  74. data/lib/omnibus/sugarable.rb +10 -10
  75. data/lib/omnibus/templating.rb +5 -5
  76. data/lib/omnibus/thread_pool.rb +1 -1
  77. data/lib/omnibus/util.rb +5 -5
  78. data/lib/omnibus/version.rb +1 -1
  79. data/lib/omnibus.rb +65 -65
  80. data/omnibus.gemspec +34 -32
  81. data/resources/appx/AppxManifest.xml.erb +18 -0
  82. data/resources/appx/assets/clear.png +0 -0
  83. data/spec/fixtures/licensing/license_scout/snoopy/ruby_bundler-bundler-audit-0.5.0-COPYING.txt +674 -0
  84. data/spec/fixtures/licensing/license_scout/snoopy/ruby_bundler-inifile-3.0.0-README.md +215 -0
  85. data/spec/fixtures/licensing/license_scout/snoopy/snoopy-dependency-licenses.json +24 -0
  86. data/spec/fixtures/licensing/license_scout/zlib/ruby_bundler-inifile-3.0.0-README.md +215 -0
  87. data/spec/fixtures/licensing/license_scout/zlib/ruby_bundler-mime-types-3.1-Licence.rdoc +25 -0
  88. data/spec/fixtures/licensing/license_scout/zlib/ruby_bundler-mini_portile2-2.1.0-LICENSE.txt +20 -0
  89. data/spec/fixtures/licensing/license_scout/zlib/zlib-dependency-licenses.json +32 -0
  90. data/spec/functional/builder_spec.rb +149 -150
  91. data/spec/functional/fetchers/git_fetcher_spec.rb +69 -71
  92. data/spec/functional/fetchers/net_fetcher_spec.rb +79 -79
  93. data/spec/functional/fetchers/path_fetcher_spec.rb +19 -20
  94. data/spec/functional/file_syncer_spec.rb +74 -74
  95. data/spec/functional/licensing_spec.rb +344 -35
  96. data/spec/functional/templating_spec.rb +17 -17
  97. data/spec/spec_helper.rb +20 -20
  98. data/spec/support/examples.rb +21 -15
  99. data/spec/support/file_helpers.rb +1 -1
  100. data/spec/support/git_helpers.rb +37 -37
  101. data/spec/support/matchers.rb +3 -3
  102. data/spec/support/ohai_helpers.rb +4 -4
  103. data/spec/support/path_helpers.rb +2 -2
  104. data/spec/support/shell_helpers.rb +2 -2
  105. data/spec/unit/build_version_dsl_spec.rb +5 -5
  106. data/spec/unit/build_version_spec.rb +63 -63
  107. data/spec/unit/builder_spec.rb +86 -70
  108. data/spec/unit/changelog_spec.rb +4 -4
  109. data/spec/unit/changelogprinter_spec.rb +130 -0
  110. data/spec/unit/cleanroom_spec.rb +11 -11
  111. data/spec/unit/compressor_spec.rb +16 -16
  112. data/spec/unit/compressors/base_spec.rb +6 -6
  113. data/spec/unit/compressors/dmg_spec.rb +76 -76
  114. data/spec/unit/compressors/null_spec.rb +4 -4
  115. data/spec/unit/compressors/tgz_spec.rb +20 -20
  116. data/spec/unit/config_spec.rb +44 -43
  117. data/spec/unit/digestable_spec.rb +13 -13
  118. data/spec/unit/fetcher_spec.rb +11 -12
  119. data/spec/unit/fetchers/git_fetcher_spec.rb +31 -31
  120. data/spec/unit/fetchers/net_fetcher_spec.rb +172 -173
  121. data/spec/unit/fetchers/path_fetcher_spec.rb +18 -18
  122. data/spec/unit/generator_spec.rb +38 -38
  123. data/spec/unit/git_cache_spec.rb +56 -54
  124. data/spec/unit/git_repository_spec.rb +2 -2
  125. data/spec/unit/health_check_spec.rb +40 -40
  126. data/spec/unit/library_spec.rb +35 -35
  127. data/spec/unit/manifest_diff_spec.rb +10 -11
  128. data/spec/unit/manifest_spec.rb +17 -17
  129. data/spec/unit/metadata_spec.rb +152 -152
  130. data/spec/unit/ohai_spec.rb +5 -5
  131. data/spec/unit/omnibus_spec.rb +31 -31
  132. data/spec/unit/package_spec.rb +20 -20
  133. data/spec/unit/packager_spec.rb +48 -42
  134. data/spec/unit/packagers/appx_spec.rb +165 -0
  135. data/spec/unit/packagers/base_spec.rb +34 -34
  136. data/spec/unit/packagers/bff_spec.rb +60 -60
  137. data/spec/unit/packagers/deb_spec.rb +71 -71
  138. data/spec/unit/packagers/ips_spec.rb +45 -45
  139. data/spec/unit/packagers/makeself_spec.rb +22 -22
  140. data/spec/unit/packagers/msi_spec.rb +141 -147
  141. data/spec/unit/packagers/pkg_spec.rb +59 -60
  142. data/spec/unit/packagers/rpm_spec.rb +125 -126
  143. data/spec/unit/packagers/solaris_spec.rb +52 -52
  144. data/spec/unit/project_spec.rb +137 -135
  145. data/spec/unit/publisher_spec.rb +70 -70
  146. data/spec/unit/publishers/artifactory_publisher_spec.rb +85 -85
  147. data/spec/unit/publishers/s3_publisher_spec.rb +36 -36
  148. data/spec/unit/s3_cacher_spec.rb +34 -34
  149. data/spec/unit/s3_helpers_spec.rb +6 -6
  150. data/spec/unit/semantic_version_spec.rb +2 -2
  151. data/spec/unit/software_spec.rb +346 -384
  152. data/spec/unit/sugarable_spec.rb +10 -10
  153. data/spec/unit/util_spec.rb +60 -60
  154. metadata +54 -6
  155. data/.rubocop.yml +0 -48
@@ -1,36 +1,36 @@
1
- require 'spec_helper'
1
+ require "spec_helper"
2
2
 
3
3
  module Omnibus
4
4
  describe Software do
5
- it 'is a sugarable' do
5
+ it "is a sugarable" do
6
6
  expect(described_class.ancestors).to include(Sugarable)
7
7
  end
8
8
  end
9
9
 
10
10
  describe Metadata do
11
- it 'extends Sugarable' do
11
+ it "extends Sugarable" do
12
12
  expect(described_class.singleton_class.included_modules).to include(Sugarable)
13
13
  end
14
14
 
15
- it 'includes Sugarable' do
15
+ it "includes Sugarable" do
16
16
  expect(described_class.ancestors).to include(Sugarable)
17
17
  end
18
18
  end
19
19
 
20
20
  describe Packager::Base do
21
- it 'is a sugarable' do
21
+ it "is a sugarable" do
22
22
  expect(described_class.ancestors).to include(Sugarable)
23
23
  end
24
24
  end
25
25
 
26
26
  describe Project do
27
- it 'is a sugarable' do
27
+ it "is a sugarable" do
28
28
  expect(described_class.ancestors).to include(Sugarable)
29
29
  end
30
30
  end
31
31
 
32
32
  describe Sugarable do
33
- context 'in a cleanroom' do
33
+ context "in a cleanroom" do
34
34
  let(:klass) do
35
35
  Class.new do
36
36
  include Cleanroom
@@ -40,15 +40,15 @@ module Omnibus
40
40
 
41
41
  let(:instance) { klass.new }
42
42
 
43
- it 'includes the DSL methods' do
43
+ it "includes the DSL methods" do
44
44
  expect(klass).to be_method_defined(:windows?)
45
45
  expect(klass).to be_method_defined(:vagrant?)
46
46
  expect(klass).to be_method_defined(:_64_bit?)
47
47
  end
48
48
 
49
- it 'makes the DSL methods available in the cleanroom' do
49
+ it "makes the DSL methods available in the cleanroom" do
50
50
  expect {
51
- instance.evaluate <<-EOH.gsub(/^ {12}/, '')
51
+ instance.evaluate <<-EOH.gsub(/^ {12}/, "")
52
52
  windows?
53
53
  vagrant?
54
54
  EOH
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require "spec_helper"
2
2
 
3
3
  module Omnibus
4
4
  describe Util do
@@ -7,19 +7,19 @@ module Omnibus
7
7
  describe '#shellout!' do
8
8
  let(:shellout) do
9
9
  double(Mixlib::ShellOut,
10
- command: 'evil command',
11
- stdout: 'command failed',
12
- stderr: 'The quick brown fox did not jump over the barn!',
10
+ command: "evil command",
11
+ stdout: "command failed",
12
+ stderr: "The quick brown fox did not jump over the barn!",
13
13
  timeout: 7_200,
14
14
  exitstatus: 32,
15
15
  environment: {
16
- 'TICKLE_ME' => 'elmo',
17
- 'I_LOVE_YOU' => 'barney',
16
+ "TICKLE_ME" => "elmo",
17
+ "I_LOVE_YOU" => "barney",
18
18
  }
19
19
  )
20
20
  end
21
21
 
22
- context 'when the command fails' do
22
+ context "when the command fails" do
23
23
  before do
24
24
  allow(subject).to receive(:shellout)
25
25
  .and_return(shellout)
@@ -27,7 +27,7 @@ module Omnibus
27
27
  .and_raise(Mixlib::ShellOut::ShellCommandFailed)
28
28
  end
29
29
 
30
- it 'raises an CommandFailed exception' do
30
+ it "raises an CommandFailed exception" do
31
31
  expect {
32
32
  subject.shellout!
33
33
  }.to raise_error(CommandFailed) { |error|
@@ -40,7 +40,7 @@ module Omnibus
40
40
  end
41
41
  end
42
42
 
43
- context 'when the command times out' do
43
+ context "when the command times out" do
44
44
  before do
45
45
  allow(subject).to receive(:shellout)
46
46
  .and_return(shellout)
@@ -48,7 +48,7 @@ module Omnibus
48
48
  .and_raise(Mixlib::ShellOut::CommandTimeout)
49
49
  end
50
50
 
51
- it 'raises an CommandFailed exception' do
51
+ it "raises an CommandFailed exception" do
52
52
  expect {
53
53
  subject.shellout!
54
54
  }.to raise_error(CommandTimeout) { |error|
@@ -65,17 +65,17 @@ module Omnibus
65
65
  describe '#create_directory' do
66
66
  before { allow(FileUtils).to receive(:mkdir_p) }
67
67
 
68
- it 'creates the directory' do
69
- expect(FileUtils).to receive(:mkdir_p).with('/foo/bar')
70
- subject.create_directory('/foo/bar')
68
+ it "creates the directory" do
69
+ expect(FileUtils).to receive(:mkdir_p).with("/foo/bar")
70
+ subject.create_directory("/foo/bar")
71
71
  end
72
72
 
73
- it 'returns the path' do
74
- expect(subject.create_directory('/foo/bar')).to eq('/foo/bar')
73
+ it "returns the path" do
74
+ expect(subject.create_directory("/foo/bar")).to eq("/foo/bar")
75
75
  end
76
76
 
77
- it 'logs a message' do
78
- output = capture_logging { subject.create_directory('/foo/bar') }
77
+ it "logs a message" do
78
+ output = capture_logging { subject.create_directory("/foo/bar") }
79
79
  expect(output).to include("Creating directory `/foo/bar'")
80
80
  end
81
81
  end
@@ -83,18 +83,18 @@ module Omnibus
83
83
  describe '#remove_directory' do
84
84
  before { allow(FileUtils).to receive(:rm_rf) }
85
85
 
86
- it 'remove the directory' do
87
- expect(FileUtils).to receive(:rm_rf).with('/foo/bar')
88
- subject.remove_directory('/foo/bar')
86
+ it "remove the directory" do
87
+ expect(FileUtils).to receive(:rm_rf).with("/foo/bar")
88
+ subject.remove_directory("/foo/bar")
89
89
  end
90
90
 
91
- it 'accepts multiple parameters' do
92
- expect(FileUtils).to receive(:rm_rf).with('/foo/bar')
93
- subject.remove_directory('/foo', 'bar')
91
+ it "accepts multiple parameters" do
92
+ expect(FileUtils).to receive(:rm_rf).with("/foo/bar")
93
+ subject.remove_directory("/foo", "bar")
94
94
  end
95
95
 
96
- it 'logs a message' do
97
- output = capture_logging { subject.remove_directory('/foo/bar') }
96
+ it "logs a message" do
97
+ output = capture_logging { subject.remove_directory("/foo/bar") }
98
98
  expect(output).to include("Remove directory `/foo/bar'")
99
99
  end
100
100
  end
@@ -102,17 +102,17 @@ module Omnibus
102
102
  describe '#copy_file' do
103
103
  before { allow(FileUtils).to receive(:cp) }
104
104
 
105
- it 'copies the file' do
106
- expect(FileUtils).to receive(:cp).with('foo', 'bar')
107
- subject.copy_file('foo', 'bar')
105
+ it "copies the file" do
106
+ expect(FileUtils).to receive(:cp).with("foo", "bar")
107
+ subject.copy_file("foo", "bar")
108
108
  end
109
109
 
110
- it 'returns the destination path' do
111
- expect(subject.copy_file('foo', 'bar')).to eq('bar')
110
+ it "returns the destination path" do
111
+ expect(subject.copy_file("foo", "bar")).to eq("bar")
112
112
  end
113
113
 
114
- it 'logs a message' do
115
- output = capture_logging { subject.copy_file('foo', 'bar') }
114
+ it "logs a message" do
115
+ output = capture_logging { subject.copy_file("foo", "bar") }
116
116
  expect(output).to include("Copying `foo' to `bar'")
117
117
  end
118
118
  end
@@ -120,18 +120,18 @@ module Omnibus
120
120
  describe '#remove_file' do
121
121
  before { allow(FileUtils).to receive(:rm_f) }
122
122
 
123
- it 'removes the file' do
124
- expect(FileUtils).to receive(:rm_f).with('/foo/bar')
125
- subject.remove_file('/foo/bar')
123
+ it "removes the file" do
124
+ expect(FileUtils).to receive(:rm_f).with("/foo/bar")
125
+ subject.remove_file("/foo/bar")
126
126
  end
127
127
 
128
- it 'accepts multiple parameters' do
129
- expect(FileUtils).to receive(:rm_f).with('/foo/bar')
130
- subject.remove_file('/foo', 'bar')
128
+ it "accepts multiple parameters" do
129
+ expect(FileUtils).to receive(:rm_f).with("/foo/bar")
130
+ subject.remove_file("/foo", "bar")
131
131
  end
132
132
 
133
- it 'logs a message' do
134
- output = capture_logging { subject.remove_file('/foo/bar') }
133
+ it "logs a message" do
134
+ output = capture_logging { subject.remove_file("/foo/bar") }
135
135
  expect(output).to include("Removing file `/foo/bar'")
136
136
  end
137
137
  end
@@ -143,30 +143,30 @@ module Omnibus
143
143
  allow(File).to receive(:open)
144
144
  end
145
145
 
146
- it 'creates the containing directory' do
147
- expect(FileUtils).to receive(:mkdir_p).with('/foo')
148
- subject.create_file('/foo/bar')
146
+ it "creates the containing directory" do
147
+ expect(FileUtils).to receive(:mkdir_p).with("/foo")
148
+ subject.create_file("/foo/bar")
149
149
  end
150
150
 
151
- it 'creates the file' do
152
- expect(FileUtils).to receive(:touch).with('/foo/bar')
153
- subject.create_file('/foo/bar')
151
+ it "creates the file" do
152
+ expect(FileUtils).to receive(:touch).with("/foo/bar")
153
+ subject.create_file("/foo/bar")
154
154
  end
155
155
 
156
- it 'accepts multiple parameters' do
157
- expect(FileUtils).to receive(:touch).with('/foo/bar')
158
- subject.create_file('/foo', 'bar')
156
+ it "accepts multiple parameters" do
157
+ expect(FileUtils).to receive(:touch).with("/foo/bar")
158
+ subject.create_file("/foo", "bar")
159
159
  end
160
160
 
161
- it 'accepts a block' do
162
- expect(File).to receive(:open).with('/foo/bar', 'wb')
161
+ it "accepts a block" do
162
+ expect(File).to receive(:open).with("/foo/bar", "wb")
163
163
 
164
- block = Proc.new { 'Some content!' }
165
- subject.create_file('/foo', 'bar', &block)
164
+ block = Proc.new { "Some content!" }
165
+ subject.create_file("/foo", "bar", &block)
166
166
  end
167
167
 
168
- it 'logs a message' do
169
- output = capture_logging { subject.create_file('/foo/bar') }
168
+ it "logs a message" do
169
+ output = capture_logging { subject.create_file("/foo/bar") }
170
170
  expect(output).to include("Creating file `/foo/bar'")
171
171
  end
172
172
  end
@@ -174,13 +174,13 @@ module Omnibus
174
174
  describe '#create_link' do
175
175
  before { allow(FileUtils).to receive(:ln_s) }
176
176
 
177
- it 'creates the directory' do
178
- expect(FileUtils).to receive(:ln_s).with('/foo/bar', '/zip/zap')
179
- subject.create_link('/foo/bar', '/zip/zap')
177
+ it "creates the directory" do
178
+ expect(FileUtils).to receive(:ln_s).with("/foo/bar", "/zip/zap")
179
+ subject.create_link("/foo/bar", "/zip/zap")
180
180
  end
181
181
 
182
- it 'logs a message' do
183
- output = capture_logging { subject.create_link('/foo/bar', '/zip/zap') }
182
+ it "logs a message" do
183
+ output = capture_logging { subject.create_link("/foo/bar", "/zip/zap") }
184
184
  expect(output).to include("Linking `/foo/bar' to `/zip/zap'")
185
185
  end
186
186
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnibus
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.0
4
+ version: 5.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-18 00:00:00.000000000 Z
11
+ date: 2016-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-sugar
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '2.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: license_scout
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: bundler
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -178,6 +192,20 @@ dependencies:
178
192
  - - "~>"
179
193
  - !ruby/object:Gem::Version
180
194
  version: '0.5'
195
+ - !ruby/object:Gem::Dependency
196
+ name: chefstyle
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '0.3'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '0.3'
181
209
  - !ruby/object:Gem::Dependency
182
210
  name: fauxhai
183
211
  requirement: !ruby/object:Gem::Requirement
@@ -302,7 +330,6 @@ files:
302
330
  - ".github/PULL_REQUEST_TEMPLATE.md"
303
331
  - ".gitignore"
304
332
  - ".rspec"
305
- - ".rubocop.yml"
306
333
  - ".travis.yml"
307
334
  - CHANGELOG.md
308
335
  - Gemfile
@@ -387,6 +414,7 @@ files:
387
414
  - lib/omnibus/ohai.rb
388
415
  - lib/omnibus/package.rb
389
416
  - lib/omnibus/packager.rb
417
+ - lib/omnibus/packagers/appx.rb
390
418
  - lib/omnibus/packagers/base.rb
391
419
  - lib/omnibus/packagers/bff.rb
392
420
  - lib/omnibus/packagers/deb.rb
@@ -396,6 +424,7 @@ files:
396
424
  - lib/omnibus/packagers/pkg.rb
397
425
  - lib/omnibus/packagers/rpm.rb
398
426
  - lib/omnibus/packagers/solaris.rb
427
+ - lib/omnibus/packagers/windows_base.rb
399
428
  - lib/omnibus/project.rb
400
429
  - lib/omnibus/publisher.rb
401
430
  - lib/omnibus/publishers/artifactory_publisher.rb
@@ -412,6 +441,8 @@ files:
412
441
  - lib/omnibus/util.rb
413
442
  - lib/omnibus/version.rb
414
443
  - omnibus.gemspec
444
+ - resources/appx/AppxManifest.xml.erb
445
+ - resources/appx/assets/clear.png
415
446
  - resources/bff/config.erb
416
447
  - resources/bff/gen.template.erb
417
448
  - resources/deb/conffiles.erb
@@ -444,6 +475,13 @@ files:
444
475
  - resources/rpm/rpmmacros.erb
445
476
  - resources/rpm/signing.erb
446
477
  - resources/rpm/spec.erb
478
+ - spec/fixtures/licensing/license_scout/snoopy/ruby_bundler-bundler-audit-0.5.0-COPYING.txt
479
+ - spec/fixtures/licensing/license_scout/snoopy/ruby_bundler-inifile-3.0.0-README.md
480
+ - spec/fixtures/licensing/license_scout/snoopy/snoopy-dependency-licenses.json
481
+ - spec/fixtures/licensing/license_scout/zlib/ruby_bundler-inifile-3.0.0-README.md
482
+ - spec/fixtures/licensing/license_scout/zlib/ruby_bundler-mime-types-3.1-Licence.rdoc
483
+ - spec/fixtures/licensing/license_scout/zlib/ruby_bundler-mini_portile2-2.1.0-LICENSE.txt
484
+ - spec/fixtures/licensing/license_scout/zlib/zlib-dependency-licenses.json
447
485
  - spec/fixtures/sample/package-scripts/sample/postinstall
448
486
  - spec/functional/builder_spec.rb
449
487
  - spec/functional/fetchers/git_fetcher_spec.rb
@@ -467,6 +505,7 @@ files:
467
505
  - spec/unit/build_version_spec.rb
468
506
  - spec/unit/builder_spec.rb
469
507
  - spec/unit/changelog_spec.rb
508
+ - spec/unit/changelogprinter_spec.rb
470
509
  - spec/unit/cleanroom_spec.rb
471
510
  - spec/unit/compressor_spec.rb
472
511
  - spec/unit/compressors/base_spec.rb
@@ -491,6 +530,7 @@ files:
491
530
  - spec/unit/omnibus_spec.rb
492
531
  - spec/unit/package_spec.rb
493
532
  - spec/unit/packager_spec.rb
533
+ - spec/unit/packagers/appx_spec.rb
494
534
  - spec/unit/packagers/base_spec.rb
495
535
  - spec/unit/packagers/bff_spec.rb
496
536
  - spec/unit/packagers/deb_spec.rb
@@ -522,7 +562,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
522
562
  requirements:
523
563
  - - ">="
524
564
  - !ruby/object:Gem::Version
525
- version: '2'
565
+ version: '2.1'
526
566
  required_rubygems_version: !ruby/object:Gem::Requirement
527
567
  requirements:
528
568
  - - ">="
@@ -530,7 +570,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
530
570
  version: '0'
531
571
  requirements: []
532
572
  rubyforge_project:
533
- rubygems_version: 2.2.2
573
+ rubygems_version: 2.6.6
534
574
  signing_key:
535
575
  specification_version: 4
536
576
  summary: Omnibus is a framework for building self-installing, full-stack software
@@ -545,6 +585,13 @@ test_files:
545
585
  - features/commands/version.feature
546
586
  - features/step_definitions/generator_steps.rb
547
587
  - features/support/env.rb
588
+ - spec/fixtures/licensing/license_scout/snoopy/ruby_bundler-bundler-audit-0.5.0-COPYING.txt
589
+ - spec/fixtures/licensing/license_scout/snoopy/ruby_bundler-inifile-3.0.0-README.md
590
+ - spec/fixtures/licensing/license_scout/snoopy/snoopy-dependency-licenses.json
591
+ - spec/fixtures/licensing/license_scout/zlib/ruby_bundler-inifile-3.0.0-README.md
592
+ - spec/fixtures/licensing/license_scout/zlib/ruby_bundler-mime-types-3.1-Licence.rdoc
593
+ - spec/fixtures/licensing/license_scout/zlib/ruby_bundler-mini_portile2-2.1.0-LICENSE.txt
594
+ - spec/fixtures/licensing/license_scout/zlib/zlib-dependency-licenses.json
548
595
  - spec/fixtures/sample/package-scripts/sample/postinstall
549
596
  - spec/functional/builder_spec.rb
550
597
  - spec/functional/fetchers/git_fetcher_spec.rb
@@ -568,6 +615,7 @@ test_files:
568
615
  - spec/unit/build_version_spec.rb
569
616
  - spec/unit/builder_spec.rb
570
617
  - spec/unit/changelog_spec.rb
618
+ - spec/unit/changelogprinter_spec.rb
571
619
  - spec/unit/cleanroom_spec.rb
572
620
  - spec/unit/compressor_spec.rb
573
621
  - spec/unit/compressors/base_spec.rb
@@ -592,6 +640,7 @@ test_files:
592
640
  - spec/unit/omnibus_spec.rb
593
641
  - spec/unit/package_spec.rb
594
642
  - spec/unit/packager_spec.rb
643
+ - spec/unit/packagers/appx_spec.rb
595
644
  - spec/unit/packagers/base_spec.rb
596
645
  - spec/unit/packagers/bff_spec.rb
597
646
  - spec/unit/packagers/deb_spec.rb
@@ -611,4 +660,3 @@ test_files:
611
660
  - spec/unit/software_spec.rb
612
661
  - spec/unit/sugarable_spec.rb
613
662
  - spec/unit/util_spec.rb
614
- has_rdoc:
data/.rubocop.yml DELETED
@@ -1,48 +0,0 @@
1
- AllCops:
2
- Exclude:
3
- - spec/data/**/*
4
-
5
- AlignParameters:
6
- Enabled: false
7
- ClassLength:
8
- Enabled: false
9
- ClassAndModuleChildren:
10
- Enabled: false
11
- CyclomaticComplexity:
12
- Max: 20
13
- Documentation:
14
- Enabled: false
15
- DoubleNegation:
16
- Enabled: false
17
- GlobalVars:
18
- Enabled: false
19
- Encoding:
20
- Enabled: false
21
- HandleExceptions:
22
- Enabled: false
23
- IfUnlessModifier:
24
- Enabled: false
25
- LineLength:
26
- Enabled: false
27
- MethodLength:
28
- Enabled: false
29
- ModuleFunction:
30
- Enabled: false
31
- ParameterLists:
32
- Max: 6
33
- RaiseArgs:
34
- Enabled: false
35
- RedundantSelf:
36
- Enabled: false
37
- RescueException:
38
- Enabled: false
39
- SignalException:
40
- EnforcedStyle: only_raise
41
- SpecialGlobalVars:
42
- Enabled: false
43
- TrailingComma:
44
- EnforcedStyleForMultiline: comma
45
- TrivialAccessors:
46
- Enabled: false
47
- StringLiterals:
48
- Enabled: false