picturehouse_uk 1.0.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/CHANGELOG.md +18 -0
- data/README.md +7 -10
- data/Rakefile +20 -7
- data/lib/picturehouse_uk.rb +4 -1
- data/lib/picturehouse_uk/cinema.rb +51 -100
- data/lib/picturehouse_uk/film.rb +22 -8
- data/lib/picturehouse_uk/internal/address_parser.rb +72 -0
- data/lib/picturehouse_uk/internal/cinema_page.rb +35 -0
- data/lib/picturehouse_uk/internal/film_with_screenings_parser.rb +87 -37
- data/lib/picturehouse_uk/internal/title_sanitizer.rb +49 -0
- data/lib/picturehouse_uk/internal/website.rb +39 -0
- data/lib/picturehouse_uk/screening.rb +63 -19
- data/lib/picturehouse_uk/version.rb +2 -2
- data/picturehouse_uk.gemspec +11 -11
- data/test/fixture_updater.rb +43 -0
- data/test/fixtures/address-fragments/duke-of-yorks.html +39 -0
- data/test/fixtures/address-fragments/hackney-picturehouse.html +12 -0
- data/test/fixtures/cinema/Duke_Of_Yorks.html +4370 -0
- data/test/fixtures/cinema/Duke_Of_Yorks/film_last.html +45 -0
- data/test/fixtures/cinema/Duke_Of_Yorks/film_second.html +37 -0
- data/test/fixtures/{abbeygate-contact-us.html → contact_us/Duke_Of_Yorks.html} +635 -156
- data/test/fixtures/{dukes-at-komedia-contact-us.html → contact_us/Dukes_At_Komedia.html} +582 -98
- data/test/fixtures/{picturehouses-homepage.html → home.html} +642 -146
- data/test/lib/picturehouse_uk/cinema_test.rb +127 -307
- data/test/lib/picturehouse_uk/film_test.rb +65 -16
- data/test/lib/picturehouse_uk/internal/address_parser_test.rb +55 -0
- data/test/lib/picturehouse_uk/internal/cinema_page_test.rb +51 -0
- data/test/lib/picturehouse_uk/internal/film_with_screenings_parser_test.rb +44 -151
- data/test/lib/picturehouse_uk/internal/title_sanitizer_test.rb +131 -0
- data/test/lib/picturehouse_uk/internal/website_test.rb +64 -0
- data/test/lib/picturehouse_uk/screening_test.rb +149 -21
- data/test/live/integration_test.rb +68 -0
- data/test/test_helper.rb +3 -1
- metadata +40 -43
- data/test/fixtures/dukes-at-komedia-cinema.html +0 -7148
- data/test/fixtures/film_node/blue-jasmine-done.html +0 -53
- data/test/fixtures/film_node/blue-jasmine-future.html +0 -55
- data/test/fixtures/film_node/bolshoi-spartacus.html +0 -26
- data/test/fixtures/film_node/captain-phillips-with-silver-screen-and-subtitles.html +0 -103
- data/test/fixtures/film_node/fifth-estate-with-big-scream.html +0 -73
- data/test/fixtures/film_node/london-film-festival-with-toddler-time.html +0 -46
- data/test/fixtures/film_node/met-encore-rusalka-as-live.html +0 -26
- data/test/fixtures/film_node/nt-encore-hamlet.html +0 -26
- data/test/fixtures/film_node/planes-with-kids-club.html +0 -77
- data/test/fixtures/film_node/royal-opera-house-don-quixote.html +0 -26
- data/test/fixtures/film_node/rsc-encore-richard-ii.html +0 -28
- data/test/fixtures/film_node/rsc-live-richard-ii.html +0 -41
- data/test/fixtures/film_node/rsc-live-the-two-gentlemen-of-verona-zero-cert.html +0 -19
- data/test/fixtures/hackney-contact-us.html +0 -998
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.