eps-rapid 1.1.0 → 1.1.1

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
  SHA256:
3
- metadata.gz: dcd0be2a6d1af3b238c2ec17798b45c5ad65d8ef70bdb191fcad9d18981646ae
4
- data.tar.gz: 509b3b7ddda1704f4ef624319caa554cf5cfc764d2863502447d62515509a216
3
+ metadata.gz: dc10b72e908f67d2630c4bb05da316deac026236f69e89bad022ec15261d45b0
4
+ data.tar.gz: 75596457d5dd06fcf8848c541a98b18dd12254ef02aa687f4e7ed58665c6a506
5
5
  SHA512:
6
- metadata.gz: 6b687c4e03a0e12afd35605d2ab68c106acd5ffa5271a3f20c0ddf05bd7e9a1b4c1f1d9a06e1fe8c8751f87dd076a254715b12af3274940b5f43926c645e661e
7
- data.tar.gz: 48c5da42c39b792eaba211f574bac1d73a8ed1c318885fe37ba56ab1559897ddf6d5b85b1f3ed967dc0dd55bfbd5b2d3e10ea5e959aeb8791b7dd954fa849b51
6
+ metadata.gz: d279f495a833daf3580c455fc0e869444bbeb79a070eef82685c216bbfae7812d79921e0879e5a017ba107b85446f4ad5600537235b401974232389f2fb08165
7
+ data.tar.gz: a16627fe849a0ee30130eaf5bc3afeb194aafbe94da2ebd7f8b51574f0b01295439d5ec2f8fab1faf3ecc4d8792f6f5efefc2d51d405bf805384beaca63309e3
data/CHANGELOG.MD CHANGED
@@ -25,3 +25,6 @@
25
25
  # Added
26
26
  - add request and response logging
27
27
  - 204 responses returns hash
28
+ ### Version 1.1.1
29
+ # Patched
30
+ - support for multi-value params, i.e. `property_id: [1234, 2345]` is translated to `property_id=1234&property_id=2345`
@@ -59,8 +59,10 @@ module EpsRapid
59
59
  params[k] =
60
60
  if k == :occupancy
61
61
  v.to_s.tr(' ', '').split(';')
62
- else
62
+ elsif v.is_a?(String) || v.is_a?(Symbol) || v.is_a?(Integer)
63
63
  v.to_s.tr(' ', '').split(',')
64
+ else
65
+ v
64
66
  end
65
67
  end
66
68
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EpsRapid
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eps-rapid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Leonenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-16 00:00:00.000000000 Z
11
+ date: 2021-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
- rubygems_version: 3.2.3
94
+ rubygems_version: 3.2.22
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Ruby wrapper for the expediapartnersolutions.com api