Skip to content
Permalink
Browse files

Initial commit

  • Loading branch information...
amtamayo committed Mar 4, 2013
0 parents commit ec53a92b814d0f57d7a38396df43d6084bc61eec
Showing with 1,938 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. +38 −0 Gemfile
  3. +111 −0 Gemfile.lock
  4. +261 −0 README.rdoc
  5. +7 −0 Rakefile
  6. BIN app/assets/images/rails.png
  7. +15 −0 app/assets/javascripts/application.js
  8. +3 −0 app/assets/javascripts/home.js.coffee
  9. +34 −0 app/assets/javascripts/jquery.ga-event-tracker.js
  10. +3 −0 app/assets/javascripts/schools.js.coffee
  11. BIN app/assets/stylesheets/.DS_Store
  12. +13 −0 app/assets/stylesheets/application.css
  13. +103 −0 app/assets/stylesheets/master.css
  14. +27 −0 app/assets/stylesheets/reset.css
  15. +3 −0 app/controllers/application_controller.rb
  16. +11 −0 app/controllers/home_controller.rb
  17. +83 −0 app/controllers/schools_controller.rb
  18. +2 −0 app/helpers/application_helper.rb
  19. +2 −0 app/helpers/home_helper.rb
  20. +2 −0 app/helpers/schools_helper.rb
  21. 0 app/mailers/.gitkeep
  22. 0 app/models/.gitkeep
  23. +3 −0 app/models/school.rb
  24. +152 −0 app/views/home/index.html.erb
  25. +27 −0 app/views/layouts/application.html.erb
  26. +53 −0 app/views/schools/_form.html.erb
  27. +6 −0 app/views/schools/edit.html.erb
  28. +39 −0 app/views/schools/index.html.erb
  29. +5 −0 app/views/schools/new.html.erb
  30. +50 −0 app/views/schools/show.html.erb
  31. +4 −0 config.ru
  32. +62 −0 config/application.rb
  33. +6 −0 config/boot.rb
  34. +52 −0 config/database.yml
  35. +5 −0 config/environment.rb
  36. +37 −0 config/environments/development.rb
  37. +67 −0 config/environments/production.rb
  38. +37 −0 config/environments/test.rb
  39. +7 −0 config/initializers/backtrace_silencers.rb
  40. +15 −0 config/initializers/inflections.rb
  41. +5 −0 config/initializers/mime_types.rb
  42. +7 −0 config/initializers/secret_token.rb
  43. +8 −0 config/initializers/session_store.rb
  44. +14 −0 config/initializers/wrap_parameters.rb
  45. +5 −0 config/locales/en.yml
  46. +61 −0 config/routes.rb
  47. +17 −0 db/migrate/20130303210727_create_schools.rb
  48. +30 −0 db/schema.rb
  49. +7 −0 db/seeds.rb
  50. +2 −0 doc/README_FOR_APP
  51. BIN lib/.DS_Store
  52. BIN lib/assets/.DS_Store
  53. 0 lib/assets/.gitkeep
  54. BIN lib/tasks/.DS_Store
  55. 0 lib/tasks/.gitkeep
  56. +38 −0 lib/tasks/data/school.rb
  57. +130 −0 lib/tasks/data/schools.csv
  58. +45 −0 lib/tasks/schools.rake
  59. 0 log/.gitkeep
  60. BIN public/.DS_Store
  61. +26 −0 public/404.html
  62. +26 −0 public/422.html
  63. +25 −0 public/500.html
  64. 0 public/favicon.ico
  65. +5 −0 public/robots.txt
  66. +6 −0 script/rails
  67. 0 test/fixtures/.gitkeep
  68. +23 −0 test/fixtures/schools.yml
  69. 0 test/functional/.gitkeep
  70. +9 −0 test/functional/home_controller_test.rb
  71. +49 −0 test/functional/schools_controller_test.rb
  72. 0 test/integration/.gitkeep
  73. +12 −0 test/performance/browsing_test.rb
  74. +13 −0 test/test_helper.rb
  75. 0 test/unit/.gitkeep
  76. +4 −0 test/unit/helpers/home_helper_test.rb
  77. +4 −0 test/unit/helpers/schools_helper_test.rb
  78. +7 −0 test/unit/school_test.rb
  79. 0 vendor/assets/javascripts/.gitkeep
  80. 0 vendor/assets/stylesheets/.gitkeep
  81. 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
38 Gemfile
@@ -0,0 +1,38 @@
source 'https://rubygems.org'

gem 'rails', '3.2.6'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'pg'


# 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'

# 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,111 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (3.2.6)
actionpack (= 3.2.6)
mail (~> 2.4.4)
actionpack (3.2.6)
activemodel (= 3.2.6)
activesupport (= 3.2.6)
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.3)
activemodel (3.2.6)
activesupport (= 3.2.6)
builder (~> 3.0.0)
activerecord (3.2.6)
activemodel (= 3.2.6)
activesupport (= 3.2.6)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.6)
activemodel (= 3.2.6)
activesupport (= 3.2.6)
activesupport (3.2.6)
i18n (~> 0.6)
multi_json (~> 1.0)
arel (3.0.2)
builder (3.0.4)
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.5.0)
erubis (2.7.0)
execjs (1.4.0)
multi_json (~> 1.0)
hike (1.2.1)
i18n (0.6.4)
journey (1.0.4)
jquery-rails (2.2.1)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.7.7)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.21)
multi_json (1.6.1)
pg (0.14.1)
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.6)
actionmailer (= 3.2.6)
actionpack (= 3.2.6)
activerecord (= 3.2.6)
activeresource (= 3.2.6)
activesupport (= 3.2.6)
bundler (~> 1.0)
railties (= 3.2.6)
railties (3.2.6)
actionpack (= 3.2.6)
activesupport (= 3.2.6)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.0.3)
rdoc (3.12.2)
json (~> 1.4)
sass (3.2.6)
sass-rails (3.2.6)
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)
thor (0.17.0)
tilt (1.3.4)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.36)
uglifier (1.3.0)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)

PLATFORMS
ruby

DEPENDENCIES
coffee-rails (~> 3.2.1)
jquery-rails
pg
rails (= 3.2.6)
sass-rails (~> 3.2.3)
uglifier (>= 1.0.3)

0 comments on commit ec53a92

Please sign in to comment.
You can’t perform that action at this time.