cineworld_uk 2.0.2 → 2.0.3

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: 39831bac772cecd3871d7c711650c6dc23064958
4
- data.tar.gz: dff97bf766c35a1786afe9358437103c8681b066
3
+ metadata.gz: 167199de6102da5dfeac633fd57f8ff0dc787b40
4
+ data.tar.gz: 1c853e1b64a2f1ff0a07ca98c871a8ef33a0b5f9
5
5
  SHA512:
6
- metadata.gz: 107a3c097edbc60b41f5f6f1f349c4ba11ab194e5b06f59d2485aabfa749f624effbb73263d60407a1e68d36f9e898e8f21b5020ff48ce7ee2d34ad93323cff9
7
- data.tar.gz: b9adc11905e10fda126ad55c76481b34446349cf5e0aa466aab4c175bd220ad35b895cc66dfef7dfaa88ef00f7e0540d7267c9a9d35fd50e72f248ab0da2dc09
6
+ metadata.gz: ab31aaae5324bbc068a430722485df50f3787da8e0225f3838ba49c053109f7474466cbf72b30150cca1f26552a126eb7dce01d79858f4afdf3c4c6feb39f03a
7
+ data.tar.gz: 05fe1f163f6aa834706a411bb21c4fc2b915ec8842fe765a672e861d75adef818582d9078c834c554bae484c91c47f1f555be69861741ca64919d5af74253c3e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 2.0.3 _5th September 2014_
2
+
3
+ Bugfix
4
+
5
+ - fix the Website class and use `open-uri`
6
+
1
7
  ## 2.0.2 _25th July 2014_
2
8
 
3
9
  Bugfix
@@ -1,4 +1,6 @@
1
1
  # encoding: UTF-8
2
+ require 'open-uri'
3
+
2
4
  module CineworldUk
3
5
  # Internal utility classes: Do not use
4
6
  # @api private
@@ -26,7 +28,7 @@ module CineworldUk
26
28
  private
27
29
 
28
30
  def get(path)
29
- Net::HTTP.get(URI("http://www.cineworld.co.uk/#{path}"))
31
+ open("http://www.cineworld.co.uk/#{path}").read
30
32
  end
31
33
  end
32
34
  end
@@ -1,6 +1,6 @@
1
1
  # Ruby interface for http://www.cineworld.co.uk
2
- # @version 2.0.2
2
+ # @version 2.0.3
3
3
  module CineworldUk
4
4
  # Gem version
5
- VERSION = '2.0.2'
5
+ VERSION = '2.0.3'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cineworld_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-25 00:00:00.000000000 Z
11
+ date: 2014-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler