Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 1db68f15a3cbe0e73aabb5a102186e264c606b32 @jeffdonthemic jeffdonthemic committed Sep 28, 2011
Showing with 2,024 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +1 −0 .rspec
  3. +32 −0 Gemfile
  4. +154 −0 Gemfile.lock
  5. +16 −0 Guardfile
  6. +23 −0 README.md
  7. +7 −0 Rakefile
  8. +9 −0 app/assets/javascripts/application.js
  9. +3 −0 app/assets/javascripts/content.js.coffee
  10. +176 −0 app/assets/stylesheets/application.css.sass
  11. +18 −0 app/assets/stylesheets/content.css.sass
  12. +3 −0 app/controllers/application_controller.rb
  13. +9 −0 app/controllers/content_controller.rb
  14. +5 −0 app/helpers/application_helper.rb
  15. +2 −0 app/helpers/content_helper.rb
  16. 0 app/mailers/.gitkeep
  17. 0 app/models/.gitkeep
  18. +75 −0 app/views/content/about.html.erb
  19. +174 −0 app/views/content/faq.html.erb
  20. +20 −0 app/views/content/home.html.erb
  21. +80 −0 app/views/content/privacy.html.erb
  22. +348 −0 app/views/content/tos.html.erb
  23. +48 −0 app/views/layouts/application.html.erb
  24. +4 −0 config.ru
  25. +54 −0 config/application.rb
  26. +6 −0 config/boot.rb
  27. +5 −0 config/environment.rb
  28. +30 −0 config/environments/development.rb
  29. +60 −0 config/environments/production.rb
  30. +42 −0 config/environments/test.rb
  31. +7 −0 config/initializers/backtrace_silencers.rb
  32. +10 −0 config/initializers/inflections.rb
  33. +5 −0 config/initializers/mime_types.rb
  34. +7 −0 config/initializers/secret_token.rb
  35. +8 −0 config/initializers/session_store.rb
  36. +10 −0 config/initializers/wrap_parameters.rb
  37. +5 −0 config/locales/en.yml
  38. +4 −0 config/routes.rb
  39. +7 −0 db/seeds.rb
  40. +2 −0 doc/README_FOR_APP
  41. 0 lib/assets/.gitkeep
  42. 0 lib/tasks/.gitkeep
  43. 0 log/.gitkeep
  44. +26 −0 public/404.html
  45. +26 −0 public/422.html
  46. +26 −0 public/500.html
  47. 0 public/favicon.ico
  48. +5 −0 public/robots.txt
  49. +6 −0 script/rails
  50. +5 −0 spec/controllers/content_controller_spec.rb
  51. +25 −0 spec/spec_helper.rb
  52. 0 vendor/assets/stylesheets/.gitkeep
  53. +431 −0 vendor/assets/stylesheets/normalize.css
  54. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,5 @@
