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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc38c5462173a101679a559137ac31f25acc30d3b967a6fdd3ee3eb69d72fccd
4
- data.tar.gz: 418c9085c5d1bd752c9ad6ac560b28145f4d67f75ed0967f034a3742fec3f2bd
3
+ metadata.gz: bf2dee565eddae6071d8b98b2f01503ef4657abe37e905cf715fa2570591b5e8
4
+ data.tar.gz: bee1d05088c64ff5e2d7194a6177dc56fe8912129582d2fd3d5ffcbaa083b239
5
5
  SHA512:
6
- metadata.gz: 4e8d197d1d45bc63180b98311ad186280680c0c4cca83e4c78d5b2a44100e8ea3111c1acb049d5f48615177c8c0bc30adf14ce6a7d95ea505f61bf9867f0b93c
7
- data.tar.gz: 91600e577f7efff406192626ae214ea5b18d65ea106f43c32dc8269c50ab6c4481259e2e14140037a6e2058f32daa2367ef57bd1132a4256c8fc57dd29429fb7
6
+ metadata.gz: '086dedd9f71c4e144fe87970f0b3ded59fe02ec4bc19893e181d44f45b4b7f56ac9aa04e924b6538491200dd567c532a5211d11a4386e78e432106fb7a43701d'
7
+ data.tar.gz: 88870fda11fd3fd4c5f4518a409670db4630c4735651a227502bc88f36ff9ec8d927ae90719d64bd8347ac0e39e5bd975a48cb001de46fb6844ad7f8b29542fe
@@ -1,25 +1,50 @@
1
1
  # appbundle-updater Change Log
2
2
 
3
- <!-- latest_release 1.0.3 -->
4
- ## [v1.0.3](https://github.com/chef/appbundle-updater/tree/v1.0.3) (2020-03-12)
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
- - fix a local variable [#51](https://github.com/chef/appbundle-updater/pull/51) ([lamont-granquist](https://github.com/lamont-granquist))
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.2 -->
10
+ <!-- release_rollup since=1.0.7 -->
11
11
  ### Changes not yet released to rubygems.org
12
12
 
13
13
  #### Merged Pull Requests
14
- - fix a local variable [#51](https://github.com/chef/appbundle-updater/pull/51) ([lamont-granquist](https://github.com/lamont-granquist)) <!-- 1.0.3 -->
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&#39;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
@@ -9,7 +9,7 @@ group :docs do
9
9
  end
10
10
 
11
11
  group :test do
12
- gem "chefstyle"
12
+ gem "chefstyle", "1.2.1"
13
13
  gem "rake"
14
14
  end
15
15
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.8
@@ -1,4 +1,3 @@
1
- # coding: utf-8
2
1
  lib = File.expand_path("../lib", __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require "appbundle_updater/version"
@@ -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 travis integration ci chefstyle",
144
+ "server docgen maintenance pry integration ci chefstyle profile",
151
145
  chef_install_command,
152
146
  {
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{development docs ci debug},
156
- "inspec-core-bin" => %w{server docgen maintenance pry travis integration ci chefstyle},
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
- "ci docs debug",
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("#{bin_dir.join("bundle")} exec #{command}")
280
+ ruby(command)
287
281
  end
288
282
  end
289
283
 
@@ -1,3 +1,3 @@
1
1
  module AppbundleUpdater
2
- VERSION = "1.0.3".freeze
2
+ VERSION = "1.0.8".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.3
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-03-12 00:00:00.000000000 Z
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: