appbundle-updater 1.0.6 → 1.0.34

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a53986875f10f903beebb1f94792bad155512ca54e467be0bd8ff3dea1f199f
4
- data.tar.gz: 95446fe1f52af383d31fa0c12b264ba29b47bb7642773c1a421d6bbc805718eb
3
+ metadata.gz: f1b1eb8868789a719f20e0faa0229517f67ee41c22d8cf0859f4261cf8cf77cd
4
+ data.tar.gz: 6c351e79caac76315561e419c2a019dbce7dd65dd5fafd9e1d0021214d7726a0
5
5
  SHA512:
6
- metadata.gz: 55dd93c052162572c636c7cfb68e46ae9789325ac0ff2ce4d748b7de28d5ba0273d6ee70a09c2e5c327631f521ad5b75257ba32ee0a83d0fd7963a146a8027b8
7
- data.tar.gz: 1289a47d0067e8c36b8a1be0e9b16573b377a0011033127e73ea092e9e7c40287662a9207731b46133919e1d46235444d4dfb72cf35cd6b92264b2841e4b2b43
6
+ metadata.gz: 77810fd588363b0b42a85a9ad8631aba8e318017928bb9841283626054047a4558c48d51e6d90748321e353225b5e37d9d36080dd2a5ff9badfe34bbe749ee6e
7
+ data.tar.gz: 6cc3f378697912b9b546cc0f6dcd3b8a6d63a7a8231df422a46d366bf4fb2cf1fe2c20c905784f74297036577522124c4f214ed1f0004d207e534ccf0b7bd95c
data/CHANGELOG.md CHANGED
@@ -1,25 +1,69 @@
1
1
  # appbundle-updater Change Log
2
2
 
3
- <!-- latest_release 1.0.6 -->
4
- ## [v1.0.6](https://github.com/chef/appbundle-updater/tree/v1.0.6) (2020-05-29)
3
+ <!-- latest_release 1.0.34 -->
4
+ ## [v1.0.34](https://github.com/chef/appbundle-updater/tree/v1.0.34) (2021-12-09)
5
5
 
6
6
  #### Merged Pull Requests
7
- - Just use `rake install` on windows [#55](https://github.com/chef/appbundle-updater/pull/55) ([lamont-granquist](https://github.com/lamont-granquist))
7
+ - Need a version bump for release [#97](https://github.com/chef/appbundle-updater/pull/97) ([lamont-granquist](https://github.com/lamont-granquist))
8
8
  <!-- latest_release -->
9
9
 
10
- <!-- release_rollup since=1.0.5 -->
10
+ <!-- release_rollup since=1.0.23 -->
11
11
  ### Changes not yet released to rubygems.org
12
12
 
13
13
  #### Merged Pull Requests
14
- - Just use `rake install` on windows [#55](https://github.com/chef/appbundle-updater/pull/55) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 1.0.6 -->
14
+ - 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 -->
15
+ - 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 -->
16
+ - 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 -->
17
+ - 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 -->
18
+ - 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 -->
19
+ - 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 -->
20
+ - 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 -->
21
+ - 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 -->
22
+ - 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 -->
23
+ - 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 -->
24
+ - 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
25
  <!-- release_rollup -->
16
26
 
17
27
  <!-- latest_stable_release -->
28
+ ## [v1.0.23](https://github.com/chef/appbundle-updater/tree/v1.0.23) (2021-03-16)
29
+
30
+ #### Merged Pull Requests
31
+ - 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]))
32
+ - 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]))
33
+ - 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]))
34
+ - 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]))
35
+ - 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]))
36
+ - 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]))
37
+ - 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]))
38
+ - 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]))
39
+ - 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]))
40
+ - 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]))
41
+ - 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]))
42
+ - 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]))
43
+ - 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]))
44
+ - 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]))
45
+ - Add support for post bundle install hook [#76](https://github.com/chef/appbundle-updater/pull/76) ([lamont-granquist](https://github.com/lamont-granquist))
46
+ <!-- latest_stable_release -->
47
+
48
+ ## [v1.0.8](https://github.com/chef/appbundle-updater/tree/v1.0.8) (2020-08-12)
49
+
50
+ #### Merged Pull Requests
51
+ - Add profile to ohai specifically [#57](https://github.com/chef/appbundle-updater/pull/57) ([tas50](https://github.com/tas50))
52
+
53
+ ## [v1.0.7](https://github.com/chef/appbundle-updater/tree/v1.0.7) (2020-08-11)
54
+
55
+ #### Merged Pull Requests
56
+ - 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))
57
+
58
+ ## [v1.0.6](https://github.com/chef/appbundle-updater/tree/v1.0.6) (2020-05-29)
59
+
60
+ #### Merged Pull Requests
61
+ - Just use `rake install` on windows [#55](https://github.com/chef/appbundle-updater/pull/55) ([lamont-granquist](https://github.com/lamont-granquist))
62
+
18
63
  ## [v1.0.5](https://github.com/chef/appbundle-updater/tree/v1.0.5) (2020-05-29)
19
64
 
20
65
  #### Merged Pull Requests
21
66
  - switch from `open` to `URI.open` [#54](https://github.com/chef/appbundle-updater/pull/54) ([lamont-granquist](https://github.com/lamont-granquist))
22
- <!-- latest_stable_release -->
23
67
 
24
68
  ## [v1.0.4](https://github.com/chef/appbundle-updater/tree/v1.0.4) (2020-04-28)
25
69
 
data/Gemfile CHANGED
@@ -9,7 +9,8 @@ group :docs do
9
9
  end
10
10
 
11
11
  group :test do
12
- gem "chefstyle"
12
+ gem "parallel", "< 1.21" # remove this pin/dep when we drop ruby < 2.4
13
+ gem "chefstyle", "2.1.3"
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.6
1
+ 1.0.34
@@ -1,5 +1,4 @@
1
- # coding: utf-8
2
- lib = File.expand_path("../lib", __FILE__)
1
+ lib = File.expand_path("lib", __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require "appbundle_updater/version"
5
4
 
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- # -*- encoding: utf-8 -*-
3
2
  #
4
3
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
5
4
  #
@@ -130,7 +129,7 @@ App = Struct.new(:name, :repo, :bundle_without, :install_commands, :gems) do
130
129
  end
131
130
  end
132
131
 
133
- chef_install_command = "#{bin_dir.join("bundle")} exec #{bin_dir.join("rake")} install"
132
+ chef_install_command = "#{bin_dir.join("rake")} install"
134
133
 
135
134
  CHEFDK_APPS = [
136
135
  App.new(
@@ -142,14 +141,14 @@ CHEFDK_APPS = [
142
141
  App.new(
143
142
  "chef",
144
143
  "chef/chef",
145
- "server docgen maintenance pry travis integration ci chefstyle",
144
+ "server docgen maintenance pry integration ci chefstyle profile",
146
145
  chef_install_command,
147
146
  {
148
147
  "chef" => %w{docgen chefstyle},
149
148
  "chef-bin" => %w{development},
150
- "ohai" => %w{development docs debug},
149
+ "ohai" => %w{development docs debug profile},
151
150
  "inspec-core-bin" => %w{development},
152
- },
151
+ }
153
152
  ),
154
153
  App.new(
155
154
  "chef-dk",
@@ -170,7 +169,7 @@ CHEFDK_APPS = [
170
169
  "ohai" => %w{changelog},
171
170
  "opscode-pushy-client" => %w{changelog},
172
171
  "cookstyle" => %w{changelog},
173
- },
172
+ }
174
173
  ),
175
174
  App.new(
176
175
  "chef-vault",
@@ -275,6 +274,11 @@ class Updater
275
274
  ruby(cmd)
276
275
  end
277
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
+
278
282
  banner("Installing gem")
279
283
  Dir.chdir(app_dir) do
280
284
  Array(install_commands).each do |command|
@@ -1,3 +1,3 @@
1
1
  module AppbundleUpdater
2
- VERSION = "1.0.6".freeze
2
+ VERSION = "1.0.34".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.6
4
+ version: 1.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - lamont-granquist
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-29 00:00:00.000000000 Z
11
+ date: 2021-12-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Updates appbundled apps in Chef's omnibus packages
14
14
  email:
@@ -35,7 +35,7 @@ homepage: https://github.com/chef/appbundle-updater
35
35
  licenses:
36
36
  - Apache-2.0
37
37
  metadata: {}
38
- post_install_message:
38
+ post_install_message:
39
39
  rdoc_options: []
40
40
  require_paths:
41
41
  - lib
@@ -50,8 +50,8 @@ 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
54
- signing_key:
53
+ rubygems_version: 3.2.32
54
+ signing_key:
55
55
  specification_version: 4
56
56
  summary: Updates appbundled apps in Chef's omnibus packages
57
57
  test_files: