booking_locations 0.7.0 → 0.8.0

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: e21d6d7dd8d0605ce1cc161bfdf356941e871a13
4
- data.tar.gz: 45a994f2f0d82f1a3abe32abae0a29a5a8e4f2f9
3
+ metadata.gz: a873242d81c7d05488a1ae18ef6a89d31e3095a0
4
+ data.tar.gz: adce4f4d06952171f8291046e4913994eb7a0059
5
5
  SHA512:
6
- metadata.gz: 63ad6eab0cb8304dea688ceb4b2bb612b56e90854f3a335c699fa14a0b2d04c28936e86dd565e4d5079826f1f7ff2a1d9f288422e8d36dc5baf3ad9309c10384
7
- data.tar.gz: 6659630aba73ba48afe4aa529401079c1fd36b6d78e9a4b7b0569083a4cfeacb71c0786f940349a788b58d95894680543ea017dfb4cbdf893a77c3f6f0ef12d7
6
+ metadata.gz: 1aacec82c910c409945de5db76e67e30fb52fca991739e62dac23f8a1d86b79ef54ba3eee217b5f14a7fcffae322039e24dbc24dc0b73ce21ac66cd103e2d8fd
7
+ data.tar.gz: 845cf87f96b71c0fb0f7e62ddf5173b8e8bf83c84ec441c0d263f8840dca11dcb2a6f4f7f6bf67e34874f7e148431abed84d45b60c98d8176e8ffc347d24b1a8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.8.0
2
+
3
+ * Guard against missing or outdated location names
4
+
1
5
  ## 0.7.0
2
6
 
3
7
  * Add stubbed responses for Taunton and children
@@ -52,7 +52,8 @@ module BookingLocations
52
52
  end
53
53
 
54
54
  def name_for(location_id)
55
- location_for(location_id).name
55
+ found = location_for(location_id)
56
+ found ? found.name : ''
56
57
  end
57
58
  end
58
59
  end
@@ -1,3 +1,3 @@
1
1
  module BookingLocations
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.8.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.7.0
4
+ version: 0.8.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: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2017-02-14 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.4
162
+ rubygems_version: 2.6.10
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Pension Guidance Booking Locations API adapter