Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 47b2c4deed42d18503b73dd2be506ae81eeed8d2 zartbitter committed May 19, 2012
Showing with 1,550 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. +46 −0 Gemfile
  3. +117 −0 Gemfile.lock
  4. +39 −0 Gemfile~
  5. +261 −0 README.rdoc
  6. +7 −0 Rakefile
  7. BIN app/assets/images/rails.png
  8. +15 −0 app/assets/javascripts/application.js
  9. +3 −0 app/assets/javascripts/ideas.js.coffee
  10. +28 −0 app/assets/stylesheets/application.css
  11. +13 −0 app/assets/stylesheets/application.css~
  12. +3 −0 app/assets/stylesheets/ideas.css.scss
  13. +56 −0 app/assets/stylesheets/scaffolds.css.scss
  14. +3 −0 app/controllers/application_controller.rb
  15. +83 −0 app/controllers/ideas_controller.rb
  16. +2 −0 app/helpers/application_helper.rb
  17. +2 −0 app/helpers/ideas_helper.rb
  18. 0 app/mailers/.gitkeep
  19. 0 app/models/.gitkeep
  20. +7 −0 app/models/idea.rb
  21. +5 −0 app/models/idea.rb~
  22. +55 −0 app/uploaders/picture_uploader.rb
  23. +29 −0 app/views/ideas/_form.html.erb
  24. +29 −0 app/views/ideas/_form.html.erb~
  25. +6 −0 app/views/ideas/edit.html.erb
  26. +27 −0 app/views/ideas/index.html.erb
  27. +5 −0 app/views/ideas/new.html.erb
  28. +20 −0 app/views/ideas/show.html.erb
  29. +20 −0 app/views/ideas/show.html.erb~
  30. +38 −0 app/views/layouts/application.html.erb
  31. +20 −0 app/views/layouts/application.html.erb~
  32. +4 −0 config.ru
  33. +59 −0 config/application.rb
  34. +6 −0 config/boot.rb
  35. +25 −0 config/database.yml
  36. +5 −0 config/environment.rb
  37. +37 −0 config/environments/development.rb
  38. +67 −0 config/environments/production.rb
  39. +37 −0 config/environments/test.rb
  40. +7 −0 config/initializers/backtrace_silencers.rb
  41. +15 −0 config/initializers/inflections.rb
  42. +5 −0 config/initializers/mime_types.rb
  43. +7 −0 config/initializers/secret_token.rb
  44. +8 −0 config/initializers/session_store.rb
  45. +14 −0 config/initializers/wrap_parameters.rb
  46. +5 −0 config/locales/en.yml
  47. +67 −0 config/routes.rb
  48. +11 −0 db/migrate/20120519115055_create_ideas.rb
  49. +24 −0 db/schema.rb
  50. +7 −0 db/seeds.rb
  51. +2 −0 doc/README_FOR_APP
  52. 0 lib/assets/.gitkeep
  53. 0 lib/tasks/.gitkeep
  54. 0 log/.gitkeep
  55. +26 −0 public/404.html
  56. +26 −0 public/422.html
  57. +25 −0 public/500.html
  58. 0 public/favicon.ico
  59. +5 −0 public/robots.txt
  60. BIN public/uploads/idea/picture/2/8249_c31f_500.jpeg
  61. +6 −0 script/rails
  62. 0 test/fixtures/.gitkeep
  63. +11 −0 test/fixtures/ideas.yml
  64. 0 test/functional/.gitkeep
  65. +49 −0 test/functional/ideas_controller_test.rb
  66. 0 test/integration/.gitkeep
  67. +12 −0 test/performance/browsing_test.rb
  68. +13 −0 test/test_helper.rb
  69. 0 test/unit/.gitkeep
  70. +4 −0 test/unit/helpers/ideas_helper_test.rb
  71. +7 −0 test/unit/idea_test.rb
  72. 0 vendor/assets/javascripts/.gitkeep
  73. 0 vendor/assets/stylesheets/.gitkeep
  74. 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
46 Gemfile
@@ -0,0 +1,46 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.3'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+group :development do
+ gem 'sqlite3'
+end
+group :production do
+ gem 'pg'
+end
+
+
+
+gem 'carrierwave'
+
+# 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', :platform => :ruby
+
+ gem 'uglifier', '>= 1.0.3'
+end
+
+gem 'jquery-rails'
+
+# 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 'ruby-debug19', :require => 'ruby-debug'
@@ -0,0 +1,117 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.3)
+ actionpack (= 3.2.3)
+ mail (~> 2.4.4)
+ actionpack (3.2.3)
+ activemodel (= 3.2.3)
+ activesupport (= 3.2.3)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.1)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.2)
+ activemodel (3.2.3)
+ activesupport (= 3.2.3)
+ builder (~> 3.0.0)
+ activerecord (3.2.3)
+ activemodel (= 3.2.3)
+ activesupport (= 3.2.3)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.3)
+ activemodel (= 3.2.3)
+ activesupport (= 3.2.3)
+ activesupport (3.2.3)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ arel (3.0.2)
+ builder (3.0.0)
+ carrierwave (0.6.2)
+ activemodel (>= 3.2.0)
+ activesupport (>= 3.2.0)
+ 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.3.2)
+ multi_json (~> 1.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ journey (1.0.3)
+ jquery-rails (2.0.2)
+ railties (>= 3.2.0, < 5.0)
+ thor (~> 0.14)
+ json (1.7.3)
+ mail (2.4.4)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.18)
+ multi_json (1.3.5)
+ pg (0.13.2)
+ polyglot (0.3.3)
+ rack (1.4.1)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.2.3)
+ actionmailer (= 3.2.3)
+ actionpack (= 3.2.3)
+ activerecord (= 3.2.3)
+ activeresource (= 3.2.3)
+ activesupport (= 3.2.3)
+ bundler (~> 1.0)
+ railties (= 3.2.3)
+ railties (3.2.3)
+ actionpack (= 3.2.3)
+ activesupport (= 3.2.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.18)
+ sass-rails (3.2.5)
+ railties (~> 3.2.0)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ sprockets (2.1.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.6)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.33)
+ uglifier (1.2.4)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ carrierwave
+ coffee-rails (~> 3.2.1)
+ jquery-rails
+ pg
+ rails (= 3.2.3)
+ sass-rails (~> 3.2.3)
+ sqlite3
+ uglifier (>= 1.0.3)
@@ -0,0 +1,39 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.3'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3'
+
+gem 'carrierwave'
+
+# 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', :platform => :ruby
+
+ gem 'uglifier', '>= 1.0.3'
+end
+
+gem 'jquery-rails'
+
+# 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 'ruby-debug19', :require => 'ruby-debug'
Oops, something went wrong.

0 comments on commit 47b2c4d

Please sign in to comment.