epom 0.7 → 0.7.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: d3fee8ba5c0b34b8cb4bfd75b7d515ea3b7f6ea9
4
- data.tar.gz: ad87daee2a63a66bc872cadb40ae6b5ab303b81a
3
+ metadata.gz: de76ed6f81793b6bf7024321950a7d7c77dc64af
4
+ data.tar.gz: 64dd2afefdb9d5d911e6cd804ce2074261d6f22a
5
5
  SHA512:
6
- metadata.gz: d612e6b3b7d6b11b70c0f4bd16a121f2f5fb73d5863dcc603a39ba5c5306a50bbfd585557420c306e98e338102cca47b10aa00b3ba141c66ef03e024e0c9a990
7
- data.tar.gz: ef5418b65af7755c8577bc3cd75468b25d7e016596460d677112c40d6da82056c85e5dc5c931e8a1d0453025d4c22375d16167099d6c7163795c4c963b9fb784
6
+ metadata.gz: 9c6d0e3a96b5e7c789dcbe4c0e466f7e9e7a28fe03d81fe76fe5dff5bb21db2a328bc5aff0aa65c3854130495be6553bfd0d5cf3e4afa550a82fc7cb4917841b
7
+ data.tar.gz: 2756c798cc6024055b63145c476cfe8fc36808c8f2fa6883a150e8ecdd733a80ae0a5ed4e3bddd12658bf3a808d5de54ba2090c5010b6ab56067e772325b1936
@@ -26,7 +26,10 @@ module Epom
26
26
  signature = extended_methods[method_name]
27
27
  url_params_signature = signature[:url_parameters]
28
28
  body_params_signature = signature[:body_parameters]
29
- url_signature = signature[:url]
29
+ url_signature = signature[:url]
30
+
31
+ url_params.symbolize_keys! if url_params.is_a? Hash
32
+ body_params.symbolize_keys! if body_params.is_a? Hash
30
33
 
31
34
  url = replace_params_in_url(url_signature, url_params)
32
35
  method = signature[:method]
data/lib/epom/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Epom
2
- VERSION = '0.7'
2
+ VERSION = '0.7.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epom
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Quintero
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-06-04 00:00:00.000000000 Z
13
+ date: 2015-06-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails