apidiesel 0.3 → 0.4
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 +4 -0
- 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: 6ad7d5b465285922003cc57eccb72038b375c75c
|
4
|
+
data.tar.gz: 0596b828ea08db72ebd61f639ba841c87e6c0b49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 043d45dc54a38e89fc2db032e1c80d330593bcb9e294561b4e369faa7525d1b7b900da7d94a9c3e3d08e03e516380a54c22532982ece9cdad824f3ae6bd05b9a
|
7
|
+
data.tar.gz: 759975abff6380be79a66423f3c9ef7397ca560287d57aa269a4b5281e06e771be129a63dbcc7f09b4648787fa16d3146603efb241df578ae35464370c31866f
|
data/lib/apidiesel/dsl.rb
CHANGED
@@ -431,6 +431,10 @@ module Apidiesel
|
|
431
431
|
end
|
432
432
|
end
|
433
433
|
|
434
|
+
%w{value string integer float hash array datetime objects symbol}.each do |name|
|
435
|
+
define_method "x_#{name}".to_sym, ->(*args, **kargs, &block) { }
|
436
|
+
end
|
437
|
+
|
434
438
|
# Descends into the hash key hierarchy
|
435
439
|
#
|
436
440
|
# Useful for cutting out useless top-level keys
|
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.
|
4
|
+
version: '0.4'
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|