appbundle-updater 1.0.7 → 1.0.36

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: 03a4beb737db0d1727e2c78be7d74f567bf6d26a7540e9f9cf6233ea8880bd10
4
- data.tar.gz: 0d250658f71c862973f6e7d6c1dc40c73c70af38ac0c99ea021b298e35723001
3
+ metadata.gz: '0171110448530a18147369da16dce8eb93e307f41612ec64ff6b6bb9afeaacb2'
4
+ data.tar.gz: 51007a24f2ddc9acf07ada87d8bc1569957793a379a873bd86c8b4b8e5834c18
5
5
  SHA512:
6
- metadata.gz: f40d0bfc636c8dd066af1215e786ba0c2dccc0ea1073a5913f24cf48a25de948cc86c9ae19a20f0ab2c1a5f9111ee04f8114f266edc69ceb16144584e8563a0e
7
- data.tar.gz: d102a63c776642e0c58a6966775e6e5257de2c9d947972ae7d5beb77e311afbc5d72abf060dbb30e939be2b743edd0447994cccdde37b44609c137a0e239e7f9
6
+ metadata.gz: c2988440b0f9b6f59749ed7fc26e2064945a23de755496d200bbb091915d846f2281c68e168022deec0a2aea129f1756b84c31af626f5a481e24eee25edd15a0
7
+ data.tar.gz: 27c221bf29327bbab60560bf79be31eddce5b7717a19d1fdaece80c62741eed1e974fbd8e49d55e94eb0ccb1b00ae82641c2729f81ed7d0b53ff0e97ae6d550c
data/CHANGELOG.md CHANGED
@@ -1,25 +1,66 @@
1
1
  # appbundle-updater Change Log
2
2
 
3
- <!-- latest_release 1.0.7 -->
4
- ## [v1.0.7](https://github.com/chef/appbundle-updater/tree/v1.0.7) (2020-08-11)
3
+ <!-- latest_release 1.0.36 -->
4
+ ## [v1.0.36](https://github.com/chef/appbundle-updater/tree/v1.0.36) (2022-02-09)
5
5
 
6
6
  #### Merged Pull Requests
