picturehouse_uk 3.0.4 → 3.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: a1e2e20b78fec86a05f3d1bdf0770e67521a831a
4
- data.tar.gz: f68099b48fa2961d6927efbc5eebfd5c597b7742
3
+ metadata.gz: 48db81f62906361c68ef521dff2f9b4668b883f4
4
+ data.tar.gz: 43d45b30b4f1dd2185146ba160cd18c99afce899
5
5
  SHA512:
6
- metadata.gz: e57700ec820a5afad891abe740c9351110155273a55a408ac3601c8e2da5e74bd99ce7b05d4c88925713637229a609fc98d39f22e52140dfcaffb197db37a337
7
- data.tar.gz: 7c6e68bb3cdb32cc75333c89075f25b2ebdb49d6c03f6e3d279233fe1c769451bbc9e7c0feee927436a3462896a7dd4e79f6e22d8a9100ad49f3a3bae58694a9
6
+ metadata.gz: 4e13f651a48470f3383bc7a1802bae9c88cab312a5ee4b853a69849ff24dda87d9116073a373a53633a027a3c66e9fe1e605986706913021137a890a6cce183d
7
+ data.tar.gz: 5b8f043e26f6e76153002c9d66a37e0806afb26fd61c008bbd06d110f208eff3c02a056482f9cc492389076949b10735a4af1bf68febd1e9f167e9e3f2d09f5c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [3.0.5] - 2015-03-19
5
+
6
+ ### Fixed
7
+ - tests for website class
8
+ - updated fixtures
9
+ - loosened parsers to allow for sold out performances
10
+
4
11
  ## [3.0.4] - 2015-02-17
5
12
 
6
13
  ### Fixed
@@ -9,7 +9,7 @@ module PicturehouseUk
9
9
  LISTINGS = '#this-week .listings > li, #further-ahead .listings > li'
10
10
 
11
11
  # parse the cinema page into an array of screenings attributes
12
- # @return [Array<Hash>]
12
+ # @return [Array<Hash>]
13
13
  def to_a
14
14
  date = nil
15
15
  doc.css(LISTINGS).each_with_object([]) do |node, result|
@@ -69,9 +69,10 @@ module PicturehouseUk
69
69
  end
70
70
  end
71
71
 
72
+ # variants can have multiple screenings
72
73
  class Variant < Struct.new(:node, :date)
73
- SHOWTIMES = 'a'
74
- VARIENT = '.film-type-desc'
74
+ SHOWTIMES = '.btn'
75
+ VARIANT = '.film-type-desc'
75
76
 
76
77
  def to_a
77
78
  node.css(SHOWTIMES).map do |node|
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for http://www.picturehouses.co.uk
2
- # @version 3.0.4
2
+ # @version 3.0.5
3
3
  module PicturehouseUk
4
4
  # Gem version
5
- VERSION = '3.0.4'
5
+ VERSION = '3.0.5'
6
6
  end