appbundle-updater 1.0.3 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +31 -6
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/appbundle-updater.gemspec +0 -1
- data/bin/appbundle-updater +11 -17
- data/lib/appbundle_updater/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf2dee565eddae6071d8b98b2f01503ef4657abe37e905cf715fa2570591b5e8
|
4
|
+
data.tar.gz: bee1d05088c64ff5e2d7194a6177dc56fe8912129582d2fd3d5ffcbaa083b239
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '086dedd9f71c4e144fe87970f0b3ded59fe02ec4bc19893e181d44f45b4b7f56ac9aa04e924b6538491200dd567c532a5211d11a4386e78e432106fb7a43701d'
|
7
|
+
data.tar.gz: 88870fda11fd3fd4c5f4518a409670db4630c4735651a227502bc88f36ff9ec8d927ae90719d64bd8347ac0e39e5bd975a48cb001de46fb6844ad7f8b29542fe
|
data/CHANGELOG.md
CHANGED
@@ -1,25 +1,50 @@
|
|
1
1
|
# appbundle-updater Change Log
|
2
2
|
|
3
|
-
<!-- latest_release 1.0.
|
4
|
-
## [v1.0.
|
3
|
+
<!-- latest_release 1.0.8 -->
|
4
|
+
## [v1.0.8](https://github.com/chef/appbundle-updater/tree/v1.0.8) (2020-08-12)
|
5
5
|
|
6
6
|
#### Merged Pull Requests
|
7
|
-
-
|
7
|
+
- Add profile to ohai specifically [#57](https://github.com/chef/appbundle-updater/pull/57) ([tas50](https://github.com/tas50))
|
8
8
|
<!-- latest_release -->
|
9
9
|
|
10
|
-
<!-- release_rollup since=1.0.
|
10
|
+
<!-- release_rollup since=1.0.7 -->
|
11
11
|
### Changes not yet released to rubygems.org
|
12
12
|
|
13
13
|
#### Merged Pull Requests
|
14
|
-
-
|
14
|
+
- Add profile to ohai specifically [#57](https://github.com/chef/appbundle-updater/pull/57) ([tas50](https://github.com/tas50)) <!-- 1.0.8 -->
|
15
15
|
<!-- release_rollup -->
|
16
16
|
|
17
17
|
<!-- latest_stable_release -->
|
18
|
+
## [v1.0.7](https://github.com/chef/appbundle-updater/tree/v1.0.7) (2020-08-11)
|
19
|
+
|
20
|
+
#### Merged Pull Requests
|
21
|
+
- Make sure we don't even install profile gem groups [#56](https://github.com/chef/appbundle-updater/pull/56) ([tas50](https://github.com/tas50))
|
22
|
+
<!-- latest_stable_release -->
|
23
|
+
|
24
|
+
## [v1.0.6](https://github.com/chef/appbundle-updater/tree/v1.0.6) (2020-05-29)
|
25
|
+
|
26
|
+
#### Merged Pull Requests
|
27
|
+
- Just use `rake install` on windows [#55](https://github.com/chef/appbundle-updater/pull/55) ([lamont-granquist](https://github.com/lamont-granquist))
|
28
|
+
|
29
|
+
## [v1.0.5](https://github.com/chef/appbundle-updater/tree/v1.0.5) (2020-05-29)
|
30
|
+
|
31
|
+
#### Merged Pull Requests
|
32
|
+
- switch from `open` to `URI.open` [#54](https://github.com/chef/appbundle-updater/pull/54) ([lamont-granquist](https://github.com/lamont-granquist))
|
33
|
+
|
34
|
+
## [v1.0.4](https://github.com/chef/appbundle-updater/tree/v1.0.4) (2020-04-28)
|
35
|
+
|
36
|
+
#### Merged Pull Requests
|
37
|
+
- update gem groups in appbundler [#53](https://github.com/chef/appbundle-updater/pull/53) ([lamont-granquist](https://github.com/lamont-granquist))
|
38
|
+
|
39
|
+
## [v1.0.3](https://github.com/chef/appbundle-updater/tree/v1.0.3) (2020-03-12)
|
40
|
+
|
41
|
+
#### Merged Pull Requests
|
42
|
+
- fix a local variable [#51](https://github.com/chef/appbundle-updater/pull/51) ([lamont-granquist](https://github.com/lamont-granquist))
|
43
|
+
|
18
44
|
## [v1.0.2](https://github.com/chef/appbundle-updater/tree/v1.0.2) (2020-03-12)
|
19
45
|
|
20
46
|
#### Merged Pull Requests
|
21
47
|
- omit the right groups for ohai [#50](https://github.com/chef/appbundle-updater/pull/50) ([lamont-granquist](https://github.com/lamont-granquist))
|
22
|
-
<!-- latest_stable_release -->
|
23
48
|
|
24
49
|
## [v1.0.1](https://github.com/chef/appbundle-updater/tree/v1.0.1) (2020-03-12)
|
25
50
|
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.8
|
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("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
|
-
"chef" => %w{
|
154
|
-
"chef-bin" => %w{
|
155
|
-
"ohai" => %w{development docs
|
156
|
-
"inspec-core-bin" => %w{
|
157
|
-
}
|
147
|
+
"chef" => %w{docgen chefstyle},
|
148
|
+
"chef-bin" => %w{development},
|
149
|
+
"ohai" => %w{development docs debug profile},
|
150
|
+
"inspec-core-bin" => %w{development},
|
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",
|
@@ -204,7 +198,7 @@ CHEFDK_APPS = [
|
|
204
198
|
App.new(
|
205
199
|
"ohai",
|
206
200
|
"chef/ohai",
|
207
|
-
"
|
201
|
+
"development docs debug",
|
208
202
|
"#{bin_dir.join("rake")} install"
|
209
203
|
),
|
210
204
|
App.new(
|
@@ -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
|
@@ -283,7 +277,7 @@ class Updater
|
|
283
277
|
banner("Installing gem")
|
284
278
|
Dir.chdir(app_dir) do
|
285
279
|
Array(install_commands).each do |command|
|
286
|
-
ruby(
|
280
|
+
ruby(command)
|
287
281
|
end
|
288
282
|
end
|
289
283
|
|
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.8
|
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-
|
11
|
+
date: 2020-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Updates appbundled apps in Chef's omnibus packages
|
14
14
|
email:
|