README.md in fandango-0.1.0 vs README.md in fandango-0.1.1

- old
+ new

@@ -1,18 +1,21 @@ -# Fandango API +# Fandango API [![Build Status](https://secure.travis-ci.org/ordinaryzelig/fandango.png?branch=master)](http://travis-ci.org/ordinaryzelig/fandango) Fetch theaters near postal code and movies on sale at each. +Uses Fandango's RSS moviesnearme feed. E.g. http://www.fandango.com/rss/moviesnearme_10023.rss + ## Usage `Fandango.movies_near(73142)` returns an array of hashes. Each hash has 2 items: theater info and movies on sale at that theater. A theater is a hash of data containing: name, Fandango's theater id, address, and postal code. The movies are an array of hashes. Each hash contains title and Fandango's id. ### Example output format +``` [ [ 0] { :theater => { :name => "AMC", :id => "abcde", @@ -27,13 +30,10 @@ # more movies... ] }, # more hashes... ] - -## Compatibility - -Developed with Ruby 1.9.2-p290. Won't work in Ruby 1.8. +``` ## Todo * There's only 1 test at the moment. It's small enough. Later, may want to add more broken down tests. * Support for non-US postal codes