http_api_builder 0.2.1 → 0.2.2

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: 7796e8b7a9fbd8fc64f84beae8ec2ad6236a24e8
4
- data.tar.gz: bc5a8197c6efa397d9024edb66866fdef3585af0
3
+ metadata.gz: 523e286569e92c9ac943a7d3fc0c985d27cd37bf
4
+ data.tar.gz: 4aa788219c64c7c59c9ca3905b1de37fce5bbec4
5
5
  SHA512:
6
- metadata.gz: 0ffbe2cc2866b2ed138fc96a01bf4865882d7b1f9865b06a1e1ba308dba1d7a63b2d5f5c8477ddb92e141b014193364e181b897d0646d49cc9bcbff9c8495654
7
- data.tar.gz: abfa56a2491c0806f2067c498bc761c9b92c128de982508ccc293d552d0e18b6b96c379cd44a89c2ef106e316b4fe7573484cfd13b8f1dec4becdb1203978c79
6
+ metadata.gz: f62f4f82d40d7fdb6cd2663524e47327318ca3a91f428cbb80e8b443eec9926000d124359ae6dc8169ad4823ab8829aaedd3539dfe10c058c97268110b4d90a6
7
+ data.tar.gz: d565433c4d53f9802c3d110aa48cd6921c5aabd8ddefdb94f9468ec0ef0f272d530bcdec313dcb26587ba8be8210e3133ab88b18c97dee3ec1a708204d6f7cf4
@@ -88,6 +88,7 @@ module HttpApiBuilder
88
88
  required, optional = Hash(params).values_at(*%i(required optional)).map { |list| Array(list) }
89
89
 
90
90
  required += interpolated_params(path)
91
+ optional += %i(form body json)
91
92
 
92
93
  [required, optional]
93
94
  end
@@ -1,3 +1,3 @@
1
1
  module HttpApiBuilder
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.2.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_api_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Sandberg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-07 00:00:00.000000000 Z
11
+ date: 2016-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler