omnibus 6.1.4 → 7.0.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -4
  3. data/README.md +54 -12
  4. data/Rakefile +1 -1
  5. data/bin/omnibus +1 -1
  6. data/lib/omnibus.rb +2 -2
  7. data/lib/omnibus/build_version.rb +1 -1
  8. data/lib/omnibus/build_version_dsl.rb +6 -7
  9. data/lib/omnibus/builder.rb +10 -9
  10. data/lib/omnibus/changelog_printer.rb +7 -4
  11. data/lib/omnibus/cleaner.rb +4 -1
  12. data/lib/omnibus/cli.rb +2 -2
  13. data/lib/omnibus/cli/changelog.rb +25 -25
  14. data/lib/omnibus/compressor.rb +2 -2
  15. data/lib/omnibus/compressors/base.rb +2 -2
  16. data/lib/omnibus/compressors/dmg.rb +3 -4
  17. data/lib/omnibus/compressors/tgz.rb +2 -2
  18. data/lib/omnibus/config.rb +13 -3
  19. data/lib/omnibus/core_extensions/open_uri.rb +1 -1
  20. data/lib/omnibus/digestable.rb +2 -2
  21. data/lib/omnibus/download_helpers.rb +6 -2
  22. data/lib/omnibus/fetchers/file_fetcher.rb +1 -1
  23. data/lib/omnibus/fetchers/git_fetcher.rb +1 -0
  24. data/lib/omnibus/fetchers/net_fetcher.rb +3 -4
  25. data/lib/omnibus/fetchers/path_fetcher.rb +1 -1
  26. data/lib/omnibus/file_syncer.rb +1 -1
  27. data/lib/omnibus/generator.rb +2 -2
  28. data/lib/omnibus/generator_files/README.md.erb +20 -16
  29. data/lib/omnibus/generator_files/config/software/preparation.rb.erb +1 -1
  30. data/lib/omnibus/generator_files/omnibus.rb.erb +5 -4
  31. data/lib/omnibus/git_cache.rb +2 -2
  32. data/lib/omnibus/health_check.rb +3 -1
  33. data/lib/omnibus/licensing.rb +5 -6
  34. data/lib/omnibus/logger.rb +3 -2
  35. data/lib/omnibus/manifest.rb +2 -2
  36. data/lib/omnibus/metadata.rb +3 -3
  37. data/lib/omnibus/ohai.rb +1 -1
  38. data/lib/omnibus/package.rb +1 -1
  39. data/lib/omnibus/packager.rb +1 -0
  40. data/lib/omnibus/packagers/appx.rb +1 -2
  41. data/lib/omnibus/packagers/base.rb +2 -1
  42. data/lib/omnibus/packagers/bff.rb +6 -8
  43. data/lib/omnibus/packagers/deb.rb +7 -10
  44. data/lib/omnibus/packagers/ips.rb +3 -6
  45. data/lib/omnibus/packagers/makeself.rb +1 -2
  46. data/lib/omnibus/packagers/msi.rb +13 -12
  47. data/lib/omnibus/packagers/pkg.rb +125 -9
  48. data/lib/omnibus/packagers/rpm.rb +11 -12
  49. data/lib/omnibus/packagers/solaris.rb +5 -5
  50. data/lib/omnibus/packagers/windows_base.rb +7 -6
  51. data/lib/omnibus/project.rb +3 -2
  52. data/lib/omnibus/publisher.rb +2 -2
  53. data/lib/omnibus/publishers/artifactory_publisher.rb +2 -2
  54. data/lib/omnibus/publishers/s3_publisher.rb +6 -4
  55. data/lib/omnibus/s3_cache.rb +4 -2
  56. data/lib/omnibus/s3_helpers.rb +7 -7
  57. data/lib/omnibus/software.rb +68 -32
  58. data/lib/omnibus/templating.rb +2 -2
  59. data/lib/omnibus/thread_pool.rb +0 -2
  60. data/lib/omnibus/util.rb +4 -3
  61. data/lib/omnibus/version.rb +1 -1
  62. data/lib/omnibus/whitelist.rb +27 -1
  63. data/omnibus.gemspec +8 -9
  64. data/resources/ips/doc-transform.erb +1 -0
  65. data/resources/msi/CustomActionFastMsi.CA.dll +0 -0
  66. data/resources/rpm/signing.erb +7 -10
  67. data/spec/functional/builder_spec.rb +2 -1
  68. data/spec/functional/fetchers/file_fetcher_spec.rb +4 -4
  69. data/spec/functional/fetchers/git_fetcher_spec.rb +4 -4
  70. data/spec/functional/fetchers/net_fetcher_spec.rb +5 -6
  71. data/spec/functional/fetchers/path_fetcher_spec.rb +4 -4
  72. data/spec/functional/licensing_spec.rb +5 -5
  73. data/spec/support/examples.rb +3 -4
  74. data/spec/support/path_helpers.rb +2 -2
  75. data/spec/unit/builder_spec.rb +9 -9
  76. data/spec/unit/changelogprinter_spec.rb +8 -6
  77. data/spec/unit/compressor_spec.rb +3 -3
  78. data/spec/unit/fetchers/net_fetcher_spec.rb +16 -17
  79. data/spec/unit/health_check_spec.rb +2 -6
  80. data/spec/unit/library_spec.rb +2 -1
  81. data/spec/unit/manifest_diff_spec.rb +2 -2
  82. data/spec/unit/manifest_spec.rb +1 -1
  83. data/spec/unit/metadata_spec.rb +9 -11
  84. data/spec/unit/omnibus_spec.rb +1 -1
  85. data/spec/unit/packagers/bff_spec.rb +2 -2
  86. data/spec/unit/packagers/ips_spec.rb +1 -0
  87. data/spec/unit/packagers/msi_spec.rb +2 -2
  88. data/spec/unit/packagers/pkg_spec.rb +354 -0
  89. data/spec/unit/packagers/pkgsrc_spec.rb +1 -1
  90. data/spec/unit/packagers/solaris_spec.rb +7 -7
  91. data/spec/unit/project_spec.rb +2 -2
  92. data/spec/unit/publisher_spec.rb +1 -2
  93. data/spec/unit/publishers/artifactory_publisher_spec.rb +2 -4
  94. data/spec/unit/publishers/s3_publisher_spec.rb +2 -4
  95. data/spec/unit/s3_cacher_spec.rb +19 -6
  96. data/spec/unit/s3_helpers_spec.rb +22 -3
  97. data/spec/unit/software_spec.rb +72 -42
  98. data/spec/unit/util_spec.rb +1 -2
  99. metadata +18 -18
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: 6.1.4
4
+ version: 7.0.34
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: 2019-09-19 00:00:00.000000000 Z
11
+ date: 2020-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1'
27
27
  - !ruby/object:Gem::Dependency
28
- name: chef-sugar-ng
28
+ name: chef-sugar
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -92,20 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: '13'
96
- - - "<"
97
- - !ruby/object:Gem::Version
98
- version: '16'
95
+ version: '15'
99
96
  type: :runtime
100
97
  prerelease: false
101
98
  version_requirements: !ruby/object:Gem::Requirement
102
99
  requirements:
103
100
  - - ">="
104
101
  - !ruby/object:Gem::Version
105
- version: '13'
106
- - - "<"
107
- - !ruby/object:Gem::Version
108
- version: '16'
102
+ version: '15'
109
103
  - !ruby/object:Gem::Dependency
110
104
  name: ruby-progressbar
111
105
  requirement: !ruby/object:Gem::Requirement
@@ -124,16 +118,22 @@ dependencies:
124
118
  name: thor
125
119
  requirement: !ruby/object:Gem::Requirement
126
120
  requirements:
127
- - - "~>"
121
+ - - ">="
128
122
  - !ruby/object:Gem::Version
129
123
  version: '0.18'
124
+ - - "<"
125
+ - !ruby/object:Gem::Version
126
+ version: '2.0'
130
127
  type: :runtime
131
128
  prerelease: false
132
129
  version_requirements: !ruby/object:Gem::Requirement
133
130
  requirements:
134
- - - "~>"
131
+ - - ">="
135
132
  - !ruby/object:Gem::Version
136
133
  version: '0.18'
134
+ - - "<"
135
+ - !ruby/object:Gem::Version
136
+ version: '2.0'
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: license_scout
139
139
  requirement: !ruby/object:Gem::Requirement
@@ -182,14 +182,14 @@ dependencies:
182
182
  requirements:
183
183
  - - "~>"
184
184
  - !ruby/object:Gem::Version
185
- version: '2.0'
185
+ version: '3.0'
186
186
  type: :development
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
189
189
  requirements:
190
190
  - - "~>"
191
191
  - !ruby/object:Gem::Version
192
- version: '2.0'
192
+ version: '3.0'
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: aruba
195
195
  requirement: !ruby/object:Gem::Requirement
@@ -210,14 +210,14 @@ dependencies:
210
210
  requirements:
211
211
  - - '='
212
212
  - !ruby/object:Gem::Version
213
- version: '0.12'
213
+ version: 1.5.0
214
214
  type: :development
215
215
  prerelease: false
216
216
  version_requirements: !ruby/object:Gem::Requirement
217
217
  requirements:
218
218
  - - '='
219
219
  - !ruby/object:Gem::Version
220
- version: '0.12'
220
+ version: 1.5.0
221
221
  - !ruby/object:Gem::Dependency
222
222
  name: fauxhai
223
223
  requirement: !ruby/object:Gem::Requirement
@@ -546,7 +546,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
546
546
  requirements:
547
547
  - - ">="
548
548
  - !ruby/object:Gem::Version
549
- version: '2.4'
549
+ version: '2.6'
550
550
  required_rubygems_version: !ruby/object:Gem::Requirement
551
551
  requirements:
552
552
  - - ">="