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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0256dcb12c516843f4cd830fc7f8d6e6fa18ee9
4
- data.tar.gz: 1b1ff9e98627ca94e302a23e9fe88ac02962745d
3
+ metadata.gz: 869c9481a4c19f67aad597d81ea044008012a2a3
4
+ data.tar.gz: 61af815e9e9ec60a432966efd2b0c7348848341f
5
5
  SHA512:
6
- metadata.gz: 300c4af9f0ab8d9558a0d7bbb6a7915c9daba4ee419460df199465b129832931bb7189022bf98a747f2bca1494330233548f92a6a8db77baf13d265fa7cc5cca
7
- data.tar.gz: d10fce97363e2777e1a1aad0e6dd31bbc7135b800685b2a43eda1f689be6b54bcfaa9cb9f7af6200e567b825b52015b26df5f9db68621aa7bf88efd30422e2a3
6
+ metadata.gz: 1e1309efacab5bd98dcb243eba59f3c8327537d5006449d73ed68e3d78e2112936386ac4f2bb635fa9e9d636389cfc4123ac79a7a2feebb3c0b52247d654d100
7
+ data.tar.gz: e7a91f3b0a399159d691bed04a0648967cdd16835041c2aec8e4dfa454c5a66e3f3cfb8bee7db273a1cc49bab2b06274f99ba7b6a08ecd87b228adf2b7484ae5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unobtainium (0.3.4)
4
+ unobtainium (0.3.5)
5
5
  sys-proctable (~> 1.0)
6
6
 
7
7
  GEM
@@ -89,9 +89,11 @@ module Unobtainium
89
89
 
90
90
  label = label.to_sym
91
91
 
92
- if not opts.nil? and not opts.is_a? Hash
93
- raise ArgumentError, "The second argument is expected to be an "\
94
- "options Hash!"
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.
@@ -8,5 +8,5 @@
8
8
  #
9
9
  module Unobtainium
10
10
  # The current release version
11
- VERSION = "0.3.4".freeze
11
+ VERSION = "0.3.5".freeze
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unobtainium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Finkhaeuser