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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94c0a261f4ccfcd6025dfde175bc042a418928b3
4
- data.tar.gz: f34f072965617508439a5c676dd04f5fc43c3304
3
+ metadata.gz: 798839eabb874dd1436557c30354b5db5c34cbeb
4
+ data.tar.gz: a32a71d7c332df16d34adefdbcf210de2ae7797f
5
5
  SHA512:
6
- metadata.gz: d8f8bb9bd49c8b4ce07c0f22c390d32a82119561f9fc437adf24f954b7ea983cb4c802b43c9c5c3c5c55fff7522bd3a5dedcc09d7d12ff6983a1adfa3a70a96f
7
- data.tar.gz: bd2b116e023ff02f989f633f3c806b320b12e4716950ac4d529a23011c4c11d5bdd72a380736e3d9329dc468597e1306c115c6f24717bab846541c95b1c447ec
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].blank?
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
 
@@ -1,3 +1,3 @@
1
1
  module Apidiesel
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.2
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 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport