Permalink
Browse files

first post

  • Loading branch information...
0 parents commit a1dff7e452c172aa2cab31ab125d42d56c9582dd @danryan committed Aug 10, 2012
Showing with 2,061 additions and 0 deletions.
  1. +17 −0 .gitignore
  2. +1 −0 .rspec
  3. +48 −0 Gemfile
  4. +261 −0 Gemfile.lock
  5. +2 −0 Procfile
  6. +261 −0 README.rdoc
  7. +7 −0 Rakefile
  8. +16 −0 app/assets/javascripts/application.js
  9. +3 −0 app/assets/javascripts/checks.js.coffee
  10. +19 −0 app/assets/stylesheets/application.css.scss
  11. +3 −0 app/assets/stylesheets/checks.css.scss
  12. +3 −0 app/controllers/application_controller.rb
  13. +83 −0 app/controllers/checks_controller.rb
  14. +2 −0 app/helpers/application_helper.rb
  15. +2 −0 app/helpers/checks_helper.rb
  16. 0 app/mailers/.gitkeep
  17. 0 app/models/.gitkeep
  18. +30 −0 app/models/check.rb
  19. +9 −0 app/models/check_result.rb
  20. +11 −0 app/views/checks/_form.html.haml
  21. +7 −0 app/views/checks/edit.html.haml
  22. +33 −0 app/views/checks/index.html.haml
  23. +5 −0 app/views/checks/new.html.haml
  24. +24 −0 app/views/checks/show.html.haml
  25. +17 −0 app/views/layouts/application.html.haml
  26. +9 −0 app/views/shared/_header.html.haml
  27. +31 −0 app/workers/check_worker.rb
  28. +4 −0 config.ru
  29. +96 −0 config/application.rb
  30. +6 −0 config/boot.rb
  31. +15 −0 config/database.yml
  32. +5 −0 config/environment.rb
  33. +37 −0 config/environments/development.rb
  34. +67 −0 config/environments/production.rb
  35. +37 −0 config/environments/test.rb
  36. +7 −0 config/initializers/backtrace_silencers.rb
  37. +15 −0 config/initializers/inflections.rb
  38. +5 −0 config/initializers/mime_types.rb
  39. +7 −0 config/initializers/secret_token.rb
  40. +8 −0 config/initializers/session_store.rb
  41. +178 −0 config/initializers/simple_form.rb
  42. +14 −0 config/initializers/wrap_parameters.rb
  43. +5 −0 config/locales/en.yml
  44. +26 −0 config/locales/simple_form.en.yml
  45. +64 −0 config/routes.rb
  46. +15 −0 db/migrate/20120809200840_create_checks.rb
  47. +28 −0 db/schema.rb
  48. +7 −0 db/seeds.rb
  49. +2 −0 doc/README_FOR_APP
  50. 0 lib/assets/.gitkeep
  51. +3 −0 lib/rorschach.rb
  52. +16 −0 lib/rorschach/config.rb
  53. 0 lib/tasks/.gitkeep
  54. +13 −0 lib/templates/erb/scaffold/_form.html.erb
  55. 0 log/.gitkeep
  56. +26 −0 public/404.html
  57. +26 −0 public/422.html
  58. +25 −0 public/500.html
  59. 0 public/favicon.ico
  60. +5 −0 public/robots.txt
  61. +6 −0 script/rails
  62. +164 −0 spec/controllers/checks_controller_spec.rb
  63. +15 −0 spec/helpers/checks_helper_spec.rb
  64. +5 −0 spec/models/check_spec.rb
  65. +35 −0 spec/routing/checks_routing_spec.rb
  66. +42 −0 spec/spec_helper.rb
  67. +28 −0 spec/views/checks/edit.html.haml_spec.rb
  68. +35 −0 spec/views/checks/index.html.haml_spec.rb
  69. +28 −0 spec/views/checks/new.html.haml_spec.rb
  70. +25 −0 spec/views/checks/show.html.haml_spec.rb
  71. +12 −0 test/factories/checks.rb
  72. 0 vendor/assets/javascripts/.gitkeep
  73. 0 vendor/assets/stylesheets/.gitkeep
  74. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,17 @@
+# 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
+.env
+.rvmrc
@@ -0,0 +1 @@
+--color
@@ -0,0 +1,48 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.7'
+
+gem 'pg'
+gem 'unicorn'
+gem 'haml-rails'
+gem 'simple_form'
+gem 'cabin'
+# gem 'faraday'
+gem 'rest-client'
+
+# Sidekiq and related dependencies
+gem 'sidekiq'
+gem 'slim', :require => nil
+gem 'sinatra', :require => nil
+
+
+group :assets do
+ gem 'sass-rails', '~> 3.2.3'
+ gem 'coffee-rails', '~> 3.2.1'
+ gem 'bootstrap-sass'
+ gem 'uglifier', '>= 1.0.3'
+end
+
+gem 'jquery-rails'
+
+group :test do
+ gem 'rspec-rails', '>= 2.10.0'
+ gem 'factory_girl_rails', '>= 3.2.0'
+ gem 'shoulda-matchers', '>= 1.0.0'
+ gem 'capybara', '>= 1.1.2'
+ gem 'rack-test', '>= 0.6.0', :require => 'rack/test'
+ gem 'json_spec', '>= 1.0.3'
+ gem 'email_spec', '>= 1.2.1'
+ gem 'spork', '>= 1.0.0rc2'
+ gem 'guard', '>= 1.0.3'
+ gem 'guard-rails', '>= 0.1.0'
+ gem 'guard-rspec', '>= 0.7.2'
+ gem 'guard-spork', '>= 0.8.0'
+ gem 'guard-bundler'
+ gem 'rb-fsevent', '>= 0.9.1'
+ gem 'growl', '>= 1.0.3'
+ gem 'database_cleaner', '>= 0.7.2'
+ gem 'tach', ">= 0.0.8"
+ gem 'forgery', '>= 0.5.0'
+ gem 'timecop', '>= 0.3.5'
+end
@@ -0,0 +1,261 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.7)
+ actionpack (= 3.2.7)
+ mail (~> 2.4.4)
+ actionpack (3.2.7)
+ activemodel (= 3.2.7)
+ activesupport (= 3.2.7)
+ 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.7)
+ activesupport (= 3.2.7)
+ builder (~> 3.0.0)
+ activerecord (3.2.7)
+ activemodel (= 3.2.7)
+ activesupport (= 3.2.7)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.7)
+ activemodel (= 3.2.7)
+ activesupport (= 3.2.7)
+ activesupport (3.2.7)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ addressable (2.3.2)
+ arel (3.0.2)
+ bootstrap-sass (2.0.4.0)
+ builder (3.0.0)
+ cabin (0.4.4)
+ json
+ capybara (1.1.2)
+ mime-types (>= 1.16)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ selenium-webdriver (~> 2.0)
+ xpath (~> 0.1.4)
+ celluloid (0.11.1)
+ timers (>= 1.0.0)
+ childprocess (0.3.5)
+ ffi (~> 1.0, >= 1.0.6)
+ 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)
+ connection_pool (0.9.2)
+ database_cleaner (0.8.0)
+ diff-lcs (1.1.3)
+ email_spec (1.2.1)
+ mail (~> 2.2)
+ rspec (~> 2.0)
+ erubis (2.7.0)
+ execjs (1.4.0)
+ multi_json (~> 1.0)
+ factory_girl (4.0.0)
+ activesupport (>= 3.0.0)
+ factory_girl_rails (4.0.0)
+ factory_girl (~> 4.0.0)
+ railties (>= 3.0.0)
+ ffi (1.1.5)
+ forgery (0.5.0)
+ formatador (0.2.3)
+ growl (1.0.3)
+ guard (1.3.0)
+ listen (>= 0.4.2)
+ thor (>= 0.14.6)
+ guard-bundler (1.0.0)
+ bundler (~> 1.0)
+ guard (~> 1.1)
+ guard-rails (0.1.0)
+ guard (>= 0.2.2)
+ guard-rspec (1.2.1)
+ guard (>= 1.1)
+ guard-spork (1.1.0)
+ guard (>= 1.1)
+ spork (>= 0.8.4)
+ haml (3.1.6)
+ haml-rails (0.3.4)
+ actionpack (~> 3.0)
+ activesupport (~> 3.0)
+ haml (~> 3.0)
+ railties (~> 3.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ journey (1.0.4)
+ jquery-rails (2.0.2)
+ railties (>= 3.2.0, < 5.0)
+ thor (~> 0.14)
+ json (1.7.4)
+ json_spec (1.0.3)
+ multi_json (~> 1.0)
+ rspec (~> 2.0)
+ kgio (2.7.4)
+ libwebsocket (0.1.5)
+ addressable
+ listen (0.4.7)
+ rb-fchange (~> 0.0.5)
+ rb-fsevent (~> 0.9.1)
+ rb-inotify (~> 0.8.8)
+ 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)
+ nokogiri (1.5.5)
+ pg (0.14.0)
+ 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.7)
+ actionmailer (= 3.2.7)
+ actionpack (= 3.2.7)
+ activerecord (= 3.2.7)
+ activeresource (= 3.2.7)
+ activesupport (= 3.2.7)
+ bundler (~> 1.0)
+ railties (= 3.2.7)
+ railties (3.2.7)
+ actionpack (= 3.2.7)
+ activesupport (= 3.2.7)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (>= 0.14.6, < 2.0)
+ raindrops (0.10.0)
+ rake (0.9.2.2)
+ rb-fchange (0.0.5)
+ ffi
+ rb-fsevent (0.9.1)
+ rb-inotify (0.8.8)
+ ffi (>= 0.5.0)
+ rdoc (3.12)
+ json (~> 1.4)
+ redis (3.0.1)
+ redis-namespace (1.2.1)
+ redis (~> 3.0.0)
+ rest-client (1.6.7)
+ mime-types (>= 1.16)
+ rspec (2.11.0)
+ rspec-core (~> 2.11.0)
+ rspec-expectations (~> 2.11.0)
+ rspec-mocks (~> 2.11.0)
+ rspec-core (2.11.1)
+ rspec-expectations (2.11.2)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.11.1)
+ rspec-rails (2.11.0)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec (~> 2.11.0)
+ rubyzip (0.9.9)
+ sass (3.1.20)
+ sass-rails (3.2.5)
+ railties (~> 3.2.0)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ selenium-webdriver (2.25.0)
+ childprocess (>= 0.2.5)
+ libwebsocket (~> 0.1.3)
+ multi_json (~> 1.0)
+ rubyzip
+ shoulda-matchers (1.2.0)
+ activesupport (>= 3.0.0)
+ sidekiq (2.1.1)
+ celluloid (~> 0.11.1)
+ connection_pool (~> 0.9.2)
+ multi_json (~> 1)
+ redis (~> 3)
+ redis-namespace
+ simple_form (2.0.2)
+ actionpack (~> 3.0)
+ activemodel (~> 3.0)
+ sinatra (1.3.2)
+ rack (~> 1.3, >= 1.3.6)
+ rack-protection (~> 1.2)
+ tilt (~> 1.3, >= 1.3.3)
+ slim (1.2.2)
+ temple (~> 0.4.0)
+ tilt (~> 1.3.3)
+ spork (1.0.0rc3)
+ sprockets (2.1.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ tach (0.0.8)
+ formatador (>= 0.0.16)
+ temple (0.4.0)
+ thor (0.15.4)
+ tilt (1.3.3)
+ timecop (0.4.5)
+ timers (1.0.1)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.33)
+ uglifier (1.2.7)
+ execjs (>= 0.3.0)
+ multi_json (~> 1.3)
+ unicorn (4.3.1)
+ kgio (~> 2.6)
+ rack
+ raindrops (~> 0.7)
+ xpath (0.1.4)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bootstrap-sass
+ cabin
+ capybara (>= 1.1.2)
+ coffee-rails (~> 3.2.1)
+ database_cleaner (>= 0.7.2)
+ email_spec (>= 1.2.1)
+ factory_girl_rails (>= 3.2.0)
+ forgery (>= 0.5.0)
+ growl (>= 1.0.3)
+ guard (>= 1.0.3)
+ guard-bundler
+ guard-rails (>= 0.1.0)
+ guard-rspec (>= 0.7.2)
+ guard-spork (>= 0.8.0)
+ haml-rails
+ jquery-rails
+ json_spec (>= 1.0.3)
+ pg
+ rack-test (>= 0.6.0)
+ rails (= 3.2.7)
+ rb-fsevent (>= 0.9.1)
+ rest-client
+ rspec-rails (>= 2.10.0)
+ sass-rails (~> 3.2.3)
+ shoulda-matchers (>= 1.0.0)
+ sidekiq
+ simple_form
+ sinatra
+ slim
+ spork (>= 1.0.0rc2)
+ tach (>= 0.0.8)
+ timecop (>= 0.3.5)
+ uglifier (>= 1.0.3)
+ unicorn
@@ -0,0 +1,2 @@
+web: bundle exec unicorn -p $PORT
+worker: bundle exec sidekiq
Oops, something went wrong.

0 comments on commit a1dff7e

Please sign in to comment.