chef-apply 0.2.6 → 0.2.7

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: c8d853e1c158ec3b6ce056d71d1db2dd7b5e3d2129ed24f9626fade5ce2583a1
4
- data.tar.gz: d24fca5e1fc663c302f98dc8af0ac61fc3336c8ec4525bdb659c89e75f5976c5
3
+ metadata.gz: 3e2f46675530f16ea27c8c904908a8ee62517fd2a99f4867144b8c1fd278dbfb
4
+ data.tar.gz: 8685d7c464efb4e1e82e6bd622b6ddaf2a0c69cc565bfe33eb96b0eb8401bf0e
5
5
  SHA512:
6
- metadata.gz: 1f5a02be69dfd7d8dc9d06070097ec11cd5e678470eb706855edf193c42d6724081ff87376b3c8547f1f6c3e849800f49d95a9bc0964bb341d1125655d8a8e1f
7
- data.tar.gz: de781e8bbf8edb453577692c2070d1a188d39318c052302c9a5ddf1d07d714e886b4c9daf15f2a93babb9d65c73ab0b70fbf09f50d0605e5c3e6142c64cd91e3
6
+ metadata.gz: 8bc8196cf13a7c3267a8e6a6ca510fde2d2546cdbab7feb22be96c028f42bde99b40fbf5756af0f494bc336cc3b8d9026f647a7b456251d67a4bae755939f8f5
7
+ data.tar.gz: ce2a6f9260a7ae8fe6022bdd9f957e64a44798de34467ea4b74a0950a438c9b1a978bd8f002f58323c19ee4d09daf169fd75b674e2d3311817bc75838d3431d2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chef-apply (0.2.6)
4
+ chef-apply (0.2.7)
5
5
  chef (>= 14.0)
6
6
  chef-dk (>= 3.0)
7
7
  chef-telemetry
@@ -21,13 +21,13 @@ GEM
21
21
  addressable (2.5.2)
22
22
  public_suffix (>= 2.0.2, < 4.0)
23
23
  ast (2.4.0)
24
- aws-sdk (2.11.200)
25
- aws-sdk-resources (= 2.11.200)
26
- aws-sdk-core (2.11.200)
24
+ aws-sdk (2.11.209)
25
+ aws-sdk-resources (= 2.11.209)
26
+ aws-sdk-core (2.11.209)
27
27
  aws-sigv4 (~> 1.0)
28
28
  jmespath (~> 1.0)
29
- aws-sdk-resources (2.11.200)
30
- aws-sdk-core (= 2.11.200)
29
+ aws-sdk-resources (2.11.209)
30
+ aws-sdk-core (= 2.11.209)
31
31
  aws-sigv4 (1.0.3)
32
32
  azure_graph_rbac (0.17.0)
33
33
  ms_rest_azure (~> 0.11.0)
@@ -39,10 +39,10 @@ GEM
39
39
  debug_inspector (>= 0.0.1)
40
40
  builder (3.2.3)
41
41
  byebug (10.0.2)
42
- chef (14.8.12)
42
+ chef (14.9.13)
43
43
  addressable
44
44
  bundler (>= 1.10)
45
- chef-config (= 14.8.12)
45
+ chef-config (= 14.9.13)
46
46
  chef-zero (>= 13.0)
47
47
  diff-lcs (~> 1.2, >= 1.2.4)
48
48
  erubis (~> 2.7)
@@ -50,7 +50,7 @@ GEM
50
50
  ffi-yajl (~> 2.2)
51
51
  highline (~> 1.6, >= 1.6.9)
52
52
  iniparse (~> 1.4)
53
- mixlib-archive (~> 0.4)
53
+ mixlib-archive (>= 0.4, < 2.0)
54
54
  mixlib-authentication (~> 2.1)
55
55
  mixlib-cli (~> 1.7)
56
56
  mixlib-log (~> 2.0, >= 2.0.3)
@@ -69,7 +69,7 @@ GEM
69
69
  specinfra (~> 2.10)
70
70
  syslog-logger (~> 1.6)
71
71
  uuidtools (~> 2.1.5)
72
- chef-config (14.8.12)
72
+ chef-config (14.9.13)
73
73
  addressable
74
74
  fuzzyurl
75
75
  mixlib-config (>= 2.2.12, < 3.0)
@@ -97,7 +97,7 @@ GEM
97
97
  winrm (~> 2.0)
98
98
  winrm-elevated (~> 1.0)
99
99
  winrm-fs (~> 1.0)
100
- chef-telemetry (0.1.7)
100
+ chef-telemetry (0.1.8)
101
101
  chef-config
102
102
  concurrent-ruby (~> 1.0)
103
103
  ffi-yajl (~> 2.2)
@@ -111,8 +111,8 @@ GEM
111
111
  cheffish (14.0.4)
112
112
  chef-zero (~> 14.0)
113
113
  net-ssh
114
- chefstyle (0.11.0)
115
- rubocop (= 0.55.0)
114
+ chefstyle (0.12.0)
115
+ rubocop (= 0.62.0)
116
116
  citrus (3.0.2)
117
117
  coderay (1.1.2)
118
118
  concurrent-ruby (1.1.4)
@@ -174,6 +174,7 @@ GEM
174
174
  inifile (3.0.0)
175
175
  iniparse (1.4.4)
176
176
  ipaddress (0.8.3)
177
+ jaro_winkler (1.5.2)
177
178
  jmespath (1.4.0)
178
179
  json (2.1.0)
179
180
  jwt (2.1.0)
@@ -239,8 +240,8 @@ GEM
239
240
  wmi-lite (~> 1.0)
