omnibus 5.3.0 → 5.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,7 +51,7 @@ module Omnibus
51
51
  it 'uploads the metadata' do
52
52
  expect(subject).to receive(:store_object).with(
53
53
  'ubuntu/14.04/x86_64/chef.deb/chef.deb.metadata.json',
54
- package.metadata.to_json,
54
+ FFI_Yajl::Encoder.encode(package.metadata.to_hash, pretty: true),
55
55
  nil,
56
56
  'private',
57
57
  ).once
@@ -76,7 +76,7 @@ module Omnibus
76
76
  it 'sets the access control to public_read' do
77
77
  expect(subject).to receive(:store_object).with(
78
78
  'ubuntu/14.04/x86_64/chef.deb/chef.deb.metadata.json',
79
- package.metadata.to_json,
79
+ FFI_Yajl::Encoder.encode(package.metadata.to_hash, pretty: true),
80
80
  nil,
81
81
  'public-read',
82
82
  ).once
@@ -91,7 +91,7 @@ module Omnibus
91
91
  it 'sets the access control to private' do
92
92
  expect(subject).to receive(:store_object).with(
93
93
  'ubuntu/14.04/x86_64/chef.deb/chef.deb.metadata.json',
94
- package.metadata.to_json,
94
+ FFI_Yajl::Encoder.encode(package.metadata.to_hash, pretty: true),
95
95
  nil,
96
96
  'private',
97
97
  ).once
@@ -505,7 +505,7 @@ module Omnibus
505
505
  let(:manifest_entry) {Omnibus::ManifestEntry.new("software", {locked_version: "1.2.8", locked_source: a_source})}
506
506
  let(:manifest) do
507
507
  m = Omnibus::Manifest.new
508
- m.add("software", manifest_entry)
508
+ m.add(:software, manifest_entry)
509
509
  end
510
510
 
511
511
  let(:project_with_manifest) do
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.3.0
4
+ version: 5.4.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-03-29 00:00:00.000000000 Z
11
+ date: 2016-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-sugar
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0.18'
125
+ - !ruby/object:Gem::Dependency
126
+ name: ffi-yajl
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.2'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '2.2'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: bundler
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -192,6 +206,20 @@ dependencies:
192
206
  - - "~>"
193
207
  - !ruby/object:Gem::Version
194
208
  version: '3.0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rspec-json_expectations
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
195
223
  - !ruby/object:Gem::Dependency
196
224
  name: rspec-its
197
225
  requirement: !ruby/object:Gem::Requirement
@@ -362,6 +390,7 @@ files:
362
390
  - lib/omnibus/packagers/base.rb
363
391
  - lib/omnibus/packagers/bff.rb
364
392
  - lib/omnibus/packagers/deb.rb
393
+ - lib/omnibus/packagers/ips.rb
365
394
  - lib/omnibus/packagers/makeself.rb
366
395
  - lib/omnibus/packagers/msi.rb
367
396
  - lib/omnibus/packagers/pkg.rb
@@ -391,6 +420,8 @@ files:
391
420
  - resources/dmg/background.png
392
421
  - resources/dmg/create_dmg.osascript.erb
393
422
  - resources/dmg/icon.png
423
+ - resources/ips/doc-transform.erb
424
+ - resources/ips/gen.manifestfile.erb
394
425
  - resources/makeself/makeself-header.sh
395
426
  - resources/makeself/makeself.sh
396
427
  - resources/makeself/makeselfinst.erb
@@ -459,9 +490,11 @@ files:
459
490
  - spec/unit/ohai_spec.rb
460
491
  - spec/unit/omnibus_spec.rb
461
492
  - spec/unit/package_spec.rb
493
+ - spec/unit/packager_spec.rb
462
494
  - spec/unit/packagers/base_spec.rb
463
495
  - spec/unit/packagers/bff_spec.rb
464
496
  - spec/unit/packagers/deb_spec.rb
497
+ - spec/unit/packagers/ips_spec.rb
465
498
  - spec/unit/packagers/makeself_spec.rb
466
499
  - spec/unit/packagers/msi_spec.rb
467
500
  - spec/unit/packagers/pkg_spec.rb
@@ -497,7 +530,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
497
530
  version: '0'
498
531
  requirements: []
499
532
  rubyforge_project:
500
- rubygems_version: 2.6.1
533
+ rubygems_version: 2.2.2
501
534
  signing_key:
502
535
  specification_version: 4
503
536
  summary: Omnibus is a framework for building self-installing, full-stack software
@@ -558,9 +591,11 @@ test_files:
558
591
  - spec/unit/ohai_spec.rb
559
592
  - spec/unit/omnibus_spec.rb
560
593
  - spec/unit/package_spec.rb
594
+ - spec/unit/packager_spec.rb
561
595
  - spec/unit/packagers/base_spec.rb
562
596
  - spec/unit/packagers/bff_spec.rb
563
597
  - spec/unit/packagers/deb_spec.rb
598
+ - spec/unit/packagers/ips_spec.rb
564
599
  - spec/unit/packagers/makeself_spec.rb
565
600
  - spec/unit/packagers/msi_spec.rb
566
601
  - spec/unit/packagers/pkg_spec.rb