Permalink
Browse files

first commit

  • Loading branch information...
jwang committed Jul 22, 2011
0 parents commit 5aead5770ac40f9f64bba3dc1d09df48b63bb875
Showing with 3,798 additions and 0 deletions.
  1. +24 −0 .gitignore
  2. +1 −0 .rspec
  3. +29 −0 Gemfile
  4. +163 −0 Gemfile.lock
  5. 0 README.md
  6. +7 −0 Rakefile
  7. BIN app/assets/images/rails.png
  8. +9 −0 app/assets/javascripts/application.js
  9. +7 −0 app/assets/stylesheets/application.css
  10. +3 −0 app/controllers/application_controller.rb
  11. +130 −0 app/controllers/application_controller.rbc
  12. +2 −0 app/helpers/application_helper.rb
  13. +54 −0 app/helpers/application_helper.rbc
  14. 0 app/mailers/.gitkeep
  15. 0 app/models/.gitkeep
  16. +14 −0 app/views/layouts/application.html.erb
  17. +4 −0 config.ru
  18. +47 −0 config/application.rb
  19. +457 −0 config/application.rbc
  20. +6 −0 config/boot.rb
  21. +170 −0 config/boot.rbc
  22. +8 −0 config/cucumber.yml
  23. +58 −0 config/database.yml
  24. +5 −0 config/environment.rb
  25. +96 −0 config/environment.rbc
  26. +27 −0 config/environments/development.rb
  27. +287 −0 config/environments/development.rbc
  28. +54 −0 config/environments/production.rb
  29. +39 −0 config/environments/test.rb
  30. +7 −0 config/initializers/backtrace_silencers.rb
  31. +40 −0 config/initializers/backtrace_silencers.rbc
  32. +3 −0 config/initializers/generators.rb
  33. +133 −0 config/initializers/generators.rbc
  34. +10 −0 config/initializers/inflections.rb
  35. +40 −0 config/initializers/inflections.rbc
  36. +5 −0 config/initializers/mime_types.rb
  37. +40 −0 config/initializers/mime_types.rbc
  38. +7 −0 config/initializers/secret_token.rb
  39. +73 −0 config/initializers/secret_token.rbc
  40. +8 −0 config/initializers/session_store.rb
  41. +100 −0 config/initializers/session_store.rbc
  42. +12 −0 config/initializers/wrap_parameters.rb
  43. +165 −0 config/initializers/wrap_parameters.rbc
  44. +5 −0 config/locales/en.yml
  45. +58 −0 config/routes.rb
  46. +106 −0 config/routes.rbc
  47. +7 −0 db/seeds.rb
  48. +2 −0 doc/README_FOR_APP
  49. +211 −0 features/step_definitions/web_steps.rb
  50. +50 −0 features/support/env.rb
  51. +33 −0 features/support/paths.rb
  52. +39 −0 features/support/selectors.rb
  53. 0 lib/tasks/.gitkeep
  54. +65 −0 lib/tasks/cucumber.rake
  55. 0 log/.gitkeep
  56. +26 −0 public/404.html
  57. +26 −0 public/422.html
  58. +26 −0 public/500.html
  59. 0 public/favicon.ico
  60. +241 −0 public/index.html
  61. +5 −0 public/robots.txt
  62. +10 −0 script/cucumber
  63. +6 −0 script/rails
  64. +123 −0 script/rails.compiled.rbc
  65. +27 −0 spec/spec_helper.rb
  66. +388 −0 spec/spec_helper.rbc
  67. 0 vendor/assets/stylesheets/.gitkeep
  68. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,24 @@
+.bundle
+db/*.sqlite3
+log/*.log
+tmp/
+.sass-cache/
+
+.DS_Store
+Icon?
+
+# Thumbnails
+._*
+
+# Files that might appear on external disk
+.Spotlight-V100
+.Trashes
+
+*.tmproj
+*.tmproject
+tmtags
+
+.*.sw[a-z]
+*.un~
+Session.vim
+
1 .rspec
@@ -0,0 +1 @@
+--colour
29 Gemfile
@@ -0,0 +1,29 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.1.0.rc4'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'pg'
+
+# Asset template engines
+gem 'json'
+gem 'sass-rails', "~> 3.1.0.rc"
+gem 'coffee-script'
+gem 'uglifier'
+
+gem 'jquery-rails'
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug'
+
+gem "cucumber-rails", :group => [:development, :test]
+gem "capybara", :group => [:development, :test]
+gem "rspec-rails", ">= 2.0.1", :group => [:development, :test]
@@ -0,0 +1,163 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ actionmailer (3.1.0.rc4)
+ actionpack (= 3.1.0.rc4)
+ mail (~> 2.3.0)
+ actionpack (3.1.0.rc4)
+ activemodel (= 3.1.0.rc4)
+ activesupport (= 3.1.0.rc4)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ i18n (~> 0.6)
+ rack (~> 1.3.0)
+ rack-cache (~> 1.0.1)
+ rack-mount (~> 0.8.1)
+ rack-test (~> 0.6.0)
+ sprockets (~> 2.0.0.beta.10)
+ tzinfo (~> 0.3.27)
+ activemodel (3.1.0.rc4)
+ activesupport (= 3.1.0.rc4)
+ bcrypt-ruby (~> 2.1.4)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activerecord (3.1.0.rc4)
+ activemodel (= 3.1.0.rc4)
+ activesupport (= 3.1.0.rc4)
+ arel (~> 2.1.1)
+ tzinfo (~> 0.3.27)
+ activeresource (3.1.0.rc4)
+ activemodel (= 3.1.0.rc4)
+ activesupport (= 3.1.0.rc4)
+ activesupport (3.1.0.rc4)
+ multi_json (~> 1.0)
+ arel (2.1.3)
+ bcrypt-ruby (2.1.4)
+ builder (3.0.0)
+ capybara (1.0.0)
+ mime-types (>= 1.16)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ selenium-webdriver (~> 0.2.0)
+ xpath (~> 0.1.4)
+ childprocess (0.2.0)
+ ffi (~> 1.0.6)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.1.1)
+ cucumber (1.0.2)
+ builder (>= 2.1.2)
+ diff-lcs (>= 1.1.2)
+ gherkin (~> 2.4.5)
+ json (>= 1.4.6)
+ term-ansicolor (>= 1.0.5)
+ cucumber-rails (1.0.2)
+ capybara (>= 1.0.0)
+ cucumber (~> 1.0.0)
+ nokogiri (>= 1.4.6)
+ diff-lcs (1.1.2)
+ erubis (2.7.0)
+ execjs (1.2.0)
+ multi_json (~> 1.0)
+ ffi (1.0.9)
+ gherkin (2.4.5)
+ json (>= 1.4.6)
+ hike (1.2.0)
+ i18n (0.6.0)
+ jquery-rails (1.0.12)
+ railties (~> 3.0)
+ thor (~> 0.14)
+ json (1.5.3)
+ json_pure (1.5.3)
+ mail (2.3.0)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.16)
+ multi_json (1.0.3)
+ nokogiri (1.5.0)
+ pg (0.11.0)
+ polyglot (0.3.1)
+ rack (1.3.1)
+ rack-cache (1.0.2)
+ rack (>= 0.4)
+ rack-mount (0.8.1)
+ rack (>= 1.0.0)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.0)
+ rack (>= 1.0)
+ rails (3.1.0.rc4)
+ actionmailer (= 3.1.0.rc4)
+ actionpack (= 3.1.0.rc4)
+ activerecord (= 3.1.0.rc4)
+ activeresource (= 3.1.0.rc4)
+ activesupport (= 3.1.0.rc4)
+ bundler (~> 1.0)
+ railties (= 3.1.0.rc4)
+ railties (3.1.0.rc4)
+ actionpack (= 3.1.0.rc4)
+ activesupport (= 3.1.0.rc4)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2)
+ rdoc (3.8)
+ rspec (2.6.0)
+ rspec-core (~> 2.6.0)
+ rspec-expectations (~> 2.6.0)
+ rspec-mocks (~> 2.6.0)
+ rspec-core (2.6.4)
+ rspec-expectations (2.6.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.6.0)
+ rspec-rails (2.6.1)
+ actionpack (~> 3.0)
+ activesupport (~> 3.0)
+ railties (~> 3.0)
+ rspec (~> 2.6.0)
+ rubyzip (0.9.4)
+ sass (3.1.4)
+ sass-rails (3.1.0.rc.4)
+ actionpack (~> 3.1.0.rc1)
+ railties (~> 3.1.0.rc1)
+ sass (>= 3.1.4)
+ sprockets (>= 2.0.0.beta.9)
+ selenium-webdriver (0.2.2)
+ childprocess (>= 0.1.9)
+ ffi (>= 1.0.7)
+ json_pure
+ rubyzip
+ sprockets (2.0.0.beta.10)
+ hike (~> 1.0)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ term-ansicolor (1.0.6)
+ thor (0.14.6)
+ tilt (1.3.2)
+ treetop (1.4.9)
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.29)
+ uglifier (1.0.0)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+ xpath (0.1.4)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ capybara
+ coffee-script
+ cucumber-rails
+ jquery-rails
+ json
+ pg
+ rails (= 3.1.0.rc4)
+ rspec-rails (>= 2.0.1)
+ sass-rails (~> 3.1.0.rc)
+ uglifier
No changes.
@@ -0,0 +1,7 @@
+#!/usr/bin/env rake
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+
+require File.expand_path('../config/application', __FILE__)
+
+Rbxlotto::Application.load_tasks
Binary file not shown.
@@ -0,0 +1,9 @@
+// This is a manifest file that'll be compiled into including all the files listed below.
+// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
+// be included in the compiled file accessible from http://example.com/assets/application.js
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// the compiled file.
+//
+//= require jquery
+//= require jquery_ujs
+//= require_tree .
@@ -0,0 +1,7 @@
+/*
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
+ *= require_self
+ *= require_tree .
+*/
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery
+end
@@ -0,0 +1,130 @@
+!RBIX
+6235178746665710376
+x
+M
+1
+n
+n
+x
+10
+__script__
+i
+33
+99
+7
+0
+45
+1
+2
+43
+3
+65
+49
+4
+3
+13
+99
+12
+7
+5
+12
+7
+6
+12
+65
+12
+49
+7
+4
+15
+49
+5
+0
+15
+2
+11
+I
+6
+I
+0
+I
+0
+I
+0
+n
+p
+8
+x
+21
+ApplicationController
+x
+16
+ActionController
+n
+x
+4
+Base
+x
+10
+open_class
+x
+14
+__class_init__
+M
+1
+n
+n
+x
+21
+ApplicationController
+i
+6
+5
+66
+5
+48
+0
+11
+I
+1
+I
+0
+I
+0
+I
+0
+n
+p
+1
+x
+20
+protect_from_forgery
+p
+3
+I
+2
+I
+2
+I
+6
+x
+145
+/Users/john/.rvm/gems/rbx-head@rails31/gems/railties-3.1.0.rc4/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb
+p
+0
+x
+13
+attach_method
+p
+3
+I
+0
+I
+1
+I
+21
+x
+145
+/Users/john/.rvm/gems/rbx-head@rails31/gems/railties-3.1.0.rc4/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb
+p
+0
@@ -0,0 +1,2 @@
+module ApplicationHelper
+end
Oops, something went wrong.

0 comments on commit 5aead57

Please sign in to comment.