Permalink
Browse files

project code

  • Loading branch information...
0 parents commit d84aeab244bb52185871e9b8b19c6c4a21219694 @coderoshi committed May 14, 2011
Showing with 11,817 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +37 −0 Gemfile
  3. +117 −0 Gemfile.lock
  4. +256 −0 README
  5. +7 −0 Rakefile
  6. +3 −0 app/controllers/application_controller.rb
  7. +83 −0 app/controllers/cities_controller.rb
  8. +83 −0 app/controllers/countries_controller.rb
  9. +83 −0 app/controllers/events_controller.rb
  10. +13 −0 app/controllers/images_controller.rb
  11. +14 −0 app/controllers/shorts_controller.rb
  12. +79 −0 app/controllers/wikis_controller.rb
  13. +2 −0 app/helpers/application_helper.rb
  14. +2 −0 app/helpers/cities_helper.rb
  15. +2 −0 app/helpers/countries_helper.rb
  16. +2 −0 app/helpers/events_helper.rb
  17. +2 −0 app/helpers/images_helper.rb
  18. +2 −0 app/helpers/shorts_helper.rb
  19. +2 −0 app/helpers/wikis_helper.rb
  20. +8 −0 app/models/city.rb
  21. +2 −0 app/models/country.rb
  22. +5 −0 app/models/event.rb
  23. +5 −0 app/models/location.rb
  24. +58 −0 app/models/wiki.rb
  25. +29 −0 app/views/cities/_form.html.erb
  26. +6 −0 app/views/cities/edit.html.erb
  27. +27 −0 app/views/cities/index.html.erb
  28. +5 −0 app/views/cities/new.html.erb
  29. +20 −0 app/views/cities/show.html.erb
  30. +25 −0 app/views/countries/_form.html.erb
  31. +6 −0 app/views/countries/edit.html.erb
  32. +25 −0 app/views/countries/index.html.erb
  33. +5 −0 app/views/countries/new.html.erb
  34. +15 −0 app/views/countries/show.html.erb
  35. +29 −0 app/views/events/_form.html.erb
  36. +6 −0 app/views/events/edit.html.erb
  37. +27 −0 app/views/events/index.html.erb
  38. +5 −0 app/views/events/new.html.erb
  39. +20 −0 app/views/events/show.html.erb
  40. +4 −0 app/views/images/index.html.erb
  41. +14 −0 app/views/layouts/application.html.erb
  42. +1 −0 app/views/shorts/create.html.erb
  43. +4 −0 app/views/shorts/new.html.erb
  44. +17 −0 app/views/wikis/_form.html.erb
  45. +11 −0 app/views/wikis/edit.html.erb
  46. +17 −0 app/views/wikis/index.html.erb
  47. +9 −0 app/views/wikis/new.html.erb
  48. +13 −0 app/views/wikis/show.html.erb
  49. +4 −0 config.ru
  50. +42 −0 config/application.rb
  51. +6 −0 config/boot.rb
  52. +9 −0 config/database.yml
  53. +5 −0 config/environment.rb
  54. +28 −0 config/environments/development.rb
  55. +49 −0 config/environments/production.rb
  56. +35 −0 config/environments/test.rb
  57. +7 −0 config/initializers/backtrace_silencers.rb
  58. +10 −0 config/initializers/inflections.rb
  59. +16 −0 config/initializers/launch_hbase.rb
  60. +5 −0 config/initializers/mime_types.rb
  61. +7 −0 config/initializers/secret_token.rb
  62. +8 −0 config/initializers/session_store.rb
  63. +5 −0 config/locales/en.yml
  64. +6 −0 config/mongoid.yml
  65. +70 −0 config/routes.rb
  66. +13 −0 db/migrate/20110424214540_create_countries.rb
  67. +16 −0 db/migrate/20110424215155_create_events.rb
  68. +12 −0 db/migrate/20110425071723_create_wikis.rb
  69. +23 −0 db/schema.rb
  70. +232 −0 db/seeds.rb
  71. +2 −0 doc/README_FOR_APP
  72. 0 lib/tasks/.gitkeep
  73. +26 −0 public/404.html
  74. +26 −0 public/422.html
  75. +26 −0 public/500.html
  76. 0 public/favicon.ico
  77. BIN public/images/rails.png
  78. +239 −0 public/index.html
  79. +2 −0 public/javascripts/application.js
  80. +965 −0 public/javascripts/controls.js
  81. +974 −0 public/javascripts/dragdrop.js
  82. +1,123 −0 public/javascripts/effects.js
  83. +6,001 −0 public/javascripts/prototype.js
  84. +191 −0 public/javascripts/rails.js
  85. +5 −0 public/robots.txt
  86. 0 public/stylesheets/.gitkeep
  87. +56 −0 public/stylesheets/scaffold.css
  88. +6 −0 script/rails
  89. +11 −0 test/fixtures/cities.yml
  90. +9 −0 test/fixtures/countries.yml
  91. +11 −0 test/fixtures/events.yml
  92. +9 −0 test/fixtures/locations.yml
  93. +11 −0 test/fixtures/wikis.yml
  94. +49 −0 test/functional/cities_controller_test.rb
  95. +49 −0 test/functional/countries_controller_test.rb
  96. +49 −0 test/functional/events_controller_test.rb
  97. +9 −0 test/functional/images_controller_test.rb
  98. +14 −0 test/functional/shorts_controller_test.rb
  99. +49 −0 test/functional/wikis_controller_test.rb
  100. +9 −0 test/performance/browsing_test.rb
  101. +13 −0 test/test_helper.rb
  102. +8 −0 test/unit/city_test.rb
  103. +8 −0 test/unit/country_test.rb
  104. +8 −0 test/unit/event_test.rb
  105. +4 −0 test/unit/helpers/cities_helper_test.rb
  106. +4 −0 test/unit/helpers/countries_helper_test.rb
  107. +4 −0 test/unit/helpers/events_helper_test.rb
  108. +4 −0 test/unit/helpers/images_helper_test.rb
  109. +4 −0 test/unit/helpers/shorts_helper_test.rb
  110. +4 −0 test/unit/helpers/wikis_helper_test.rb
  111. +8 −0 test/unit/location_test.rb
  112. +8 −0 test/unit/wiki_test.rb
  113. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,4 @@
