fandango 0.2.1 → 1.0.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.
Files changed (46) hide show
  1. data/.irbrc +5 -0
  2. data/README.md +1 -3
  3. data/fandango.gemspec +4 -20
  4. data/lib/fandango.rb +27 -16
  5. data/lib/fandango/movie.rb +30 -0
  6. data/lib/fandango/parser.rb +34 -19
  7. data/lib/fandango/theater.rb +50 -0
  8. data/lib/fandango/version.rb +1 -1
  9. data/spec/fandango.spec.rb +23 -25
  10. data/spec/movie.spec.rb +24 -0
  11. data/spec/parser.spec.rb +12 -0
  12. data/spec/spec_helper.rb +5 -3
  13. data/spec/support/fixtures/item.html +1 -0
  14. data/spec/support/fixtures/movies_near_me_73142.rss +1 -1
  15. data/spec/support/fixtures/movies_near_me_73142.yaml +349 -0
  16. data/spec/support/helpers.rb +25 -0
  17. data/spec/support/vcr_cassettes/movies_near_me_123BADZIP.yml +48 -0
  18. data/spec/support/vcr_cassettes/movies_near_me_73142.yml +247 -0
  19. data/spec/theater.spec.rb +16 -0
  20. metadata +41 -130
  21. data/lib/fandango/parsers/movie.rb +0 -30
  22. data/lib/fandango/parsers/theater.rb +0 -37
  23. data/lib/feedzirra.rb +0 -4
  24. data/lib/vendor/feedzirra/.gitignore +0 -6
  25. data/lib/vendor/feedzirra/.rspec +0 -1
  26. data/lib/vendor/feedzirra/lib/feedzirra.rb +0 -19
  27. data/lib/vendor/feedzirra/lib/feedzirra/core_ext.rb +0 -3
  28. data/lib/vendor/feedzirra/lib/feedzirra/core_ext/date.rb +0 -19
  29. data/lib/vendor/feedzirra/lib/feedzirra/core_ext/string.rb +0 -9
  30. data/lib/vendor/feedzirra/lib/feedzirra/feed.rb +0 -383
  31. data/lib/vendor/feedzirra/lib/feedzirra/feed_entry_utilities.rb +0 -65
  32. data/lib/vendor/feedzirra/lib/feedzirra/feed_utilities.rb +0 -72
  33. data/lib/vendor/feedzirra/lib/feedzirra/parser.rb +0 -17
  34. data/lib/vendor/feedzirra/lib/feedzirra/parser/atom.rb +0 -29
  35. data/lib/vendor/feedzirra/lib/feedzirra/parser/atom_entry.rb +0 -30
  36. data/lib/vendor/feedzirra/lib/feedzirra/parser/atom_feed_burner.rb +0 -21
  37. data/lib/vendor/feedzirra/lib/feedzirra/parser/atom_feed_burner_entry.rb +0 -31
  38. data/lib/vendor/feedzirra/lib/feedzirra/parser/itunes_rss.rb +0 -50
  39. data/lib/vendor/feedzirra/lib/feedzirra/parser/itunes_rss_item.rb +0 -32
  40. data/lib/vendor/feedzirra/lib/feedzirra/parser/itunes_rss_owner.rb +0 -12
  41. data/lib/vendor/feedzirra/lib/feedzirra/parser/rss.rb +0 -22
  42. data/lib/vendor/feedzirra/lib/feedzirra/parser/rss_entry.rb +0 -34
  43. data/lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb +0 -22
  44. data/lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner_entry.rb +0 -40
  45. data/lib/vendor/feedzirra/lib/feedzirra/version.rb +0 -3
  46. data/spec/support/macros.rb +0 -18
