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 +4 -4
- data/lib/epom/epom_element.rb +4 -1
- data/lib/epom/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: de76ed6f81793b6bf7024321950a7d7c77dc64af
|
4
|
+
data.tar.gz: 64dd2afefdb9d5d911e6cd804ce2074261d6f22a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c6d0e3a96b5e7c789dcbe4c0e466f7e9e7a28fe03d81fe76fe5dff5bb21db2a328bc5aff0aa65c3854130495be6553bfd0d5cf3e4afa550a82fc7cb4917841b
|
7
|
+
data.tar.gz: 2756c798cc6024055b63145c476cfe8fc36808c8f2fa6883a150e8ecdd733a80ae0a5ed4e3bddd12658bf3a808d5de54ba2090c5010b6ab56067e772325b1936
|
data/lib/epom/epom_element.rb
CHANGED
@@ -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
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:
|
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-
|
13
|
+
date: 2015-06-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|