├── .gitignore ├── .rspec ├── .ruby-version ├── .travis.yml ├── Gemfile ├── Gemfile.lock ├── LICENSE.md ├── Procfile ├── README.md ├── Rakefile ├── SERVER.md ├── app.rb ├── app ├── models │ └── restaurant.rb └── serializers │ └── restaurant_serializer.rb ├── boot.rb ├── config.ru ├── config ├── initializers │ ├── mongoid.rb │ └── redis.rb ├── mongoid.yml └── opentable.yml ├── data └── GeoIP.dat ├── examples └── client.rb ├── lib ├── open_table.rb ├── open_table │ ├── downloader.rb │ └── parser.rb ├── rack │ └── geoip.rb ├── redis_store.rb └── search.rb ├── public └── styles.css ├── spec ├── app_spec.rb ├── fabricators │ └── restaurant_fabricator.rb ├── serializers │ └── restaurant_serializer_spec.rb └── spec_helper.rb └── views ├── ga.erb ├── index.erb └── layout.erb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --format=documentation 3 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.1.5 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: bundle exec thin start -p $PORT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/Rakefile -------------------------------------------------------------------------------- /SERVER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/SERVER.md -------------------------------------------------------------------------------- /app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/app.rb -------------------------------------------------------------------------------- /app/models/restaurant.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/app/models/restaurant.rb -------------------------------------------------------------------------------- /app/serializers/restaurant_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/app/serializers/restaurant_serializer.rb -------------------------------------------------------------------------------- /boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/boot.rb -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/config.ru -------------------------------------------------------------------------------- /config/initializers/mongoid.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/config/initializers/mongoid.rb -------------------------------------------------------------------------------- /config/initializers/redis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/config/initializers/redis.rb -------------------------------------------------------------------------------- /config/mongoid.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/config/mongoid.yml -------------------------------------------------------------------------------- /config/opentable.yml: -------------------------------------------------------------------------------- 1 | host: 2 | user: 3 | password: -------------------------------------------------------------------------------- /data/GeoIP.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/data/GeoIP.dat -------------------------------------------------------------------------------- /examples/client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/examples/client.rb -------------------------------------------------------------------------------- /lib/open_table.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/lib/open_table.rb -------------------------------------------------------------------------------- /lib/open_table/downloader.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/lib/open_table/downloader.rb -------------------------------------------------------------------------------- /lib/open_table/parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/lib/open_table/parser.rb -------------------------------------------------------------------------------- /lib/rack/geoip.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/lib/rack/geoip.rb -------------------------------------------------------------------------------- /lib/redis_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/lib/redis_store.rb -------------------------------------------------------------------------------- /lib/search.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/lib/search.rb -------------------------------------------------------------------------------- /public/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/public/styles.css -------------------------------------------------------------------------------- /spec/app_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/spec/app_spec.rb -------------------------------------------------------------------------------- /spec/fabricators/restaurant_fabricator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/spec/fabricators/restaurant_fabricator.rb -------------------------------------------------------------------------------- /spec/serializers/restaurant_serializer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/spec/serializers/restaurant_serializer_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /views/ga.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/views/ga.erb -------------------------------------------------------------------------------- /views/index.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/views/index.erb -------------------------------------------------------------------------------- /views/layout.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sosedoff/opentable/HEAD/views/layout.erb --------------------------------------------------------------------------------