booking_locations 0.9.1 → 0.10.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: 5f1d354c714f0cd4160637ca0e83a2f3a210f842
4
- data.tar.gz: 7e5cb2f64e07122f7b77cb11a67e13efea9aea1c
3
+ metadata.gz: 5f7ea1ca1b2145a56d5836d0b721e2dfac5d7f8b
4
+ data.tar.gz: 59289e2f04cc95e9df12445f620fd67ab1435852
5
5
  SHA512:
6
- metadata.gz: cc7af6bff06d5c3b1d22252c23aa76a3afd848033d0e7aa66f67c18b53115945df41636215593506ac6245510ba41f8d8bf3e3e57f69c2368da5e767be35f909
7
- data.tar.gz: d94e73dbeacdb0d888ddfe505154674011ff9845c67b00aa59aa7ccd9196f7bfc617e00c7fa9567396323096d69d87b43e817531126f3dd3c63c6d24df9f7cc7
6
+ metadata.gz: 9d6894c9994426e97a642f463284eeef6a2cccbab562ed622f6b7b372570691b110a5906a7b763ec3399d2fe7fe12b56f82373faf4ac0f9536a9db947e54d5da
7
+ data.tar.gz: baa48ec0ae216ada01f208ce52b16c6cff999ae8de26de99f1bd77f9259c7ff83f0cc35f19d53d7d5d944b7fd18a1a9a0e24b928a85461a0bd645d914e83ac8e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.10.0
2
+
3
+ * Add `Location#hidden` flag and predicate
4
+
1
5
  ## 0.9.1
2
6
 
3
7
  * Respect TTL options
@@ -29,6 +29,11 @@ module BookingLocations
29
29
  @data['online_booking_twilio_number']
30
30
  end
31
31
 
32
+ def hidden
33
+ @data['hidden']
34
+ end
35
+ alias :hidden? :hidden
36
+
32
37
  def locations
33
38
  @locations ||= @data['locations'].map { |child_data| Location.new(child_data) }
34
39
  end
@@ -4,6 +4,7 @@
4
4
  "name": "Hackney",
5
5
  "address": "Hackney Citizens Advice, 300 Mare St, Hackney, London, E8 1HE",
6
6
  "online_booking_twilio_number": "+442086291134",
7
+ "hidden": false,
7
8
  "slots": [
8
9
  {
9
10
  "date": "2016-06-20",
@@ -292,6 +293,7 @@
292
293
  "name": "Dalston",
293
294
  "address": "22 Dalston Lane, Hackney, London, E8 3AZ",
294
295
  "online_booking_twilio_number": "",
296
+ "hidden": false,
295
297
  "slots": [
296
298
  {
297
299
  "date": "2016-06-20",
@@ -311,6 +313,7 @@
311
313
  "name": "Enfield",
312
314
  "address": "Unit 3, Vincent House, 2E Nags Head Road, Ponders End, Enfield, Middlesex, EN3 7FN",
313
315
  "online_booking_twilio_number": null,
316
+ "hidden": true,
314
317
  "slots": [
315
318
  {
316
319
  "date": "2016-06-20",
@@ -600,6 +603,7 @@
600
603
  "name": "Haringey",
601
604
  "address": "551B Tottenham High Road, Haringey, London, N17 6SB",
602
605
  "online_booking_twilio_number": null,
606
+ "hidden": false,
603
607
  "slots": [
604
608
  {
605
609
  "date": "2016-06-20",
@@ -889,6 +893,7 @@
889
893
  "name": "Newham",
890
894
  "address": "20 Freemasons Road, London, E16 3NA",
891
895
  "online_booking_twilio_number": "",
896
+ "hidden": false,
892
897
  "slots": [
893
898
  {
894
899
  "date": "2016-06-20",
@@ -1178,6 +1183,7 @@
1178
1183
  "name": "Tower Hamlets",
1179
1184
  "address": "32 Greatorex Street, Tower Hamlets, London, E1 5NP",
1180
1185
  "online_booking_twilio_number": null,
1186
+ "hidden": false,
1181
1187
  "slots": [
1182
1188
  {
1183
1189
  "date": "2016-06-20",
@@ -1,3 +1,3 @@
1
1
  module BookingLocations
2
- VERSION = '0.9.1'.freeze
2
+ VERSION = '0.10.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,117 +1,117 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booking_locations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.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-03-08 00:00:00.000000000 Z
11
+ date: 2017-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4'
20
- - - "<"
20
+ - - <
21
21
  - !ruby/object:Gem::Version
22
22
  version: '5.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
27
+ - - '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '4'
30
- - - "<"
30
+ - - <
31
31
  - !ruby/object:Gem::Version
32
32
  version: '5.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: globalid
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
37
+ - - '>='
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ">="
44
+ - - '>='
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.12'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ~>
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.12'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ~>
66
66
  - !ruby/object:Gem::Version
67
67
  version: '10.0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ~>
73
73
  - !ruby/object:Gem::Version
74
74
  version: '10.0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rspec
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - "~>"
79
+ - - ~>
80
80
  - !ruby/object:Gem::Version
81
81
  version: '3.0'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - "~>"
86
+ - - ~>
87
87
  - !ruby/object:Gem::Version
88
88
  version: '3.0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: vcr
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - "~>"
93
+ - - ~>
94
94
  - !ruby/object:Gem::Version
95
95
  version: '3.0'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - "~>"
100
+ - - ~>
101
101
  - !ruby/object:Gem::Version
102
102
  version: '3.0'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: webmock
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - "~>"
107
+ - - ~>
108
108
  - !ruby/object:Gem::Version
109
109
  version: '2.1'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - "~>"
114
+ - - ~>
115
115
  - !ruby/object:Gem::Version
116
116
  version: '2.1'
117
117
  description:
@@ -121,9 +121,9 @@ executables: []
121
121
  extensions: []
122
122
  extra_rdoc_files: []
123
123
  files:
124
- - ".gitignore"
125
- - ".rspec"
126
- - ".travis.yml"
124
+ - .gitignore
125
+ - .rspec
126
+ - .travis.yml
127
127
  - CHANGELOG.md
128
128
  - Gemfile
129
129
  - LICENSE.txt
@@ -149,17 +149,17 @@ require_paths:
149
149
  - lib
150
150
  required_ruby_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - ">="
152
+ - - '>='
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - '>='
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
161
  rubyforge_project:
162
- rubygems_version: 2.5.2
162
+ rubygems_version: 2.0.14.1
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Pension Guidance Booking Locations API adapter