Permalink
Browse files

First version of the scanbooth rails app that was used at Pittsburgh …

…MakerFaire on Sept 22, 2012.
  • Loading branch information...
Jeremy Herrman
Jeremy Herrman committed Sep 23, 2012
0 parents commit bf28e32ff42c38aa9b473c9ae8951c0e5059565b
Showing with 1,709 additions and 0 deletions.
  1. 0 README.md
  2. +15 −0 scanbooth_web/.gitignore
  3. +40 −0 scanbooth_web/Gemfile
  4. +128 −0 scanbooth_web/Gemfile.lock
  5. +261 −0 scanbooth_web/README.rdoc
  6. +7 −0 scanbooth_web/Rakefile
  7. BIN scanbooth_web/app/assets/images/rails.png
  8. +3 −0 scanbooth_web/app/assets/javascripts/admin.js.coffee
  9. +15 −0 scanbooth_web/app/assets/javascripts/application.js
  10. +3 −0 scanbooth_web/app/assets/javascripts/users.js.coffee
  11. +3 −0 scanbooth_web/app/assets/javascripts/welcome.js.coffee
  12. +3 −0 scanbooth_web/app/assets/stylesheets/admin.css.scss
  13. +13 −0 scanbooth_web/app/assets/stylesheets/application.css
  14. +69 −0 scanbooth_web/app/assets/stylesheets/scaffolds.css.scss
  15. +9 −0 scanbooth_web/app/assets/stylesheets/users.css.scss
  16. +3 −0 scanbooth_web/app/assets/stylesheets/welcome.css.scss
  17. +4 −0 scanbooth_web/app/controllers/admin_controller.rb
  18. +3 −0 scanbooth_web/app/controllers/application_controller.rb
  19. +89 −0 scanbooth_web/app/controllers/users_controller.rb
  20. +8 −0 scanbooth_web/app/controllers/welcome_controller.rb
  21. +2 −0 scanbooth_web/app/helpers/admin_helper.rb
  22. +2 −0 scanbooth_web/app/helpers/application_helper.rb
  23. +2 −0 scanbooth_web/app/helpers/users_helper.rb
  24. +2 −0 scanbooth_web/app/helpers/welcome_helper.rb
  25. +23 −0 scanbooth_web/app/jobs/ftp_upload.rb
  26. +57 −0 scanbooth_web/app/jobs/sketchfab_upload.rb
  27. 0 scanbooth_web/app/mailers/.gitkeep
  28. +9 −0 scanbooth_web/app/mailers/user_mailer.rb
  29. 0 scanbooth_web/app/models/.gitkeep
  30. +23 −0 scanbooth_web/app/models/user.rb
  31. +2 −0 scanbooth_web/app/views/admin/index.html.erb
  32. +14 −0 scanbooth_web/app/views/layouts/application.html.erb
  33. +33 −0 scanbooth_web/app/views/user_mailer/scan_email.html.erb
  34. +20 −0 scanbooth_web/app/views/user_mailer/scan_email.text.erb
  35. +33 −0 scanbooth_web/app/views/users/_admin_form.html.erb
  36. +25 −0 scanbooth_web/app/views/users/_form.html.erb
  37. +6 −0 scanbooth_web/app/views/users/edit.html.erb
  38. +29 −0 scanbooth_web/app/views/users/index.html.erb
  39. +5 −0 scanbooth_web/app/views/users/new.html.erb
  40. +7 −0 scanbooth_web/app/views/users/scan_processed.html.erb
  41. +22 −0 scanbooth_web/app/views/users/show.html.erb
  42. +6 −0 scanbooth_web/app/views/welcome/index.html.erb
  43. +2 −0 scanbooth_web/app/views/welcome/thanks.html.erb
  44. +4 −0 scanbooth_web/config.ru
  45. +62 −0 scanbooth_web/config/application.rb
  46. +6 −0 scanbooth_web/config/boot.rb
  47. +25 −0 scanbooth_web/config/database.yml
  48. +5 −0 scanbooth_web/config/environment.rb
  49. +78 −0 scanbooth_web/config/environments/development.rb
  50. +67 −0 scanbooth_web/config/environments/production.rb
  51. +37 −0 scanbooth_web/config/environments/test.rb
  52. +7 −0 scanbooth_web/config/initializers/backtrace_silencers.rb
  53. +15 −0 scanbooth_web/config/initializers/inflections.rb
  54. +5 −0 scanbooth_web/config/initializers/mime_types.rb
  55. +19 −0 scanbooth_web/config/initializers/resque.rb
  56. +7 −0 scanbooth_web/config/initializers/secret_token.rb
  57. +8 −0 scanbooth_web/config/initializers/session_store.rb
  58. +14 −0 scanbooth_web/config/initializers/wrap_parameters.rb
  59. +5 −0 scanbooth_web/config/locales/en.yml
  60. +74 −0 scanbooth_web/config/routes.rb
  61. +12 −0 scanbooth_web/db/migrate/20120921172401_create_users.rb
  62. +25 −0 scanbooth_web/db/schema.rb
  63. +7 −0 scanbooth_web/db/seeds.rb
  64. +2 −0 scanbooth_web/doc/README_FOR_APP
  65. BIN scanbooth_web/dump.rdb
  66. 0 scanbooth_web/lib/assets/.gitkeep
  67. 0 scanbooth_web/lib/tasks/.gitkeep
  68. +1 −0 scanbooth_web/lib/tasks/resque.rake
  69. 0 scanbooth_web/log/.gitkeep
  70. +26 −0 scanbooth_web/public/404.html
  71. +26 −0 scanbooth_web/public/422.html
  72. +25 −0 scanbooth_web/public/500.html
  73. 0 scanbooth_web/public/favicon.ico
  74. +5 −0 scanbooth_web/public/robots.txt
  75. +6 −0 scanbooth_web/script/rails
  76. 0 scanbooth_web/test/fixtures/.gitkeep
  77. +13 −0 scanbooth_web/test/fixtures/users.yml
  78. 0 scanbooth_web/test/functional/.gitkeep
  79. +9 −0 scanbooth_web/test/functional/admin_controller_test.rb
  80. +7 −0 scanbooth_web/test/functional/user_mailer_test.rb
  81. +49 −0 scanbooth_web/test/functional/users_controller_test.rb
  82. +14 −0 scanbooth_web/test/functional/welcome_controller_test.rb
  83. 0 scanbooth_web/test/integration/.gitkeep
  84. +12 −0 scanbooth_web/test/performance/browsing_test.rb
  85. +13 −0 scanbooth_web/test/test_helper.rb
  86. 0 scanbooth_web/test/unit/.gitkeep
  87. +4 −0 scanbooth_web/test/unit/helpers/admin_helper_test.rb
  88. +4 −0 scanbooth_web/test/unit/helpers/users_helper_test.rb
  89. +4 −0 scanbooth_web/test/unit/helpers/welcome_helper_test.rb
  90. +7 −0 scanbooth_web/test/unit/user_test.rb
  91. 0 scanbooth_web/vendor/assets/javascripts/.gitkeep
  92. 0 scanbooth_web/vendor/assets/stylesheets/.gitkeep
  93. 0 scanbooth_web/vendor/plugins/.gitkeep
No changes.
@@ -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
@@ -0,0 +1,40 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.8'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3'
+
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails', '~> 3.2.3'
+ gem 'coffee-rails', '~> 3.2.1'
+
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
+ # gem 'therubyracer', :platforms => :ruby
+
+ gem 'uglifier', '>= 1.0.3'
+end
+
+gem 'jquery-rails'
+
+gem 'resque'
+
+# To use ActiveModel has_secure_password
+# gem 'bcrypt-ruby', '~> 3.0.0'
+
+# To use Jbuilder templates for JSON
+# gem 'jbuilder'
+
+# Use unicorn as the app server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'debugger'
@@ -0,0 +1,128 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.8)
+ actionpack (= 3.2.8)
+ mail (~> 2.4.4)
+ actionpack (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.4)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.3)
+ activemodel (3.2.8)
+ activesupport (= 3.2.8)
+ builder (~> 3.0.0)
+ activerecord (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ activesupport (3.2.8)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ arel (3.0.2)
+ builder (3.0.3)
+ coffee-rails (3.2.2)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.2.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.3.3)
+ erubis (2.7.0)
+ execjs (1.4.0)
+ multi_json (~> 1.0)
+ hike (1.2.1)
+ i18n (0.6.1)
+ journey (1.0.4)
+ jquery-rails (2.1.2)
+ railties (>= 3.1.0, < 5.0)
+ thor (~> 0.14)
+ json (1.7.5)
+ mail (2.4.4)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.19)
+ multi_json (1.3.6)
+ polyglot (0.3.3)
+ rack (1.4.1)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ rack-protection (1.2.0)
+ rack
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.2.8)
+ actionmailer (= 3.2.8)
+ actionpack (= 3.2.8)
+ activerecord (= 3.2.8)
+ activeresource (= 3.2.8)
+ activesupport (= 3.2.8)
+ bundler (~> 1.0)
+ railties (= 3.2.8)
+ railties (3.2.8)
+ actionpack (= 3.2.8)
+ activesupport (= 3.2.8)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (>= 0.14.6, < 2.0)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ redis (3.0.1)
+ redis-namespace (1.2.1)
+ redis (~> 3.0.0)
+ resque (1.22.0)
+ multi_json (~> 1.0)
+ redis-namespace (~> 1.0)
+ sinatra (>= 0.9.2)
+ vegas (~> 0.1.2)
+ sass (3.2.1)
+ sass-rails (3.2.5)
+ railties (~> 3.2.0)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ sinatra (1.3.3)
+ rack (~> 1.3, >= 1.3.6)
+ rack-protection (~> 1.2)
+ tilt (~> 1.3, >= 1.3.3)
+ sprockets (2.1.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.6)
+ thor (0.16.0)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.33)
+ uglifier (1.3.0)
+ execjs (>= 0.3.0)
+ multi_json (~> 1.0, >= 1.0.2)
+ vegas (0.1.11)
+ rack (>= 1.0.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ coffee-rails (~> 3.2.1)
+ jquery-rails
+ rails (= 3.2.8)
+ resque
+ sass-rails (~> 3.2.3)
+ sqlite3
+ uglifier (>= 1.0.3)
Oops, something went wrong.

0 comments on commit bf28e32

Please sign in to comment.