access 2.1.4 → 2.1.5

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: 73dae6ba48782ac182c803faf3b32946e5ccf347
4
- data.tar.gz: f4acbf76316afa454ca78bbcf261f901f5502840
3
+ metadata.gz: 76d1e2ca0154a69bf049b713bbb307c2b6408073
4
+ data.tar.gz: 22beeaccc5e200444e55efb271d03dea2b967afe
5
5
  SHA512:
6
- metadata.gz: 42336dfd090bab3ea414711d0599f82c19c8760d4998244979b25f2110c8ef976996768039d078e9f86feaa3fb1aedb04dd50febe05d1ffd744c700f128dfe35
7
- data.tar.gz: e872178071446e9862493a7a7646bdde6cc02f693a22671acbdc12f7c65887d84415b34cfb75f010dddcfc80fc877f80082b75f92ba0af47a9d84163eeb39061
6
+ metadata.gz: f8d8f3553493cb63e14436a90ec54de4746a4fa8a5f84c02a48e2bb9d8216dc436a2dcb4b652431443393b64ee0451df3890a72964c50dfabf91b856a67c0eea
7
+ data.tar.gz: 6b076d91356adfad88dcba89d1821793c343d198a3be9c42342cfdba590453bbf8df7f0f07f29323af4e03eb25cd6841483277b9642b3df3feb55b285458273f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- access (2.1.4)
4
+ access (2.1.5)
5
5
  hashie (~> 3.3.1)
6
6
  httparty (~> 0.13.3)
7
7
 
@@ -55,7 +55,7 @@ GEM
55
55
  minitest (5.8.4)
56
56
  minitest-focus (1.1.2)
57
57
  minitest (>= 4, < 6)
58
- multi_xml (0.5.5)
58
+ multi_xml (0.6.0)
59
59
  nenv (0.2.0)
60
60
  netrc (0.11.0)
61
61
  notiffany (0.0.8)
data/lib/access/hotel.rb CHANGED
@@ -17,10 +17,7 @@ module Access
17
17
  end
18
18
 
19
19
  def self.process_batch(chunk)
20
- chunk.map do |hotel|
21
- JSON.parse(hotel.to_json, object_class: OpenStruct)
22
- end
20
+ chunk = JSON.parse(chunk.to_json, object_class: OpenStruct)
23
21
  end
24
-
25
22
  end
26
23
  end
@@ -1,4 +1,4 @@
1
1
  module Access
2
- VERSION = "2.1.4"
2
+ VERSION = "2.1.5"
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.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett