Permalink
Browse files

initial commit

  • Loading branch information...
michaeleconomy committed Jan 23, 2012
0 parents commit 8e2832313af8f1ed56e94abba8557338d0399780
Showing with 1,728 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. +29 −0 Gemfile
  3. +149 −0 Gemfile.lock
  4. +1 −0 README
  5. +7 −0 Rakefile
  6. BIN app/assets/images/film_tex.jpg
  7. BIN app/assets/images/pixel.png
  8. BIN app/assets/images/star.png
  9. +10 −0 app/assets/javascripts/application.js
  10. +3 −0 app/assets/javascripts/movies.js.coffee
  11. +3 −0 app/assets/stylesheets/application.css.sass
  12. +16 −0 app/assets/stylesheets/color.css.sass
  13. +22 −0 app/assets/stylesheets/font.css.sass
  14. +12 −0 app/assets/stylesheets/layout.css.sass
  15. +3 −0 app/assets/stylesheets/movies.css.scss
  16. +19 −0 app/assets/stylesheets/my_movies/layout.css.sass
  17. BIN app/assets/type/hero-webfont.eot
  18. +237 −0 app/assets/type/hero-webfont.svg
  19. BIN app/assets/type/hero-webfont.ttf
  20. BIN app/assets/type/hero-webfont.woff
  21. BIN app/assets/type/hero_light-webfont.eot
  22. +237 −0 app/assets/type/hero_light-webfont.svg
  23. BIN app/assets/type/hero_light-webfont.ttf
  24. BIN app/assets/type/hero_light-webfont.woff
  25. +20 −0 app/controllers/application_controller.rb
  26. +7 −0 app/controllers/home_controller.rb
  27. +29 −0 app/controllers/import_controller.rb
  28. +2 −0 app/controllers/movies_controller.rb
  29. +11 −0 app/controllers/my_movies_controller.rb
  30. +3 −0 app/controllers/search_controller.rb
  31. +43 −0 app/controllers/session_stuff.rb
  32. +30 −0 app/controllers/sessions_controller.rb
  33. +9 −0 app/helpers/application_helper.rb
  34. +2 −0 app/helpers/movies_helper.rb
  35. 0 app/mailers/.gitkeep
  36. 0 app/models/.gitkeep
  37. +41 −0 app/models/movie.rb
  38. +4 −0 app/models/rating.rb
  39. +14 −0 app/models/secret.rb
  40. +22 −0 app/models/user.rb
  41. 0 app/views/home/index.html.haml
  42. +11 −0 app/views/import/_bookmarklet.js
  43. +14 −0 app/views/import/index.html.haml
  44. +22 −0 app/views/layouts/application.html.haml
  45. +10 −0 app/views/my_movies/_rating_row.html.haml
  46. +13 −0 app/views/my_movies/index.html.haml
  47. +3 −0 app/views/sessions/failure.html.haml
  48. +4 −0 config.ru
  49. +49 −0 config/application.rb
  50. +6 −0 config/boot.rb
  51. +25 −0 config/database.yml
  52. +5 −0 config/environment.rb
  53. +30 −0 config/environments/development.rb
  54. +60 −0 config/environments/production.rb
  55. +39 −0 config/environments/test.rb
  56. +7 −0 config/initializers/backtrace_silencers.rb
  57. +10 −0 config/initializers/inflections.rb
  58. +5 −0 config/initializers/mime_types.rb
  59. +19 −0 config/initializers/omni_auth.rb
  60. +7 −0 config/initializers/secret_token.rb
  61. +8 −0 config/initializers/session_store.rb
  62. +14 −0 config/initializers/wrap_parameters.rb
  63. +5 −0 config/locales/en.yml
  64. +15 −0 config/routes.rb
  65. +18 −0 db/migrate/20120122010427_create_movies.rb
  66. +12 −0 db/migrate/20120122174936_create_users.rb
  67. +10 −0 db/migrate/20120122174954_create_ratings.rb
  68. +8 −0 db/migrate/20120123052253_create_secrets.rb
  69. +54 −0 db/schema.rb
  70. +7 −0 db/seeds.rb
  71. +2 −0 doc/README_FOR_APP
  72. 0 lib/assets/.gitkeep
  73. +40 −0 lib/netflix_parser.rb
  74. 0 lib/tasks/.gitkeep
  75. 0 log/.gitkeep
  76. +26 −0 public/404.html
  77. +26 −0 public/422.html
  78. +26 −0 public/500.html
  79. 0 public/favicon.ico
  80. +5 −0 public/robots.txt
  81. +6 −0 script/rails
  82. 0 test/functional/.gitkeep
  83. +7 −0 test/functional/home_controller_test.rb
  84. +7 −0 test/functional/movies_controller_test.rb
  85. 0 test/integration/.gitkeep
  86. +12 −0 test/performance/browsing_test.rb
  87. +13 −0 test/test_helper.rb
  88. 0 test/unit/.gitkeep
  89. +7 −0 test/unit/movie_test.rb
  90. +7 −0 test/unit/rating_test.rb
  91. +7 −0 test/unit/user_test.rb
  92. +47 −0 vendor/assets/javascripts/jquery.infinitescroll.min.js
  93. 0 vendor/assets/stylesheets/.gitkeep
  94. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,15 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile ~/.gitignore_global
+
+# Ignore bundler config
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+
+# Ignore all logfiles and tempfiles.
+/log/*.log
+/tmp
29 Gemfile
@@ -0,0 +1,29 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.1.3'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3'
+
+gem 'json'
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails', '~> 3.1.5'
+ gem 'coffee-rails', '~> 3.1.1'
+ gem 'uglifier', '>= 1.0.3'
+end
+
+gem 'jquery-rails'
+
+gem 'haml'
+gem 'nokogiri'
+
+gem 'omniauth'
+gem 'omniauth-facebook'
+gem 'omniauth-netflix'
+gem 'will_paginate', "~> 3.0.pre2"
+
@@ -0,0 +1,149 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ actionmailer (3.1.3)
+ actionpack (= 3.1.3)
+ mail (~> 2.3.0)
+ actionpack (3.1.3)
+ activemodel (= 3.1.3)
+ activesupport (= 3.1.3)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ i18n (~> 0.6)
+ rack (~> 1.3.5)
+ rack-cache (~> 1.1)
+ rack-mount (~> 0.8.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.0.3)
+ activemodel (3.1.3)
+ activesupport (= 3.1.3)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activerecord (3.1.3)
+ activemodel (= 3.1.3)
+ activesupport (= 3.1.3)
+ arel (~> 2.2.1)
+ tzinfo (~> 0.3.29)
+ activeresource (3.1.3)
+ activemodel (= 3.1.3)
+ activesupport (= 3.1.3)
+ activesupport (3.1.3)
+ multi_json (~> 1.0)
+ addressable (2.2.6)
+ arel (2.2.1)
+ builder (3.0.0)
+ coffee-rails (3.1.1)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.1.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.2.0)
+ erubis (2.7.0)
+ execjs (1.3.0)
+ multi_json (~> 1.0)
+ faraday (0.7.6)
+ addressable (~> 2.2)
+ multipart-post (~> 1.1)
+ rack (~> 1.1)
+ haml (3.1.4)
+ hashie (1.2.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ jquery-rails (1.0.19)
+ railties (~> 3.0)
+ thor (~> 0.14)
+ json (1.6.5)
+ mail (2.3.0)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.17.2)
+ multi_json (1.0.4)
+ multipart-post (1.1.4)
+ nokogiri (1.5.0)
+ oauth (0.4.5)
+ oauth2 (0.5.2)
+ faraday (~> 0.7)
+ multi_json (~> 1.0)
+ omniauth (1.0.2)
+ hashie (~> 1.2)
+ rack
+ omniauth-facebook (1.2.0)
+ omniauth-oauth2 (~> 1.0.0)
+ omniauth-netflix (0.1.0)
+ multi_json (~> 1.0)
+ omniauth-oauth (~> 1.0)
+ omniauth-oauth (1.0.0)
+ oauth
+ omniauth (~> 1.0)
+ omniauth-oauth2 (1.0.0)
+ oauth2 (~> 0.5.0)
+ omniauth (~> 1.0)
+ polyglot (0.3.3)
+ rack (1.3.6)
+ rack-cache (1.1)
+ rack (>= 0.4)
+ rack-mount (0.8.3)
+ rack (>= 1.0.0)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.1.3)
+ actionmailer (= 3.1.3)
+ actionpack (= 3.1.3)
+ activerecord (= 3.1.3)
+ activeresource (= 3.1.3)
+ activesupport (= 3.1.3)
+ bundler (~> 1.0)
+ railties (= 3.1.3)
+ railties (3.1.3)
+ actionpack (= 3.1.3)
+ activesupport (= 3.1.3)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ sass (3.1.12)
+ sass-rails (3.1.5)
+ actionpack (~> 3.1.0)
+ railties (~> 3.1.0)
+ sass (~> 3.1.10)
+ tilt (~> 1.3.2)
+ sprockets (2.0.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.5)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.31)
+ uglifier (1.2.2)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+ will_paginate (3.0.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ coffee-rails (~> 3.1.1)
+ haml
+ jquery-rails
+ json
+ nokogiri
+ omniauth
+ omniauth-facebook
+ omniauth-netflix
+ rails (= 3.1.3)
+ sass-rails (~> 3.1.5)
+ sqlite3
+ uglifier (>= 1.0.3)
+ will_paginate (~> 3.0.pre2)
1 README
@@ -0,0 +1 @@
+Project to save my netflix data so i can quit paying for netflix.
@@ -0,0 +1,7 @@
+#!/usr/bin/env rake
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require File.expand_path('../config/application', __FILE__)
+
+Flix::Application.load_tasks
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,10 @@
+// This is a manifest file that'll be compiled into including all the files listed below.
+// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
+// be included in the compiled file accessible from http://example.com/assets/application.js
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// the compiled file.
+//
+//= require jquery
+//= require jquery_ujs
+//= require jquery.infinitescroll.min
+//= require_tree .
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
@@ -0,0 +1,3 @@
+//http://www.colourlovers.com/palette/1648982/Life_is_a_Highway
+//= require_self
+//= require_tree .
@@ -0,0 +1,16 @@
+$black: #000
+$white: #FFF
+$yellow: #FFD000
+$grey: #59564A
+$off-black: #171716
+
+body
+ background: $black top center no-repeat url(/assets/film_tex.jpg)
+ color: $white
+
+header a
+ color: $white
+a
+ color: $grey
+ &:hover
+ color: $yellow
@@ -0,0 +1,22 @@
+body
+ font-family: 'HeroRegular', sans-serif
+ font-size: 16px
+
+#logo
+ font-size: 32px
+a
+ text-decoration: none
+
+@font-face
+ font-family: 'HeroLight'
+ src: url('/assets/hero_light-webfont.eot')
+ src: url('/assets/hero_light-webfont.eot?#iefix') format('embedded-opentype'), url('/assets/hero_light-webfont.woff') format('woff'), url('/assets/hero_light-webfont.ttf') format('truetype'), url('/assets/hero_light-webfont.svg#HeroLight') format('svg')
+ font-weight: normal
+ font-style: normal
+
+@font-face
+ font-family: 'HeroRegular'
+ src: url('/assets/hero-webfont.eot')
+ src: url('/assets/hero-webfont.eot?#iefix') format('embedded-opentype'), url('/assets/hero-webfont.woff') format('woff'), url('/assets/hero-webfont.ttf') format('truetype'), url('/assets/hero-webfont.svg#HeroRegular') format('svg')
+ font-weight: normal
+ font-style: normal
@@ -0,0 +1,12 @@
+body
+ padding: 5px
+ margin: 0
+
+#main
+ overflow: hidden
+
+header form
+ float: right
+
+footer
+ padding-top: 20px
@@ -0,0 +1,3 @@
+// Place all the styles related to the movies controller here.
+// They will automatically be included in application.css.
+// You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,19 @@
+.ratings
+ overflow: hidden
+
+.rating
+ float: left
+ width: 120px
+ height: 190px
+ padding: 5px
+ text-align: center
+
+.title
+ white-space: nowrap
+ overflow: hidden
+ display: block
+ width: 120px
+
+.stars
+ img
+ opacity: 0.5
Binary file not shown.
Oops, something went wrong.

0 comments on commit 8e28323

Please sign in to comment.