cineworld_uk 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b133655c1c0ad6c7645b40f58d71467086548717
4
- data.tar.gz: 40dcfc563dc86fdf8d182747f4901b55693a4c56
3
+ metadata.gz: 057f14d21c241b1d950ee5e92297cc793fb1e3fb
4
+ data.tar.gz: df72907051519d650f718e3f603f1ee2eaa75c02
5
5
  SHA512:
6
- metadata.gz: 83c9ef91f405d2e1ebf73eef8bdb1ae1dbedaabe489b5328bd3f654c9f9f0fdc78d21ad00c3fe9608095e13a178fd14ca131be34b2702de525832724b20d9c11
7
- data.tar.gz: ca27029caee988faa8ef91b7486ba3482e0ecc477ad27879c851405c71ff301b2504b1f3f570c2add81c3e8ba8b0734dba5a2991605e9b3dfe6e0f39a791a8d2
6
+ metadata.gz: 708aa20499b6747c0a7c0b87d6e33fac094831318dde391377c52af4278f41bb8e79a0145798832ba9f203dfac2d17b02814857023ca48dd06d2e4ea1f2c5be8
7
+ data.tar.gz: 4140cf7f75d6f3820346fb5392804a016732238a879758afc2bc0c10ab7568e1820542d9ffd04d36cdb9b53868a758213a74d450daf8cca87db69cda647995ab
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 2.0.5 _28th September 2014_
2
+
3
+ Bugfix
4
+
5
+ - fix cinema parsing call to website class
6
+
1
7
  ## 2.0.4 _5th September 2014_
2
8
 
3
9
  Bugfix
@@ -206,7 +206,8 @@ module CineworldUk
206
206
 
207
207
  def information_doc
208
208
  @information_doc ||= begin
209
- Nokogiri::HTML(CineworldUk::Internal::Website.new.information(@id))
209
+ info = CineworldUk::Internal::Website.new.cinema_information(@id)
210
+ Nokogiri::HTML(info)
210
211
  end
211
212
  end
212
213
 
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for http://www.cineworld.co.uk
2
- # @version 2.0.4
2
+ # @version 2.0.5
3
3
  module CineworldUk
4
4
  # Gem version
5
- VERSION = '2.0.4'
5
+ VERSION = '2.0.5'
6
6
  end
@@ -75,7 +75,7 @@ describe CineworldUk::Cinema do
75
75
  let(:cinema) { CineworldUk::Cinema.new('3', 'Brighton') }
76
76
 
77
77
  before do
78
- website.expect(:information, information_html('brighton'), [3])
78
+ website.expect(:cinema_information, information_html('brighton'), [3])
79
79
  end
80
80
 
81
81
  it 'returns the address hash' do
@@ -96,7 +96,7 @@ describe CineworldUk::Cinema do
96
96
  let(:cinema) { CineworldUk::Cinema.new('4', 'Bristol') }
97
97
 
98
98
  before do
99
- website.expect(:information, information_html('bristol'), [4])
99
+ website.expect(:cinema_information, information_html('bristol'), [4])
100
100
  end
101
101
 
102
102
  it 'returns the address hash' do
@@ -121,7 +121,7 @@ describe CineworldUk::Cinema do
121
121
  let(:cinema) { CineworldUk::Cinema.new('3', 'Brighton') }
122
122
 
123
123
  before do
124
- website.expect(:information, information_html('brighton'), [3])
124
+ website.expect(:cinema_information, information_html('brighton'), [3])
125
125
  end
126
126
 
127
127
  it 'returns nil' do
@@ -135,7 +135,7 @@ describe CineworldUk::Cinema do
135
135
  let(:cinema) { CineworldUk::Cinema.new('4', 'Bristol') }
136
136
 
137
137
  before do
138
- website.expect(:information, information_html('bristol'), [4])
138
+ website.expect(:cinema_information, information_html('bristol'), [4])
139
139
  end
140
140
 
141
141
  it 'returns the second line' do
@@ -183,7 +183,7 @@ describe CineworldUk::Cinema do
183
183
  let(:cinema) { CineworldUk::Cinema.new('3', 'Brighton') }
184
184
 
185
185
  before do
186
- website.expect(:information, information_html('brighton'), [3])
186
+ website.expect(:cinema_information, information_html('brighton'), [3])
187
187
  end
188
188
 
189
189
  it 'returns the town/city' do
@@ -197,7 +197,7 @@ describe CineworldUk::Cinema do
197
197
  let(:cinema) { CineworldUk::Cinema.new('4', 'Bristol') }
198
198
 
199
199
  before do
200
- website.expect(:information, information_html('bristol'), [4])
200
+ website.expect(:cinema_information, information_html('bristol'), [4])
201
201
  end
202
202
 
203
203
  it 'returns the town/city' do
@@ -215,7 +215,7 @@ describe CineworldUk::Cinema do
215
215
  let(:cinema) { CineworldUk::Cinema.new('3', 'Brighton') }
216
216
 
217
217
  before do
218
- website.expect(:information, information_html('brighton'), [3])
218
+ website.expect(:cinema_information, information_html('brighton'), [3])
219
219
  end
220
220
 
221
221
  it 'returns the post code' do
@@ -233,7 +233,7 @@ describe CineworldUk::Cinema do
233
233
  let(:cinema) { CineworldUk::Cinema.new('3', 'Brighton') }
234
234
 
235
235
  before do
236
- website.expect(:information, information_html('brighton'), [3])
236
+ website.expect(:cinema_information, information_html('brighton'), [3])
237
237
  end
238
238
 
239
239
  it 'returns the county' do
@@ -247,7 +247,7 @@ describe CineworldUk::Cinema do
247
247
  let(:cinema) { CineworldUk::Cinema.new('4', 'Bristol') }
248
248
 
249
249
  before do
250
- website.expect(:information, information_html('bristol'), [4])
250
+ website.expect(:cinema_information, information_html('bristol'), [4])
251
251
  end
252
252
 
253
253
  it 'returns nil' do
@@ -275,7 +275,7 @@ describe CineworldUk::Cinema do
275
275
  let(:cinema) { CineworldUk::Cinema.new('3', 'Brighton') }
276
276
 
277
277
  before do
278
- website.expect(:information, information_html('brighton'), [3])
278
+ website.expect(:cinema_information, information_html('brighton'), [3])
279
279
  end
280
280
 
281
281
  it 'returns the street address' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cineworld_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-05 00:00:00.000000000 Z
11
+ date: 2014-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler