odeon_uk 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmYxYzliYzA4OTE4ODMzNWRkYjU2ZGM1ZGJhOGYzOGNhZWMwMGM5Mw==
4
+ MTZjMGMzNjQxNzUwZjUxZTE2OWY3NDRiNjY5ZmIxNWM0NjFjZjZiZg==
5
5
  data.tar.gz: !binary |-
6
- ODMwZWU5MThmYmI4ZTA0MzI3ZGUzMmNkNDVjZWY0YTAyOWVhM2YyZQ==
6
+ N2Y2MGY0NWRmYjBiZDEwYjU2ZGJiYWI4ODVlMjg3YmM5YWFkMWYxYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODY3NmEyM2U3OTY3ZjM1OWFlYmYwYWYzYjEzMjg4MWI4NjFiNDRhNjMzYTY3
10
- ODBhYmI5NDY0ODRhNzk2MjE2NzkwOGE3YTE4MjA4M2Y3YzBjMTJmMTczNDAy
11
- MmVmNmEyNDEwNDNkNTRmNmVkZWQwYWQyY2IyYzYxNWFmZDIxM2U=
9
+ NzA0MzM5ZTc2ZjI4ZjBiNTI3MTQzY2NiZTRkZTE4MjM0NzE4NDE0ZGRkNWFi
10
+ YWUxMDA5NTA4ZTUyNGYwYjIyZTdjZTMxM2QyY2M0MWVjNzI0MjBjOTYwZjY5
11
+ OTYxOGZjOTQ1MTk4NTY2NzVlZWY0NjBhYWY1YzQ0ODI3ZWNkZWE=
12
12
  data.tar.gz: !binary |-
13
- YjhmNmMxYjRlZTBiZmEyY2FiNzdlYjEwMDllYmUzZmFmOWQwNGMzMDIwMzVm
14
- ZGY5MzJlNzkzNDUyYzc5NGM0NDJiMzQ1NzRiYzFiNWYwN2UyZTMzZTI0ZTRk
15
- ZGNjM2RhOGFjNGQ0MzdmZTM1MDBmZmNlZGNhMWM4Yjk4YmQ2Mzc=
13
+ YWYxZTY5NmQyZmJiMzhkMDY2ZDhhNGFmYWVmYzE3ZjIwM2U0NmFiZGYzZmQ0
14
+ NDZmMjFkMWE1Y2YzNmFiZDg2YmViNDQ0Zjg1ODA1ODYyODkyYmI2NTE0MWZk
15
+ MDMxMjg0NDFjNzRlNDllODA1ZTRiNmE0YzViMTQ0ZjE4OWE4NDk=
@@ -41,7 +41,7 @@ module OdeonUk
41
41
 
42
42
  times_url = varient_node.css('.performance-detail').map do |screening_node|
43
43
  [
44
- tz.local_to_utc(Time.parse(screening_node['title'].match(/\d+\/\d+\/\d+ \d{2}\:\d{2}/).to_s)),
44
+ tz.local_to_utc(Time.parse(screening_node['title'].match(/\d+\/\d+\/\d+ \d{2}\:\d{2}/).to_s + ' UTC')),
45
45
  "http://www.odeon.co.uk#{screening_node['href']}"
46
46
  ]
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module OdeonUk
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
data/lib/odeon_uk.rb CHANGED
@@ -2,6 +2,7 @@ require 'httparty'
2
2
  require 'nokogiri'
3
3
  require 'tzinfo'
4
4
  require 'tzinfo/data'
5
+ require 'pp'
5
6
 
6
7
  require_relative './odeon_uk/version'
7
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odeon_uk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Croll
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-05 00:00:00.000000000 Z
11
+ date: 2013-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake