booking_locations 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ module BookingLocations
19
19
  def get(id)
20
20
  return nil unless KNOWN_LOCATION_IDS.include?(id)
21
21
 
22
- yield json.find { |location| location["uid"] == id }
22
+ yield json.first
23
23
  end
24
24
 
25
25
  private
@@ -1,3 +1,3 @@
1
1
  module BookingLocations
2
- VERSION = '0.8.0'.freeze
2
+ VERSION = '0.9.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booking_locations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lovell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-14 00:00:00.000000000 Z
11
+ date: 2017-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  requirements: []
161
161
  rubyforge_project:
162
- rubygems_version: 2.6.10
162
+ rubygems_version: 2.5.2
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Pension Guidance Booking Locations API adapter