+.bundle
+db/*.sqlite3
+log/*.log
+tmp/
+.sass-cache/
1 .rspec
@@ -0,0 +1 @@
+--colour
32 Gemfile
@@ -0,0 +1,32 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.1.0'
+gem 'compass', git: 'git://github.com/chriseppstein/compass.git'
+
+group :development, :test do
+ gem 'rspec-rails', '~> 2.6'
+
+ gem 'guard'
+ gem 'guard-bundler'
+ gem 'guard-rspec'
+ gem 'growl'
+ gem 'rb-fsevent'
+end
+
+group :assets do
+ gem 'sass-rails', " ~> 3.1.0"
+ gem 'coffee-rails', "~> 3.1.0"
+ gem 'uglifier'
+end
+
+gem 'jquery-rails'
+
+# 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,154 @@
+GIT
+ remote: git://github.com/chriseppstein/compass.git
+ revision: d03d52990968db144483bcccea4dece826f06e3e
+ specs:
+ compass (0.12.alpha.0.d03d529)
+ chunky_png (~> 1.2)
+ fssm (>= 0.2.7)
+ sass (~> 3.1)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ actionmailer (3.1.0)
+ actionpack (= 3.1.0)
+ mail (~> 2.3.0)
+ actionpack (3.1.0)
+ activemodel (= 3.1.0)
+ activesupport (= 3.1.0)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ i18n (~> 0.6)
+ rack (~> 1.3.2)
+ rack-cache (~> 1.0.3)
+ rack-mount (~> 0.8.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.0.0)
+ activemodel (3.1.0)
+ activesupport (= 3.1.0)
+ bcrypt-ruby (~> 3.0.0)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activerecord (3.1.0)
+ activemodel (= 3.1.0)
+ activesupport (= 3.1.0)
+ arel (~> 2.2.1)
+ tzinfo (~> 0.3.29)
+ activeresource (3.1.0)
+ activemodel (= 3.1.0)
+ activesupport (= 3.1.0)
+ activesupport (3.1.0)
+ multi_json (~> 1.0)
+ arel (2.2.1)
+ bcrypt-ruby (3.0.1)
+ builder (3.0.0)
+ chunky_png (1.2.5)
+ coffee-rails (3.1.1)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.1.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.1.2)
+ diff-lcs (1.1.3)
+ erubis (2.7.0)
+ execjs (1.2.8)
+ multi_json (~> 1.0)
+ fssm (0.2.7)
+ growl (1.0.3)
+ guard (0.7.0)
+ thor (~> 0.14.6)
+ guard-bundler (0.1.3)
+ bundler (>= 1.0.0)
+ guard (>= 0.2.2)
+ guard-rspec (0.4.5)
+ guard (>= 0.4.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ jquery-rails (1.0.14)
+ railties (~> 3.0)
+ thor (~> 0.14)
+ 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)
+ polyglot (0.3.2)
+ rack (1.3.3)
+ rack-cache (1.0.3)
+ rack (>= 0.4)
+ rack-mount (0.8.3)
+ rack (>= 1.0.0)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.1.0)
+ actionmailer (= 3.1.0)
+ actionpack (= 3.1.0)
+ activerecord (= 3.1.0)
+ activeresource (= 3.1.0)
+ activesupport (= 3.1.0)
+ bundler (~> 1.0)
+ railties (= 3.1.0)
+ railties (3.1.0)
+ actionpack (= 3.1.0)
+ activesupport (= 3.1.0)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2)
+ rb-fsevent (0.4.3.1)
+ rdoc (3.9.4)
+ 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)
+ sass (3.1.7)
+ sass-rails (3.1.2)
+ actionpack (~> 3.1.0)
+ railties (~> 3.1.0)
+ sass (>= 3.1.4)
+ sprockets (~> 2.0.0)
+ tilt (~> 1.3.2)
+ sprockets (2.0.0)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (!= 1.3.0, ~> 1.1)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.29)
+ uglifier (1.0.3)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ coffee-rails (~> 3.1.0)
+ compass!
+ growl
+ guard
+ guard-bundler
+ guard-rspec
+ jquery-rails
+ rails (= 3.1.0)
+ rb-fsevent
+ rspec-rails (~> 2.6)
+ sass-rails (~> 3.1.0)
+ uglifier
@@ -0,0 +1,16 @@
+guard 'rspec', :version => 2 do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
+ watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
+ watch('spec/spec_helper.rb') { "spec" }
+ watch('app/controllers/application_controller.rb') { "spec/controllers" }
+ # Capybara request specs
+ watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/requests/#{m[1]}_spec.rb" }
+end
+
+
+guard 'bundler' do
+ watch('Gemfile')
+end
@@ -0,0 +1,23 @@
+# CloudSpokes (on Rails!)
+
+This application is not a pixel-for-pixel or same-HTML remake of
+Cloudspokes. This was an intentional decision as it has been built with
+the same look and feel but using semantic HTML5 as well as Sprockets,
+SASS, and CSS3.
+
+The application is on a clean skeleton and is set up for RSpec testing.
+To run the application, you can simply run `rails server`. It is also
+complete with a Gemfile, Guardfile for test automation, and more.
+
+Basically this is a shell application that gives you everything you need
+to get up and running. It should deploy to Heroku great as-is.
+
+## Pages
+
+The pages that are available are:
+
+1. Home Page (dynamic content excluded)
+2. About Page ("how it works" link)
+3. FAQs
+4. Privacy Policy
+5. Terms of Service
@@ -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__)
+
+Cloudspokes::Application.load_tasks
@@ -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,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
Oops, something went wrong.

0 comments on commit 1db68f1

Please sign in to comment.