240
241
  os (1.0.0)
241
242
  paint (1.0.1)
242
- parallel (1.12.1)
243
- parser (2.5.3.0)
243
+ parallel (1.13.0)
244
+ parser (2.6.0.0)
244
245
  ast (~> 2.4.0)
245
246
  pastel (0.7.2)
246
247
  equatable (~> 0.5.0)
@@ -263,7 +264,7 @@ GEM
263
264
  r18n-core (= 3.2.0)
264
265
  rack (2.0.6)
265
266
  rainbow (3.0.0)
266
- rake (12.3.1)
267
+ rake (12.3.2)
267
268
  representable (3.0.4)
268
269
  declarative (< 0.1.0)
269
270
  declarative-option (< 0.2.0)
@@ -288,13 +289,14 @@ GEM
288
289
  rspec_junit_formatter (0.2.3)
289
290
  builder (< 4)
290
291
  rspec-core (>= 2, < 4, != 2.12.0)
291
- rubocop (0.55.0)
292
+ rubocop (0.62.0)
293
+ jaro_winkler (~> 1.5.1)
292
294
  parallel (~> 1.10)
293
- parser (>= 2.5)
295
+ parser (>= 2.5, != 2.5.1.1)
294
296
  powerpack (~> 0.1)
295
297
  rainbow (>= 2.2.2, < 4.0)
296
298
  ruby-progressbar (~> 1.7)
297
- unicode-display_width (~> 1.0, >= 1.0.1)
299
+ unicode-display_width (~> 1.4.0)
298
300
  ruby-progressbar (1.10.0)
299
301
  rubyntlm (0.6.2)
300
302
  rubyzip (1.2.2)
@@ -318,7 +320,7 @@ GEM
318
320
  solve (4.0.2)
319
321
  molinillo (~> 0.6)
320
322
  semverse (>= 1.1, < 4.0)
321
- specinfra (2.76.6)
323
+ specinfra (2.76.9)
322
324
  net-scp
323
325
  net-ssh (>= 2.7)
324
326
  net-telnet (= 0.1.1)
@@ -353,7 +355,7 @@ GEM
353
355
  unf (0.1.4)
354
356
  unf_ext
355
357
  unf_ext (0.0.7.5)
356
- unicode-display_width (1.4.0)
358
+ unicode-display_width (1.4.1)
357
359
  uuidtools (2.1.5)
358
360
  winrm (2.3.1)
359
361
  builder (>= 2.1.2)
@@ -372,7 +374,7 @@ GEM
372
374
  logging (>= 1.6.1, < 3.0)
373
375
  rubyzip (~> 1.1)
374
376
  winrm (~> 2.0)
375
- wmi-lite (1.0.1)
377
+ wmi-lite (1.0.2)
376
378
 
377
379
  PLATFORMS
378
380
  ruby
@@ -390,4 +392,4 @@ DEPENDENCIES
390
392
  simplecov
391
393
 
392
394
  BUNDLED WITH
393
- 1.17.2
395
+ 1.17.3
@@ -20,7 +20,7 @@ require "chef_apply/error"
20
20
  module ChefApply
21
21
  class CLI
22
22
  module Validation
23
- PROPERTY_MATCHER = /^([a-zA-Z0-9_]+)=(.+)$/
23
+ PROPERTY_MATCHER = /^([a-zA-Z0-9_]+)=(.+)$/.freeze
24
24
  CB_MATCHER = '[\w\-]+'.freeze
25
25
 
26
26
  # The first param is always hostname. Then we either have
@@ -111,7 +111,7 @@ module ChefApply
111
111
  # This uses a greedy match (.*) to get include every character
112
112
  # up to the last "[" in PREFIX
113
113
  # $1 - prefix; $2 - x, $3 - y, $4 unproccessed/remaining text
114
- TARGET_WITH_RANGE = /^(.*)\[([\p{Alnum}]+):([\p{Alnum}]+)\](.*)/
114
+ TARGET_WITH_RANGE = /^(.*)\[([\p{Alnum}]+):([\p{Alnum}]+)\](.*)/.freeze
115
115
 
116
116
  def do_parse(targets, depth = 0)
117
117
  raise TooManyRanges.new(@current_target) if depth > 2
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module ChefApply
19
- VERSION = "0.2.6".freeze
19
+ VERSION = "0.2.7".freeze
20
20
  end
@@ -336,7 +336,7 @@ RSpec.describe ChefApply::TargetResolver do
336
336
 
337
337
  context "#config_for_target" do
338
338
  { "example.com" => { password: nil, url: "ssh://example.com", user: nil },
339
- "ssh://example.com" => { password: nil, url: "ssh://example.com", user: nil },
339
+ "ssh://example.com" => { password: nil, url: "ssh://example.com", user: nil },
340
340
  "ssh://user@example.com" => { password: nil, url: "ssh://example.com", user: "user" },
341
341
  "ssh://user:password@example.com" => { password: "password", user: "user", url: "ssh://example.com" },
342
342
  "ssh://user:pas:sw:ord@example.com" => { password: "pas:sw:ord", user: "user", url: "ssh://example.com" },
@@ -182,7 +182,7 @@ RSpec.describe ChefApply::Telemeter do
182
182
  installation_id: "0000",
183
183
  run_timestamp: subject.run_timestamp,
184
184
  host_platform: host_platform,
185
- event_data: { hello: "world" },
185
+ event_data: { hello: "world" },
186
186
  },
187
187
  }
188
188
  expect(payload).to eq expected_payload
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-apply
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-07 00:00:00.000000000 Z
11
+ date: 2019-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-cli