appbundle-updater 1.0.1 → 1.0.6

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: 564359a1965489389eb212b845717d8480be3a2ff50e2d2cd8afe1735ac862cc
4
- data.tar.gz: 2f656821e47524973a202db4df04fb09b0237263bc4ab775d24700045575349c
3
+ metadata.gz: 9a53986875f10f903beebb1f94792bad155512ca54e467be0bd8ff3dea1f199f
4
+ data.tar.gz: 95446fe1f52af383d31fa0c12b264ba29b47bb7642773c1a421d6bbc805718eb
5
5
  SHA512:
6
- metadata.gz: 0506654561257d24974015a4caa82aaff2efbd5b3ec29c8892914de8cc9edcc0dd7ff71cdbc81457249f851bfc80c19f742397ab059ca0d98a79d1b2ea3e4b2d
7
- data.tar.gz: bcbe64103bbb307cb722b2b128b2653aa836b0048e9eb0e82a690dad1c437155ddf889b6cda95b94537e382815d0e89175655232e67b1f15790c172832d4cd53
6
+ metadata.gz: 55dd93c052162572c636c7cfb68e46ae9789325ac0ff2ce4d748b7de28d5ba0273d6ee70a09c2e5c327631f521ad5b75257ba32ee0a83d0fd7963a146a8027b8
7
+ data.tar.gz: 1289a47d0067e8c36b8a1be0e9b16573b377a0011033127e73ea092e9e7c40287662a9207731b46133919e1d46235444d4dfb72cf35cd6b92264b2841e4b2b43
@@ -1,25 +1,50 @@
1
1
  # appbundle-updater Change Log
2
2
 
3
- <!-- latest_release 1.0.1 -->
4
- ## [v1.0.1](https://github.com/chef/appbundle-updater/tree/v1.0.1) (2020-03-12)
3
+ <!-- latest_release 1.0.6 -->
4
+ ## [v1.0.6](https://github.com/chef/appbundle-updater/tree/v1.0.6) (2020-05-29)
5
5
 
6
6
  #### Merged Pull Requests
7
- - more chef-15 updates [#49](https://github.com/chef/appbundle-updater/pull/49) ([lamont-granquist](https://github.com/lamont-granquist))
7
+ - Just use `rake install` on windows [#55](https://github.com/chef/appbundle-updater/pull/55) ([lamont-granquist](https://github.com/lamont-granquist))
8
8
  <!-- latest_release -->
9
9
 
10
- <!-- release_rollup since=1.0.0 -->
10
+ <!-- release_rollup since=1.0.5 -->
11
11
  ### Changes not yet released to rubygems.org
12
12
 
13
13
  #### Merged Pull Requests
14
- - more chef-15 updates [#49](https://github.com/chef/appbundle-updater/pull/49) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 1.0.1 -->
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 -->
15
15
  <!-- release_rollup -->
16
16
 
17
17
  <!-- latest_stable_release -->
18
+ ## [v1.0.5](https://github.com/chef/appbundle-updater/tree/v1.0.5) (2020-05-29)
19
+
20
+ #### Merged Pull Requests
21
+ - 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
+
24
+ ## [v1.0.4](https://github.com/chef/appbundle-updater/tree/v1.0.4) (2020-04-28)
25
+
26
+ #### Merged Pull Requests
27
+ - update gem groups in appbundler [#53](https://github.com/chef/appbundle-updater/pull/53) ([lamont-granquist](https://github.com/lamont-granquist))
28
+
29
+ ## [v1.0.3](https://github.com/chef/appbundle-updater/tree/v1.0.3) (2020-03-12)
30
+
31
+ #### Merged Pull Requests
32
+ - fix a local variable [#51](https://github.com/chef/appbundle-updater/pull/51) ([lamont-granquist](https://github.com/lamont-granquist))
33
+
34
+ ## [v1.0.2](https://github.com/chef/appbundle-updater/tree/v1.0.2) (2020-03-12)
35
+
36
+ #### Merged Pull Requests
37
+ - omit the right groups for ohai [#50](https://github.com/chef/appbundle-updater/pull/50) ([lamont-granquist](https://github.com/lamont-granquist))
38
+
39
+ ## [v1.0.1](https://github.com/chef/appbundle-updater/tree/v1.0.1) (2020-03-12)
40
+
41
+ #### Merged Pull Requests
42
+ - more chef-15 updates [#49](https://github.com/chef/appbundle-updater/pull/49) ([lamont-granquist](https://github.com/lamont-granquist))
43
+
18
44
  ## [v1.0.0](https://github.com/chef/appbundle-updater/tree/v1.0.0) (2020-03-11)
19
45
 
20
46
  #### Merged Pull Requests
21
47
  - 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
48
 
24
49
  ## [v0.6.18](https://github.com/chef/appbundle-updater/tree/v0.6.18) (2020-03-11)
25
50
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.6
@@ -130,12 +130,7 @@ App = Struct.new(:name, :repo, :bundle_without, :install_commands, :gems) do
130
130
  end
131
131
  end
132
132
 
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
133
+ chef_install_command = "#{bin_dir.join("bundle")} exec #{bin_dir.join("rake")} install"
139
134
 
140
135
  CHEFDK_APPS = [
141
136
  App.new(
@@ -150,10 +145,10 @@ CHEFDK_APPS = [
150
145
  "server docgen maintenance pry travis integration ci chefstyle",
151
146
  chef_install_command,
152
147
  {
153
- "chef" => %w{server docgen maintenance pry travis integration ci chefstyle},
154
- "chef-bin" => %w{server docgen maintenance pry travis integration ci chefstyle},
155
- "ohai" => %w{server docgen maintenance pry travis integration ci chefstyle},
156
- "inspec-core-bin" => %w{server docgen maintenance pry travis integration ci chefstyle},
148
+ "chef" => %w{docgen chefstyle},
149
+ "chef-bin" => %w{development},
150
+ "ohai" => %w{development docs debug},
151
+ "inspec-core-bin" => %w{development},
157
152
  },
158
153
  ),
159
154
  App.new(
@@ -204,7 +199,7 @@ CHEFDK_APPS = [
204
199
  App.new(
205
200
  "ohai",
206
201
  "chef/ohai",
207
- "ci docs debug",
202
+ "development docs debug",
208
203
  "#{bin_dir.join("rake")} install"
209
204
  ),
210
205
  App.new(
@@ -253,7 +248,7 @@ class Updater
253
248
  Dir.chdir(chefdk.join("embedded/apps")) do
254
249
  Tempfile.open("appbundle-updater") do |tempfile|
255
250
  tempfile.binmode
256
- open(git_url) do |uri|
251
+ URI.open(git_url) do |uri|
257
252
  tempfile.write(uri.read)
258
253
  end
259
254
  tempfile.close
@@ -283,7 +278,7 @@ class Updater
283
278
  banner("Installing gem")
284
279
  Dir.chdir(app_dir) do
285
280
  Array(install_commands).each do |command|
286
- ruby("#{bin_dir.join("bundle")} exec #{command}")
281
+ ruby(command)
287
282
  end
288
283
  end
289
284
 
@@ -299,7 +294,7 @@ class Updater
299
294
  gems.each do |gem_name, without|
300
295
  Dir.chdir(app_dir) do
301
296
  cmd = "#{bin_dir.join("appbundler")} #{app_dir} #{chefdk.join("bin")} #{gem_name}"
302
- cmd += " --without #{@without.join(",")}" if @without
297
+ cmd += " --without #{without.join(",")}" if without
303
298
  cmd += " --extra-bin-files #{@extra_bin_files}" if @extra_bin_files
304
299
  cmd += " --binstubs-source #{@binstubs_source}" if @binstubs_source
305
300
  ruby(cmd)
@@ -1,3 +1,3 @@
1
1
  module AppbundleUpdater
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.0.6".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.1
4
+ version: 1.0.6
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-12 00:00:00.000000000 Z
11
+ date: 2020-05-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Updates appbundled apps in Chef's omnibus packages
14
14
  email: