fandango 0.1.0
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.
- data/.gitignore +4 -0
- data/.irbrc +2 -0
- data/.rvmrc +1 -0
- data/Gemfile +4 -0
- data/README.md +41 -0
- data/Rakefile +9 -0
- data/fandango.gemspec +27 -0
- data/lib/fandango/parser.rb +24 -0
- data/lib/fandango/parsers/movie.rb +30 -0
- data/lib/fandango/parsers/theater.rb +37 -0
- data/lib/fandango/version.rb +3 -0
- data/lib/fandango.rb +29 -0
- data/spec/fandango.spec.rb +26 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/fixtures/movies_near_me_73142.rss +1 -0
- data/spec/support/macros.rb +18 -0
- metadata +120 -0
data/.gitignore
ADDED
data/.irbrc
ADDED
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use ruby-1.9.2-p290@fandango
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# Fandango API
|
2
|
+
|
3
|
+
Fetch theaters near postal code and movies on sale at each.
|
4
|
+
|
5
|
+
## Usage
|
6
|
+
|
7
|
+
`Fandango.movies_near(73142)` returns an array of hashes.
|
8
|
+
Each hash has 2 items: theater info and movies on sale at that theater.
|
9
|
+
A theater is a hash of data containing: name, Fandango's theater id, address, and postal code.
|
10
|
+
The movies are an array of hashes. Each hash contains title and Fandango's id.
|
11
|
+
|
12
|
+
### Example output format
|
13
|
+
|
14
|
+
[
|
15
|
+
[ 0] {
|
16
|
+
:theater => {
|
17
|
+
:name => "AMC",
|
18
|
+
:id => "abcde",
|
19
|
+
:address => "123 Baker St., New York, NY 10001",
|
20
|
+
:postal_code => "10001"
|
21
|
+
},
|
22
|
+
:movies => [
|
23
|
+
[0] {
|
24
|
+
:title => "Sherlock Holmes",
|
25
|
+
:id => "123456"
|
26
|
+
},
|
27
|
+
# more movies...
|
28
|
+
]
|
29
|
+
},
|
30
|
+
# more hashes...
|
31
|
+
]
|
32
|
+
|
33
|
+
## Compatibility
|
34
|
+
|
35
|
+
Developed with Ruby 1.9.2-p290. Won't work in Ruby 1.8.
|
36
|
+
|
37
|
+
## Todo
|
38
|
+
|
39
|
+
* There's only 1 test at the moment. It's small enough. Later, may want to add more broken down tests.
|
40
|
+
* Support for non-US postal codes
|
41
|
+
* parse non-US postal codes (currently only parses digits -- i.e. US zipcodes).
|
data/Rakefile
ADDED
data/fandango.gemspec
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "fandango/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "fandango"
|
7
|
+
s.version = Fandango::VERSION
|
8
|
+
s.authors = ["Jared Ning"]
|
9
|
+
s.email = ["jared@redningja.com"]
|
10
|
+
s.homepage = "https://github.com/ordinaryzelig/fandango"
|
11
|
+
s.summary = "Fandango API"
|
12
|
+
s.description = "Find theaters and movies on sale near a given postal code"
|
13
|
+
|
14
|
+
s.rubyforge_project = "fandango"
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
s.add_runtime_dependency 'activesupport', '3.1.3' # feeedzirra doesn't work with 3.2.
|
22
|
+
s.add_runtime_dependency 'feedzirra', '0.1.1'
|
23
|
+
|
24
|
+
s.add_development_dependency 'awesome_print'
|
25
|
+
s.add_development_dependency 'mocha', '0.10.3'
|
26
|
+
s.add_development_dependency 'minitest', '2.11.1'
|
27
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
class Fandango::Parser
|
2
|
+
|
3
|
+
# Cache entry.
|
4
|
+
# Define entry.summary_doc as Nokogiri HTML document.
|
5
|
+
# Both theater and movie parsers use summary, and we only want to use Nokogiri once per entry.
|
6
|
+
def initialize(entry)
|
7
|
+
@entry = entry
|
8
|
+
@entry.define_singleton_method(:summary_doc) do
|
9
|
+
@summary_doc ||= Nokogiri.HTML(summary)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def parse_theater
|
14
|
+
Theater.new(@entry).parse
|
15
|
+
end
|
16
|
+
|
17
|
+
def parse_movies
|
18
|
+
Movie.new(@entry).parse
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
|
23
|
+
require 'fandango/parsers/theater'
|
24
|
+
require 'fandango/parsers/movie'
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Fandango
|
2
|
+
class Parser::Movie
|
3
|
+
|
4
|
+
def initialize(entry)
|
5
|
+
@entry = entry
|
6
|
+
end
|
7
|
+
|
8
|
+
# Return array of movie attributes.
|
9
|
+
def parse
|
10
|
+
@entry.summary_doc.css('li').map do |li|
|
11
|
+
{
|
12
|
+
title: parse_title(li),
|
13
|
+
id: parse_id(li),
|
14
|
+
}
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def parse_title(li)
|
21
|
+
li.at_css('a').content
|
22
|
+
end
|
23
|
+
|
24
|
+
# E.g. '141081' in fandango.com/the+adventures+of+tintin+3d_141081/movietimes
|
25
|
+
def parse_id(li)
|
26
|
+
li.at_css('a')['href'].match(%r{fandango\.com/.*_(?<id>\d+)/movietimes})[:id]
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
module Fandango
|
2
|
+
class Parser::Theater
|
3
|
+
|
4
|
+
def initialize(entry)
|
5
|
+
@entry = entry
|
6
|
+
end
|
7
|
+
|
8
|
+
# Compose hash with each attribute as key and result of #parse_<attribute> as value.
|
9
|
+
def parse
|
10
|
+
atts = [:name, :id, :address, :postal_code]
|
11
|
+
atts.each_with_object({}) do |attr, hash|
|
12
|
+
hash[attr] = send :"parse_#{attr}"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
def parse_name
|
19
|
+
@entry[:title]
|
20
|
+
end
|
21
|
+
|
22
|
+
# E.g. 'aaicu' in http://www.fandango.com/northpark7_aaicu/theaterpage
|
23
|
+
def parse_id
|
24
|
+
@entry[:url].match(%r{fandango\.com/.*_(?<id>.*)/theaterpage})[:id]
|
25
|
+
end
|
26
|
+
|
27
|
+
# Cache address in variable for postal_code.
|
28
|
+
def parse_address
|
29
|
+
@address = @entry.summary_doc.at_css('p').content
|
30
|
+
end
|
31
|
+
|
32
|
+
def parse_postal_code
|
33
|
+
@address.match(/(?<postal_code>\d+)$/)[:postal_code]
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
37
|
+
end
|
data/lib/fandango.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require "fandango/version"
|
2
|
+
require 'feedzirra'
|
3
|
+
|
4
|
+
require 'fandango/parser'
|
5
|
+
|
6
|
+
module Fandango
|
7
|
+
|
8
|
+
class << self
|
9
|
+
|
10
|
+
def movies_near(postal_code)
|
11
|
+
feed = fetch_and_parse(postal_code)
|
12
|
+
feed.entries.map do |entry|
|
13
|
+
parser = Parser.new(entry)
|
14
|
+
hash = {}
|
15
|
+
hash[:theater] = parser.parse_theater
|
16
|
+
hash[:movies] = parser.parse_movies
|
17
|
+
hash
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
def fetch_and_parse(postal_code)
|
24
|
+
Feedzirra::Feed.fetch_and_parse("http://www.fandango.com/rss/moviesnearme_#{postal_code}.rss")
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Fandango do
|
4
|
+
|
5
|
+
describe '.movies_near' do
|
6
|
+
|
7
|
+
it 'returns hash of theaters and movies playing at each' do
|
8
|
+
stub_feed 'movies_near_me_73142.rss'
|
9
|
+
array = Fandango.movies_near(73142)
|
10
|
+
array.size.must_equal 11
|
11
|
+
hash = array.first
|
12
|
+
# Check theater attributes.
|
13
|
+
theater_atts = hash[:theater]
|
14
|
+
theater_atts[:name].must_equal 'Northpark 7'
|
15
|
+
theater_atts[:id].must_equal 'aaicu'
|
16
|
+
theater_atts[:address].must_equal '12100 N. May Ave Oklahoma City, OK 73120'
|
17
|
+
theater_atts[:postal_code].must_equal '73120'
|
18
|
+
# Check movie attributes.
|
19
|
+
movies_atts = hash[:movies]
|
20
|
+
movies_atts.size.must_equal 8
|
21
|
+
movies_atts.first[:title].must_equal 'Happy Feet Two'
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<rss version="2.0"><channel><title>Fandango.com Movies Near Me</title><link><![CDATA[http://www.fandango.com/movietimes?wssaffid=11836&wssac=123]]></link><description>Review movie listings for local theaters near you on Fandango.com</description><language>en-us</language><copyright>Copyright 2012 Fandango</copyright><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><ttl>1440</ttl><image><url>http://images.fandango.com/r86.8.1/images/global/fandango_rss_logo.gif</url><title>Fandango.com Movies Near Me</title><link><![CDATA[http://www.fandango.com/movietimes?wssaffid=11836&wssac=123]]></link></image><item><title><![CDATA[Northpark 7]]></title><link><![CDATA[http://www.fandango.com/northpark7_aaicu/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>12100 N. May Ave Oklahoma City, OK 73120</p><p><ul><li><a href="http://www.fandango.com/happy+feet+two_149198/movietimes?location=73120&wssaffid=11836&wssac=123">Happy Feet Two</a></li><li><a href="http://www.fandango.com/j.+edgar_136358/movietimes?location=73120&wssaffid=11836&wssac=123">J. Edgar</a></li><li><a href="http://www.fandango.com/jack+and+jill_136357/movietimes?location=73120&wssaffid=11836&wssac=123">Jack and Jill</a></li><li><a href="http://www.fandango.com/new+year27s+eve_135733/movietimes?location=73120&wssaffid=11836&wssac=123">New Year's Eve</a></li><li><a href="http://www.fandango.com/puss+in+boots_131567/movietimes?location=73120&wssaffid=11836&wssac=123">Puss in Boots</a></li><li><a href="http://www.fandango.com/the+sitter_141158/movietimes?location=73120&wssaffid=11836&wssac=123">The Sitter</a></li><li><a href="http://www.fandango.com/tower+heist_141360/movietimes?location=73120&wssaffid=11836&wssac=123">Tower Heist</a></li><li><a href="http://www.fandango.com/the+twilight+saga3a+breaking+dawn++part+1_135730/movietimes?location=73120&wssaffid=11836&wssac=123">The Twilight Saga: Breaking Dawn - Part 1</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[AMC Quail Springs Mall 24]]></title><link><![CDATA[http://www.fandango.com/amcquailspringsmall24_aaktw/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>2501 West Memorial Oklahoma City, OK 73134</p><p><ul><li><a href="http://www.fandango.com/2012+best+picture+showcase_152224/movietimes?location=73134&wssaffid=11836&wssac=123">2012 Best Picture Showcase</a></li><li><a href="http://www.fandango.com/albert+nobbs_147666/movietimes?location=73134&wssaffid=11836&wssac=123">Albert Nobbs</a></li><li><a href="http://www.fandango.com/alvin+and+the+chipmunks3a+chipwrecked_141127/movietimes?location=73134&wssaffid=11836&wssac=123">Alvin and the Chipmunks: Chipwrecked</a></li><li><a href="http://www.fandango.com/andrew+lloyd+webber27s+love+never+dies_152085/movietimes?location=73134&wssaffid=11836&wssac=123">Andrew Lloyd Webber's Love Never Dies</a></li><li><a href="http://www.fandango.com/the+artist_140264/movietimes?location=73134&wssaffid=11836&wssac=123">The Artist</a></li><li><a href="http://www.fandango.com/beauty+and+the+beast+3d_128416/movietimes?location=73134&wssaffid=11836&wssac=123">Beauty and the Beast 3D</a></li><li><a href="http://www.fandango.com/big+miracle_141390/movietimes?location=73134&wssaffid=11836&wssac=123">Big Miracle</a></li><li><a href="http://www.fandango.com/chimpanzee_116882/movietimes?location=73134&wssaffid=11836&wssac=123">Chimpanzee</a></li><li><a href="http://www.fandango.com/chronicle_147086/movietimes?location=73134&wssaffid=11836&wssac=123">Chronicle</a></li><li><a href="http://www.fandango.com/contraband_147339/movietimes?location=73134&wssaffid=11836&wssac=123">Contraband</a></li><li><a href="http://www.fandango.com/a+dangerous+method_136655/movietimes?location=73134&wssaffid=11836&wssac=123">A Dangerous Method</a></li><li><a href="http://www.fandango.com/the+descendants_142187/movietimes?location=73134&wssaffid=11836&wssac=123">The Descendants</a></li><li><a href="http://www.fandango.com/dr.+seuss27+the+lorax3a+an+imax+3d+experience_150200/movietimes?location=73134&wssaffid=11836&wssac=123">Dr. Seuss' the Lorax: An IMAX 3D Experience</a></li><li><a href="http://www.fandango.com/extremely+loud+26+incredibly+close_147129/movietimes?location=73134&wssaffid=11836&wssac=123">Extremely Loud & Incredibly Close</a></li><li><a href="http://www.fandango.com/ghost+rider3a+spirit+of+vengeance+3d_147109/movietimes?location=73134&wssaffid=11836&wssac=123">Ghost Rider: Spirit of Vengeance 3D</a></li><li><a href="http://www.fandango.com/the+girl+with+the+dragon+tattoo+2011_136440/movietimes?location=73134&wssaffid=11836&wssac=123">The Girl With the Dragon Tattoo (2011)</a></li><li><a href="http://www.fandango.com/the+grey_148465/movietimes?location=73134&wssaffid=11836&wssac=123">The Grey</a></li><li><a href="http://www.fandango.com/haywire_136667/movietimes?location=73134&wssaffid=11836&wssac=123">Haywire</a></li><li><a href="http://www.fandango.com/hugo_139935/movietimes?location=73134&wssaffid=11836&wssac=123">Hugo</a></li><li><a href="http://www.fandango.com/the+iron+lady_146070/movietimes?location=73134&wssaffid=11836&wssac=123">The Iron Lady</a></li><li><a href="http://www.fandango.com/john+carter+3d_147144/movietimes?location=73134&wssaffid=11836&wssac=123">John Carter 3D</a></li><li><a href="http://www.fandango.com/john+carter3a+an+imax+3d+experience_147145/movietimes?location=73134&wssaffid=11836&wssac=123">John Carter: An IMAX 3D Experience</a></li><li><a href="http://www.fandango.com/journey+23a+the+mysterious+island+3d_150722/movietimes?location=73134&wssaffid=11836&wssac=123">Journey 2: The Mysterious Island 3D</a></li><li><a href="http://www.fandango.com/joyful+noise_147069/movietimes?location=73134&wssaffid=11836&wssac=123">Joyful Noise</a></li><li><a href="http://www.fandango.com/la+phil+live3a+dudamel+conducts+mahler_146969/movietimes?location=73134&wssaffid=11836&wssac=123">LA Phil Live: Dudamel Conducts Mahler</a></li><li><a href="http://www.fandango.com/la+phil+live3a+gustavo+dudamel+and+herbie+hancock+celebrate+gershwin_151115/movietimes?location=73134&wssaffid=11836&wssac=123">LA Phil Live: Gustavo Dudamel and Herbie Hancock Celebrate Gershwin</a></li><li><a href="http://www.fandango.com/leonardo+live_151491/movietimes?location=73134&wssaffid=11836&wssac=123">Leonardo Live</a></li><li><a href="http://www.fandango.com/man+on+a+ledge_144463/movietimes?location=73134&wssaffid=11836&wssac=123">Man on a Ledge</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+ernani_146476/movietimes?location=73134&wssaffid=11836&wssac=123">The Metropolitan Opera: Ernani</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+gc3b6tterdc3a4mmerung_146475/movietimes?location=73134&wssaffid=11836&wssac=123">The Metropolitan Opera: Götterdämmerung</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+la+traviata_146479/movietimes?location=73134&wssaffid=11836&wssac=123">The Metropolitan Opera: La Traviata</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+manon_146478/movietimes?location=73134&wssaffid=11836&wssac=123">The Metropolitan Opera: Manon</a></li><li><a href="http://www.fandango.com/mission3a+impossible++ghost+protocol_131572/movietimes?location=73134&wssaffid=11836&wssac=123">Mission: Impossible - Ghost Protocol</a></li><li><a href="http://www.fandango.com/monumental3a+in+search+of+america27s+national+treasure_152082/movietimes?location=73134&wssaffid=11836&wssac=123">Monumental: In Search of America's National Treasure</a></li><li><a href="http://www.fandango.com/national+theater+live3a+the+comedy+of+errors_109087/movietimes?location=73134&wssaffid=11836&wssac=123">National Theater Live: The Comedy of Errors</a></li><li><a href="http://www.fandango.com/national+theatre+live3a+she+stoops+to+conquer+live_150242/movietimes?location=73134&wssaffid=11836&wssac=123">National Theatre Live: She Stoops to Conquer Live</a></li><li><a href="http://www.fandango.com/national+theatre+live3a+travelling+light+live_150243/movietimes?location=73134&wssaffid=11836&wssac=123">National Theatre Live: Travelling Light Live</a></li><li><a href="http://www.fandango.com/one+for+the+money_136682/movietimes?location=73134&wssaffid=11836&wssac=123">One for the Money</a></li><li><a href="http://www.fandango.com/puss+in+boots+3d_141565/movietimes?location=73134&wssaffid=11836&wssac=123">Puss in Boots 3D</a></li><li><a href="http://www.fandango.com/red+tails_136647/movietimes?location=73134&wssaffid=11836&wssac=123">Red Tails</a></li><li><a href="http://www.fandango.com/safe+house_147731/movietimes?location=73134&wssaffid=11836&wssac=123">Safe House</a></li><li><a href="http://www.fandango.com/the+secret+world+of+arrietty_141559/movietimes?location=73134&wssaffid=11836&wssac=123">The Secret World of Arrietty</a></li><li><a href="http://www.fandango.com/sherlock+holmes3a+a+game+of+shadows_135734/movietimes?location=73134&wssaffid=11836&wssac=123">Sherlock Holmes: A Game of Shadows</a></li><li><a href="http://www.fandango.com/star+wars3a+episode+i++the+phantom+menace+3d_142510/movietimes?location=73134&wssaffid=11836&wssac=123">Star Wars: Episode I -- The Phantom Menace 3D</a></li><li><a href="http://www.fandango.com/this+means+war_136948/movietimes?location=73134&wssaffid=11836&wssac=123">This Means War</a></li><li><a href="http://www.fandango.com/underworld+awakening+3d_146695/movietimes?location=73134&wssaffid=11836&wssac=123">Underworld Awakening 3D</a></li><li><a href="http://www.fandango.com/underworld+awakening3a+an+imax+3d+experience_146694/movietimes?location=73134&wssaffid=11836&wssac=123">Underworld Awakening: An IMAX 3D Experience</a></li><li><a href="http://www.fandango.com/the+vow_145942/movietimes?location=73134&wssaffid=11836&wssac=123">The Vow</a></li><li><a href="http://www.fandango.com/war+horse_134931/movietimes?location=73134&wssaffid=11836&wssac=123">War Horse</a></li><li><a href="http://www.fandango.com/we+bought+a+zoo_135736/movietimes?location=73134&wssaffid=11836&wssac=123">We Bought a Zoo</a></li><li><a href="http://www.fandango.com/the+woman+in+black_136701/movietimes?location=73134&wssaffid=11836&wssac=123">The Woman in Black</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[Dickinson Penn Square 10]]></title><link><![CDATA[http://www.fandango.com/dickinsonpennsquare10_aagtg/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>1901 NW Expressway Oklahoma City, OK 73118</p><p><ul><li><a href="http://www.fandango.com/chronicle_147086/movietimes?location=73118&wssaffid=11836&wssac=123">Chronicle</a></li><li><a href="http://www.fandango.com/the+descendants_142187/movietimes?location=73118&wssaffid=11836&wssac=123">The Descendants</a></li><li><a href="http://www.fandango.com/extremely+loud+26+incredibly+close_147129/movietimes?location=73118&wssaffid=11836&wssac=123">Extremely Loud & Incredibly Close</a></li><li><a href="http://www.fandango.com/the+grey_148465/movietimes?location=73118&wssaffid=11836&wssac=123">The Grey</a></li><li><a href="http://www.fandango.com/joyful+noise_147069/movietimes?location=73118&wssaffid=11836&wssac=123">Joyful Noise</a></li><li><a href="http://www.fandango.com/man+on+a+ledge_144463/movietimes?location=73118&wssaffid=11836&wssac=123">Man on a Ledge</a></li><li><a href="http://www.fandango.com/one+for+the+money_136682/movietimes?location=73118&wssaffid=11836&wssac=123">One for the Money</a></li><li><a href="http://www.fandango.com/red+tails_136647/movietimes?location=73118&wssaffid=11836&wssac=123">Red Tails</a></li><li><a href="http://www.fandango.com/underworld+awakening+3d_146695/movietimes?location=73118&wssaffid=11836&wssac=123">Underworld Awakening 3D</a></li><li><a href="http://www.fandango.com/the+woman+in+black_136701/movietimes?location=73118&wssaffid=11836&wssac=123">The Woman in Black</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[B&B Theatres Windsor 10]]></title><link><![CDATA[http://www.fandango.com/bandbtheatreswindsor10_aavud/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>4623 A. N.W. 23rd St. Oklahoma City, OK 73127</p><p><ul><li><a href="http://www.fandango.com/chronicle_147086/movietimes?location=73127&wssaffid=11836&wssac=123">Chronicle</a></li><li><a href="http://www.fandango.com/the+descendants_142187/movietimes?location=73127&wssaffid=11836&wssac=123">The Descendants</a></li><li><a href="http://www.fandango.com/the+grey_148465/movietimes?location=73127&wssaffid=11836&wssac=123">The Grey</a></li><li><a href="http://www.fandango.com/kidtoons3a+barbie+in+a+mermaid+tale+2_151926/movietimes?location=73127&wssaffid=11836&wssac=123">Kidtoons: Barbie in a Mermaid Tale 2</a></li><li><a href="http://www.fandango.com/man+on+a+ledge_144463/movietimes?location=73127&wssaffid=11836&wssac=123">Man on a Ledge</a></li><li><a href="http://www.fandango.com/one+for+the+money_136682/movietimes?location=73127&wssaffid=11836&wssac=123">One for the Money</a></li><li><a href="http://www.fandango.com/underworld+awakening_131558/movietimes?location=73127&wssaffid=11836&wssac=123">Underworld Awakening</a></li><li><a href="http://www.fandango.com/war+horse_134931/movietimes?location=73127&wssaffid=11836&wssac=123">War Horse</a></li><li><a href="http://www.fandango.com/the+woman+in+black_136701/movietimes?location=73127&wssaffid=11836&wssac=123">The Woman in Black</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[Kickingbird Cinema]]></title><link><![CDATA[http://www.fandango.com/kickingbirdcinema_aaenx/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>1225 East Danforth Rd Edmond, OK 73083</p><p></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[Cinemark Tinseltown]]></title><link><![CDATA[http://www.fandango.com/cinemarktinseltown_aaitg/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>6001 Martin Luther King Blvd. Oklahoma City, OK 73111</p><p><ul><li><a href="http://www.fandango.com/act+of+valor_146457/movietimes?location=73111&wssaffid=11836&wssac=123">Act of Valor</a></li><li><a href="http://www.fandango.com/alvin+and+the+chipmunks3a+chipwrecked_141127/movietimes?location=73111&wssaffid=11836&wssac=123">Alvin and the Chipmunks: Chipwrecked</a></li><li><a href="http://www.fandango.com/andrew+lloyd+webber27s+love+never+dies_152085/movietimes?location=73111&wssaffid=11836&wssac=123">Andrew Lloyd Webber's Love Never Dies</a></li><li><a href="http://www.fandango.com/beauty+and+the+beast_131405/movietimes?location=73111&wssaffid=11836&wssac=123">Beauty and the Beast</a></li><li><a href="http://www.fandango.com/beauty+and+the+beast+3d_128416/movietimes?location=73111&wssaffid=11836&wssac=123">Beauty and the Beast 3D</a></li><li><a href="http://www.fandango.com/big+miracle_141390/movietimes?location=73111&wssaffid=11836&wssac=123">Big Miracle</a></li><li><a href="http://www.fandango.com/chronicle_147086/movietimes?location=73111&wssaffid=11836&wssac=123">Chronicle</a></li><li><a href="http://www.fandango.com/contraband_147339/movietimes?location=73111&wssaffid=11836&wssac=123">Contraband</a></li><li><a href="http://www.fandango.com/the+descendants_142187/movietimes?location=73111&wssaffid=11836&wssac=123">The Descendants</a></li><li><a href="http://www.fandango.com/extremely+loud+26+incredibly+close_147129/movietimes?location=73111&wssaffid=11836&wssac=123">Extremely Loud & Incredibly Close</a></li><li><a href="http://www.fandango.com/the+grey_148465/movietimes?location=73111&wssaffid=11836&wssac=123">The Grey</a></li><li><a href="http://www.fandango.com/haywire_136667/movietimes?location=73111&wssaffid=11836&wssac=123">Haywire</a></li><li><a href="http://www.fandango.com/hugo+3d_139936/movietimes?location=73111&wssaffid=11836&wssac=123">Hugo 3D</a></li><li><a href="http://www.fandango.com/john+carter+3d_147144/movietimes?location=73111&wssaffid=11836&wssac=123">John Carter 3D</a></li><li><a href="http://www.fandango.com/journey+23a+the+mysterious+island+3d_150722/movietimes?location=73111&wssaffid=11836&wssac=123">Journey 2: The Mysterious Island 3D</a></li><li><a href="http://www.fandango.com/joyful+noise_147069/movietimes?location=73111&wssaffid=11836&wssac=123">Joyful Noise</a></li><li><a href="http://www.fandango.com/la+phil+live3a+dudamel+conducts+mahler_146969/movietimes?location=73111&wssaffid=11836&wssac=123">LA Phil Live: Dudamel Conducts Mahler</a></li><li><a href="http://www.fandango.com/la+phil+live3a+gustavo+dudamel+and+herbie+hancock+celebrate+gershwin_151115/movietimes?location=73111&wssaffid=11836&wssac=123">LA Phil Live: Gustavo Dudamel and Herbie Hancock Celebrate Gershwin</a></li><li><a href="http://www.fandango.com/leonardo+live_151491/movietimes?location=73111&wssaffid=11836&wssac=123">Leonardo Live</a></li><li><a href="http://www.fandango.com/man+on+a+ledge_144463/movietimes?location=73111&wssaffid=11836&wssac=123">Man on a Ledge</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+the+enchanted+island+encore_146474/movietimes?location=73111&wssaffid=11836&wssac=123">The Metropolitan Opera: The Enchanted Island Encore</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+ernani+encore_146477/movietimes?location=73111&wssaffid=11836&wssac=123">The Metropolitan Opera: Ernani Encore</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+ernani_146476/movietimes?location=73111&wssaffid=11836&wssac=123">The Metropolitan Opera: Ernani</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+gc3b6tterdc3a4mmerung_146475/movietimes?location=73111&wssaffid=11836&wssac=123">The Metropolitan Opera: Götterdämmerung</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+la+traviata+encore_147297/movietimes?location=73111&wssaffid=11836&wssac=123">The Metropolitan Opera: La Traviata Encore</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+la+traviata_146479/movietimes?location=73111&wssaffid=11836&wssac=123">The Metropolitan Opera: La Traviata</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+manon+encore_146481/movietimes?location=73111&wssaffid=11836&wssac=123">The Metropolitan Opera: Manon Encore</a></li><li><a href="http://www.fandango.com/the+metropolitan+opera3a+manon_146478/movietimes?location=73111&wssaffid=11836&wssac=123">The Metropolitan Opera: Manon</a></li><li><a href="http://www.fandango.com/mission3a+impossible++ghost+protocol_131572/movietimes?location=73111&wssaffid=11836&wssac=123">Mission: Impossible - Ghost Protocol</a></li><li><a href="http://www.fandango.com/monumental3a+in+search+of+america27s+national+treasure_152082/movietimes?location=73111&wssaffid=11836&wssac=123">Monumental: In Search of America's National Treasure</a></li><li><a href="http://www.fandango.com/national+theater+live3a+the+comedy+of+errors_109087/movietimes?location=73111&wssaffid=11836&wssac=123">National Theater Live: The Comedy of Errors</a></li><li><a href="http://www.fandango.com/national+theatre+live3a+she+stoops+to+conquer+live_150242/movietimes?location=73111&wssaffid=11836&wssac=123">National Theatre Live: She Stoops to Conquer Live</a></li><li><a href="http://www.fandango.com/national+theatre+live3a+travelling+light+live_150243/movietimes?location=73111&wssaffid=11836&wssac=123">National Theatre Live: Travelling Light Live</a></li><li><a href="http://www.fandango.com/one+for+the+money_136682/movietimes?location=73111&wssaffid=11836&wssac=123">One for the Money</a></li><li><a href="http://www.fandango.com/red+tails_136647/movietimes?location=73111&wssaffid=11836&wssac=123">Red Tails</a></li><li><a href="http://www.fandango.com/sherlock+holmes3a+a+game+of+shadows_135734/movietimes?location=73111&wssaffid=11836&wssac=123">Sherlock Holmes: A Game of Shadows</a></li><li><a href="http://www.fandango.com/star+wars3a+episode+i++the+phantom+menace+3d_142510/movietimes?location=73111&wssaffid=11836&wssac=123">Star Wars: Episode I -- The Phantom Menace 3D</a></li><li><a href="http://www.fandango.com/underworld+awakening_131558/movietimes?location=73111&wssaffid=11836&wssac=123">Underworld Awakening</a></li><li><a href="http://www.fandango.com/underworld+awakening+3d_146695/movietimes?location=73111&wssaffid=11836&wssac=123">Underworld Awakening 3D</a></li><li><a href="http://www.fandango.com/we+bought+a+zoo_135736/movietimes?location=73111&wssaffid=11836&wssac=123">We Bought a Zoo</a></li><li><a href="http://www.fandango.com/the+woman+in+black_136701/movietimes?location=73111&wssaffid=11836&wssac=123">The Woman in Black</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[Yukon Movies 5]]></title><link><![CDATA[http://www.fandango.com/yukonmovies5_aaict/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>1219 Garth Brooks Rd. Yukon, OK 73099</p><p><ul><li><a href="http://www.fandango.com/big+miracle_141390/movietimes?location=73099&wssaffid=11836&wssac=123">Big Miracle</a></li><li><a href="http://www.fandango.com/chronicle_147086/movietimes?location=73099&wssaffid=11836&wssac=123">Chronicle</a></li><li><a href="http://www.fandango.com/extremely+loud+26+incredibly+close_147129/movietimes?location=73099&wssaffid=11836&wssac=123">Extremely Loud & Incredibly Close</a></li><li><a href="http://www.fandango.com/the+grey_148465/movietimes?location=73099&wssaffid=11836&wssac=123">The Grey</a></li><li><a href="http://www.fandango.com/the+woman+in+black_136701/movietimes?location=73099&wssaffid=11836&wssac=123">The Woman in Black</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[OmniDome Theatre]]></title><link><![CDATA[http://www.fandango.com/omnidometheatre_aaopy/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>2100 NE 52nd Street Oklahoma City, OK 73111</p><p><ul><li><a href="http://www.fandango.com/extreme_227/movietimes?location=73111&wssaffid=11836&wssac=123">Extreme</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[Dickinson West End Pointe 8 Theatre]]></title><link><![CDATA[http://www.fandango.com/dickinsonwestendpointe8theatre_aauol/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>12825 NW 10th Yukon, OK 73099</p><p><ul><li><a href="http://www.fandango.com/beauty+and+the+beast_131405/movietimes?location=73099&wssaffid=11836&wssac=123">Beauty and the Beast</a></li><li><a href="http://www.fandango.com/beauty+and+the+beast+3d_128416/movietimes?location=73099&wssaffid=11836&wssac=123">Beauty and the Beast 3D</a></li><li><a href="http://www.fandango.com/contraband_147339/movietimes?location=73099&wssaffid=11836&wssac=123">Contraband</a></li><li><a href="http://www.fandango.com/the+devil+inside_147102/movietimes?location=73099&wssaffid=11836&wssac=123">The Devil Inside</a></li><li><a href="http://www.fandango.com/joyful+noise_147069/movietimes?location=73099&wssaffid=11836&wssac=123">Joyful Noise</a></li><li><a href="http://www.fandango.com/man+on+a+ledge_144463/movietimes?location=73099&wssaffid=11836&wssac=123">Man on a Ledge</a></li><li><a href="http://www.fandango.com/one+for+the+money_136682/movietimes?location=73099&wssaffid=11836&wssac=123">One for the Money</a></li><li><a href="http://www.fandango.com/red+tails_136647/movietimes?location=73099&wssaffid=11836&wssac=123">Red Tails</a></li><li><a href="http://www.fandango.com/underworld+awakening_131558/movietimes?location=73099&wssaffid=11836&wssac=123">Underworld Awakening</a></li><li><a href="http://www.fandango.com/underworld+awakening+3d_146695/movietimes?location=73099&wssaffid=11836&wssac=123">Underworld Awakening 3D</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[Harkins Cine Capri Bricktown]]></title><link><![CDATA[http://www.fandango.com/harkinscinecapribricktown_aaswz/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>150 East Reno Ave. Oklahoma City, OK 73104</p><p><ul><li><a href="http://www.fandango.com/beauty+and+the+beast+3d_128416/movietimes?location=73104&wssaffid=11836&wssac=123">Beauty and the Beast 3D</a></li><li><a href="http://www.fandango.com/big+miracle_141390/movietimes?location=73104&wssaffid=11836&wssac=123">Big Miracle</a></li><li><a href="http://www.fandango.com/chronicle_147086/movietimes?location=73104&wssaffid=11836&wssac=123">Chronicle</a></li><li><a href="http://www.fandango.com/contraband_147339/movietimes?location=73104&wssaffid=11836&wssac=123">Contraband</a></li><li><a href="http://www.fandango.com/the+descendants_142187/movietimes?location=73104&wssaffid=11836&wssac=123">The Descendants</a></li><li><a href="http://www.fandango.com/the+devil+inside_147102/movietimes?location=73104&wssaffid=11836&wssac=123">The Devil Inside</a></li><li><a href="http://www.fandango.com/extremely+loud+26+incredibly+close_147129/movietimes?location=73104&wssaffid=11836&wssac=123">Extremely Loud & Incredibly Close</a></li><li><a href="http://www.fandango.com/the+girl+with+the+dragon+tattoo+2011_136440/movietimes?location=73104&wssaffid=11836&wssac=123">The Girl With the Dragon Tattoo (2011)</a></li><li><a href="http://www.fandango.com/the+grey_148465/movietimes?location=73104&wssaffid=11836&wssac=123">The Grey</a></li><li><a href="http://www.fandango.com/haywire_136667/movietimes?location=73104&wssaffid=11836&wssac=123">Haywire</a></li><li><a href="http://www.fandango.com/hugo+3d_139936/movietimes?location=73104&wssaffid=11836&wssac=123">Hugo 3D</a></li><li><a href="http://www.fandango.com/i+am+bruce+lee_151770/movietimes?location=73104&wssaffid=11836&wssac=123">I Am Bruce Lee</a></li><li><a href="http://www.fandango.com/journey+23a+the+mysterious+island_135727/movietimes?location=73104&wssaffid=11836&wssac=123">Journey 2: The Mysterious Island</a></li><li><a href="http://www.fandango.com/journey+23a+the+mysterious+island+3d_150722/movietimes?location=73104&wssaffid=11836&wssac=123">Journey 2: The Mysterious Island 3D</a></li><li><a href="http://www.fandango.com/joyful+noise_147069/movietimes?location=73104&wssaffid=11836&wssac=123">Joyful Noise</a></li><li><a href="http://www.fandango.com/man+on+a+ledge_144463/movietimes?location=73104&wssaffid=11836&wssac=123">Man on a Ledge</a></li><li><a href="http://www.fandango.com/mission3a+impossible++ghost+protocol_131572/movietimes?location=73104&wssaffid=11836&wssac=123">Mission: Impossible - Ghost Protocol</a></li><li><a href="http://www.fandango.com/one+for+the+money_136682/movietimes?location=73104&wssaffid=11836&wssac=123">One for the Money</a></li><li><a href="http://www.fandango.com/red+tails_136647/movietimes?location=73104&wssaffid=11836&wssac=123">Red Tails</a></li><li><a href="http://www.fandango.com/safe+house_147731/movietimes?location=73104&wssaffid=11836&wssac=123">Safe House</a></li><li><a href="http://www.fandango.com/sherlock+holmes3a+a+game+of+shadows_135734/movietimes?location=73104&wssaffid=11836&wssac=123">Sherlock Holmes: A Game of Shadows</a></li><li><a href="http://www.fandango.com/star+wars3a+episode+i++the+phantom+menace+3d_142510/movietimes?location=73104&wssaffid=11836&wssac=123">Star Wars: Episode I -- The Phantom Menace 3D</a></li><li><a href="http://www.fandango.com/underworld+awakening_131558/movietimes?location=73104&wssaffid=11836&wssac=123">Underworld Awakening</a></li><li><a href="http://www.fandango.com/underworld+awakening+3d_146695/movietimes?location=73104&wssaffid=11836&wssac=123">Underworld Awakening 3D</a></li><li><a href="http://www.fandango.com/the+vow_145942/movietimes?location=73104&wssaffid=11836&wssac=123">The Vow</a></li><li><a href="http://www.fandango.com/the+woman+in+black_136701/movietimes?location=73104&wssaffid=11836&wssac=123">The Woman in Black</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item><item><title><![CDATA[AAFES Base Theatre]]></title><link><![CDATA[http://www.fandango.com/aafesbasetheatre_aaqbg/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>3000 S. Douglas Ave. Oklahoma City, OK 73109</p><p><ul><li><a href="http://www.fandango.com/alvin+and+the+chipmunks3a+chipwrecked_141127/movietimes?location=73109&wssaffid=11836&wssac=123">Alvin and the Chipmunks: Chipwrecked</a></li><li><a href="http://www.fandango.com/we+bought+a+zoo_135736/movietimes?location=73109&wssaffid=11836&wssac=123">We Bought a Zoo</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies Near Me</category><pubDate>Fri, 03 Feb 2012 16:11:58 GMT</pubDate><source url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&wssac=123">Fandango.com Movies Near Me</source></item></channel></rss>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Macros
|
2
|
+
|
3
|
+
def fixture_file(file_name)
|
4
|
+
File.open("spec/support/fixtures/#{file_name}")
|
5
|
+
end
|
6
|
+
|
7
|
+
# Stub Feedzirra response with stored fixture file content.
|
8
|
+
# This is a workaround because VCR doesn't support Feedzirra yet.
|
9
|
+
# File contents cannot be obtained from Safari because it translates
|
10
|
+
# it into HTML. Use Firefox to get original raw source.
|
11
|
+
def stub_feed(file_name)
|
12
|
+
Curl::Easy.expects(:new).never
|
13
|
+
file_content = fixture_file(file_name).read
|
14
|
+
feed = Feedzirra::Parser::RSS.parse(file_content)
|
15
|
+
Feedzirra::Feed.expects(:fetch_and_parse).returns(feed)
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fandango
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jared Ning
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-02-03 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: activesupport
|
16
|
+
requirement: &70109523622420 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - =
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.1.3
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70109523622420
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: feedzirra
|
27
|
+
requirement: &70109523621820 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - =
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.1.1
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70109523621820
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: awesome_print
|
38
|
+
requirement: &70109523621380 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70109523621380
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: mocha
|
49
|
+
requirement: &70109523620740 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - =
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.10.3
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70109523620740
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: minitest
|
60
|
+
requirement: &70109523620180 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - =
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 2.11.1
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70109523620180
|
69
|
+
description: Find theaters and movies on sale near a given postal code
|
70
|
+
email:
|
71
|
+
- jared@redningja.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- .gitignore
|
77
|
+
- .irbrc
|
78
|
+
- .rvmrc
|
79
|
+
- Gemfile
|
80
|
+
- README.md
|
81
|
+
- Rakefile
|
82
|
+
- fandango.gemspec
|
83
|
+
- lib/fandango.rb
|
84
|
+
- lib/fandango/parser.rb
|
85
|
+
- lib/fandango/parsers/movie.rb
|
86
|
+
- lib/fandango/parsers/theater.rb
|
87
|
+
- lib/fandango/version.rb
|
88
|
+
- spec/fandango.spec.rb
|
89
|
+
- spec/spec_helper.rb
|
90
|
+
- spec/support/fixtures/movies_near_me_73142.rss
|
91
|
+
- spec/support/macros.rb
|
92
|
+
homepage: https://github.com/ordinaryzelig/fandango
|
93
|
+
licenses: []
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
requirements: []
|
111
|
+
rubyforge_project: fandango
|
112
|
+
rubygems_version: 1.8.11
|
113
|
+
signing_key:
|
114
|
+
specification_version: 3
|
115
|
+
summary: Fandango API
|
116
|
+
test_files:
|
117
|
+
- spec/fandango.spec.rb
|
118
|
+
- spec/spec_helper.rb
|
119
|
+
- spec/support/fixtures/movies_near_me_73142.rss
|
120
|
+
- spec/support/macros.rb
|