booking_locations 0.22.0 → 0.23.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
  SHA256:
3
- metadata.gz: b657a28dac4fa006ead401a06b2b3219b872f122e8d31ecf092880a29d33ece2
4
- data.tar.gz: 1973a452daa8c5ba97d7726ce3dec709399580992007dee757c789a1926d8280
3
+ metadata.gz: 601c24bf745982fa3cdc100ff2475ef902d124e060f62cde3160d857fad3fd78
4
+ data.tar.gz: 36caf7203a46967adc76263864c09f95c5d9121bd4de8b72f0fa2c15985e19ac
5
5
  SHA512:
6
- metadata.gz: 32e9bc8f1fed80d45dbdb1eecfce2e706f7e79a0ff8d84e683239550ca4b6f2b77aac335e411353f22a70422c7c150f83c75dc023bafff0b3125cce96497675b
7
- data.tar.gz: cf9041afbac2ada7bfe1409908e7cebd013d0fb9e510d3e34293e917459c7bc166385cfe870bad4cbe70326dd924fc22155a2c0486459b597719331439f29116
6
+ metadata.gz: 3ee40459d4244cd488e284a892a1e93b3eb8fe2f836a91b3be2822436310b638cf71f24a26bf82f18bceb267825f78e724376517781957ddd040698b1bda4973
7
+ data.tar.gz: c06817d3c8949bf65becc926df61a67ddc15d2f956ee07f1cdb154880a2765cd3b4a30dd04c4504d88debc005b977eaedaf1654036fb31fbf9803afcdc0271c6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.23.0
2
+
3
+ * Added `organisation` for lookups
4
+
1
5
  ## 0.22.0
2
6
 
3
7
  * Added `realtime` flag to locations to signify realtime pilot enrolment
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_runtime_dependency 'activesupport', '>= 4', '<= 6'
22
22
  spec.add_runtime_dependency 'globalid'
23
23
 
24
- spec.add_development_dependency 'bundler', '~> 1.12'
24
+ spec.add_development_dependency 'bundler', '>= 1.12'
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
26
26
  spec.add_development_dependency 'rspec', '~> 3.0'
27
27
  spec.add_development_dependency 'vcr', '~> 3.0'
@@ -52,6 +52,10 @@ module BookingLocations
52
52
  end
53
53
  alias :realtime? :realtime
54
54
 
55
+ def organisation
56
+ @data['organisation']
57
+ end
58
+
55
59
  def locations
56
60
  @locations ||= @data['locations'].map { |child_data| Location.new(child_data) }
57
61
  end
@@ -8,6 +8,7 @@
8
8
  "online_booking_weekends": false,
9
9
  "hidden": false,
10
10
  "realtime": true,
11
+ "organisation": "cita",
11
12
  "locations": [
12
13
  {
13
14
  "uid": "183080c6-642b-4b8f-96fd-891f5cd9f9c7",
@@ -18,6 +19,7 @@
18
19
  "online_booking_weekends": true,
19
20
  "hidden": false,
20
21
  "realtime": false,
22
+ "organisation": "cita",
21
23
  "slots": [
22
24
  {
23
25
  "date": "2016-06-20",
@@ -40,6 +42,7 @@
40
42
  "online_booking_weekends": false,
41
43
  "hidden": true,
42
44
  "realtime": false,
45
+ "organisation": "cita",
43
46
  "locations": []
44
47
  },
45
48
  {
@@ -50,6 +53,7 @@
50
53
  "online_booking_weekends": false,
51
54
  "hidden": false,
52
55
  "realtime": false,
56
+ "organisation": "cita",
53
57
  "locations": []
54
58
  },
55
59
  {
@@ -61,6 +65,7 @@
61
65
  "online_booking_reply_to": "dave@example.com",
62
66
  "hidden": false,
63
67
  "realtime": false,
68
+ "organisation": "cita",
64
69
  "locations": []
65
70
  },
66
71
  {
@@ -72,6 +77,7 @@
72
77
  "online_booking_reply_to": "dave@example.com",
73
78
  "hidden": false,
74
79
  "realtime": false,
80
+ "organisation": "cita",
75
81
  "locations": []
76
82
  }
77
83
  ],
@@ -1,3 +1,3 @@
1
1
  module BookingLocations
2
- VERSION = '0.22.0'.freeze
2
+ VERSION = '0.23.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.22.0
4
+ version: 0.23.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: 2018-10-31 00:00:00.000000000 Z
11
+ date: 2019-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -48,14 +48,14 @@ dependencies:
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
@@ -157,8 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  requirements: []
160
- rubyforge_project:
161
- rubygems_version: 2.7.7
160
+ rubygems_version: 3.0.1
162
161
  signing_key:
163
162
  specification_version: 4
164
163
  summary: Pension Guidance Booking Locations API adapter