odeon_uk 3.0.0 → 3.0.1

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: 012176725c0f9d576455a7bbefd6da08dd415f43
4
- data.tar.gz: 482cbfad8d2372243a791074fa356293098a3e90
3
+ metadata.gz: 33e72a0a67dcfbd1b10d99c329fc037508a9014a
4
+ data.tar.gz: 6f5459ed32a5b88539cc77e6401cb4b68d2238e4
5
5
  SHA512:
6
- metadata.gz: 36489dec0d6411c706399f4e64afdac6c12497ff86e2afc91865a6211b117985fddd52f68329a2786f88f11b574f3bf254bfdf928b146ad4bf140e004a591eee
7
- data.tar.gz: 9c6e62a13a0201e4d83314a4818debfea7b08ee423f74970cb0f436eb62c40b13b0a3d148faa9a6e62f4cdf7bd8c052111354f9bb60fed5fdd1c63218cf5e53d
6
+ metadata.gz: e917c8d7a9d6572ba044e6078ce08458af4e31a03dc4f892b078ca05db5562e9726f4875cf364c7199e275ba9c1d36959f888eb5ff8edf674db5c67a97994712
7
+ data.tar.gz: 0beeee5c5630aac0b708823ae8f8d5b770e3e24215c0617952bd49f41d6b11cdd2d5c1bd71ee6f640620ad9f8aaaf68389d02d8d0461f692662793da259fc0a7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.0.1 - 2015-04-09
2
+
3
+ - fix cinema parsing over API
4
+
1
5
  ## 3.0.0 - 2015-03-15
2
6
 
3
7
  - complete internal re-architecture ready for use of API
@@ -51,7 +51,7 @@ module OdeonUk
51
51
  private
52
52
 
53
53
  def self.cinemas_hash
54
- @@cinemas_hash ||= Api::Response.new.all_cinemas['data']['sites']
54
+ @@cinemas_hash ||= Api::Response.new.all_cinemas['sites']
55
55
  end
56
56
 
57
57
  def cinema_hash
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for http://www.odeon.co.uk
2
- # @version 3.0.0
2
+ # @version 3.0.1
3
3
  module OdeonUk
4
4
  # Gem version
5
- VERSION = '3.0.0'
5
+ VERSION = '3.0.1'
6
6
  end
@@ -13,6 +13,7 @@ describe OdeonUk::Html::Screenings do
13
13
  subject { described_class.at(71) }
14
14
 
15
15
  before do
16
+ website.expect(:sitemap, sitemap_html)
16
17
  website.expect(:showtimes, showtimes_html(71), [71])
17
18
  end
18
19
 
@@ -19,7 +19,8 @@ module ApiFixturesHelper
19
19
  end
20
20
 
21
21
  def parse(content)
22
- CFPropertyList.native_types(CFPropertyList::List.new(data: content).value)
22
+ plist = CFPropertyList::List.new(data: content).value
23
+ CFPropertyList.native_types(plist).fetch('data', {})
23
24
  end
24
25
 
25
26
  def read_fixture(filepath)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odeon_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-15 00:00:00.000000000 Z
11
+ date: 2015-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake