appbundle-updater 1.0.4 → 1.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -6
- data/Gemfile +2 -1
- data/VERSION +1 -1
- data/appbundle-updater.gemspec +1 -2
- data/bin/appbundle-updater +11 -12
- data/lib/appbundle_updater/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3f788c7b56b466e013c747de03f9b6c724484560a7acdf921856ce4f3db7ab7
|
4
|
+
data.tar.gz: 3edeb836b50337f40d50f800722d816f8f463ba48fb7a0050f81f9bc025d462d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 837fdd9e155f9702dd909b6aecc3a907a46596b678c835369caacffb874555ebc848673eb85dbddb93f98da1decf65b748f49db9945de6bba4e6cc154854d447
|
7
|
+
data.tar.gz: f3c7bfa3648f98e2f2c7a7d8cfea3346470777d8035318dfcd051fd1b94de4e172b9d336acfcceaebd6e073ab8aca657721f51800322c2f4e794778b42c3f9d6
|
data/CHANGELOG.md
CHANGED
@@ -1,25 +1,64 @@
|
|
1
1
|
# appbundle-updater Change Log
|
2
2
|
|
3
|
-
<!-- latest_release 1.0.
|
4
|
-
## [v1.0.
|
3
|
+
<!-- latest_release 1.0.23 -->
|
4
|
+
## [v1.0.23](https://github.com/chef/appbundle-updater/tree/v1.0.23) (2021-03-16)
|
5
5
|
|
6
6
|
#### Merged Pull Requests
|
7
|
-
-
|
7
|
+
- Add support for post bundle install hook [#76](https://github.com/chef/appbundle-updater/pull/76) ([lamont-granquist](https://github.com/lamont-granquist))
|
8
8
|
<!-- latest_release -->
|
9
9
|
|
10
|
-
<!-- release_rollup since=1.0.
|
10
|
+
<!-- release_rollup since=1.0.8 -->
|
11
11
|
### Changes not yet released to rubygems.org
|
12
12
|
|
13
13
|
#### Merged Pull Requests
|
14
|
-
-
|
14
|
+
- Add support for post bundle install hook [#76](https://github.com/chef/appbundle-updater/pull/76) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 1.0.23 -->
|
15
|
+
- 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])) <!-- 1.0.22 -->
|
16
|
+
- 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])) <!-- 1.0.21 -->
|
17
|
+
- 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])) <!-- 1.0.20 -->
|
18
|
+
- 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])) <!-- 1.0.19 -->
|
19
|
+
- 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])) <!-- 1.0.18 -->
|
20
|
+
- 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])) <!-- 1.0.17 -->
|
21
|
+
- 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])) <!-- 1.0.16 -->
|
22
|
+
- 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])) <!-- 1.0.15 -->
|
23
|
+
- 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])) <!-- 1.0.14 -->
|
24
|
+
- 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])) <!-- 1.0.13 -->
|
25
|
+
- 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])) <!-- 1.0.12 -->
|
26
|
+
- 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])) <!-- 1.0.11 -->
|
27
|
+
- 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])) <!-- 1.0.10 -->
|
28
|
+
- 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])) <!-- 1.0.9 -->
|
15
29
|
<!-- release_rollup -->
|
16
30
|
|
17
31
|
<!-- latest_stable_release -->
|
32
|
+
## [v1.0.8](https://github.com/chef/appbundle-updater/tree/v1.0.8) (2020-08-12)
|
33
|
+
|
34
|
+
#### Merged Pull Requests
|
35
|
+
- Add profile to ohai specifically [#57](https://github.com/chef/appbundle-updater/pull/57) ([tas50](https://github.com/tas50))
|
36
|
+
<!-- latest_stable_release -->
|
37
|
+
|
38
|
+
## [v1.0.7](https://github.com/chef/appbundle-updater/tree/v1.0.7) (2020-08-11)
|
39
|
+
|
40
|
+
#### Merged Pull Requests
|
41
|
+
- Make sure we don't even install profile gem groups [#56](https://github.com/chef/appbundle-updater/pull/56) ([tas50](https://github.com/tas50))
|
42
|
+
|
43
|
+
## [v1.0.6](https://github.com/chef/appbundle-updater/tree/v1.0.6) (2020-05-29)
|
44
|
+
|
45
|
+
#### Merged Pull Requests
|
46
|
+
- Just use `rake install` on windows [#55](https://github.com/chef/appbundle-updater/pull/55) ([lamont-granquist](https://github.com/lamont-granquist))
|
47
|
+
|
48
|
+
## [v1.0.5](https://github.com/chef/appbundle-updater/tree/v1.0.5) (2020-05-29)
|
49
|
+
|
50
|
+
#### Merged Pull Requests
|
51
|
+
- switch from `open` to `URI.open` [#54](https://github.com/chef/appbundle-updater/pull/54) ([lamont-granquist](https://github.com/lamont-granquist))
|
52
|
+
|
53
|
+
## [v1.0.4](https://github.com/chef/appbundle-updater/tree/v1.0.4) (2020-04-28)
|
54
|
+
|
55
|
+
#### Merged Pull Requests
|
56
|
+
- update gem groups in appbundler [#53](https://github.com/chef/appbundle-updater/pull/53) ([lamont-granquist](https://github.com/lamont-granquist))
|
57
|
+
|
18
58
|
## [v1.0.3](https://github.com/chef/appbundle-updater/tree/v1.0.3) (2020-03-12)
|
19
59
|
|
20
60
|
#### Merged Pull Requests
|
21
61
|
- fix a local variable [#51](https://github.com/chef/appbundle-updater/pull/51) ([lamont-granquist](https://github.com/lamont-granquist))
|
22
|
-
<!-- latest_stable_release -->
|
23
62
|
|
24
63
|
## [v1.0.2](https://github.com/chef/appbundle-updater/tree/v1.0.2) (2020-03-12)
|
25
64
|
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.23
|
data/appbundle-updater.gemspec
CHANGED
data/bin/appbundle-updater
CHANGED
@@ -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,12 +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 =
|
134
|
-
if windows?
|
135
|
-
"#{bin_dir.join("gem")} build chef-windows.gemspec & #{bin_dir.join("gem")} install chef*.gem --no-document"
|
136
|
-
else
|
137
|
-
"#{bin_dir.join("bundle")} exec #{bin_dir.join("rake")} install"
|
138
|
-
end
|
132
|
+
chef_install_command = "#{bin_dir.join("bundle")} exec #{bin_dir.join("rake")} install"
|
139
133
|
|
140
134
|
CHEFDK_APPS = [
|
141
135
|
App.new(
|
@@ -147,14 +141,14 @@ CHEFDK_APPS = [
|
|
147
141
|
App.new(
|
148
142
|
"chef",
|
149
143
|
"chef/chef",
|
150
|
-
"server docgen maintenance pry
|
144
|
+
"server docgen maintenance pry integration ci chefstyle profile",
|
151
145
|
chef_install_command,
|
152
146
|
{
|
153
147
|
"chef" => %w{docgen chefstyle},
|
154
148
|
"chef-bin" => %w{development},
|
155
|
-
"ohai" => %w{development docs debug},
|
149
|
+
"ohai" => %w{development docs debug profile},
|
156
150
|
"inspec-core-bin" => %w{development},
|
157
|
-
}
|
151
|
+
}
|
158
152
|
),
|
159
153
|
App.new(
|
160
154
|
"chef-dk",
|
@@ -175,7 +169,7 @@ CHEFDK_APPS = [
|
|
175
169
|
"ohai" => %w{changelog},
|
176
170
|
"opscode-pushy-client" => %w{changelog},
|
177
171
|
"cookstyle" => %w{changelog},
|
178
|
-
}
|
172
|
+
}
|
179
173
|
),
|
180
174
|
App.new(
|
181
175
|
"chef-vault",
|
@@ -253,7 +247,7 @@ class Updater
|
|
253
247
|
Dir.chdir(chefdk.join("embedded/apps")) do
|
254
248
|
Tempfile.open("appbundle-updater") do |tempfile|
|
255
249
|
tempfile.binmode
|
256
|
-
open(git_url) do |uri|
|
250
|
+
URI.open(git_url) do |uri|
|
257
251
|
tempfile.write(uri.read)
|
258
252
|
end
|
259
253
|
tempfile.close
|
@@ -280,6 +274,11 @@ class Updater
|
|
280
274
|
ruby(cmd)
|
281
275
|
end
|
282
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
|
+
|
283
282
|
banner("Installing gem")
|
284
283
|
Dir.chdir(app_dir) do
|
285
284
|
Array(install_commands).each do |command|
|
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.
|
4
|
+
version: 1.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lamont-granquist
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-16 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.
|
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
|