apidiesel 0.3 → 0.4

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: bfb34fa51d6af7ae15a45c3886e85f56bfe12faa
4
- data.tar.gz: 509b195c1cc17324c7f8b5c84526e1e759001ec5
3
+ metadata.gz: 6ad7d5b465285922003cc57eccb72038b375c75c
4
+ data.tar.gz: 0596b828ea08db72ebd61f639ba841c87e6c0b49
5
5
  SHA512:
6
- metadata.gz: 4cc7ba3308ef13073c3c8b2d10dcf4c945467bbd6830fb7b8735618639a05a417e7a689e9e5591a3cd3c9f557742d0f9033dcaa3fd384283f598878de7e9f932
7
- data.tar.gz: ca568384a06cf4f011414d57aa54ac06e137a8999fde0b8bd27bccc180da99adebbae3120837a95a5622eae1727d8805a1bff0ee92f43cfe81e76aacff704244
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
@@ -1,3 +1,3 @@
1
1
  module Apidiesel
2
- VERSION = "0.3"
2
+ VERSION = "0.4"
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.3'
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-17 00:00:00.000000000 Z
11
+ date: 2015-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport