appbundle-updater 19.0.2.rc.1 → 19.0.4.rc.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7177a13d677886a6995b214512033d4aa3a4966c2d8907e384b8b850b46ae9d0
4
- data.tar.gz: '072191040ef2bb340735b9a59c30bf3c8c31f9b88c937e3b934268d7635a1746'
3
+ metadata.gz: 610edf01709d93520dbd4e4bc64fd796b23c045f53961fb02a07778729406d23
4
+ data.tar.gz: 24b6a2a9f05f4b30a5f1f42e5a400e278ca37b8977d3ddf70df22f0f6b9145ae
5
5
  SHA512:
6
- metadata.gz: 739c787f03c12ae9e9c8bad8417c4ab46f16764bea6595068031a6cd327ebd1bc45f63b67274c74e38b0775514034204f2719f25b4c77e1c8193bc221e2c9958
7
- data.tar.gz: 6dec822ffbbde1ca3ea323dd6d59b49a0bd89aab050cf9036d318d2776b5739d897a49c93073c0ef9dfe06e81e8e1b966ce485394ba4ff81cf33392898b3f40f
6
+ metadata.gz: 727dcd147949ee9e311fed28e69dbaa489c96bace756ab3ac9c4bc36d20cb61fac60959dfc35afbf7f23b0e389b789c65efd793a8d9b301546d4764b134cd090
7
+ data.tar.gz: ebf89ef3ce334717e770ae559779e93b3cac4d0373e84d1f33396df2587881bdfa784b29c7923ac1e8a0683292aef12769b061ef005545c5f0ffa97ad29192d9
data/CHANGELOG.md CHANGED
@@ -1,26 +1,33 @@
1
1
  # appbundle-updater Change Log
2
2
 
3
- <!-- latest_release 19.0.2 -->
4
- ## [v19.0.2](https://github.com/chef/appbundle-updater/tree/v19.0.2) (2025-02-11)
3
+ <!-- latest_release 19.0.4 -->
4
+ ## [v19.0.4](https://github.com/chef/appbundle-updater/tree/v19.0.4) (2025-06-17)
5
5
 
6
6
  #### Merged Pull Requests
7
- - Delimit rc and version no as rc.1 in gemspec as using &#39;rc1&#39; has not pushed the gem to artifactory [#116](https://github.com/chef/appbundle-updater/pull/116) ([neha-p6](https://github.com/neha-p6))
7
+ - Use bundler binary from ruby package instead of from vendor/gems as it&#39;s no longer there [#120](https://github.com/chef/appbundle-updater/pull/120) ([neha-p6](https://github.com/neha-p6))
8
8
  <!-- latest_release -->
9
9
 
10
- <!-- release_rollup since=1.0.36 -->
10
+ <!-- release_rollup since=19.0.2.rc.1 -->
11
11
  ### Changes not yet released to rubygems.org
12
12
 
13
13
  #### Merged Pull Requests
14
+ - Use bundler binary from ruby package instead of from vendor/gems as it&#39;s no longer there [#120](https://github.com/chef/appbundle-updater/pull/120) ([neha-p6](https://github.com/neha-p6)) <!-- 19.0.4 -->
15
+ - Skip inspec-core-bin for 19 [#117](https://github.com/chef/appbundle-updater/pull/117) ([tpowell-progress](https://github.com/tpowell-progress)) <!-- 19.0.3 -->
14
16
  - Delimit rc and version no as rc.1 in gemspec as using &#39;rc1&#39; has not pushed the gem to artifactory [#116](https://github.com/chef/appbundle-updater/pull/116) ([neha-p6](https://github.com/neha-p6)) <!-- 19.0.2 -->
15
- - Add rc tag to the gem from gemspec instead of from VERSION file [#115](https://github.com/chef/appbundle-updater/pull/115) ([neha-p6](https://github.com/neha-p6)) <!-- 19.0.1 -->
16
- - Add rc tag to the gem from gemspec instead of from VERSION file [#113](https://github.com/chef/appbundle-updater/pull/113) ([neha-p6](https://github.com/neha-p6)) <!-- 19.0.1 -->
17
- - use habitat build instead of omnibus [#107](https://github.com/chef/appbundle-updater/pull/107) ([rishichawda](https://github.com/rishichawda)) <!-- 19.0.1 -->
18
- - add release branches [#110](https://github.com/chef/appbundle-updater/pull/110) ([rishichawda](https://github.com/rishichawda)) <!-- 19.0.0 -->
19
- - update ruby images to 3.0 and 3.1 [#108](https://github.com/chef/appbundle-updater/pull/108) ([rishichawda](https://github.com/rishichawda)) <!-- 1.0.38 -->
20
- - update codeowners to include omnibus team &amp; some cleanup [#103](https://github.com/chef/appbundle-updater/pull/103) ([vkarve-chef](https://github.com/vkarve-chef)) <!-- 1.0.37 -->
21
17
  <!-- release_rollup -->
22
18
 
23
19
  <!-- latest_stable_release -->
20
+ ## [v19.0.2.rc.1](https://github.com/chef/appbundle-updater/tree/v19.0.2.rc.1) (2025-02-11)
21
+
22
+ #### Merged Pull Requests
23
+ - update codeowners to include omnibus team &amp; some cleanup [#103](https://github.com/chef/appbundle-updater/pull/103) ([vkarve-chef](https://github.com/vkarve-chef))
24
+ - update ruby images to 3.0 and 3.1 [#108](https://github.com/chef/appbundle-updater/pull/108) ([rishichawda](https://github.com/rishichawda))
25
+ - add release branches [#110](https://github.com/chef/appbundle-updater/pull/110) ([rishichawda](https://github.com/rishichawda))
26
+ - use habitat build instead of omnibus [#107](https://github.com/chef/appbundle-updater/pull/107) ([rishichawda](https://github.com/rishichawda))
27
+ - Add rc tag to the gem from gemspec instead of from VERSION file [#113](https://github.com/chef/appbundle-updater/pull/113) ([neha-p6](https://github.com/neha-p6))
28
+ - Add rc tag to the gem from gemspec instead of from VERSION file [#115](https://github.com/chef/appbundle-updater/pull/115) ([neha-p6](https://github.com/neha-p6))
29
+ <!-- latest_stable_release -->
30
+
24
31
  ## [v1.0.36](https://github.com/chef/appbundle-updater/tree/v1.0.36) (2022-02-09)
25
32
 
26
33
  #### Merged Pull Requests
@@ -37,7 +44,6 @@
37
44
  - Need a version bump for release [#97](https://github.com/chef/appbundle-updater/pull/97) ([lamont-granquist](https://github.com/lamont-granquist))
38
45
  - Update chefstyle requirement from 2.1.3 to 2.2.0 [#98](https://github.com/chef/appbundle-updater/pull/98) ([dependabot[bot]](https://github.com/dependabot[bot]))
39
46
  - Use rake install:local [#100](https://github.com/chef/appbundle-updater/pull/100) ([lamont-granquist](https://github.com/lamont-granquist))
40
- <!-- latest_stable_release -->
41
47
 
42
48
  ## [v1.0.23](https://github.com/chef/appbundle-updater/tree/v1.0.23) (2021-03-16)
43
49
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 19.0.2
1
+ 19.0.4
@@ -168,7 +168,7 @@ HABITAT_PACKAGES = [
168
168
  "chef" => %w{docgen chefstyle},
169
169
  "chef-bin" => %w{development},
170
170
  "ohai" => %w{development docs debug profile},
171
- "inspec-core-bin" => %w{development},
171
+ # "inspec-core-bin" => %w{development}, # <== temporary? for RC version
172
172
  }
173
173
  ),
174
174
  App.new(
@@ -203,6 +203,11 @@ HABITAT_PACKAGES = [
203
203
  ),
204
204
  ].freeze
205
205
 
206
+ def bundler_from_ruby_pkg
207
+ ruby_path = `hab pkg path #{ruby_pkg}`.strip
208
+ File.join(ruby_path, "bin", "bundle")
209
+ end
210
+
206
211
  class Updater
207
212
  attr_reader :app, :ref, :tarball, :origin, :repo, :gems, :install_commands
208
213
 
@@ -260,7 +265,10 @@ class Updater
260
265
 
261
266
  banner("Installing dependencies")
262
267
  Dir.chdir(app_dir) do
263
- cmd = "#{vendor_bin_dir.join("bundle")} install"
268
+ # Use the bundler from Ruby package instead of from vendor/bin
269
+ bundle_executable = bundler_from_ruby_pkg
270
+ banner("Using bundler from Ruby package: #{bundle_executable}")
271
+ cmd = "#{bundle_executable} install"
264
272
  cmd += " --without #{app.bundle_without}" if app.bundle_without
265
273
  ruby(cmd)
266
274
  end
@@ -1,3 +1,3 @@
1
1
  module AppbundleUpdater
2
- VERSION = "19.0.2".freeze
2
+ VERSION = "19.0.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appbundle-updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.0.2.rc.1
4
+ version: 19.0.4.rc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lamont-granquist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-11 00:00:00.000000000 Z
11
+ date: 2025-06-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Updates appbundled apps in Chef's omnibus packages
14
14
  email:
@@ -50,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  - !ruby/object:Gem::Version
51
51
  version: 1.3.1
52
52
  requirements: []
53
- rubygems_version: 3.2.3
53
+ rubygems_version: 3.3.27
54
54
  signing_key:
55
55
  specification_version: 4
56
56
  summary: Updates appbundled apps in Chef's omnibus packages