appbundle-updater 1.0.0 → 1.0.1
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 +4 -4
- data/CHANGELOG.md +11 -6
- data/VERSION +1 -1
- data/bin/appbundle-updater +8 -5
- 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: 564359a1965489389eb212b845717d8480be3a2ff50e2d2cd8afe1735ac862cc
|
|
4
|
+
data.tar.gz: 2f656821e47524973a202db4df04fb09b0237263bc4ab775d24700045575349c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0506654561257d24974015a4caa82aaff2efbd5b3ec29c8892914de8cc9edcc0dd7ff71cdbc81457249f851bfc80c19f742397ab059ca0d98a79d1b2ea3e4b2d
|
|
7
|
+
data.tar.gz: bcbe64103bbb307cb722b2b128b2653aa836b0048e9eb0e82a690dad1c437155ddf889b6cda95b94537e382815d0e89175655232e67b1f15790c172832d4cd53
|
data/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
# appbundle-updater Change Log
|
|
2
2
|
|
|
3
|
-
<!-- latest_release 1.0.
|
|
4
|
-
## [v1.0.
|
|
3
|
+
<!-- latest_release 1.0.1 -->
|
|
4
|
+
## [v1.0.1](https://github.com/chef/appbundle-updater/tree/v1.0.1) (2020-03-12)
|
|
5
5
|
|
|
6
6
|
#### Merged Pull Requests
|
|
7
|
-
-
|
|
7
|
+
- more chef-15 updates [#49](https://github.com/chef/appbundle-updater/pull/49) ([lamont-granquist](https://github.com/lamont-granquist))
|
|
8
8
|
<!-- latest_release -->
|
|
9
9
|
|
|
10
|
-
<!-- release_rollup since=0.
|
|
10
|
+
<!-- release_rollup since=1.0.0 -->
|
|
11
11
|
### Changes not yet released to rubygems.org
|
|
12
12
|
|
|
13
13
|
#### Merged Pull Requests
|
|
14
|
-
-
|
|
14
|
+
- more chef-15 updates [#49](https://github.com/chef/appbundle-updater/pull/49) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 1.0.1 -->
|
|
15
15
|
<!-- release_rollup -->
|
|
16
16
|
|
|
17
17
|
<!-- latest_stable_release -->
|
|
18
|
+
## [v1.0.0](https://github.com/chef/appbundle-updater/tree/v1.0.0) (2020-03-11)
|
|
19
|
+
|
|
20
|
+
#### Merged Pull Requests
|
|
21
|
+
- Time to add chef-15 support [#48](https://github.com/chef/appbundle-updater/pull/48) ([lamont-granquist](https://github.com/lamont-granquist))
|
|
22
|
+
<!-- latest_stable_release -->
|
|
23
|
+
|
|
18
24
|
## [v0.6.18](https://github.com/chef/appbundle-updater/tree/v0.6.18) (2020-03-11)
|
|
19
25
|
|
|
20
26
|
#### Merged Pull Requests
|
|
21
27
|
- need output logging so that we can debug [#47](https://github.com/chef/appbundle-updater/pull/47) ([lamont-granquist](https://github.com/lamont-granquist))
|
|
22
|
-
<!-- latest_stable_release -->
|
|
23
28
|
|
|
24
29
|
## [v0.6.17](https://github.com/chef/appbundle-updater/tree/v0.6.17) (2019-09-30)
|
|
25
30
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.1
|
data/bin/appbundle-updater
CHANGED
|
@@ -119,7 +119,7 @@ def extract_tgz(file, destination = ".")
|
|
|
119
119
|
end
|
|
120
120
|
end
|
|
121
121
|
|
|
122
|
-
App = Struct.new(:name, :repo, :bundle_without, :
|
|
122
|
+
App = Struct.new(:name, :repo, :bundle_without, :install_commands, :gems) do
|
|
123
123
|
def initialize(*)
|
|
124
124
|
super
|
|
125
125
|
self.gems ||= {}
|
|
@@ -147,8 +147,8 @@ CHEFDK_APPS = [
|
|
|
147
147
|
App.new(
|
|
148
148
|
"chef",
|
|
149
149
|
"chef/chef",
|
|
150
|
-
"
|
|
151
|
-
|
|
150
|
+
"server docgen maintenance pry travis integration ci chefstyle",
|
|
151
|
+
chef_install_command,
|
|
152
152
|
{
|
|
153
153
|
"chef" => %w{server docgen maintenance pry travis integration ci chefstyle},
|
|
154
154
|
"chef-bin" => %w{server docgen maintenance pry travis integration ci chefstyle},
|
|
@@ -216,7 +216,7 @@ CHEFDK_APPS = [
|
|
|
216
216
|
].freeze
|
|
217
217
|
|
|
218
218
|
class Updater
|
|
219
|
-
attr_reader :app, :ref, :tarball, :repo, :gems
|
|
219
|
+
attr_reader :app, :ref, :tarball, :repo, :gems, :install_commands
|
|
220
220
|
|
|
221
221
|
def initialize(options)
|
|
222
222
|
@app = options[:app]
|
|
@@ -226,6 +226,7 @@ class Updater
|
|
|
226
226
|
@binstubs_source = options[:binstubs_source]
|
|
227
227
|
@repo = options[:repo] || @app.repo
|
|
228
228
|
@gems = @app.gems
|
|
229
|
+
@install_commands = @app.install_commands
|
|
229
230
|
end
|
|
230
231
|
|
|
231
232
|
def start
|
|
@@ -281,7 +282,9 @@ class Updater
|
|
|
281
282
|
|
|
282
283
|
banner("Installing gem")
|
|
283
284
|
Dir.chdir(app_dir) do
|
|
284
|
-
|
|
285
|
+
Array(install_commands).each do |command|
|
|
286
|
+
ruby("#{bin_dir.join("bundle")} exec #{command}")
|
|
287
|
+
end
|
|
285
288
|
end
|
|
286
289
|
|
|
287
290
|
banner("Updating appbundler binstubs for #{app}")
|
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.1
|
|
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-03-
|
|
11
|
+
date: 2020-03-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Updates appbundled apps in Chef's omnibus packages
|
|
14
14
|
email:
|