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 +4 -4
- data/lib/chef-api/validators/type.rb +1 -1
- data/lib/chef-api/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: 93414a4eeec6fdb16fbccda6e9b4c5f320d9e2dbd6f498a3076ac309eea0a36a
|
4
|
+
data.tar.gz: 12c5c174fc5473780ec0dae6605ffbe403fd8f2057c8c401366a36e0326c8878
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 =
|
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
|
data/lib/chef-api/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2020-06-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mixlib-log
|