Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 7ea580068ec8f06036429639c453fd0211c81c6c Noel Rappin committed May 9, 2012
Showing with 5,063 additions and 0 deletions.
  1. +6 −0 .gitignore
  2. +1 −0 .rvmrc
  3. +45 −0 Gemfile
  4. +184 −0 Gemfile.lock
  5. +261 −0 README
  6. +7 −0 Rakefile
  7. BIN app/assets/images/rails.png
  8. BIN app/assets/images/stars.png
  9. BIN app/assets/images/stars_full.png
  10. +13 −0 app/assets/javascripts/application.js
  11. +3 −0 app/assets/javascripts/friends.js.coffee
  12. +3 −0 app/assets/javascripts/purchases.js.coffee
  13. +3 −0 app/assets/javascripts/trip_features.js.coffee
  14. +3 −0 app/assets/javascripts/trips.js.coffee
  15. +3 −0 app/assets/javascripts/user_preferences.js.coffee
  16. +14 −0 app/assets/stylesheets/application.css
  17. +5 −0 app/assets/stylesheets/friends.css.scss
  18. +5 −0 app/assets/stylesheets/purchases.css.scss
  19. +58 −0 app/assets/stylesheets/scaffold.css.scss
  20. +260 −0 app/assets/stylesheets/screen.css
  21. +5 −0 app/assets/stylesheets/trip_features.css.scss
  22. +115 −0 app/assets/stylesheets/trips.css.scss
  23. +5 −0 app/assets/stylesheets/user_preferences.css.scss
  24. +3 −0 app/controllers/application_controller.rb
  25. +83 −0 app/controllers/friends_controller.rb
  26. +10 −0 app/controllers/home_controller.rb
  27. +83 −0 app/controllers/purchases_controller.rb
  28. +83 −0 app/controllers/trip_features_controller.rb
  29. +101 −0 app/controllers/trips_controller.rb
  30. +83 −0 app/controllers/user_preferences_controller.rb
  31. +38 −0 app/controllers/users_controller.rb
  32. +2 −0 app/helpers/application_helper.rb
  33. +2 −0 app/helpers/friends_helper.rb
  34. +2 −0 app/helpers/purchases_helper.rb
  35. +2 −0 app/helpers/trip_features_helper.rb
  36. +2 −0 app/helpers/trips_helper.rb
  37. +2 −0 app/helpers/user_preferences_helper.rb
  38. 0 app/mailers/.gitkeep
  39. 0 app/models/.gitkeep
  40. +6 −0 app/models/friend.rb
  41. +4 −0 app/models/purchase.rb
  42. +4 −0 app/models/trip.rb
  43. +3 −0 app/models/trip_feature.rb
  44. +27 −0 app/models/user.rb
  45. +3 −0 app/models/user_preference.rb
  46. +25 −0 app/views/friends/_form.html.erb
  47. +6 −0 app/views/friends/edit.html.erb
  48. +25 −0 app/views/friends/index.html.erb
  49. +5 −0 app/views/friends/new.html.erb
  50. +15 −0 app/views/friends/show.html.erb
  51. +7 −0 app/views/home/index.html.erb
  52. +53 −0 app/views/layouts/application.html.erb
  53. +17 −0 app/views/layouts/home.html.erb
  54. +41 −0 app/views/purchases/_form.html.erb
  55. +6 −0 app/views/purchases/edit.html.erb
  56. +33 −0 app/views/purchases/index.html.erb
  57. +5 −0 app/views/purchases/new.html.erb
  58. +35 −0 app/views/purchases/show.html.erb
  59. +33 −0 app/views/trip_features/_form.html.erb
  60. +6 −0 app/views/trip_features/edit.html.erb
  61. +29 −0 app/views/trip_features/index.html.erb
  62. +5 −0 app/views/trip_features/new.html.erb
  63. +25 −0 app/views/trip_features/show.html.erb
  64. +57 −0 app/views/trips/_form.html.erb
  65. 0 app/views/trips/_one_trip.html.erb
  66. +31 −0 app/views/trips/_rating_template.html.erb
  67. +6 −0 app/views/trips/edit.html.erb
  68. +41 −0 app/views/trips/index.html.erb
  69. +5 −0 app/views/trips/new.html.erb
  70. +61 −0 app/views/trips/show.html.erb
  71. +33 −0 app/views/user_preferences/_form.html.erb
  72. +6 −0 app/views/user_preferences/edit.html.erb
  73. +29 −0 app/views/user_preferences/index.html.erb
  74. +5 −0 app/views/user_preferences/new.html.erb
  75. +25 −0 app/views/user_preferences/show.html.erb
  76. +27 −0 app/views/users/_form.erb
  77. +3 −0 app/views/users/edit.html.erb
  78. +29 −0 app/views/users/index.html.erb
  79. +5 −0 app/views/users/new.html.erb
  80. +36 −0 app/views/users/show.html.erb
  81. +4 −0 config.ru
  82. +49 −0 config/application.rb
  83. +6 −0 config/boot.rb
  84. +42 −0 config/database.yml
  85. +5 −0 config/environment.rb
  86. +24 −0 config/environments/development.rb
  87. +52 −0 config/environments/production.rb
  88. +39 −0 config/environments/test.rb
  89. +7 −0 config/initializers/backtrace_silencers.rb
  90. +194 −0 config/initializers/devise.rb
  91. +10 −0 config/initializers/inflections.rb
  92. +5 −0 config/initializers/mime_types.rb
  93. +7 −0 config/initializers/secret_token.rb
  94. +8 −0 config/initializers/session_store.rb
  95. +12 −0 config/initializers/wrap_parameters.rb
  96. +50 −0 config/locales/devise.en.yml
  97. +5 −0 config/locales/en.yml
  98. +81 −0 config/routes.rb
  99. +27 −0 db/migrate/20110604131534_devise_create_users.rb
  100. +6 −0 db/migrate/20110604134313_user_columns.rb
  101. +18 −0 db/migrate/20110604184928_create_trips.rb
  102. +16 −0 db/migrate/20110604185139_create_purchases.rb
  103. +13 −0 db/migrate/20110604185257_create_user_preferences.rb
  104. +13 −0 db/migrate/20110604185334_create_trip_features.rb
  105. +10 −0 db/migrate/20110604185455_create_friends.rb
  106. +93 −0 db/schema.rb
  107. +163 −0 db/seeds.rb
  108. +2 −0 doc/README_FOR_APP
  109. 0 lib/tasks/.gitkeep
  110. 0 log/.gitkeep
  111. +26 −0 public/404.html
  112. +26 −0 public/422.html
  113. +26 −0 public/500.html
  114. 0 public/favicon.ico
  115. +5 −0 public/robots.txt
  116. +6 −0 script/rails
  117. +4 −0 spec/javascripts/fixtures/autocomplete.html
  118. +3 −0 spec/javascripts/fixtures/external_link.html
  119. +6 −0 spec/javascripts/fixtures/index_trip_ajax.html
  120. +4 −0 spec/javascripts/fixtures/one_index_trip.html
  121. +7 −0 spec/javascripts/fixtures/two_index_trip.html
  122. 0 spec/javascripts/helpers/.gitkeep
  123. +9 −0 spec/javascripts/helpers/SpecHelper.js
  124. +93 −0 spec/javascripts/helpers/jasmine-fixture.js
  125. +254 −0 spec/javascripts/helpers/jasmine_jquery-1.2.0.js
  126. +207 −0 spec/javascripts/helpers/mock-ajax.js
  127. +3 −0 spec/javascripts/spec.css
  128. +2 −0 spec/javascripts/spec.js
  129. +78 −0 spec/javascripts/support/jasmine.yml
  130. +23 −0 spec/javascripts/support/jasmine_config.rb
  131. +20 −0 spec/javascripts/support/jasmine_runner.rb
  132. 0 test/fixtures/.gitkeep
  133. +9 −0 test/fixtures/friends.yml
  134. +17 −0 test/fixtures/purchases.yml
  135. +13 −0 test/fixtures/trip_features.yml
  136. +25 −0 test/fixtures/trips.yml
  137. +13 −0 test/fixtures/user_preferences.yml
  138. +11 −0 test/fixtures/users.yml
  139. 0 test/functional/.gitkeep
  140. +49 −0 test/functional/friends_controller_test.rb
  141. +49 −0 test/functional/purchases_controller_test.rb
  142. +49 −0 test/functional/trip_features_controller_test.rb
  143. +49 −0 test/functional/trips_controller_test.rb
  144. +49 −0 test/functional/user_preferences_controller_test.rb
  145. 0 test/integration/.gitkeep
  146. +12 −0 test/performance/browsing_test.rb
  147. +13 −0 test/test_helper.rb
  148. 0 test/unit/.gitkeep
  149. +7 −0 test/unit/friend_test.rb
  150. +4 −0 test/unit/helpers/friends_helper_test.rb
  151. +4 −0 test/unit/helpers/purchases_helper_test.rb
  152. +4 −0 test/unit/helpers/trip_features_helper_test.rb
  153. +4 −0 test/unit/helpers/trips_helper_test.rb
  154. +4 −0 test/unit/helpers/user_preferences_helper_test.rb
  155. +7 −0 test/unit/purchase_test.rb
  156. +7 −0 test/unit/trip_feature_test.rb
  157. +7 −0 test/unit/trip_test.rb
  158. +7 −0 test/unit/user_preference_test.rb
  159. +7 −0 test/unit/user_test.rb
  160. 0 vendor/assets/stylesheets/.gitkeep
  161. BIN vendor/assets/stylesheets/theme/images/ui-bg_diagonals-thick_18_b81900_40x40.png
  162. BIN vendor/assets/stylesheets/theme/images/ui-bg_diagonals-thick_20_666666_40x40.png
  163. BIN vendor/assets/stylesheets/theme/images/ui-bg_flat_10_000000_40x100.png
  164. BIN vendor/assets/stylesheets/theme/images/ui-bg_glass_100_f6f6f6_1x400.png
  165. BIN vendor/assets/stylesheets/theme/images/ui-bg_glass_100_fdf5ce_1x400.png
  166. BIN vendor/assets/stylesheets/theme/images/ui-bg_glass_65_ffffff_1x400.png
  167. BIN vendor/assets/stylesheets/theme/images/ui-bg_gloss-wave_35_f6a828_500x100.png
  168. BIN vendor/assets/stylesheets/theme/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
  169. BIN vendor/assets/stylesheets/theme/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
  170. BIN vendor/assets/stylesheets/theme/images/ui-icons_222222_256x240.png
  171. BIN vendor/assets/stylesheets/theme/images/ui-icons_228ef1_256x240.png
  172. BIN vendor/assets/stylesheets/theme/images/ui-icons_ef8c08_256x240.png
  173. BIN vendor/assets/stylesheets/theme/images/ui-icons_ffd27a_256x240.png
  174. BIN vendor/assets/stylesheets/theme/images/ui-icons_ffffff_256x240.png
  175. +568 −0 vendor/assets/stylesheets/theme/jquery-ui-1.8.16.custom.css
  176. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,6 @@
+.bundle
+db/*.sqlite3
+log/*.log
+tmp/
+.sass-cache/
+public/assets/
1 .rvmrc
@@ -0,0 +1 @@
+rvm use 1.9.3@js_travel --create
45 Gemfile
@@ -0,0 +1,45 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.2.3'
+gem 'devise'
+
+# Bundle edge Rails instead:
+#gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'mysql2'
+
+# Asset template engines
+group :assets do
+ gem 'sass-rails'
+ gem 'coffee-rails'
+ gem 'uglifier'
+end
+
+gem 'jquery-rails'
+gem 'rails-backbone'
+#gem 'sprockets_spacely'
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug19', :require => 'ruby-debug'
+
+group :development do
+ gem 'powder'
+ gem 'awesome_print'
+ gem 'annotate'
+end
+
+group :test, :development do
+ #gem 'guard-rails-assets'
+ #gem 'guard-jasmine-headless-webkit'
+ gem 'jasmine-headless-webkit'
+ gem 'jasmine'
+ gem 'jasminerice'
+ gem 'rspec-rails'
+end
+
@@ -0,0 +1,184 @@
+GIT
+ remote: https://github.com/johnbintz/jasmine-headless-webkit.git
+ revision: 634f60ffe6799723fd9f6d0c5f4e95cccc2d4a69
+ branch: sprockets-integration
+ specs:
+ jasmine-headless-webkit (0.8.0)
+ coffee-script
+ jasmine-core (~> 1.1)
+ multi_json
+ rainbow
+ sprockets (~> 2)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ actionmailer (3.2.0.rc1)
+ actionpack (= 3.2.0.rc1)
+ mail (~> 2.3.0)
+ actionpack (3.2.0.rc1)
+ activemodel (= 3.2.0.rc1)
+ activesupport (= 3.2.0.rc1)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ i18n (~> 0.6)
+ journey (~> 1.0.0.rc1)
+ rack (~> 1.3.5)
+ rack-cache (~> 1.1)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.2)
+ activemodel (3.2.0.rc1)
+ activesupport (= 3.2.0.rc1)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activerecord (3.2.0.rc1)
+ activemodel (= 3.2.0.rc1)
+ activesupport (= 3.2.0.rc1)
+ arel (~> 3.0.0.rc1)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.0.rc1)
+ activemodel (= 3.2.0.rc1)
+ activesupport (= 3.2.0.rc1)
+ activesupport (3.2.0.rc1)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ annotate (2.4.0)
+ arel (3.0.0.rc1)
+ awesome_print (1.0.2)
+ bcrypt-ruby (3.0.1)
+ builder (3.0.0)
+ childprocess (0.2.3)
+ ffi (~> 1.0.6)
+ coffee-rails (3.2.0)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.2.0.beta)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.2.0)
+ devise (1.5.3)
+ bcrypt-ruby (~> 3.0)
+ orm_adapter (~> 0.0.3)
+ warden (~> 1.1)
+ diff-lcs (1.1.3)
+ ejs (1.0.0)
+ erubis (2.7.0)
+ execjs (1.2.13)
+ multi_json (~> 1.0)
+ ffi (1.0.11)
+ haml (3.1.4)
+ hike (1.2.1)
+ i18n (0.6.0)
+ jasmine (1.1.2)
+ jasmine-core (>= 1.1.0)
+ rack (>= 1.1)
+ rspec (>= 1.3.1)
+ selenium-webdriver (>= 0.1.3)
+ jasmine-core (1.1.0)
+ jasminerice (0.0.8)
+ haml
+ journey (1.0.0.rc3)
+ jquery-rails (2.0.0)
+ railties (>= 3.2.0.beta, < 5.0)
+ thor (~> 0.14)
+ json (1.6.4)
+ 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)
+ mysql2 (0.3.11)
+ orm_adapter (0.0.5)
+ polyglot (0.3.3)
+ powder (0.1.7)
+ thor (>= 0.11.5)
+ rack (1.3.5)
+ rack-cache (1.1)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.2.0.rc1)
+ actionmailer (= 3.2.0.rc1)
+ actionpack (= 3.2.0.rc1)
+ activerecord (= 3.2.0.rc1)
+ activeresource (= 3.2.0.rc1)
+ activesupport (= 3.2.0.rc1)
+ bundler (~> 1.0)
+ railties (= 3.2.0.rc1)
+ rails-backbone (0.5.0)
+ coffee-script (~> 2.2)
+ ejs (~> 1.0.0)
+ rails (~> 3.1)
+ railties (3.2.0.rc1)
+ actionpack (= 3.2.0.rc1)
+ activesupport (= 3.2.0.rc1)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rainbow (1.1.3)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ rspec (2.7.0)
+ rspec-core (~> 2.7.0)
+ rspec-expectations (~> 2.7.0)
+ rspec-mocks (~> 2.7.0)
+ rspec-core (2.7.1)
+ rspec-expectations (2.7.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.7.0)
+ rspec-rails (2.7.0)
+ actionpack (~> 3.0)
+ activesupport (~> 3.0)
+ railties (~> 3.0)
+ rspec (~> 2.7.0)
+ rubyzip (0.9.5)
+ sass (3.1.12)
+ sass-rails (3.2.2)
+ railties (~> 3.2.0.beta)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ selenium-webdriver (2.15.0)
+ childprocess (>= 0.2.1)
+ ffi (~> 1.0.9)
+ multi_json (~> 1.0.4)
+ rubyzip
+ sprockets (2.1.2)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.31)
+ uglifier (1.2.0)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+ warden (1.1.0)
+ rack (>= 1.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ annotate
+ awesome_print
+ coffee-rails
+ devise
+ jasmine
+ jasmine-headless-webkit!
+ jasminerice
+ jquery-rails
+ mysql2
+ powder
+ rails (= 3.2.0.rc1)
+ rails-backbone
+ rspec-rails
+ sass-rails
+ uglifier
Oops, something went wrong.

0 comments on commit 7ea5800

Please sign in to comment.