picturehouse_uk 2.0.5 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -6
  3. data/README.md +9 -1
  4. data/lib/picturehouse_uk.rb +2 -3
  5. data/lib/picturehouse_uk/cinema.rb +24 -12
  6. data/lib/picturehouse_uk/film.rb +3 -5
  7. data/lib/picturehouse_uk/internal/parser/address.rb +37 -0
  8. data/lib/picturehouse_uk/internal/parser/screenings.rb +117 -0
  9. data/lib/picturehouse_uk/internal/title_sanitizer.rb +2 -0
  10. data/lib/picturehouse_uk/internal/website.rb +4 -10
  11. data/lib/picturehouse_uk/screening.rb +5 -15
  12. data/lib/picturehouse_uk/version.rb +2 -2
  13. data/test/fixture_updater.rb +16 -13
  14. data/test/fixtures/cinema/Duke_Of_Yorks.html +2048 -4341
  15. data/test/fixtures/cinema/Dukes_At_Komedia.html +3780 -0
  16. data/test/fixtures/cinema/Phoenix_Picturehouse.html +3465 -0
  17. data/test/fixtures/home.html +487 -1932
  18. data/test/fixtures/info/Duke_Of_Yorks.html +450 -0
  19. data/test/fixtures/info/Dukes_At_Komedia.html +439 -0
  20. data/test/fixtures/info/Phoenix_Picturehouse.html +458 -0
  21. data/test/lib/picturehouse_uk/cinema_test.rb +53 -16
  22. data/test/lib/picturehouse_uk/internal/parser/screenings_test.rb +45 -0
  23. data/test/lib/picturehouse_uk/internal/title_sanitizer_test.rb +16 -0
  24. data/test/lib/picturehouse_uk/internal/website_test.rb +6 -6
  25. data/test/lib/picturehouse_uk/screening_test.rb +9 -1
  26. metadata +16 -25
  27. data/lib/picturehouse_uk/internal/address_parser.rb +0 -72
  28. data/lib/picturehouse_uk/internal/cinema_page.rb +0 -35
  29. data/lib/picturehouse_uk/internal/film_with_screenings_parser.rb +0 -116
  30. data/test/fixtures/address-fragments/duke-of-yorks.html +0 -39
  31. data/test/fixtures/address-fragments/hackney-picturehouse.html +0 -12
  32. data/test/fixtures/cinema/Duke_Of_Yorks/film_last.html +0 -45
  33. data/test/fixtures/cinema/Duke_Of_Yorks/film_second.html +0 -37
  34. data/test/fixtures/cinema/York_Picturehouse/basement.html +0 -19
  35. data/test/fixtures/contact_us/Duke_Of_Yorks.html +0 -1505
  36. data/test/fixtures/contact_us/Dukes_At_Komedia.html +0 -1503
  37. data/test/lib/picturehouse_uk/internal/address_parser_test.rb +0 -55
  38. data/test/lib/picturehouse_uk/internal/cinema_page_test.rb +0 -51
  39. data/test/lib/picturehouse_uk/internal/film_with_screenings_parser_test.rb +0 -95

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.