7
- - Make sure we don&#39;t even install profile gem groups [#56](https://github.com/chef/appbundle-updater/pull/56) ([tas50](https://github.com/tas50))
7
+ - Use rake install:local [#100](https://github.com/chef/appbundle-updater/pull/100) ([lamont-granquist](https://github.com/lamont-granquist))
8
8
  <!-- latest_release -->
9
9
 
10
- <!-- release_rollup since=1.0.6 -->
10
+ <!-- release_rollup since=1.0.23 -->
11
11
  ### Changes not yet released to rubygems.org
12
12
 
13
13
  #### Merged Pull Requests
14
- - Make sure we don&#39;t even install profile gem groups [#56](https://github.com/chef/appbundle-updater/pull/56) ([tas50](https://github.com/tas50)) <!-- 1.0.7 -->
14
+ - Use rake install:local [#100](https://github.com/chef/appbundle-updater/pull/100) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 1.0.36 -->
15
+ - 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])) <!-- 1.0.35 -->
16
+ - Need a version bump for release [#97](https://github.com/chef/appbundle-updater/pull/97) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 1.0.34 -->
17
+ - remove bundle exec from rake install [#96](https://github.com/chef/appbundle-updater/pull/96) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 1.0.33 -->
18
+ - Update chefstyle requirement from 2.1.1 to 2.1.3 [#95](https://github.com/chef/appbundle-updater/pull/95) ([dependabot[bot]](https://github.com/dependabot[bot])) <!-- 1.0.32 -->
19
+ - Update chefstyle requirement from 2.1.0 to 2.1.1 [#93](https://github.com/chef/appbundle-updater/pull/93) ([dependabot[bot]](https://github.com/dependabot[bot])) <!-- 1.0.31 -->
20
+ - Update chefstyle requirement from 2.0.9 to 2.1.0 [#92](https://github.com/chef/appbundle-updater/pull/92) ([dependabot[bot]](https://github.com/dependabot[bot])) <!-- 1.0.30 -->
21
+ - Update chefstyle requirement from 2.0.7 to 2.0.9 [#90](https://github.com/chef/appbundle-updater/pull/90) ([dependabot[bot]](https://github.com/dependabot[bot])) <!-- 1.0.29 -->
22
+ - Update chefstyle requirement from 2.0.5 to 2.0.7 [#87](https://github.com/chef/appbundle-updater/pull/87) ([dependabot[bot]](https://github.com/dependabot[bot])) <!-- 1.0.28 -->
23
+ - Update chefstyle requirement from 1.7.5 to 2.0.5 [#85](https://github.com/chef/appbundle-updater/pull/85) ([dependabot[bot]](https://github.com/dependabot[bot])) <!-- 1.0.27 -->
24
+ - Update parallel requirement from &lt; 1.20 to &lt; 1.21 [#81](https://github.com/chef/appbundle-updater/pull/81) ([dependabot[bot]](https://github.com/dependabot[bot])) <!-- 1.0.26 -->
25
+ - Upgrade to GitHub-native Dependabot [#80](https://github.com/chef/appbundle-updater/pull/80) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot])) <!-- 1.0.25 -->
26
+ - Update chefstyle requirement from 1.7.2 to 1.7.5 [#79](https://github.com/chef/appbundle-updater/pull/79) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot])) <!-- 1.0.24 -->
15
27
  <!-- release_rollup -->
16
28
 
17
29
  <!-- latest_stable_release -->
30
+ ## [v1.0.23](https://github.com/chef/appbundle-updater/tree/v1.0.23) (2021-03-16)
31
+
32
+ #### Merged Pull Requests
33
+ - Update chefstyle requirement from 1.2.1 to 1.3.2 [#58](https://github.com/chef/appbundle-updater/pull/58) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
34
+ - Update chefstyle requirement from 1.3.2 to 1.4.0 [#59](https://github.com/chef/appbundle-updater/pull/59) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
35
+ - Update chefstyle requirement from 1.4.0 to 1.4.2 [#60](https://github.com/chef/appbundle-updater/pull/60) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
36
+ - Update chefstyle requirement from 1.4.2 to 1.4.3 [#61](https://github.com/chef/appbundle-updater/pull/61) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
37
+ - Update chefstyle requirement from 1.4.3 to 1.4.4 [#62](https://github.com/chef/appbundle-updater/pull/62) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
38
+ - Update chefstyle requirement from 1.4.4 to 1.4.5 [#63](https://github.com/chef/appbundle-updater/pull/63) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
39
+ - Update chefstyle requirement from 1.4.5 to 1.5.0 [#64](https://github.com/chef/appbundle-updater/pull/64) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
40
+ - Update chefstyle requirement from 1.5.0 to 1.5.2 [#66](https://github.com/chef/appbundle-updater/pull/66) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
41
+ - Update chefstyle requirement from 1.5.2 to 1.5.8 [#70](https://github.com/chef/appbundle-updater/pull/70) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
42
+ - Update chefstyle requirement from 1.5.8 to 1.5.9 [#71](https://github.com/chef/appbundle-updater/pull/71) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
43
+ - Update chefstyle requirement from 1.5.9 to 1.6.1 [#72](https://github.com/chef/appbundle-updater/pull/72) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
44
+ - Update chefstyle requirement from 1.6.1 to 1.6.2 [#73](https://github.com/chef/appbundle-updater/pull/73) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
45
+ - Update chefstyle requirement from 1.6.2 to 1.7.1 [#74](https://github.com/chef/appbundle-updater/pull/74) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
46
+ - Update chefstyle requirement from 1.7.1 to 1.7.2 [#75](https://github.com/chef/appbundle-updater/pull/75) ([dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
47
+ - Add support for post bundle install hook [#76](https://github.com/chef/appbundle-updater/pull/76) ([lamont-granquist](https://github.com/lamont-granquist))
48
+ <!-- latest_stable_release -->
49
+
50
+ ## [v1.0.8](https://github.com/chef/appbundle-updater/tree/v1.0.8) (2020-08-12)
51
+
52
+ #### Merged Pull Requests
53
+ - Add profile to ohai specifically [#57](https://github.com/chef/appbundle-updater/pull/57) ([tas50](https://github.com/tas50))
54
+
55
+ ## [v1.0.7](https://github.com/chef/appbundle-updater/tree/v1.0.7) (2020-08-11)
56
+
57
+ #### Merged Pull Requests
58
+ - Make sure we don&#39;t even install profile gem groups [#56](https://github.com/chef/appbundle-updater/pull/56) ([tas50](https://github.com/tas50))
59
+
18
60
  ## [v1.0.6](https://github.com/chef/appbundle-updater/tree/v1.0.6) (2020-05-29)
19
61
 
20
62
  #### Merged Pull Requests
21
63
  - Just use `rake install` on windows [#55](https://github.com/chef/appbundle-updater/pull/55) ([lamont-granquist](https://github.com/lamont-granquist))
22
- <!-- latest_stable_release -->
23
64
 
24
65
  ## [v1.0.5](https://github.com/chef/appbundle-updater/tree/v1.0.5) (2020-05-29)
25
66
 
data/Gemfile CHANGED
@@ -9,7 +9,8 @@ group :docs do
9
9
  end
10
10
 
11
11
  group :test do
12
- gem "chefstyle", "1.2.1"
12
+ gem "parallel", "< 1.21" # remove this pin/dep when we drop ruby < 2.4
13
+ gem "chefstyle", "2.2.0"
13
14
  gem "rake"
14
15
  end
15
16
 
data/README.md CHANGED
@@ -67,7 +67,7 @@ If you don't want "master" you can use any other git tag/branch/sha/etc that git
67
67
 
68
68
  ## Using a GitHub Fork
69
69
 
70
- By default this gem clones from the official repos from the software. To override and point
70
+ By default this gem clones from the official repos from the software. To override and point
71
71
  at at fork use the `--github`` option on the command-line:
72
72
 
73
73
  ```ruby
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.7
1
+ 1.0.36
@@ -1,4 +1,4 @@
1
- lib = File.expand_path("../lib", __FILE__)
1
+ lib = File.expand_path("lib", __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
  require "appbundle_updater/version"
4
4
 
@@ -129,7 +129,7 @@ App = Struct.new(:name, :repo, :bundle_without, :install_commands, :gems) do
129
129
  end
130
130
  end
131
131
 
132
- chef_install_command = "#{bin_dir.join("bundle")} exec #{bin_dir.join("rake")} install"
132
+ chef_install_command = "#{bin_dir.join("rake")} install:local"
133
133
 
134
134
  CHEFDK_APPS = [
135
135
  App.new(
@@ -146,7 +146,7 @@ CHEFDK_APPS = [
146
146
  {
147
147
  "chef" => %w{docgen chefstyle},
148
148
  "chef-bin" => %w{development},
149
- "ohai" => %w{development docs debug},
149
+ "ohai" => %w{development docs debug profile},
150
150
  "inspec-core-bin" => %w{development},
151
151
  }
152
152
  ),
@@ -274,6 +274,11 @@ class Updater
274
274
  ruby(cmd)
275
275
  end
276
276
 
277
+ banner("Re-installing git-installed gems")
278
+ Dir.chdir(app_dir) do
279
+ ruby("post-bundle-install.rb #{chefdk}") if File.exist?("#{app_dir}/post-bundle-install.rb")
280
+ end
281
+
277
282
  banner("Installing gem")
278
283
  Dir.chdir(app_dir) do
279
284
  Array(install_commands).each do |command|
@@ -1,3 +1,3 @@
1
1
  module AppbundleUpdater
2
- VERSION = "1.0.7".freeze
2
+ VERSION = "1.0.36".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: 1.0.7
4
+ version: 1.0.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - lamont-granquist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-11 00:00:00.000000000 Z
11
+ date: 2022-02-09 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: '0'
52
52
  requirements: []
53
- rubygems_version: 3.0.3
53
+ rubygems_version: 3.1.4
54
54
  signing_key:
55
55
  specification_version: 4
56
56
  summary: Updates appbundled apps in Chef's omnibus packages