access 2.1.2 → 2.1.3

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: 6363f359072bfc4474ab11e29041a23edfa0e845
4
- data.tar.gz: 28aefee60d0da7c8319ba41523f4c2b42f811db0
3
+ metadata.gz: 71db8d9207f71736ae2b5fa668a855d10eee4d5c
4
+ data.tar.gz: 7910f148aec5e47cf517eabbe14808a44c79a6a6
5
5
  SHA512:
6
- metadata.gz: f4f3bc8cefd862de06c8e5e9145c549bedd4958dc4c13ad7fc68bca3a438d14604315c6dc1f4e68ea8bf3b48323327f42377c7a835cd546e7e6d3067b4d8d6ec
7
- data.tar.gz: 0b81ec0c3785143bfcb369a24851219bd88fb84538d156c80f1eee8ec79910b0d4cedbf2ff67d24f9866fa80b268ebdf47307793bfa56e9964c33deaacbd0c37
6
+ metadata.gz: 09ac9967dd80be96b4858ea24ecb7ecc3e5466134cba64cb45069cb00907b7ab8fd20aa39fc2505632d561a0d15f07a1e7c00919e797633761ed9d780a1a7890
7
+ data.tar.gz: 0c6a40a7ada08d4cf3012f036275a5eedd822aef6dcf5a6f5d29b30da5f8bf2273558f2206d5a924dfd7870f014c4414be9da3a20aa7d77eb867f855295dfe10
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- access (2.1.2)
4
+ access (2.1.3)
5
5
  hashie (~> 3.3.1)
6
6
  httparty (~> 0.13.3)
7
7
 
@@ -17,7 +17,9 @@ module Access
17
17
  end
18
18
 
19
19
  def self.process_batch(chunk)
20
- chunk.map { |hotel| new(hotel) }
20
+ chunk.map do |hotel|
21
+ JSON.parse(hotel.to_json, object_class: OpenStruct)
22
+ end
21
23
  end
22
24
 
23
25
  end
@@ -1,4 +1,4 @@
1
1
  module Access
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: access
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-02-09 00:00:00.000000000 Z
13
+ date: 2017-02-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler