Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 0ffc4b7ea73b59b27b8027c1f1129ea4e69d9776 David committed Nov 5, 2011
Showing with 34,990 additions and 0 deletions.
  1. +10 −0 .gitignore
  2. +18 −0 .project
  3. +1 −0 .rspec
  4. +8 −0 Capfile
  5. +66 −0 Gemfile
  6. +315 −0 Gemfile.lock
  7. +256 −0 README
  8. +14 −0 README.md
  9. +7 −0 Rakefile
  10. BIN app/assets/images/about_car.jpg
  11. BIN app/assets/images/arrow-circle-double.png
  12. BIN app/assets/images/banner.jpg
  13. BIN app/assets/images/cityscape.png
  14. BIN app/assets/images/globe-green.png
  15. +17 −0 app/assets/images/juggle.svg
  16. +15 −0 app/assets/images/key.svg
  17. BIN app/assets/images/leaf-light.png
  18. BIN app/assets/images/leaf.png
  19. BIN app/assets/images/logo-muted.png
  20. BIN app/assets/images/logo-original.png
  21. BIN app/assets/images/logo.png
  22. BIN app/assets/images/minus-button.png
  23. BIN app/assets/images/minus-circle.png
  24. BIN app/assets/images/minus.png
  25. BIN app/assets/images/missing_medium.jpg
  26. BIN app/assets/images/missing_thumb.jpg
  27. +29 −0 app/assets/images/money.svg
  28. BIN app/assets/images/plus-button.png
  29. BIN app/assets/images/plus-circle.png
  30. BIN app/assets/images/plus.png
  31. BIN app/assets/images/point.png
  32. BIN app/assets/images/rails.png
  33. +14 −0 app/assets/images/seesaw.svg
  34. BIN app/assets/images/star-empty.png
  35. BIN app/assets/images/star.png
  36. BIN app/assets/images/star1.png
  37. BIN app/assets/images/thumb-up.png
  38. BIN app/assets/images/thumb.png
  39. +46 −0 app/assets/images/together.svg
  40. BIN app/assets/images/universal.png
  41. +6 −0 app/assets/javascripts/application.js
  42. +791 −0 app/assets/javascripts/jquery-ui-1.8.16.custom.min.js
  43. +18 −0 app/assets/javascripts/jquery.js
  44. +16 −0 app/assets/javascripts/jquery.min.js
  45. +16 −0 app/assets/javascripts/newride.js
  46. +315 −0 app/assets/javascripts/rails.js
  47. +28 −0 app/assets/javascripts/ride_message.js
  48. +51 −0 app/assets/javascripts/ridezap.js
  49. +1,060 −0 app/assets/javascripts/timepicker.js
  50. 0 app/assets/stylesheets/.gitkeep
  51. +9 −0 app/assets/stylesheets/application.css
  52. +102 −0 app/assets/stylesheets/base.css
  53. +334 −0 app/assets/stylesheets/bootstrap.min.css
  54. +145 −0 app/assets/stylesheets/formtastic.css
  55. +14 −0 app/assets/stylesheets/formtastic_changes.css
  56. +34 −0 app/assets/stylesheets/home.css
  57. +36 −0 app/assets/stylesheets/ie.css
  58. BIN app/assets/stylesheets/images/ui-bg_flat_0_aaaaaa_40x100.png
  59. BIN app/assets/stylesheets/images/ui-bg_flat_75_ffffff_40x100.png
  60. BIN app/assets/stylesheets/images/ui-bg_glass_55_fbf9ee_1x400.png
  61. BIN app/assets/stylesheets/images/ui-bg_glass_65_ffffff_1x400.png
  62. BIN app/assets/stylesheets/images/ui-bg_glass_75_dadada_1x400.png
  63. BIN app/assets/stylesheets/images/ui-bg_glass_75_e6e6e6_1x400.png
  64. BIN app/assets/stylesheets/images/ui-bg_glass_95_fef1ec_1x400.png
  65. BIN app/assets/stylesheets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  66. BIN app/assets/stylesheets/images/ui-icons_222222_256x240.png
  67. BIN app/assets/stylesheets/images/ui-icons_2e83ff_256x240.png
  68. BIN app/assets/stylesheets/images/ui-icons_454545_256x240.png
  69. BIN app/assets/stylesheets/images/ui-icons_888888_256x240.png
  70. BIN app/assets/stylesheets/images/ui-icons_cd0a0a_256x240.png
  71. +43 −0 app/assets/stylesheets/inbox.css
  72. +568 −0 app/assets/stylesheets/jquery-ui-1.8.16.custom.css
  73. +48 −0 app/assets/stylesheets/message.css
  74. +29 −0 app/assets/stylesheets/print.css
  75. +139 −0 app/assets/stylesheets/ride.css
  76. +42 −0 app/assets/stylesheets/rides.css
  77. +265 −0 app/assets/stylesheets/screen.css
  78. BIN app/assets/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
  79. BIN app/assets/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
  80. BIN app/assets/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
  81. BIN app/assets/stylesheets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
  82. BIN app/assets/stylesheets/smoothness/images/ui-bg_glass_75_dadada_1x400.png
  83. BIN app/assets/stylesheets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
  84. BIN app/assets/stylesheets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
  85. BIN app/assets/stylesheets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  86. BIN app/assets/stylesheets/smoothness/images/ui-icons_222222_256x240.png
  87. BIN app/assets/stylesheets/smoothness/images/ui-icons_2e83ff_256x240.png
  88. BIN app/assets/stylesheets/smoothness/images/ui-icons_454545_256x240.png
  89. BIN app/assets/stylesheets/smoothness/images/ui-icons_888888_256x240.png
  90. BIN app/assets/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png
  91. BIN app/assets/stylesheets/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png
  92. BIN app/assets/stylesheets/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png
  93. BIN app/assets/stylesheets/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png
  94. BIN app/assets/stylesheets/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png
  95. BIN app/assets/stylesheets/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png
  96. BIN app/assets/stylesheets/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png
  97. BIN app/assets/stylesheets/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png
  98. BIN app/assets/stylesheets/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png
  99. BIN app/assets/stylesheets/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png
  100. BIN app/assets/stylesheets/south-street/images/ui-icons_808080_256x240.png
  101. BIN app/assets/stylesheets/south-street/images/ui-icons_847e71_256x240.png
  102. BIN app/assets/stylesheets/south-street/images/ui-icons_8dc262_256x240.png
  103. BIN app/assets/stylesheets/south-street/images/ui-icons_cd0a0a_256x240.png
  104. BIN app/assets/stylesheets/south-street/images/ui-icons_eeeeee_256x240.png
  105. BIN app/assets/stylesheets/south-street/images/ui-icons_ffffff_256x240.png
  106. +568 −0 app/assets/stylesheets/south-street/jquery-ui-1.8.15.custom.css
  107. +47 −0 app/assets/stylesheets/stickyfooter.css
  108. +6 −0 app/assets/stylesheets/timepicker.css
  109. +122 −0 app/assets/stylesheets/user_profile.css
  110. +7 −0 app/controllers/application_controller.rb
  111. +18 −0 app/controllers/autocomplete_controller.rb
  112. +5 −0 app/controllers/home_controller.rb
  113. +27 −0 app/controllers/inbox_controller.rb
  114. +7 −0 app/controllers/messages_controller.rb
  115. +33 −0 app/controllers/mthreads_controller.rb
  116. +7 −0 app/controllers/registrations_controller.rb
  117. +30 −0 app/controllers/reviews_controller.rb
  118. +97 −0 app/controllers/rides_controller.rb
  119. +14 −0 app/controllers/static_controller.rb
  120. +18 −0 app/controllers/users/omniauth_callbacks_controller.rb
  121. +35 −0 app/controllers/users_controller.rb
  122. +19 −0 app/controllers/vehicles_controller.rb
  123. +36 −0 app/helpers/application_helper.rb
  124. +2 −0 app/helpers/autocomplete_helper.rb
  125. +2 −0 app/helpers/home_helper.rb
  126. +2 −0 app/helpers/inbox_helper.rb
  127. +2 −0 app/helpers/messages_helper.rb
  128. +2 −0 app/helpers/mthreads_helper.rb
  129. +2 −0 app/helpers/registrations_helper.rb
  130. +2 −0 app/helpers/reviews_helper.rb
  131. +2 −0 app/helpers/ride_helper.rb
  132. +2 −0 app/helpers/static_helper.rb
  133. +2 −0 app/helpers/users_helper.rb
  134. +2 −0 app/helpers/vehicles_helper.rb
  135. +11 −0 app/mailers/message_mailer.rb
  136. +16 −0 app/models/ability.rb
  137. +4 −0 app/models/message.rb
  138. +8 −0 app/models/mthread.rb
  139. +17 −0 app/models/review.rb
  140. +30 −0 app/models/ride.rb
  141. +87 −0 app/models/user.rb
  142. +3 −0 app/models/vehicle.rb
  143. +12 −0 app/views/devise/confirmations/new.html.erb
  144. +5 −0 app/views/devise/mailer/confirmation_instructions.html.erb
  145. +8 −0 app/views/devise/mailer/reset_password_instructions.html.erb
  146. +7 −0 app/views/devise/mailer/unlock_instructions.html.erb
  147. +16 −0 app/views/devise/passwords/edit.html.erb
  148. +12 −0 app/views/devise/passwords/new.html.erb
  149. +25 −0 app/views/devise/registrations/edit.html.erb
  150. +26 −0 app/views/devise/registrations/new.html.erb
  151. +30 −0 app/views/devise/sessions/new.html.erb
  152. +20 −0 app/views/devise/shared/_links.erb
  153. +12 −0 app/views/devise/unlocks/new.html.erb
  154. +64 −0 app/views/home/index.html.erb
  155. +25 −0 app/views/inbox/index.html.erb
  156. +72 −0 app/views/inbox/show.html.erb
  157. +99 −0 app/views/layouts/application.html.erb
  158. +17 −0 app/views/message_mailer/message_email.html.erb
  159. +12 −0 app/views/message_mailer/message_email.text.erb
  160. +25 −0 app/views/registrations/edit.html.erb
  161. +41 −0 app/views/registrations/new.html.erb
  162. +69 −0 app/views/rides/_driver_info.html.erb
  163. +40 −0 app/views/rides/_reviews.html.erb
  164. +116 −0 app/views/rides/edit.html.erb
  165. +60 −0 app/views/rides/index.html.erb
  166. +116 −0 app/views/rides/new.html.erb
  167. +145 −0 app/views/rides/show.html.erb
  168. +7 −0 app/views/static/about.html.erb
  169. +2 −0 app/views/static/contact.html.erb
  170. +37 −0 app/views/static/privacy.html.erb
  171. +96 −0 app/views/static/terms.html.erb
  172. +78 −0 app/views/users/profile.html.erb
  173. +169 −0 app/views/users/show.html.erb
  174. +4 −0 config.ru
  175. +63 −0 config/application.rb
  176. +6 −0 config/boot.rb
  177. +8 −0 config/cucumber.yml
  178. +27 −0 config/database.yml
  179. +48 −0 config/deploy.rb
  180. +43 −0 config/development.sphinx.conf
  181. +5 −0 config/environment.rb
  182. +33 −0 config/environments/development.rb
  183. +59 −0 config/environments/production.rb
  184. +42 −0 config/environments/test.rb
  185. +7 −0 config/initializers/backtrace_silencers.rb
  186. +195 −0 config/initializers/devise.rb
  187. +80 −0 config/initializers/formtastic.rb
  188. +10 −0 config/initializers/inflections.rb
  189. +5 −0 config/initializers/mime_types.rb
  190. +7 −0 config/initializers/secret_token.rb
  191. +8 −0 config/initializers/session_store.rb
  192. +50 −0 config/locales/devise.en.yml
  193. +5 −0 config/locales/en.yml
  194. +36 −0 config/routes.rb
  195. +42 −0 db/migrate/20110525080405_devise_create_users.rb
  196. +17 −0 db/migrate/20110525182238_create_vehicles.rb
  197. +16 −0 db/migrate/20110526004419_create_reviews.rb
  198. +26 −0 db/migrate/20110526011101_create_rides.rb
  199. +9 −0 db/migrate/20110527012151_add_role_to_users.rb
  200. +13 −0 db/migrate/20110529181735_change_data_type_for_user_birthday.rb
  201. +9 −0 db/migrate/20110530162042_remove_lastvisit_from_users.rb
  202. +15 −0 db/migrate/20110530164022_add_attachment_avatar_to_user.rb
  203. +11 −0 db/migrate/20110530183655_add_hide_to_users.rb
  204. +9 −0 db/migrate/20110531004709_add_roundtrip_to_rides.rb
  205. +9 −0 db/migrate/20110601045657_change_experience_in_user.rb
  206. +9 −0 db/migrate/20110612192249_change_estimated_time_to_string.rb
  207. +17 −0 db/migrate/20110728074004_create_mthreads.rb
  208. +16 −0 db/migrate/20110728074044_create_messages.rb
  209. +9 −0 db/migrate/20110920165106_change_birthday_to_date.rb
  210. +9 −0 db/migrate/20110920170242_remove_birthday_from_user.rb
  211. +7 −0 db/migrate/20110926234311_add_paid_option_to_ride.rb
  212. +110 −0 db/schema.rb
  213. +25 −0 db/seeds.rb
  214. +2 −0 doc/README_FOR_APP
  215. +211 −0 features/step_definitions/web_steps.rb
  216. +50 −0 features/support/env.rb
  217. +33 −0 features/support/paths.rb
  218. +39 −0 features/support/selectors.rb
  219. 0 lib/tasks/.gitkeep
  220. +65 −0 lib/tasks/cucumber.rake
  221. +25,150 −0 places.txt
  222. +26 −0 public/404.html
  223. +26 −0 public/422.html
  224. +26 −0 public/500.html
  225. BIN public/favicon.ico
  226. +5 −0 public/robots.txt
  227. +10 −0 script/cucumber
  228. +6 −0 script/rails
  229. +12 −0 spec/controllers/autocomplete_controller_spec.rb
  230. +12 −0 spec/controllers/inbox_controller_spec.rb
  231. +5 −0 spec/controllers/mthreads_controller_spec.rb
  232. +33 −0 spec/controllers/static_controller_spec.rb
  233. +15 −0 spec/helpers/autocomplete_helper_spec.rb
  234. +15 −0 spec/helpers/inbox_helper_spec.rb
  235. +15 −0 spec/helpers/mthreads_helper_spec.rb
  236. +15 −0 spec/helpers/static_helper_spec.rb
  237. +5 −0 spec/mailers/message_mailer_spec.rb
  238. +27 −0 spec/spec_helper.rb
  239. +5 −0 spec/views/autocomplete/autocomplete.html.erb_spec.rb
  240. +5 −0 spec/views/inbox/index.html.erb_spec.rb
  241. +5 −0 spec/views/static/about.html.erb_spec.rb
  242. +5 −0 spec/views/static/contact.html.erb_spec.rb
  243. +5 −0 spec/views/static/privacy.html.erb_spec.rb
  244. +5 −0 spec/views/static/terms.html.erb_spec.rb
  245. +8 −0 test/factories/review.rb
  246. +16 −0 test/factories/ride.rb
  247. +57 −0 test/factories/user.rb
  248. +11 −0 test/fixtures/messages.yml
  249. +7 −0 test/fixtures/mthreads.yml
  250. +13 −0 test/fixtures/reviews.yml
  251. +33 −0 test/fixtures/rides.yml
  252. +11 −0 test/fixtures/users.yml
  253. +15 −0 test/fixtures/vehicles.yml
  254. +9 −0 test/functional/about_controller_test.rb
  255. +9 −0 test/functional/home_controller_test.rb
  256. +8 −0 test/functional/messages_controller_test.rb
  257. +8 −0 test/functional/registrations_controller_test.rb
  258. +8 −0 test/functional/reviews_controller_test.rb
  259. +24 −0 test/functional/rides_controller_test.rb
  260. +9 −0 test/functional/users_controller_test.rb
  261. +8 −0 test/functional/vehicles_controller_test.rb
  262. +9 −0 test/performance/browsing_test.rb
  263. +13 −0 test/test_helper.rb
  264. +4 −0 test/unit/helpers/about_helper_test.rb
  265. +4 −0 test/unit/helpers/home_helper_test.rb
  266. +4 −0 test/unit/helpers/messages_helper_test.rb
  267. +4 −0 test/unit/helpers/registrations_helper_test.rb
  268. +4 −0 test/unit/helpers/reviews_helper_test.rb
  269. +4 −0 test/unit/helpers/rides_helper_test.rb
  270. +4 −0 test/unit/helpers/users_helper_test.rb
  271. +4 −0 test/unit/helpers/vehicles_helper_test.rb
  272. +8 −0 test/unit/message_test.rb
  273. +8 −0 test/unit/mthread_test.rb
  274. +8 −0 test/unit/review_test.rb
  275. +8 −0 test/unit/ride_test.rb
  276. +8 −0 test/unit/user_test.rb
  277. +8 −0 test/unit/vehicle_test.rb
  278. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,10 @@
+.bundle
+.DS_Store
+public/.DS_Store
+db/*.sqlite3
+log/
+tmp/
+public/system/avatars
+vendor/plugins/dynamic_form
+.sass-cache/
+db/sphinx
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>Ridezap</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.aptana.ide.core.unifiedBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.radrails.rails.core.railsnature</nature>
+ <nature>com.aptana.ruby.core.rubynature</nature>
+ </natures>
+</projectDescription>
1 .rspec
@@ -0,0 +1 @@
+--colour
@@ -0,0 +1,8 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+
+# Uncomment if you are using Rails' asset pipeline
+# load 'deploy/assets'
+
+Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+
+load 'config/deploy' # remove this line to skip loading any of the default tasks
66 Gemfile
@@ -0,0 +1,66 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.1.0'
+gem 'rake', '~> 0.8.7'
+
+gem 'capistrano'
+gem 'passenger'
+
+gem 'mysql2', '~> 0.3'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3'
+gem 'devise'
+gem 'omniauth'
+gem 'jquery-rails'
+gem 'dynamic_form'
+gem 'cancan'
+gem 'paperclip'
+gem 'meta_search'
+gem 'will_paginate', '~> 3.0'
+gem 'thinking-sphinx',
+ :git => 'git://github.com/freelancing-god/thinking-sphinx.git',
+ :branch => 'rails3'
+gem 'fast_trie',
+ :git => 'git@github.com:tyler/trie.git'
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails', " ~> 3.1.0"
+ gem 'coffee-rails', " ~> 3.1.0"
+ gem 'uglifier'
+end
+
+group :test, :development do
+ gem "factory_girl_rails", "~> 1.1"
+ gem "factory_girl", "~> 2.0.0"
+ gem "cucumber-rails"
+ gem "rspec-rails", "~> 2.6"
+ gem "autotest"
+end
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
+# gem 'ruby-debug'
+# gem 'ruby-debug19', :require => 'ruby-debug'
+
+# Bundle the extra gems:
+# gem 'bj'
+# gem 'nokogiri'
+# gem 'sqlite3-ruby', :require => 'sqlite3'
+# gem 'aws-s3', :require => 'aws/s3'
+
+# Bundle gems for the local environment. Make sure to
+# put test-only gems in this group so their generators
+# and rake tasks are available in development mode:
+# group :development, :test do
+# gem 'webrat'
+# end
Oops, something went wrong.

0 comments on commit 0ffc4b7

Please sign in to comment.