jerakia 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jerakia/datasource.rb +2 -2
- data/lib/jerakia/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f73ffc339b00893e3f6cd0821d5571bd8341af92
|
|
4
|
+
data.tar.gz: 8ca161791a470335b1f4d36bec29a4e38821bf71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a40caa27f56a2f0f650b6941cd3041334029bb6105896a8d6e779ed9b971740023b0ed98d08f8dc087933e9ee99b7225f85194f0ea3d2ae0b02dd907a96e9cf
|
|
7
|
+
data.tar.gz: cf8fb3c40e56f1bda28f4cfc7346616b9941f3d779240f67718fe37797c23e2ce0cf4efd9f85e0c2f3f31b59f88091e5e80ad59552b0581e74807286679f487f
|
data/lib/jerakia/datasource.rb
CHANGED
|
@@ -29,8 +29,8 @@ class Jerakia::Datasource
|
|
|
29
29
|
Jerakia.crit "#{opt} must be configured in #{whoami}" if data[:mandatory]
|
|
30
30
|
else
|
|
31
31
|
if data[:type]
|
|
32
|
-
|
|
33
|
-
Jerakia.crit "#{opt} is a #{opt.class} but must be a #{data[:type].to_s} in #{whoami}"
|
|
32
|
+
if Array(data[:type]).select { |t| @options[opt].is_a?(t) }.empty?
|
|
33
|
+
Jerakia.crit "#{opt} is a #{@options[opt].class} but must be a #{data[:type].to_s} in #{whoami}"
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
end
|
data/lib/jerakia/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jerakia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Craig Dunn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|