apidiesel 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apidiesel/dsl.rb +1 -1
- data/lib/apidiesel/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: 798839eabb874dd1436557c30354b5db5c34cbeb
|
4
|
+
data.tar.gz: a32a71d7c332df16d34adefdbcf210de2ae7797f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a49d3ba3ca856b677049a6f7f42901a04962624ab7fd04a8d2054283c6db0d571076546120a549976b4a1ab702c036423877842ed7668fc9c7014a188724ace
|
7
|
+
data.tar.gz: 327efab8c20eb431b8f410d85613a64ceeb8e2493312b36882f0d5c9ef992efb57c6d05dcc1865d1e35b396b3881226631d0c7a6cad44fb69486cc722369859f
|
data/lib/apidiesel/dsl.rb
CHANGED
@@ -140,7 +140,7 @@ module Apidiesel
|
|
140
140
|
end
|
141
141
|
|
142
142
|
unless options.has_key?(:optional) && options[:optional] == true
|
143
|
-
raise Apidiesel::InputError, "missing arg: #{param_name} - options: #{options.inspect}" unless given_params.has_key?(param_name) && !given_params[param_name].
|
143
|
+
raise Apidiesel::InputError, "missing arg: #{param_name} - options: #{options.inspect}" unless given_params.has_key?(param_name) && !given_params[param_name].nil?
|
144
144
|
raise Apidiesel::InputError, "invalid arg #{param_name}: must respond to #{duck_typing_check}" unless given_params[param_name].respond_to?(duck_typing_check)
|
145
145
|
end
|
146
146
|
|
data/lib/apidiesel/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apidiesel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan-Christian Foeh
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|