+.bundle
+db/*.sqlite3
+log/*.log
+tmp/
37 Gemfile
@@ -0,0 +1,37 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.0.5'
+gem 'awesome_print'
+gem 'mysql2'
+gem 'pg'
+gem 'pg_search'
+gem 'thrift'
+gem 'cassandra'
+gem 'mongoid'
+gem 'bson_ext'
+gem 'ripple'
+gem 'hiredis'
+gem 'redis', :require => ['redis/connection/hiredis', 'redis']
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
+# gem 'ruby-debug'
+# gem 'ruby-debug19', :require => 'ruby-debug'
+
+# Bundle the extra gems:
+# gem 'bj'
+# gem 'nokogiri'
+# gem 'sqlite3-ruby', :require => 'sqlite3'
+# gem 'aws-s3', :require => 'aws/s3'
+
+# Bundle gems for the local environment. Make sure to
+# put test-only gems in this group so their generators
+# and rake tasks are available in development mode:
+# group :development, :test do
+# gem 'webrat'
+# end
@@ -0,0 +1,117 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ abstract (1.0.0)
+ actionmailer (3.0.5)
+ actionpack (= 3.0.5)
+ mail (~> 2.2.15)
+ actionpack (3.0.5)
+ activemodel (= 3.0.5)
+ activesupport (= 3.0.5)
+ builder (~> 2.1.2)
+ erubis (~> 2.6.6)
+ i18n (~> 0.4)
+ rack (~> 1.2.1)
+ rack-mount (~> 0.6.13)
+ rack-test (~> 0.5.7)
+ tzinfo (~> 0.3.23)
+ activemodel (3.0.5)
+ activesupport (= 3.0.5)
+ builder (~> 2.1.2)
+ i18n (~> 0.4)
+ activerecord (3.0.5)
+ activemodel (= 3.0.5)
+ activesupport (= 3.0.5)
+ arel (~> 2.0.2)
+ tzinfo (~> 0.3.23)
+ activeresource (3.0.5)
+ activemodel (= 3.0.5)
+ activesupport (= 3.0.5)
+ activesupport (3.0.5)
+ arel (2.0.9)
+ awesome_print (0.3.2)
+ beefcake (0.3.1)
+ bson (1.3.0)
+ bson_ext (1.3.0)
+ builder (2.1.2)
+ cassandra (0.9.1)
+ json
+ rake
+ simple_uuid (>= 0.1.0)
+ thrift_client (>= 0.6.0)
+ erubis (2.6.6)
+ abstract (>= 1.0.0)
+ hiredis (0.3.1)
+ i18n (0.5.0)
+ json (1.5.1)
+ mail (2.2.16)
+ activesupport (>= 2.3.6)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.16)
+ mongo (1.3.0)
+ bson (>= 1.3.0)
+ mongoid (2.0.1)
+ activemodel (~> 3.0)
+ mongo (~> 1.3)
+ tzinfo (~> 0.3.22)
+ will_paginate (~> 3.0.pre)
+ mysql2 (0.2.7)
+ pg (0.10.1)
+ pg_search (0.1.1)
+ polyglot (0.3.1)
+ rack (1.2.2)
+ rack-mount (0.6.14)
+ rack (>= 1.0.0)
+ rack-test (0.5.7)
+ rack (>= 1.0)
+ rails (3.0.5)
+ actionmailer (= 3.0.5)
+ actionpack (= 3.0.5)
+ activerecord (= 3.0.5)
+ activeresource (= 3.0.5)
+ activesupport (= 3.0.5)
+ bundler (~> 1.0)
+ railties (= 3.0.5)
+ railties (3.0.5)
+ actionpack (= 3.0.5)
+ activesupport (= 3.0.5)
+ rake (>= 0.8.7)
+ thor (~> 0.14.4)
+ rake (0.8.7)
+ redis (2.2.0)
+ riak-client (0.9.3)
+ beefcake (~> 0.3.0)
+ builder (~> 2.1.2)
+ i18n (>= 0.4.0)
+ ripple (0.9.3)
+ activemodel (~> 3.0.0)
+ activesupport (~> 3.0.0)
+ riak-client (~> 0.9.3)
+ simple_uuid (0.1.2)
+ thor (0.14.6)
+ thrift (0.5.0)
+ thrift_client (0.6.0)
+ thrift (~> 0.5.0)
+ treetop (1.4.9)
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.26)
+ will_paginate (3.0.pre2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ awesome_print
+ bson_ext
+ cassandra
+ hiredis
+ mongoid
+ mysql2
+ pg
+ pg_search
+ rails (= 3.0.5)
+ redis
+ ripple
+ thrift
Oops, something went wrong.

0 comments on commit d84aeab

Please sign in to comment.