picturehouse_uk 3.0.3 → 3.0.4
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/picturehouse_uk/internal/website.rb +4 -2
- data/lib/picturehouse_uk/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1e2e20b78fec86a05f3d1bdf0770e67521a831a
|
|
4
|
+
data.tar.gz: f68099b48fa2961d6927efbc5eebfd5c597b7742
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e57700ec820a5afad891abe740c9351110155273a55a408ac3601c8e2da5e74bd99ce7b05d4c88925713637229a609fc98d39f22e52140dfcaffb197db37a337
|
|
7
|
+
data.tar.gz: 7c6e68bb3cdb32cc75333c89075f25b2ebdb49d6c03f6e3d279233fe1c769451bbc9e7c0feee927436a3462896a7dd4e79f6e22d8a9100ad49f3a3bae58694a9
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,7 @@ require 'openssl'
|
|
|
4
4
|
module PicturehouseUk
|
|
5
5
|
# @api private
|
|
6
6
|
module Internal
|
|
7
|
-
# fetches pages from the picturehouse.
|
|
7
|
+
# fetches pages from the picturehouse.com website
|
|
8
8
|
class Website
|
|
9
9
|
# get the cinema page with showings for passed id
|
|
10
10
|
# @return [String]
|
|
@@ -27,7 +27,9 @@ module PicturehouseUk
|
|
|
27
27
|
private
|
|
28
28
|
|
|
29
29
|
def get(path)
|
|
30
|
-
|
|
30
|
+
# SSL verification doesn't work on picturehouses.com
|
|
31
|
+
open("https://www.picturehouses.com/#{path}",
|
|
32
|
+
ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE).read
|
|
31
33
|
end
|
|
32
34
|
end
|
|
33
35
|
end
|