@@ -0,0 +1,25 @@
1
+ require 'pathname'
2
+
3
+ module SpecHelpers
4
+
5
+ def fixture_file(file_name)
6
+ fixtures_path = Pathname.new('./spec/support/fixtures/')
7
+ File.open(fixtures_path + file_name)
8
+ end
9
+
10
+ def fixture_file_content(file_name)
11
+ fixture_file(file_name).read
12
+ end
13
+
14
+ def item_node_from_fixture_file(file_name)
15
+ item_html = fixture_file_content('item.html')
16
+ Nokogiri.XML(item_html).at_css('item')
17
+ end
18
+
19
+ def description_node_from_fixture_file(file_name)
20
+ Fandango::Parser.parse_description(item_node_from_fixture_file(file_name))
21
+ end
22
+
23
+ end
24
+
25
+ MiniTest::Unit::TestCase.send :include, SpecHelpers if defined?(MiniTest)
@@ -0,0 +1,48 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.fandango.com/rss/moviesnearme_123BADZIP.rss
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ cache-control:
20
+ - public, max-age=86400
21
+ content-type:
22
+ - text/xml; charset=utf-8
23
+ expires:
24
+ - Tue, 29 May 2012 16:40:57 GMT
25
+ server:
26
+ - Microsoft-IIS/7.5
27
+ x-aspnet-version:
28
+ - 4.0.30319
29
+ x-powered-by:
30
+ - ASP.NET
31
+ content-length:
32
+ - '617'
33
+ date:
34
+ - Mon, 28 May 2012 16:40:58 GMT
35
+ connection:
36
+ - keep-alive
37
+ set-cookie:
38
+ - NSC_GBOE_216.178.160.43_80_DT1=ffffffff020ccfa545525d5f4f58455e445a4a423660;expires=Mon,
39
+ 28-May-2012 17:00:58 GMT;path=/;httponly
40
+ body:
41
+ encoding: US-ASCII
42
+ string: <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
43
+ movie listings for local theaters near you on Fandango.com</description><language>en-us</language><copyright>Copyright
44
+ 2012 Fandango</copyright><pubDate>Mon, 28 May 2012 16:40:57 GMT</pubDate><ttl>1440</ttl><image><url>http://images.fandango.com/r87.6/images/global/fandango_rss_logo.gif</url><title>Fandango.com
45
+ Movies Near Me</title><link><![CDATA[http://www.fandango.com/movietimes?wssaffid=11836&wssac=123]]></link></image></channel></rss>
46
+ http_version: '1.1'
47
+ recorded_at: Mon, 28 May 2012 16:40:58 GMT
48
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,247 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.fandango.com/rss/moviesnearme_73142.rss
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ accept:
11
+ - ! '*/*'
12
+ user-agent:
13
+ - Ruby
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ cache-control:
20
+ - public, max-age=86400
21
+ content-type:
22
+ - text/xml; charset=utf-8
23
+ expires:
24
+ - Tue, 29 May 2012 14:16:27 GMT
25
+ server:
26
+ - Microsoft-IIS/7.5
27
+ x-aspnet-version:
28
+ - 4.0.30319
29
+ x-powered-by:
30
+ - ASP.NET
31
+ content-length:
32
+ - '28620'
33
+ date:
34
+ - Mon, 28 May 2012 14:16:27 GMT
35
+ connection:
36
+ - keep-alive
37
+ set-cookie:
38
+ - NSC_GBOE_216.178.160.43_80_DT1=ffffffff020ccfa545525d5f4f58455e445a4a423660;expires=Mon,
39
+ 28-May-2012 14:36:27 GMT;path=/;httponly
40
+ body:
41
+ encoding: ASCII-8BIT
42
+ string: ! '<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
43
+ movie listings for local theaters near you on Fandango.com</description><language>en-us</language><copyright>Copyright
44
+ 2012 Fandango</copyright><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><ttl>1440</ttl><image><url>http://images.fandango.com/r87.6/images/global/fandango_rss_logo.gif</url><title>Fandango.com
45
+ Movies Near Me</title><link><![CDATA[http://www.fandango.com/movietimes?wssaffid=11836&wssac=123]]></link></image><item><title><![CDATA[AMC
46
+ Quail Springs Mall 24]]></title><link><![CDATA[http://www.fandango.com/amcquailspringsmall24_aaktw/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>2501
47
+ West Memorial Oklahoma City, OK 73134</p><p><ul><li><a href="http://www.fandango.com/abraham+lincoln3a+vampire+hunter_141897/movietimes?location=73134&wssaffid=11836&wssac=123">Abraham
48
+ Lincoln: Vampire Hunter</a></li><li><a href="http://www.fandango.com/the+amazing+spiderman+3d_141122/movietimes?location=73134&wssaffid=11836&wssac=123">The
49
+ Amazing Spider-Man 3D</a></li><li><a href="http://www.fandango.com/the+amazing+spiderman_126975/movietimes?location=73134&wssaffid=11836&wssac=123">The
50
+ Amazing Spider-Man</a></li><li><a href="http://www.fandango.com/the+amazing+spiderman3a+an+imax+3d+experience_153829/movietimes?location=73134&wssaffid=11836&wssac=123">The
51
+ Amazing Spider-Man: An IMAX 3D Experience</a></li><li><a href="http://www.fandango.com/battleship_130096/movietimes?location=73134&wssaffid=11836&wssac=123">Battleship</a></li><li><a
52
+ href="http://www.fandango.com/the+best+exotic+marigold+hotel_147777/movietimes?location=73134&wssaffid=11836&wssac=123">The
53
+ Best Exotic Marigold Hotel</a></li><li><a href="http://www.fandango.com/brave_136016/movietimes?location=73134&wssaffid=11836&wssac=123">Brave</a></li><li><a
54
+ href="http://www.fandango.com/bully_145958/movietimes?location=73134&wssaffid=11836&wssac=123">Bully</a></li><li><a
55
+ href="http://www.fandango.com/chernobyl+diaries_152960/movietimes?location=73134&wssaffid=11836&wssac=123">Chernobyl
56
+ Diaries</a></li><li><a href="http://www.fandango.com/chimpanzee_116882/movietimes?location=73134&wssaffid=11836&wssac=123">Chimpanzee</a></li><li><a
57
+ href="http://www.fandango.com/dark+shadows_147176/movietimes?location=73134&wssaffid=11836&wssac=123">Dark
58
+ Shadows</a></li><li><a href="http://www.fandango.com/the+dictator_145763/movietimes?location=73134&wssaffid=11836&wssac=123">The
59
+ Dictator</a></li><li><a href="http://www.fandango.com/happiest+baby+and+happiest+toddler+live+with+dr.+karp_154921/movietimes?location=73134&wssaffid=11836&wssac=123">Happiest
60
+ Baby and Happiest Toddler Live With Dr. Karp</a></li><li><a href="http://www.fandango.com/the+hunger+games_136944/movietimes?location=73134&wssaffid=11836&wssac=123">The
61
+ Hunger Games</a></li><li><a href="http://www.fandango.com/the+lucky+one_145457/movietimes?location=73134&wssaffid=11836&wssac=123">The
62
+ Lucky One</a></li><li><a href="http://www.fandango.com/madagascar+33a+europe27s+most+wanted+3d_151457/movietimes?location=73134&wssaffid=11836&wssac=123">Madagascar
63
+ 3: Europe''s Most Wanted 3D</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers_30154/movietimes?location=73134&wssaffid=11836&wssac=123">Marvel''s
64
+ The Avengers</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers+3d_151545/movietimes?location=73134&wssaffid=11836&wssac=123">Marvel''s
65
+ The Avengers 3D</a></li><li><a href="http://www.fandango.com/men+in+black+iii_135737/movietimes?location=73134&wssaffid=11836&wssac=123">Men
66
+ in Black III</a></li><li><a href="http://www.fandango.com/men+in+black+iii+3d_147264/movietimes?location=73134&wssaffid=11836&wssac=123">Men
67
+ in Black III 3D</a></li><li><a href="http://www.fandango.com/men+in+black+iii3a+an+imax+3d+experience_148659/movietimes?location=73134&wssaffid=11836&wssac=123">Men
68
+ in Black III: An IMAX 3D Experience</a></li><li><a href="http://www.fandango.com/national+theater+live3a+frankenstein+original+casting_137637/movietimes?location=73134&wssaffid=11836&wssac=123">National
69
+ Theater Live: Frankenstein (Original Casting)</a></li><li><a href="http://www.fandango.com/national+theater+live3a+frankenstein+reverse+casting_142883/movietimes?location=73134&wssaffid=11836&wssac=123">National
70
+ Theater Live: Frankenstein (Reverse Casting)</a></li><li><a href="http://www.fandango.com/the+pirates+band+of+misfits_146664/movietimes?location=73134&wssaffid=11836&wssac=123">The
71
+ Pirates! Band of Misfits</a></li><li><a href="http://www.fandango.com/prometheus+3d_152981/movietimes?location=73134&wssaffid=11836&wssac=123">Prometheus
72
+ 3D</a></li><li><a href="http://www.fandango.com/prometheus3a+an+imax+3d+experience_153676/movietimes?location=73134&wssaffid=11836&wssac=123">Prometheus:
73
+ An IMAX 3D Experience</a></li><li><a href="http://www.fandango.com/ratatouille_98260/movietimes?location=73134&wssaffid=11836&wssac=123">Ratatouille</a></li><li><a
74
+ href="http://www.fandango.com/snow+white+and+the+huntsman_141533/movietimes?location=73134&wssaffid=11836&wssac=123">Snow
75
+ White and the Huntsman</a></li><li><a href="http://www.fandango.com/ted_136691/movietimes?location=73134&wssaffid=11836&wssac=123">Ted</a></li><li><a
76
+ href="http://www.fandango.com/the+tempest+starring+christopher+plummer_155187/movietimes?location=73134&wssaffid=11836&wssac=123">The
77
+ Tempest Starring Christopher Plummer</a></li><li><a href="http://www.fandango.com/that27s+my+boy_149081/movietimes?location=73134&wssaffid=11836&wssac=123">That''s
78
+ My Boy</a></li><li><a href="http://www.fandango.com/think+like+a+man_147732/movietimes?location=73134&wssaffid=11836&wssac=123">Think
79
+ Like a Man</a></li><li><a href="http://www.fandango.com/toy+story+3_124782/movietimes?location=73134&wssaffid=11836&wssac=123">Toy
80
+ Story 3</a></li><li><a href="http://www.fandango.com/up_114055/movietimes?location=73134&wssaffid=11836&wssac=123">Up</a></li><li><a
81
+ href="http://www.fandango.com/walle_102903/movietimes?location=73134&wssaffid=11836&wssac=123">WALL-E</a></li><li><a
82
+ href="http://www.fandango.com/what+to+expect+when+you27re+expecting_120322/movietimes?location=73134&wssaffid=11836&wssac=123">What
83
+ to Expect When You''re Expecting</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
84
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
85
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
86
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
87
+ Movies Near Me</source></item><item><title><![CDATA[Northpark 7]]></title><link><![CDATA[http://www.fandango.com/northpark7_aaicu/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>12100
88
+ N. May Ave Oklahoma City, OK 73120</p><p><ul><li><a href="http://www.fandango.com/21+jump+street_131465/movietimes?location=73120&wssaffid=11836&wssac=123">21
89
+ Jump Street</a></li><li><a href="http://www.fandango.com/alvin+and+the+chipmunks3a+chipwrecked_141127/movietimes?location=73120&wssaffid=11836&wssac=123">Alvin
90
+ and the Chipmunks: Chipwrecked</a></li><li><a href="http://www.fandango.com/american+reunion_145402/movietimes?location=73120&wssaffid=11836&wssac=123">American
91
+ Reunion</a></li><li><a href="http://www.fandango.com/dr.+seuss27+the+lorax_51897/movietimes?location=73120&wssaffid=11836&wssac=123">Dr.
92
+ Seuss'' The Lorax</a></li><li><a href="http://www.fandango.com/dr.+seuss27+the+lorax+3d_148858/movietimes?location=73120&wssaffid=11836&wssac=123">Dr.
93
+ Seuss'' The Lorax 3D</a></li><li><a href="http://www.fandango.com/john+carter_130633/movietimes?location=73120&wssaffid=11836&wssac=123">John
94
+ Carter</a></li><li><a href="http://www.fandango.com/john+carter+3d_147144/movietimes?location=73120&wssaffid=11836&wssac=123">John
95
+ Carter 3D</a></li><li><a href="http://www.fandango.com/journey+23a+the+mysterious+island_135727/movietimes?location=73120&wssaffid=11836&wssac=123">Journey
96
+ 2: The Mysterious Island</a></li><li><a href="http://www.fandango.com/mirror+mirror_143278/movietimes?location=73120&wssaffid=11836&wssac=123">Mirror
97
+ Mirror</a></li><li><a href="http://www.fandango.com/wrath+of+the+titans_140654/movietimes?location=73120&wssaffid=11836&wssac=123">Wrath
98
+ of the Titans</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
99
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
100
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
101
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
102
+ Movies Near Me</source></item><item><title><![CDATA[Dickinson Penn Square
103
+ 10]]></title><link><![CDATA[http://www.fandango.com/dickinsonpennsquare10_aagtg/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>1901
104
+ NW Expressway Oklahoma City, OK 73118</p><p><ul><li><a href="http://www.fandango.com/battleship_130096/movietimes?location=73118&wssaffid=11836&wssac=123">Battleship</a></li><li><a
105
+ href="http://www.fandango.com/chernobyl+diaries_152960/movietimes?location=73118&wssaffid=11836&wssac=123">Chernobyl
106
+ Diaries</a></li><li><a href="http://www.fandango.com/dark+shadows_147176/movietimes?location=73118&wssaffid=11836&wssac=123">Dark
107
+ Shadows</a></li><li><a href="http://www.fandango.com/the+dictator_145763/movietimes?location=73118&wssaffid=11836&wssac=123">The
108
+ Dictator</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers_30154/movietimes?location=73118&wssaffid=11836&wssac=123">Marvel''s
109
+ The Avengers</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers+3d_151545/movietimes?location=73118&wssaffid=11836&wssac=123">Marvel''s
110
+ The Avengers 3D</a></li><li><a href="http://www.fandango.com/men+in+black+iii_135737/movietimes?location=73118&wssaffid=11836&wssac=123">Men
111
+ in Black III</a></li><li><a href="http://www.fandango.com/men+in+black+iii+3d_147264/movietimes?location=73118&wssaffid=11836&wssac=123">Men
112
+ in Black III 3D</a></li><li><a href="http://www.fandango.com/what+to+expect+when+you27re+expecting_120322/movietimes?location=73118&wssaffid=11836&wssac=123">What
113
+ to Expect When You''re Expecting</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
114
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
115
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
116
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
117
+ 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
118
+ A. N.W. 23rd St. Oklahoma City, OK 73127</p><p><ul><li><a href="http://www.fandango.com/battleship_130096/movietimes?location=73127&wssaffid=11836&wssac=123">Battleship</a></li><li><a
119
+ href="http://www.fandango.com/chernobyl+diaries_152960/movietimes?location=73127&wssaffid=11836&wssac=123">Chernobyl
120
+ Diaries</a></li><li><a href="http://www.fandango.com/dark+shadows_147176/movietimes?location=73127&wssaffid=11836&wssac=123">Dark
121
+ Shadows</a></li><li><a href="http://www.fandango.com/the+dictator_145763/movietimes?location=73127&wssaffid=11836&wssac=123">The
122
+ Dictator</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers_30154/movietimes?location=73127&wssaffid=11836&wssac=123">Marvel''s
123
+ The Avengers</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers+3d_151545/movietimes?location=73127&wssaffid=11836&wssac=123">Marvel''s
124
+ The Avengers 3D</a></li><li><a href="http://www.fandango.com/men+in+black+iii_135737/movietimes?location=73127&wssaffid=11836&wssac=123">Men
125
+ in Black III</a></li><li><a href="http://www.fandango.com/men+in+black+iii+3d_147264/movietimes?location=73127&wssaffid=11836&wssac=123">Men
126
+ in Black III 3D</a></li><li><a href="http://www.fandango.com/what+to+expect+when+you27re+expecting_120322/movietimes?location=73127&wssaffid=11836&wssac=123">What
127
+ to Expect When You''re Expecting</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
128
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
129
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
130
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
131
+ 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
132
+ East Danforth Rd Edmond, OK 73083</p><p></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
133
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
134
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
135
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
136
+ 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
137
+ Martin Luther King Blvd. Oklahoma City, OK 73111</p><p><ul><li><a href="http://www.fandango.com/the+amazing+spiderman+3d_141122/movietimes?location=73111&wssaffid=11836&wssac=123">The
138
+ Amazing Spider-Man 3D</a></li><li><a href="http://www.fandango.com/anna+bolena+met+summer+encore_154543/movietimes?location=73111&wssaffid=11836&wssac=123">Anna
139
+ Bolena Met Summer Encore</a></li><li><a href="http://www.fandango.com/battleship_130096/movietimes?location=73111&wssaffid=11836&wssac=123">Battleship</a></li><li><a
140
+ href="http://www.fandango.com/bernie_149564/movietimes?location=73111&wssaffid=11836&wssac=123">Bernie</a></li><li><a
141
+ href="http://www.fandango.com/the+best+exotic+marigold+hotel_147777/movietimes?location=73111&wssaffid=11836&wssac=123">The
142
+ Best Exotic Marigold Hotel</a></li><li><a href="http://www.fandango.com/cabaret_104412/movietimes?location=73111&wssaffid=11836&wssac=123">Cabaret</a></li><li><a
143
+ href="http://www.fandango.com/chernobyl+diaries_152960/movietimes?location=73111&wssaffid=11836&wssac=123">Chernobyl
144
+ Diaries</a></li><li><a href="http://www.fandango.com/citizen+kane_1439/movietimes?location=73111&wssaffid=11836&wssac=123">Citizen
145
+ Kane</a></li><li><a href="http://www.fandango.com/a+clockwork+orange_370/movietimes?location=73111&wssaffid=11836&wssac=123">A
146
+ Clockwork Orange</a></li><li><a href="http://www.fandango.com/cool+hand+luke_15758/movietimes?location=73111&wssaffid=11836&wssac=123">Cool
147
+ Hand Luke</a></li><li><a href="http://www.fandango.com/cowgirls+n27+angels_154322/movietimes?location=73111&wssaffid=11836&wssac=123">Cowgirls
148
+ n'' Angels</a></li><li><a href="http://www.fandango.com/crooked+arrows_154422/movietimes?location=73111&wssaffid=11836&wssac=123">Crooked
149
+ Arrows</a></li><li><a href="http://www.fandango.com/dark+shadows_147176/movietimes?location=73111&wssaffid=11836&wssac=123">Dark
150
+ Shadows</a></li><li><a href="http://www.fandango.com/dci+2012+tour+premiere_154934/movietimes?location=73111&wssaffid=11836&wssac=123">DCI
151
+ 2012 Tour Premiere</a></li><li><a href="http://www.fandango.com/der+rosenkavalier+met+summer+encore_154548/movietimes?location=73111&wssaffid=11836&wssac=123">Der
152
+ Rosenkavalier Met Summer Encore</a></li><li><a href="http://www.fandango.com/diary+of+a+wimpy+kid3a+rodrick+rules_139535/movietimes?location=73111&wssaffid=11836&wssac=123">Diary
153
+ of a Wimpy Kid: Rodrick Rules</a></li><li><a href="http://www.fandango.com/the+dictator_145763/movietimes?location=73111&wssaffid=11836&wssac=123">The
154
+ Dictator</a></li><li><a href="http://www.fandango.com/dolphin+tale_140092/movietimes?location=73111&wssaffid=11836&wssac=123">Dolphin
155
+ Tale</a></li><li><a href="http://www.fandango.com/don+giovanni+met+summer+encore_154545/movietimes?location=73111&wssaffid=11836&wssac=123">Don
156
+ Giovanni Met Summer Encore</a></li><li><a href="http://www.fandango.com/the+exorcist+1973_90729/movietimes?location=73111&wssaffid=11836&wssac=123">The
157
+ Exorcist (1973)</a></li><li><a href="http://www.fandango.com/happiest+baby+and+happiest+toddler+live+with+dr.+karp_154921/movietimes?location=73111&wssaffid=11836&wssac=123">Happiest
158
+ Baby and Happiest Toddler Live With Dr. Karp</a></li><li><a href="http://www.fandango.com/happy+feet+two_149198/movietimes?location=73111&wssaffid=11836&wssac=123">Happy
159
+ Feet Two</a></li><li><a href="http://www.fandango.com/the+hunger+games_136944/movietimes?location=73111&wssaffid=11836&wssac=123">The
160
+ Hunger Games</a></li><li><a href="http://www.fandango.com/journey+23a+the+mysterious+island_135727/movietimes?location=73111&wssaffid=11836&wssac=123">Journey
161
+ 2: The Mysterious Island</a></li><li><a href="http://www.fandango.com/kung+fu+panda+2_119854/movietimes?location=73111&wssaffid=11836&wssac=123">Kung
162
+ Fu Panda 2</a></li><li><a href="http://www.fandango.com/le+comte+ory+met+summer+encore_154544/movietimes?location=73111&wssaffid=11836&wssac=123">Le
163
+ Comte Ory Met Summer Encore</a></li><li><a href="http://www.fandango.com/les+contes+de28099hoffmann+met+summer+encore_154546/movietimes?location=73111&wssaffid=11836&wssac=123">Les
164
+ Contes d’Hoffmann Met Summer Encore</a></li><li><a href="http://www.fandango.com/linkin+park+living+things+concert+event_156066/movietimes?location=73111&wssaffid=11836&wssac=123">Linkin
165
+ Park Living Things Concert Event</a></li><li><a href="http://www.fandango.com/lucia+di+lammermoor+met+summer+encore_154547/movietimes?location=73111&wssaffid=11836&wssac=123">Lucia
166
+ Di Lammermoor Met Summer Encore</a></li><li><a href="http://www.fandango.com/madagascar+33a+europe27s+most+wanted+3d_151457/movietimes?location=73111&wssaffid=11836&wssac=123">Madagascar
167
+ 3: Europe''s Most Wanted 3D</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers_30154/movietimes?location=73111&wssaffid=11836&wssac=123">Marvel''s
168
+ The Avengers</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers+3d_151545/movietimes?location=73111&wssaffid=11836&wssac=123">Marvel''s
169
+ The Avengers 3D</a></li><li><a href="http://www.fandango.com/men+in+black+iii_135737/movietimes?location=73111&wssaffid=11836&wssac=123">Men
170
+ in Black III</a></li><li><a href="http://www.fandango.com/men+in+black+iii+3d_147264/movietimes?location=73111&wssaffid=11836&wssac=123">Men
171
+ in Black III 3D</a></li><li><a href="http://www.fandango.com/national+theater+live3a+frankenstein+original+casting_137637/movietimes?location=73111&wssaffid=11836&wssac=123">National
172
+ Theater Live: Frankenstein (Original Casting)</a></li><li><a href="http://www.fandango.com/national+theater+live3a+frankenstein+reverse+casting_142883/movietimes?location=73111&wssaffid=11836&wssac=123">National
173
+ Theater Live: Frankenstein (Reverse Casting)</a></li><li><a href="http://www.fandango.com/north+by+northwest_631/movietimes?location=73111&wssaffid=11836&wssac=123">North
174
+ by Northwest</a></li><li><a href="http://www.fandango.com/prometheus+3d_152981/movietimes?location=73111&wssaffid=11836&wssac=123">Prometheus
175
+ 3D</a></li><li><a href="http://www.fandango.com/puss+in+boots_131567/movietimes?location=73111&wssaffid=11836&wssac=123">Puss
176
+ in Boots</a></li><li><a href="http://www.fandango.com/rio+the+movie_131571/movietimes?location=73111&wssaffid=11836&wssac=123">Rio
177
+ The Movie</a></li><li><a href="http://www.fandango.com/the+searchers_1926/movietimes?location=73111&wssaffid=11836&wssac=123">The
178
+ Searchers</a></li><li><a href="http://www.fandango.com/snow+white+and+the+huntsman_141533/movietimes?location=73111&wssaffid=11836&wssac=123">Snow
179
+ White and the Huntsman</a></li><li><a href="http://www.fandango.com/star+trek3a+the+next+generation+25th+anniversary+event_155848/movietimes?location=73111&wssaffid=11836&wssac=123">Star
180
+ Trek: The Next Generation 25th Anniversary Event</a></li><li><a href="http://www.fandango.com/tcm+presents+singin27+in+the+rain+60th+anniversary+event_155652/movietimes?location=73111&wssaffid=11836&wssac=123">TCM
181
+ Presents Singin'' in the Rain 60th Anniversary Event</a></li><li><a href="http://www.fandango.com/the+tempest+starring+christopher+plummer_155187/movietimes?location=73111&wssaffid=11836&wssac=123">The
182
+ Tempest Starring Christopher Plummer</a></li><li><a href="http://www.fandango.com/that27s+entertainment_95288/movietimes?location=73111&wssaffid=11836&wssac=123">That''s
183
+ Entertainment!</a></li><li><a href="http://www.fandango.com/think+like+a+man_147732/movietimes?location=73111&wssaffid=11836&wssac=123">Think
184
+ Like a Man</a></li><li><a href="http://www.fandango.com/what+to+expect+when+you27re+expecting_120322/movietimes?location=73111&wssaffid=11836&wssac=123">What
185
+ to Expect When You''re Expecting</a></li><li><a href="http://www.fandango.com/winnie+the+pooh_141120/movietimes?location=73111&wssaffid=11836&wssac=123">Winnie
186
+ the Pooh</a></li><li><a href="http://www.fandango.com/yogi+bear_32983/movietimes?location=73111&wssaffid=11836&wssac=123">Yogi
187
+ Bear</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
188
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
189
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
190
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
191
+ 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
192
+ Garth Brooks Rd. Yukon, OK 73099</p><p><ul><li><a href="http://www.fandango.com/battleship_130096/movietimes?location=73099&wssaffid=11836&wssac=123">Battleship</a></li><li><a
193
+ href="http://www.fandango.com/chernobyl+diaries_152960/movietimes?location=73099&wssaffid=11836&wssac=123">Chernobyl
194
+ Diaries</a></li><li><a href="http://www.fandango.com/the+dictator_145763/movietimes?location=73099&wssaffid=11836&wssac=123">The
195
+ Dictator</a></li><li><a href="http://www.fandango.com/what+to+expect+when+you27re+expecting_120322/movietimes?location=73099&wssaffid=11836&wssac=123">What
196
+ to Expect When You''re Expecting</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
197
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
198
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
199
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
200
+ 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
201
+ NE 52nd Street Oklahoma City, OK 73111</p><p><ul><li><a href="http://www.fandango.com/tornado+alley_140948/movietimes?location=73111&wssaffid=11836&wssac=123">Tornado
202
+ Alley</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
203
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
204
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
205
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
206
+ Movies Near Me</source></item><item><title><![CDATA[Dickinson West End Pointe
207
+ 8 Theatre]]></title><link><![CDATA[http://www.fandango.com/dickinsonwestendpointe8theatre_aauol/theaterpage?wssaffid=11836&wssac=123]]></link><description><![CDATA[<p>12825
208
+ NW 10th Yukon, OK 73099</p><p><ul><li><a href="http://www.fandango.com/21+jump+street_131465/movietimes?location=73099&wssaffid=11836&wssac=123">21
209
+ Jump Street</a></li><li><a href="http://www.fandango.com/dark+shadows_147176/movietimes?location=73099&wssaffid=11836&wssac=123">Dark
210
+ Shadows</a></li><li><a href="http://www.fandango.com/the+hunger+games_136944/movietimes?location=73099&wssaffid=11836&wssac=123">The
211
+ Hunger Games</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers_30154/movietimes?location=73099&wssaffid=11836&wssac=123">Marvel''s
212
+ The Avengers</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers+3d_151545/movietimes?location=73099&wssaffid=11836&wssac=123">Marvel''s
213
+ The Avengers 3D</a></li><li><a href="http://www.fandango.com/men+in+black+iii_135737/movietimes?location=73099&wssaffid=11836&wssac=123">Men
214
+ in Black III</a></li><li><a href="http://www.fandango.com/men+in+black+iii+3d_147264/movietimes?location=73099&wssaffid=11836&wssac=123">Men
215
+ in Black III 3D</a></li><li><a href="http://www.fandango.com/mirror+mirror_143278/movietimes?location=73099&wssaffid=11836&wssac=123">Mirror
216
+ Mirror</a></li><li><a href="http://www.fandango.com/the+pirates+band+of+misfits_146664/movietimes?location=73099&wssaffid=11836&wssac=123">The
217
+ Pirates! Band of Misfits</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
218
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
219
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
220
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
221
+ 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
222
+ East Reno Ave. Oklahoma City, OK 73104</p><p><ul><li><a href="http://www.fandango.com/battleship_130096/movietimes?location=73104&wssaffid=11836&wssac=123">Battleship</a></li><li><a
223
+ href="http://www.fandango.com/the+best+exotic+marigold+hotel_147777/movietimes?location=73104&wssaffid=11836&wssac=123">The
224
+ Best Exotic Marigold Hotel</a></li><li><a href="http://www.fandango.com/chernobyl+diaries_152960/movietimes?location=73104&wssaffid=11836&wssac=123">Chernobyl
225
+ Diaries</a></li><li><a href="http://www.fandango.com/cowgirls+n27+angels_154322/movietimes?location=73104&wssaffid=11836&wssac=123">Cowgirls
226
+ n'' Angels</a></li><li><a href="http://www.fandango.com/dark+shadows_147176/movietimes?location=73104&wssaffid=11836&wssac=123">Dark
227
+ Shadows</a></li><li><a href="http://www.fandango.com/the+dictator_145763/movietimes?location=73104&wssaffid=11836&wssac=123">The
228
+ Dictator</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers_30154/movietimes?location=73104&wssaffid=11836&wssac=123">Marvel''s
229
+ The Avengers</a></li><li><a href="http://www.fandango.com/marvel27s+the+avengers+3d_151545/movietimes?location=73104&wssaffid=11836&wssac=123">Marvel''s
230
+ The Avengers 3D</a></li><li><a href="http://www.fandango.com/men+in+black+iii_135737/movietimes?location=73104&wssaffid=11836&wssac=123">Men
231
+ in Black III</a></li><li><a href="http://www.fandango.com/men+in+black+iii+3d_147264/movietimes?location=73104&wssaffid=11836&wssac=123">Men
232
+ in Black III 3D</a></li><li><a href="http://www.fandango.com/snow+white+and+the+huntsman_141533/movietimes?location=73104&wssaffid=11836&wssac=123">Snow
233
+ White and the Huntsman</a></li><li><a href="http://www.fandango.com/think+like+a+man_147732/movietimes?location=73104&wssaffid=11836&wssac=123">Think
234
+ Like a Man</a></li><li><a href="http://www.fandango.com/what+to+expect+when+you27re+expecting_120322/movietimes?location=73104&wssaffid=11836&wssac=123">What
235
+ to Expect When You''re Expecting</a></li></ul></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
236
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
237
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
238
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
239
+ 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
240
+ S. Douglas Ave. Oklahoma City, OK 73109</p><p></p><p><a href="http://www.fandango.com/movietimes?wssaffid=11836&wssac=123">Search
241
+ other theaters</a></p>]]></description><author>affiliates@fandango.com</author><category>Movies
242
+ Near Me</category><pubDate>Mon, 28 May 2012 14:16:27 GMT</pubDate><source
243
+ url="http://www.fandango.com/rss/moviesnearme_73142.rss?wssaffid=11836&amp;wssac=123">Fandango.com
244
+ Movies Near Me</source></item></channel></rss>'
245
+ http_version: '1.1'
246
+ recorded_at: Mon, 28 May 2012 14:16:28 GMT
247
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+
3
+ describe Fandango::Theater do
4
+
5
+ specify '.parse parses RSS item into array of movie attribute hashes' do
6
+ item_node = item_node_from_fixture_file('item.html')
7
+ hash = Fandango::Theater.parse(item_node)
8
+ hash.must_equal({
9
+ name: 'AMC Quail Springs Mall 24',
10
+ id: 'aaktw',
11
+ address: '2501 West Memorial Oklahoma City, OK 73134',
12
+ postal_code: '73134',
13
+ })
14
+ end
15
+
16
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fandango
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,143 +9,63 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-26 00:00:00.000000000Z
12
+ date: 2012-05-28 00:00:00.000000000Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: activesupport
16
- requirement: &70174952184240 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: 3.0.8
22
- - - <
23
- - !ruby/object:Gem::Version
24
- version: 3.2.0
25
- type: :runtime
26
- prerelease: false
27
- version_requirements: *70174952184240
28
14
  - !ruby/object:Gem::Dependency
29
15
  name: nokogiri
30
- requirement: &70174952183440 !ruby/object:Gem::Requirement
31
- none: false
32
- requirements:
33
- - - ! '>='
34
- - !ruby/object:Gem::Version
35
- version: 1.4.4
36
- type: :runtime
37
- prerelease: false
38
- version_requirements: *70174952183440
39
- - !ruby/object:Gem::Dependency
40
- name: sax-machine
41
- requirement: &70174952182680 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ~>
45
- - !ruby/object:Gem::Version
46
- version: 0.1.0
47
- type: :runtime
48
- prerelease: false
49
- version_requirements: *70174952182680
50
- - !ruby/object:Gem::Dependency
51
- name: curb
52
- requirement: &70174952181900 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ~>
56
- - !ruby/object:Gem::Version
57
- version: 0.7.15
58
- type: :runtime
59
- prerelease: false
60
- version_requirements: *70174952181900
61
- - !ruby/object:Gem::Dependency
62
- name: builder
63
- requirement: &70174952181420 !ruby/object:Gem::Requirement
64
- none: false
65
- requirements:
66
- - - ! '>='
67
- - !ruby/object:Gem::Version
68
- version: 2.1.2
69
- type: :runtime
70
- prerelease: false
71
- version_requirements: *70174952181420
72
- - !ruby/object:Gem::Dependency
73
- name: loofah
74
- requirement: &70174952180940 !ruby/object:Gem::Requirement
16
+ requirement: &70217372724580 !ruby/object:Gem::Requirement
75
17
  none: false
76
18
  requirements:
77
19
  - - ~>
78
20
  - !ruby/object:Gem::Version
79
- version: 1.2.0
80
- type: :runtime
81
- prerelease: false
82
- version_requirements: *70174952180940
83
- - !ruby/object:Gem::Dependency
84
- name: rdoc
85
- requirement: &70174952180240 !ruby/object:Gem::Requirement
86
- none: false
87
- requirements:
88
- - - ~>
89
- - !ruby/object:Gem::Version
90
- version: '3.8'
91
- type: :runtime
92
- prerelease: false
93
- version_requirements: *70174952180240
94
- - !ruby/object:Gem::Dependency
95
- name: rake
96
- requirement: &70174952179760 !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: 0.8.7
21
+ version: '1.0'
102
22
  type: :runtime
103
23
  prerelease: false
104
- version_requirements: *70174952179760
24
+ version_requirements: *70217372724580
105
25
  - !ruby/object:Gem::Dependency
106
- name: i18n
107
- requirement: &70174952179220 !ruby/object:Gem::Requirement
26
+ name: awesome_print
27
+ requirement: &70217372755120 !ruby/object:Gem::Requirement
108
28
  none: false
109
29
  requirements:
110
30
  - - ! '>='
111
31
  - !ruby/object:Gem::Version
112
- version: 0.5.0
113
- type: :runtime
32
+ version: '0'
33
+ type: :development
114
34
  prerelease: false
115
- version_requirements: *70174952179220
35
+ version_requirements: *70217372755120
116
36
  - !ruby/object:Gem::Dependency
117
- name: awesome_print
118
- requirement: &70174952178660 !ruby/object:Gem::Requirement
37
+ name: fakeweb
38
+ requirement: &70217372754580 !ruby/object:Gem::Requirement
119
39
  none: false
120
40
  requirements:
121
- - - ! '>='
41
+ - - =
122
42
  - !ruby/object:Gem::Version
123
- version: '0'
43
+ version: 1.3.0
124
44
  type: :development
125
45
  prerelease: false
126
- version_requirements: *70174952178660
46
+ version_requirements: *70217372754580
127
47
  - !ruby/object:Gem::Dependency
128
- name: mocha
129
- requirement: &70174952177840 !ruby/object:Gem::Requirement
48
+ name: minitest
49
+ requirement: &70217372754080 !ruby/object:Gem::Requirement
130
50
  none: false
131
51
  requirements:
132
52
  - - =
133
53
  - !ruby/object:Gem::Version
134
- version: 0.10.3
54
+ version: 3.0.1
135
55
  type: :development
136
56
  prerelease: false
137
- version_requirements: *70174952177840
57
+ version_requirements: *70217372754080
138
58
  - !ruby/object:Gem::Dependency
139
- name: minitest
140
- requirement: &70174952177100 !ruby/object:Gem::Requirement
59
+ name: vcr
60
+ requirement: &70217372753620 !ruby/object:Gem::Requirement
141
61
  none: false
142
62
  requirements:
143
63
  - - =
144
64
  - !ruby/object:Gem::Version
145
- version: 2.11.1
65
+ version: 2.1.1
146
66
  type: :development
147
67
  prerelease: false
148
- version_requirements: *70174952177100
68
+ version_requirements: *70217372753620
149
69
  description: Find theaters and movies on sale near a given postal code
150
70
  email:
151
71
  - jared@redningja.com
@@ -162,37 +82,21 @@ files:
162
82
  - Rakefile
163
83
  - fandango.gemspec
164
84
  - lib/fandango.rb
85
+ - lib/fandango/movie.rb
165
86
  - lib/fandango/parser.rb
166
- - lib/fandango/parsers/movie.rb
167
- - lib/fandango/parsers/theater.rb
87
+ - lib/fandango/theater.rb
168
88
  - lib/fandango/version.rb
169
- - lib/feedzirra.rb
170
- - lib/vendor/feedzirra/.gitignore
171
- - lib/vendor/feedzirra/.rspec
172
- - lib/vendor/feedzirra/lib/feedzirra.rb
173
- - lib/vendor/feedzirra/lib/feedzirra/core_ext.rb
174
- - lib/vendor/feedzirra/lib/feedzirra/core_ext/date.rb
175
- - lib/vendor/feedzirra/lib/feedzirra/core_ext/string.rb
176
- - lib/vendor/feedzirra/lib/feedzirra/feed.rb
177
- - lib/vendor/feedzirra/lib/feedzirra/feed_entry_utilities.rb
178
- - lib/vendor/feedzirra/lib/feedzirra/feed_utilities.rb
179
- - lib/vendor/feedzirra/lib/feedzirra/parser.rb
180
- - lib/vendor/feedzirra/lib/feedzirra/parser/atom.rb
181
- - lib/vendor/feedzirra/lib/feedzirra/parser/atom_entry.rb
182
- - lib/vendor/feedzirra/lib/feedzirra/parser/atom_feed_burner.rb
183
- - lib/vendor/feedzirra/lib/feedzirra/parser/atom_feed_burner_entry.rb
184
- - lib/vendor/feedzirra/lib/feedzirra/parser/itunes_rss.rb
185
- - lib/vendor/feedzirra/lib/feedzirra/parser/itunes_rss_item.rb
186
- - lib/vendor/feedzirra/lib/feedzirra/parser/itunes_rss_owner.rb
187
- - lib/vendor/feedzirra/lib/feedzirra/parser/rss.rb
188
- - lib/vendor/feedzirra/lib/feedzirra/parser/rss_entry.rb
189
- - lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner.rb
190
- - lib/vendor/feedzirra/lib/feedzirra/parser/rss_feed_burner_entry.rb
191
- - lib/vendor/feedzirra/lib/feedzirra/version.rb
192
89
  - spec/fandango.spec.rb
90
+ - spec/movie.spec.rb
91
+ - spec/parser.spec.rb
193
92
  - spec/spec_helper.rb
93
+ - spec/support/fixtures/item.html
194
94
  - spec/support/fixtures/movies_near_me_73142.rss
195
- - spec/support/macros.rb
95
+ - spec/support/fixtures/movies_near_me_73142.yaml
96
+ - spec/support/helpers.rb
97
+ - spec/support/vcr_cassettes/movies_near_me_123BADZIP.yml
98
+ - spec/support/vcr_cassettes/movies_near_me_73142.yml
99
+ - spec/theater.spec.rb
196
100
  homepage: https://github.com/ordinaryzelig/fandango
197
101
  licenses: []
198
102
  post_install_message:
@@ -219,6 +123,13 @@ specification_version: 3
219
123
  summary: Fandango API
220
124
  test_files:
221
125
  - spec/fandango.spec.rb
126
+ - spec/movie.spec.rb
127
+ - spec/parser.spec.rb
222
128
  - spec/spec_helper.rb
129
+ - spec/support/fixtures/item.html
223
130
  - spec/support/fixtures/movies_near_me_73142.rss
224
- - spec/support/macros.rb
131
+ - spec/support/fixtures/movies_near_me_73142.yaml
132
+ - spec/support/helpers.rb
133
+ - spec/support/vcr_cassettes/movies_near_me_123BADZIP.yml
134
+ - spec/support/vcr_cassettes/movies_near_me_73142.yml
135
+ - spec/theater.spec.rb