appbundle-updater 1.0.2 → 1.0.7
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 +12 -18
- 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: 03a4beb737db0d1727e2c78be7d74f567bf6d26a7540e9f9cf6233ea8880bd10
|
4
|
+
data.tar.gz: 0d250658f71c862973f6e7d6c1dc40c73c70af38ac0c99ea021b298e35723001
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f40d0bfc636c8dd066af1215e786ba0c2dccc0ea1073a5913f24cf48a25de948cc86c9ae19a20f0ab2c1a5f9111ee04f8114f266edc69ceb16144584e8563a0e
|
7
|
+
data.tar.gz: d102a63c776642e0c58a6966775e6e5257de2c9d947972ae7d5beb77e311afbc5d72abf060dbb30e939be2b743edd0447994cccdde37b44609c137a0e239e7f9
|
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.7 -->
|
4
|
+
## [v1.0.7](https://github.com/chef/appbundle-updater/tree/v1.0.7) (2020-08-11)
|
5
5
|
|
6
6
|
#### Merged Pull Requests
|
7
|
-
-
|
7
|
+
- Make sure we don't even install profile gem groups [#56](https://github.com/chef/appbundle-updater/pull/56) ([tas50](https://github.com/tas50))
|
8
8
|
<!-- latest_release -->
|
9
9
|
|
10
|
-
<!-- release_rollup since=1.0.
|
10
|
+
<!-- release_rollup since=1.0.6 -->
|
11
11
|
### Changes not yet released to rubygems.org
|
12
12
|
|
13
13
|
#### Merged Pull Requests
|
14
|
-
-
|
14
|
+
- Make sure we don't even install profile gem groups [#56](https://github.com/chef/appbundle-updater/pull/56) ([tas50](https://github.com/tas50)) <!-- 1.0.7 -->
|
15
15
|
<!-- release_rollup -->
|
16
16
|
|
17
17
|
<!-- latest_stable_release -->
|
18
|
+
## [v1.0.6](https://github.com/chef/appbundle-updater/tree/v1.0.6) (2020-05-29)
|
19
|
+
|
20
|
+
#### Merged Pull Requests
|
21
|
+
- 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
|
+
|
24
|
+
## [v1.0.5](https://github.com/chef/appbundle-updater/tree/v1.0.5) (2020-05-29)
|
25
|
+
|
26
|
+
#### Merged Pull Requests
|
27
|
+
- switch from `open` to `URI.open` [#54](https://github.com/chef/appbundle-updater/pull/54) ([lamont-granquist](https://github.com/lamont-granquist))
|
28
|
+
|
29
|
+
## [v1.0.4](https://github.com/chef/appbundle-updater/tree/v1.0.4) (2020-04-28)
|
30
|
+
|
31
|
+
#### Merged Pull Requests
|
32
|
+
- update gem groups in appbundler [#53](https://github.com/chef/appbundle-updater/pull/53) ([lamont-granquist](https://github.com/lamont-granquist))
|
33
|
+
|
34
|
+
## [v1.0.3](https://github.com/chef/appbundle-updater/tree/v1.0.3) (2020-03-12)
|
35
|
+
|
36
|
+
#### Merged Pull Requests
|
37
|
+
- fix a local variable [#51](https://github.com/chef/appbundle-updater/pull/51) ([lamont-granquist](https://github.com/lamont-granquist))
|
38
|
+
|
39
|
+
## [v1.0.2](https://github.com/chef/appbundle-updater/tree/v1.0.2) (2020-03-12)
|
40
|
+
|
41
|
+
#### Merged Pull Requests
|
42
|
+
- omit the right groups for ohai [#50](https://github.com/chef/appbundle-updater/pull/50) ([lamont-granquist](https://github.com/lamont-granquist))
|
43
|
+
|
18
44
|
## [v1.0.1](https://github.com/chef/appbundle-updater/tree/v1.0.1) (2020-03-12)
|
19
45
|
|
20
46
|
#### Merged Pull Requests
|
21
47
|
- more chef-15 updates [#49](https://github.com/chef/appbundle-updater/pull/49) ([lamont-granquist](https://github.com/lamont-granquist))
|
22
|
-
<!-- latest_stable_release -->
|
23
48
|
|
24
49
|
## [v1.0.0](https://github.com/chef/appbundle-updater/tree/v1.0.0) (2020-03-11)
|
25
50
|
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.7
|
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},
|
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
|
|
@@ -299,7 +293,7 @@ class Updater
|
|
299
293
|
gems.each do |gem_name, without|
|
300
294
|
Dir.chdir(app_dir) do
|
301
295
|
cmd = "#{bin_dir.join("appbundler")} #{app_dir} #{chefdk.join("bin")} #{gem_name}"
|
302
|
-
cmd += " --without #{
|
296
|
+
cmd += " --without #{without.join(",")}" if without
|
303
297
|
cmd += " --extra-bin-files #{@extra_bin_files}" if @extra_bin_files
|
304
298
|
cmd += " --binstubs-source #{@binstubs_source}" if @binstubs_source
|
305
299
|
ruby(cmd)
|
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.7
|
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-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Updates appbundled apps in Chef's omnibus packages
|
14
14
|
email:
|