chef-infra-api 0.10.5 → 0.10.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: bfaf820214bff244dc5bbb0141182eeabd4ff439253b7a927657f147ca9eac85
4
- data.tar.gz: 00711733d13ca6c69da8e13394f5843756939e7c2b2c1bd4e19404ae70864bcc
3
+ metadata.gz: 93414a4eeec6fdb16fbccda6e9b4c5f320d9e2dbd6f498a3076ac309eea0a36a
4
+ data.tar.gz: 12c5c174fc5473780ec0dae6605ffbe403fd8f2057c8c401366a36e0326c8878
5
5
  SHA512:
6
- metadata.gz: 374c0aab76e5adea28152eada7c80898e3655e901bf10c29a681b40b45613968ba16e62065b7e242b2d54070645f9b760d6acdd374227999f3b88755408f52bf
7
- data.tar.gz: 57f70faea407c62265676ec1cf1ee67d3f35a73d7446ca85105b3129a37824bb00a9707aa34ec997fccc30706d61a6e2c29cf5eaa887575a88f08bf0db1e8746
6
+ metadata.gz: 2c135a436d049f88163b759c8e02e845b2fee55a2b844c1192b108396b09c9be0b2d1fb3679fcc1b76d0ca29da4bea1a83da81bc44d7755009814fc72fb815d7
7
+ data.tar.gz: 3517d220d50b1b4ceac637fad1a80beeadad9db05224d8557ab0cafb6842b890561c8e5563fc26b78438e8f41caedbb4f276ba8554fad4359a626bb32cc95554
@@ -15,7 +15,7 @@ module ChefAPI
15
15
  value = resource._attributes[attribute]
16
16
 
17
17
  if value && !types.any? { |type| value.is_a?(type) }
18
- short_name = type.to_s.split("::").last
18
+ short_name = types.to_s.split("::").last
19
19
  resource.errors.add(attribute, "must be a kind of #{short_name}")
20
20
  end
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module ChefAPI
2
- VERSION = "0.10.5".freeze
2
+ VERSION = "0.10.7".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-infra-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.5
4
+ version: 0.10.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Vargo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-01-29 00:00:00.000000000 Z
12
+ date: 2020-06-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-log