unobtainium 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/unobtainium/driver.rb +5 -3
- data/lib/unobtainium/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 869c9481a4c19f67aad597d81ea044008012a2a3
|
4
|
+
data.tar.gz: 61af815e9e9ec60a432966efd2b0c7348848341f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e1309efacab5bd98dcb243eba59f3c8327537d5006449d73ed68e3d78e2112936386ac4f2bb635fa9e9d636389cfc4123ac79a7a2feebb3c0b52247d654d100
|
7
|
+
data.tar.gz: e7a91f3b0a399159d691bed04a0648967cdd16835041c2aec8e4dfa454c5a66e3f3cfb8bee7db273a1cc49bab2b06274f99ba7b6a08ecd87b228adf2b7484ae5
|
data/Gemfile.lock
CHANGED
data/lib/unobtainium/driver.rb
CHANGED
@@ -89,9 +89,11 @@ module Unobtainium
|
|
89
89
|
|
90
90
|
label = label.to_sym
|
91
91
|
|
92
|
-
if not opts.nil?
|
93
|
-
|
94
|
-
"
|
92
|
+
if not opts.nil?
|
93
|
+
if not (opts.is_a? Hash or opts.is_a? ::Unobtainium::PathedHash)
|
94
|
+
raise ArgumentError, "The second argument is expected to be an "\
|
95
|
+
"options Hash!"
|
96
|
+
end
|
95
97
|
end
|
96
98
|
|
97
99
|
# Get the driver class.
|
data/lib/unobtainium/version.rb
CHANGED