Permalink
Browse files

first commit

  • Loading branch information...
Josep M. Bach
Josep M. Bach committed Jan 27, 2012
0 parents commit f0c433cce876172ac7bf1c347afb521ae897c6a6
Showing with 1,249 additions and 0 deletions.
  1. +16 −0 .gitignore
  2. +26 −0 Gemfile
  3. +94 −0 Gemfile.lock
  4. +261 −0 README.rdoc
  5. +7 −0 Rakefile
  6. +3 −0 app/controllers/application_controller.rb
  7. +83 −0 app/controllers/posts_controller.rb
  8. +2 −0 app/helpers/application_helper.rb
  9. +2 −0 app/helpers/posts_helper.rb
  10. 0 app/mailers/.gitkeep
  11. 0 app/models/.gitkeep
  12. +2 −0 app/models/post.rb
  13. +14 −0 app/views/layouts/application.html.erb
  14. +25 −0 app/views/posts/_form.html.erb
  15. +6 −0 app/views/posts/edit.html.erb
  16. +25 −0 app/views/posts/index.html.erb
  17. +5 −0 app/views/posts/new.html.erb
  18. +15 −0 app/views/posts/show.html.erb
  19. +4 −0 config.ru
  20. +60 −0 config/application.rb
  21. +6 −0 config/boot.rb
  22. +55 −0 config/database.yml
  23. +5 −0 config/environment.rb
  24. +32 −0 config/environments/development.rb
  25. +54 −0 config/environments/production.rb
  26. +37 −0 config/environments/test.rb
  27. +7 −0 config/initializers/backtrace_silencers.rb
  28. +15 −0 config/initializers/inflections.rb
  29. +5 −0 config/initializers/mime_types.rb
  30. +7 −0 config/initializers/secret_token.rb
  31. +8 −0 config/initializers/session_store.rb
  32. +14 −0 config/initializers/wrap_parameters.rb
  33. +5 −0 config/locales/en.yml
  34. +60 −0 config/routes.rb
  35. +10 −0 db/migrate/20120127091038_create_posts.rb
  36. 0 db/schema.rb
  37. +7 −0 db/seeds.rb
  38. 0 lib/assets/.gitkeep
  39. 0 lib/tasks/.gitkeep
  40. 0 log/.gitkeep
  41. +26 −0 public/404.html
  42. +26 −0 public/422.html
  43. +25 −0 public/500.html
  44. 0 public/favicon.ico
  45. +15 −0 public/javascripts/application.js
  46. +2 −0 public/javascripts/posts.js
  47. +5 −0 public/robots.txt
  48. +13 −0 public/stylesheets/application.css
  49. +4 −0 public/stylesheets/posts.css
  50. +56 −0 public/stylesheets/scaffold.css
  51. +6 −0 script/rails
  52. 0 test/fixtures/.gitkeep
  53. +9 −0 test/fixtures/posts.yml
  54. 0 test/functional/.gitkeep
  55. +49 −0 test/functional/posts_controller_test.rb
  56. 0 test/integration/.gitkeep
  57. +12 −0 test/performance/browsing_test.rb
  58. +13 −0 test/test_helper.rb
  59. 0 test/unit/.gitkeep
  60. +4 −0 test/unit/helpers/posts_helper_test.rb
  61. +7 −0 test/unit/post_test.rb
@@ -0,0 +1,16 @@
+# 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
+.rbx
26 Gemfile
@@ -0,0 +1,26 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.1'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'pg'
+gem 'puma'
+
+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 web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug19', :require => 'ruby-debug'
@@ -0,0 +1,94 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.1)
+ actionpack (= 3.2.1)
+ mail (~> 2.4.0)
+ actionpack (3.2.1)
+ activemodel (= 3.2.1)
+ activesupport (= 3.2.1)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.1)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.1)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.2)
+ activemodel (3.2.1)
+ activesupport (= 3.2.1)
+ builder (~> 3.0.0)
+ activerecord (3.2.1)
+ activemodel (= 3.2.1)
+ activesupport (= 3.2.1)
+ arel (~> 3.0.0)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.1)
+ activemodel (= 3.2.1)
+ activesupport (= 3.2.1)
+ activesupport (3.2.1)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ arel (3.0.0)
+ builder (3.0.0)
+ erubis (2.7.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ journey (1.0.1)
+ jquery-rails (2.0.0)
+ railties (>= 3.2.0.beta, < 5.0)
+ thor (~> 0.14)
+ json (1.6.5)
+ mail (2.4.1)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.17.2)
+ multi_json (1.0.4)
+ pg (0.12.2)
+ polyglot (0.3.3)
+ puma (0.9.3)
+ rack (~> 1.2)
+ rack (1.4.1)
+ rack-cache (1.1)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.2.1)
+ actionmailer (= 3.2.1)
+ actionpack (= 3.2.1)
+ activerecord (= 3.2.1)
+ activeresource (= 3.2.1)
+ activesupport (= 3.2.1)
+ bundler (~> 1.0)
+ railties (= 3.2.1)
+ railties (3.2.1)
+ actionpack (= 3.2.1)
+ activesupport (= 3.2.1)
+ 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)
+ 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)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ jquery-rails
+ pg
+ puma
+ rails (= 3.2.1)
Oops, something went wrong.

0 comments on commit f0c433c

Please sign in to comment.