Permalink
Browse files

initial import

  • Loading branch information...
feedbackmine committed Mar 13, 2009
0 parents commit af97f763406914d9f09728172dceea2334fae7b6
Showing with 20,279 additions and 0 deletions.
  1. +3 −0 README
  2. +10 −0 Rakefile
  3. +15 −0 app/controllers/application.rb
  4. +10 −0 app/controllers/projects_controller.rb
  5. +3 −0 app/helpers/application_helper.rb
  6. +2 −0 app/helpers/projects_helper.rb
  7. +3 −0 app/models/feedback.rb
  8. +8 −0 app/models/project.rb
  9. +54 −0 app/views/layouts/application.html.erb
  10. +1 −0 app/views/projects/index.html.erb
  11. 0 app/views/projects/show.html.erb
  12. +109 −0 config/boot.rb
  13. +77 −0 config/environment.rb
  14. +17 −0 config/environments/development.rb
  15. +24 −0 config/environments/production.rb
  16. +22 −0 config/environments/test.rb
  17. +10 −0 config/initializers/inflections.rb
  18. +5 −0 config/initializers/mime_types.rb
  19. +17 −0 config/initializers/new_rails_defaults.rb
  20. +5 −0 config/locales/en.yml
  21. +48 −0 config/routes.rb
  22. +16 −0 db/migrate/20090301012839_create_projects.rb
  23. +17 −0 db/migrate/20090301012852_create_feedbacks.rb
  24. +33 −0 db/schema.rb
  25. +5 −0 doc/README_FOR_APP
  26. 0 log/.gitignore
  27. +30 −0 public/404.html
  28. +30 −0 public/422.html
  29. +33 −0 public/500.html
  30. +10 −0 public/dispatch.cgi
  31. +24 −0 public/dispatch.fcgi
  32. +10 −0 public/dispatch.rb
  33. 0 public/favicon.ico
  34. BIN public/images/rails.png
  35. +2 −0 public/javascripts/application.js
  36. +963 −0 public/javascripts/controls.js
  37. +973 −0 public/javascripts/dragdrop.js
  38. +1,128 −0 public/javascripts/effects.js
  39. +4,320 −0 public/javascripts/prototype.js
  40. +5 −0 public/robots.txt
  41. +26 −0 public/stylesheets/blueprint/ie.css
  42. BIN public/stylesheets/blueprint/plugins/buttons/icons/cross.png
  43. BIN public/stylesheets/blueprint/plugins/buttons/icons/key.png
  44. BIN public/stylesheets/blueprint/plugins/buttons/icons/tick.png
  45. +32 −0 public/stylesheets/blueprint/plugins/buttons/readme.txt
  46. +97 −0 public/stylesheets/blueprint/plugins/buttons/screen.css
  47. +14 −0 public/stylesheets/blueprint/plugins/fancy-type/readme.txt
  48. +71 −0 public/stylesheets/blueprint/plugins/fancy-type/screen.css
  49. BIN public/stylesheets/blueprint/plugins/link-icons/icons/doc.png
  50. BIN public/stylesheets/blueprint/plugins/link-icons/icons/email.png
  51. BIN public/stylesheets/blueprint/plugins/link-icons/icons/external.png
  52. BIN public/stylesheets/blueprint/plugins/link-icons/icons/feed.png
  53. BIN public/stylesheets/blueprint/plugins/link-icons/icons/im.png
  54. BIN public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png
  55. BIN public/stylesheets/blueprint/plugins/link-icons/icons/visited.png
  56. BIN public/stylesheets/blueprint/plugins/link-icons/icons/xls.png
  57. +18 −0 public/stylesheets/blueprint/plugins/link-icons/readme.txt
  58. +40 −0 public/stylesheets/blueprint/plugins/link-icons/screen.css
  59. +10 −0 public/stylesheets/blueprint/plugins/rtl/readme.txt
  60. +109 −0 public/stylesheets/blueprint/plugins/rtl/screen.css
  61. +30 −0 public/stylesheets/blueprint/print.css
  62. +251 −0 public/stylesheets/blueprint/screen.css
  63. +49 −0 public/stylesheets/blueprint/src/forms.css
  64. +213 −0 public/stylesheets/blueprint/src/grid.css
  65. BIN public/stylesheets/blueprint/src/grid.png
  66. +59 −0 public/stylesheets/blueprint/src/ie.css
  67. +85 −0 public/stylesheets/blueprint/src/print.css
  68. +38 −0 public/stylesheets/blueprint/src/reset.css
  69. +105 −0 public/stylesheets/blueprint/src/typography.css
  70. +4 −0 script/about
  71. +3 −0 script/console
  72. +3 −0 script/dbconsole
  73. +3 −0 script/destroy
  74. +3 −0 script/generate
  75. +3 −0 script/performance/benchmarker
  76. +3 −0 script/performance/profiler
  77. +3 −0 script/performance/request
  78. +3 −0 script/plugin
  79. +3 −0 script/process/inspector
  80. +3 −0 script/process/reaper
  81. +3 −0 script/process/spawner
  82. +3 −0 script/runner
  83. +3 −0 script/server
  84. +7 −0 test/fixtures/feedbacks.yml
  85. +7 −0 test/fixtures/projects.yml
  86. +8 −0 test/functional/projects_controller_test.rb
  87. +9 −0 test/performance/browsing_test.rb
  88. +38 −0 test/test_helper.rb
  89. +8 −0 test/unit/feedback_test.rb
  90. +8 −0 test/unit/project_test.rb
  91. 0 tmp/.gitignore
  92. +7 −0 vendor/plugins/thinking-sphinx/.gitignore
  93. +20 −0 vendor/plugins/thinking-sphinx/LICENCE
  94. +120 −0 vendor/plugins/thinking-sphinx/README
  95. +113 −0 vendor/plugins/thinking-sphinx/README.textile
  96. +4 −0 vendor/plugins/thinking-sphinx/Rakefile
  97. +328 −0 vendor/plugins/thinking-sphinx/contribute.rb
  98. +1 −0 vendor/plugins/thinking-sphinx/cucumber.yml
  99. +17 −0 vendor/plugins/thinking-sphinx/features/a.rb
  100. +22 −0 vendor/plugins/thinking-sphinx/features/attribute_transformation.feature
  101. +55 −0 vendor/plugins/thinking-sphinx/features/datetime_deltas.feature
  102. +37 −0 vendor/plugins/thinking-sphinx/features/delayed_delta_indexing.feature
  103. +52 −0 vendor/plugins/thinking-sphinx/features/deleting_instances.feature
  104. +26 −0 vendor/plugins/thinking-sphinx/features/facets.feature
  105. +67 −0 vendor/plugins/thinking-sphinx/features/handling_edits.feature
  106. +24 −0 vendor/plugins/thinking-sphinx/features/retry_stale_indexes.feature
  107. +20 −0 vendor/plugins/thinking-sphinx/features/searching_across_models.feature
  108. +128 −0 vendor/plugins/thinking-sphinx/features/searching_by_model.feature
  109. +56 −0 vendor/plugins/thinking-sphinx/features/searching_with_find_arguments.feature
  110. +21 −0 vendor/plugins/thinking-sphinx/features/sphinx_detection.feature
  111. +3 −0 vendor/plugins/thinking-sphinx/features/step_definitions/alpha_steps.rb
  112. +11 −0 vendor/plugins/thinking-sphinx/features/step_definitions/beta_steps.rb
  113. +3 −0 vendor/plugins/thinking-sphinx/features/step_definitions/cat_steps.rb
  114. +154 −0 vendor/plugins/thinking-sphinx/features/step_definitions/common_steps.rb
  115. +11 −0 vendor/plugins/thinking-sphinx/features/step_definitions/datetime_delta_steps.rb
  116. +7 −0 vendor/plugins/thinking-sphinx/features/step_definitions/delayed_delta_indexing_steps.rb
  117. +30 −0 vendor/plugins/thinking-sphinx/features/step_definitions/facet_steps.rb
  118. +36 −0 vendor/plugins/thinking-sphinx/features/step_definitions/find_arguments_steps.rb
  119. +15 −0 vendor/plugins/thinking-sphinx/features/step_definitions/gamma_steps.rb
  120. +66 −0 vendor/plugins/thinking-sphinx/features/step_definitions/search_steps.rb
  121. +27 −0 vendor/plugins/thinking-sphinx/features/step_definitions/sphinx_steps.rb
  122. +1 −0 vendor/plugins/thinking-sphinx/features/support/db/.gitignore
  123. +40 −0 vendor/plugins/thinking-sphinx/features/support/db/active_record.rb
  124. +4 −0 vendor/plugins/thinking-sphinx/features/support/db/database.example.yml
  125. +18 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_alphas.rb
  126. +9 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_animals.rb
  127. +15 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_betas.rb
  128. +13 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_boxes.rb
  129. +23 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_comments.rb
  130. +28 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_delayed_betas.rb
  131. +39 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_developers.rb
  132. +14 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_gammas.rb
  133. +1,014 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_people.rb
  134. +6 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_posts.rb
  135. +17 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_tags.rb
  136. +16 −0 vendor/plugins/thinking-sphinx/features/support/db/migrations/create_thetas.rb
  137. +4 −0 vendor/plugins/thinking-sphinx/features/support/db/mysql.rb
  138. +4 −0 vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb
  139. +6 −0 vendor/plugins/thinking-sphinx/features/support/env.rb
  140. +9 −0 vendor/plugins/thinking-sphinx/features/support/models/alpha.rb
  141. +5 −0 vendor/plugins/thinking-sphinx/features/support/models/animal.rb
  142. +7 −0 vendor/plugins/thinking-sphinx/features/support/models/beta.rb
  143. +8 −0 vendor/plugins/thinking-sphinx/features/support/models/box.rb
  144. +3 −0 vendor/plugins/thinking-sphinx/features/support/models/cat.rb
  145. +3 −0 vendor/plugins/thinking-sphinx/features/support/models/comment.rb
  146. +7 −0 vendor/plugins/thinking-sphinx/features/support/models/delayed_beta.rb
  147. +8 −0 vendor/plugins/thinking-sphinx/features/support/models/developer.rb
  148. +5 −0 vendor/plugins/thinking-sphinx/features/support/models/gamma.rb
  149. +8 −0 vendor/plugins/thinking-sphinx/features/support/models/person.rb
  150. +11 −0 vendor/plugins/thinking-sphinx/features/support/models/post.rb
  151. +3 −0 vendor/plugins/thinking-sphinx/features/support/models/tag.rb
  152. +7 −0 vendor/plugins/thinking-sphinx/features/support/models/theta.rb
  153. +37 −0 vendor/plugins/thinking-sphinx/features/support/post_database.rb
  154. +19 −0 vendor/plugins/thinking-sphinx/features/support/z.rb
  155. +28 −0 vendor/plugins/thinking-sphinx/ginger_scenarios.rb
  156. +12 −0 vendor/plugins/thinking-sphinx/init.rb
  157. +153 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx.rb
  158. +245 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/active_record.rb
  159. +74 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/active_record/delta.rb
  160. +29 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/active_record/has_many_association.rb
  161. +57 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/active_record/search.rb
  162. +34 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/adapters/abstract_adapter.rb
  163. +53 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/adapters/mysql_adapter.rb
  164. +129 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/adapters/postgresql_adapter.rb
  165. +144 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/association.rb
  166. +258 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/attribute.rb
  167. +147 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/collection.rb
  168. +236 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/configuration.rb
  169. +22 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/core/string.rb
  170. +22 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/deltas.rb
  171. +50 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/deltas/datetime_delta.rb
  172. +65 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/deltas/default_delta.rb
  173. +25 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/deltas/delayed_delta.rb
  174. +24 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/deltas/delayed_delta/delta_job.rb
  175. +27 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/deltas/delayed_delta/flag_as_deleted_job.rb
  176. +26 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/deltas/delayed_delta/job.rb
  177. +58 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/facet.rb
  178. +44 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/facet_collection.rb
  179. +172 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/field.rb
  180. +414 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/index.rb
  181. +233 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/index/builder.rb
  182. +110 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/index/faux_column.rb
  183. +133 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/rails_additions.rb
  184. +645 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/search.rb
  185. +128 −0 vendor/plugins/thinking-sphinx/lib/thinking_sphinx/tasks.rb
  186. +6 −0 vendor/plugins/thinking-sphinx/rails/init.rb
  187. +32 −0 vendor/plugins/thinking-sphinx/spec/fixtures/data.sql
  188. +3 −0 vendor/plugins/thinking-sphinx/spec/fixtures/database.yml.default
  189. +81 −0 vendor/plugins/thinking-sphinx/spec/fixtures/models.rb
  190. +84 −0 vendor/plugins/thinking-sphinx/spec/fixtures/structure.sql
  191. +56 −0 vendor/plugins/thinking-sphinx/spec/spec_helper.rb
  192. +109 −0 vendor/plugins/thinking-sphinx/spec/sphinx_helper.rb
  193. +136 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/active_record/delta_spec.rb
  194. +53 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/active_record/has_many_association_spec.rb
  195. +107 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/active_record/search_spec.rb
  196. +256 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/active_record_spec.rb
  197. +247 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/association_spec.rb
  198. +212 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/attribute_spec.rb
  199. +14 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/collection_spec.rb
  200. +136 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/configuration_spec.rb
  201. +9 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/core/string_spec.rb
  202. +145 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/field_spec.rb
  203. +5 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/builder_spec.rb
  204. +30 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/faux_column_spec.rb
  205. +54 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index_spec.rb
  206. +59 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/search_spec.rb
  207. +129 −0 vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx_spec.rb
  208. +48 −0 vendor/plugins/thinking-sphinx/tasks/distribution.rb
  209. +1 −0 vendor/plugins/thinking-sphinx/tasks/rails.rake
  210. +86 −0 vendor/plugins/thinking-sphinx/tasks/testing.rb
  211. +31 −0 vendor/plugins/thinking-sphinx/thinking-sphinx.gemspec
  212. +1 −0 vendor/plugins/thinking-sphinx/vendor/after_commit/.gitignore
  213. +20 −0 vendor/plugins/thinking-sphinx/vendor/after_commit/LICENSE
  214. +16 −0 vendor/plugins/thinking-sphinx/vendor/after_commit/README
  215. +22 −0 vendor/plugins/thinking-sphinx/vendor/after_commit/Rakefile
  216. +5 −0 vendor/plugins/thinking-sphinx/vendor/after_commit/init.rb
  217. +42 −0 vendor/plugins/thinking-sphinx/vendor/after_commit/lib/after_commit.rb
  218. +114 −0 vendor/plugins/thinking-sphinx/vendor/after_commit/lib/after_commit/active_record.rb
  219. +103 −0 vendor/plugins/thinking-sphinx/vendor/after_commit/lib/after_commit/connection_adapters.rb
  220. +53 −0 vendor/plugins/thinking-sphinx/vendor/after_commit/test/after_commit_test.rb
  221. +251 −0 vendor/plugins/thinking-sphinx/vendor/delayed_job/lib/delayed/job.rb
  222. +7 −0 vendor/plugins/thinking-sphinx/vendor/delayed_job/lib/delayed/message_sending.rb
  223. +55 −0 vendor/plugins/thinking-sphinx/vendor/delayed_job/lib/delayed/performable_method.rb
  224. +54 −0 vendor/plugins/thinking-sphinx/vendor/delayed_job/lib/delayed/worker.rb
  225. +30 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle.rb
  226. +619 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/client.rb
  227. +53 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/client/filter.rb
  228. +65 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/client/message.rb
  229. +84 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/client/response.rb
  230. +33 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration.rb
  231. +48 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration/distributed_index.rb
  232. +142 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration/index.rb
  233. +19 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration/indexer.rb
  234. +17 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration/remote_index.rb
  235. +25 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration/searchd.rb
  236. +37 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration/section.rb
  237. +23 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration/source.rb
  238. +34 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration/sql_source.rb
  239. +28 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/configuration/xml_source.rb
  240. +44 −0 vendor/plugins/thinking-sphinx/vendor/riddle/lib/riddle/controller.rb
3 README
@@ -0,0 +1,3 @@
+== Welcome to FeedbackMine
+
+FeedbackMine is a review site for open source projects.
@@ -0,0 +1,10 @@
+# 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.join(File.dirname(__FILE__), 'config', 'boot'))
+
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+
+require 'tasks/rails'
@@ -0,0 +1,15 @@
+# Filters added to this controller apply to all controllers in the application.
+# Likewise, all the methods added will be available for all controllers.
+
+class ApplicationController < ActionController::Base
+ helper :all # include all helpers, all the time
+
+ # See ActionController::RequestForgeryProtection for details
+ # Uncomment the :secret if you're not using the cookie session store
+ protect_from_forgery # :secret => '6d6a201e57102364db4a8ff8bd4fd0c5'
+
+ # See ActionController::Base for details
+ # Uncomment this to filter the contents of submitted sensitive data parameters
+ # from your application log (in this case, all fields with names like "password").
+ # filter_parameter_logging :password
+end
@@ -0,0 +1,10 @@
+class ProjectsController < ApplicationController
+ def index
+ @projects = Project.find :all
+ end
+
+ def show
+ @project = Project.find params[:id]
+ @feedbacks = @project.feedbacks
+ end
+end
@@ -0,0 +1,3 @@
+# Methods added to this helper will be available to all templates in the application.
+module ApplicationHelper
+end
@@ -0,0 +1,2 @@
+module ProjectsHelper
+end
@@ -0,0 +1,3 @@
+class Feedback < ActiveRecord::Base
+ belongs_to :project
+end
@@ -0,0 +1,8 @@
+class Project < ActiveRecord::Base
+ define_index do
+ indexes name
+ set_property :delta => true
+ end
+
+ has_many :feedbacks
+end
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<head>
+ <title>FeedbackMine</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" href="/stylesheets/blueprint/screen.css" type="text/css" media="screen, projection"/>
+ <link rel="stylesheet" href="/stylesheets/blueprint/print.css" type="text/css" media="print"/>
+ <!--[if IE]>
+ <link rel="stylesheet" href="stylesheets/blueprint/ie.css" type="text/css" media="screen, projection"/>
+ <![endif]-->
+ <%= javascript_include_tag :defaults %>
+ <%= yield :head %>
+</head>
+
+<body>
+ <div class="container">
+ <div class="span-24">
+ </div>
+
+ <div class="span-4">
+ </div>
+
+ <div class="span-16">
+ <%= yield :layout %>
+ </div>
+
+ <div class="span-4 last">
+
+ </div>
+
+ <hr/>
+
+ <div class="span-24">
+ <a href="http://twitter.com/feedbackmine">Follow us on Twitter</a> |
+ <script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#tabs=web%2Cpost%2Cemail&amp;charset=utf-8&amp;style=default&amp;publisher=1632982b-c3d2-4bcd-855b-d9c5da33330e"></script> |
+ <a href="http://getsatisfaction.com/feedbackmine">Feedback</a>
+ </div>
+ </div>
+
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-2327397-2");
+pageTracker._trackPageview();
+} catch(err) {}</script>
+
+</body>
+</html>
+
+
@@ -0,0 +1 @@
+FeedbackMine
No changes.
@@ -0,0 +1,109 @@
+# Don't change this file!
+# Configure your app in config/environment.rb and config/environments/*.rb
+
+RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
+
+module Rails
+ class << self
+ def boot!
+ unless booted?
+ preinitialize
+ pick_boot.run
+ end
+ end
+
+ def booted?
+ defined? Rails::Initializer
+ end
+
+ def pick_boot
+ (vendor_rails? ? VendorBoot : GemBoot).new
+ end
+
+ def vendor_rails?
+ File.exist?("#{RAILS_ROOT}/vendor/rails")
+ end
+
+ def preinitialize
+ load(preinitializer_path) if File.exist?(preinitializer_path)
+ end
+
+ def preinitializer_path
+ "#{RAILS_ROOT}/config/preinitializer.rb"
+ end
+ end
+
+ class Boot
+ def run
+ load_initializer
+ Rails::Initializer.run(:set_load_path)
+ end
+ end
+
+ class VendorBoot < Boot
+ def load_initializer
+ require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
+ Rails::Initializer.run(:install_gem_spec_stubs)
+ end
+ end
+
+ class GemBoot < Boot
+ def load_initializer
+ self.class.load_rubygems
+ load_rails_gem
+ require 'initializer'
+ end
+
+ def load_rails_gem
+ if version = self.class.gem_version
+ gem 'rails', version
+ else
+ gem 'rails'
+ end
+ rescue Gem::LoadError => load_error
+ $stderr.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.)
+ exit 1
+ end
+
+ class << self
+ def rubygems_version
+ Gem::RubyGemsVersion rescue nil
+ end
+
+ def gem_version
+ if defined? RAILS_GEM_VERSION
+ RAILS_GEM_VERSION
+ elsif ENV.include?('RAILS_GEM_VERSION')
+ ENV['RAILS_GEM_VERSION']
+ else
+ parse_gem_version(read_environment_rb)
+ end
+ end
+
+ def load_rubygems
+ require 'rubygems'
+ min_version = '1.3.1'
+ unless rubygems_version >= min_version
+ $stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
+ exit 1
+ end
+
+ rescue LoadError
+ $stderr.puts %Q(Rails requires RubyGems >= #{min_version}. Please install RubyGems and try again: http://rubygems.rubyforge.org)
+ exit 1
+ end
+
+ def parse_gem_version(text)
+ $1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/
+ end
+
+ private
+ def read_environment_rb
+ File.read("#{RAILS_ROOT}/config/environment.rb")
+ end
+ end
+ end
+end
+
+# All that for this:
+Rails.boot!
@@ -0,0 +1,77 @@
+# Be sure to restart your server when you modify this file
+
+# Uncomment below to force Rails into production mode when
+# you don't control web/app server and can't set it the proper way
+# ENV['RAILS_ENV'] ||= 'production'
+
+# Specifies gem version of Rails to use when vendor/rails is not present
+RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
+
+# Bootstrap the Rails environment, frameworks, and default configuration
+require File.join(File.dirname(__FILE__), 'boot')
+
+Rails::Initializer.run do |config|
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+ # See Rails::Configuration for more options.
+
+ # Skip frameworks you're not going to use. To use Rails without a database
+ # you must remove the Active Record framework.
+ # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
+
+ # Specify gems that this application depends on.
+ # They can then be installed with "rake gems:install" on new installations.
+ # You have to specify the :lib option for libraries, where the Gem name (sqlite3-ruby) differs from the file itself (sqlite3)
+ # config.gem "bj"
+ # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
+ # config.gem "sqlite3-ruby", :lib => "sqlite3"
+ # config.gem "aws-s3", :lib => "aws/s3"
+ config.gem 'mislav-will_paginate', :version => '~> 2.2.3', :lib => 'will_paginate',
+ :source => 'http://gems.github.com'
+
+ # Only load the plugins named here, in the order given. By default, all plugins
+ # in vendor/plugins are loaded in alphabetical order.
+ # :all can be used as a placeholder for all plugins not explicitly named
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
+
+ # Add additional load paths for your own custom dirs
+ # config.load_paths += %W( #{RAILS_ROOT}/extras )
+
+ # Force all environments to use the same logger level
+ # (by default production uses :info, the others :debug)
+ # config.log_level = :debug
+
+ # Make Time.zone default to the specified zone, and make Active Record store time values
+ # in the database in UTC, and return them converted to the specified local zone.
+ # Run "rake -D time" for a list of tasks for finding time zone names. Comment line to use default local time.
+ config.time_zone = 'UTC'
+
+ # The internationalization framework can be changed to have another default locale (standard is :en) or more load paths.
+ # All files from config/locales/*.rb,yml are added automatically.
+ # config.i18n.load_path << Dir[File.join(RAILS_ROOT, 'my', 'locales', '*.{rb,yml}')]
+ # config.i18n.default_locale = :de
+
+ # Your secret key for verifying cookie session data integrity.
+ # If you change this key, all old sessions will become invalid!
+ # Make sure the secret is at least 30 characters and all random,
+ # no regular words or you'll be exposed to dictionary attacks.
+ config.action_controller.session = {
+ :session_key => '_feedbackmine_session',
+ :secret => '42472dad5f98630193c1c0119086a248da06c4da6e54d38a9086e2f6d3dba67a6ddb8268720fa0c4a3fcc16041e3c9b8cc14da9ded3478f7c11db5f7675f789f'
+ }
+
+ # Use the database for sessions instead of the cookie-based default,
+ # which shouldn't be used to store highly confidential information
+ # (create the session table with "rake db:sessions:create")
+ # config.action_controller.session_store = :active_record_store
+
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
+ # like if you have constraints or database-specific column types
+ # config.active_record.schema_format = :sql
+
+ # Activate observers that should always be running
+ # Please note that observers generated using script/generate observer need to have an _observer suffix
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
+end
@@ -0,0 +1,17 @@
+# Settings specified here will take precedence over those in config/environment.rb
+
+# In the development environment your application's code is reloaded on
+# every request. This slows down response time but is perfect for development
+# since you don't have to restart the webserver when you make code changes.
+config.cache_classes = false
+
+# Log error messages when you accidentally call methods on nil.
+config.whiny_nils = true
+
+# Show full error reports and disable caching
+config.action_controller.consider_all_requests_local = true
+config.action_view.debug_rjs = true
+config.action_controller.perform_caching = false
+
+# Don't care if the mailer can't send
+config.action_mailer.raise_delivery_errors = false
@@ -0,0 +1,24 @@
+# Settings specified here will take precedence over those in config/environment.rb
+
+# The production environment is meant for finished, "live" apps.
+# Code is not reloaded between requests
+config.cache_classes = true
+
+# Enable threaded mode
+# config.threadsafe!
+
+# Use a different logger for distributed setups
+# config.logger = SyslogLogger.new
+
+# Full error reports are disabled and caching is turned on
+config.action_controller.consider_all_requests_local = false
+config.action_controller.perform_caching = true
+
+# Use a different cache store in production
+# config.cache_store = :mem_cache_store
+
+# Enable serving of images, stylesheets, and javascripts from an asset server
+# config.action_controller.asset_host = "http://assets.example.com"
+
+# Disable delivery errors, bad email addresses will be ignored
+# config.action_mailer.raise_delivery_errors = false
@@ -0,0 +1,22 @@
+# Settings specified here will take precedence over those in config/environment.rb
+
+# The test environment is used exclusively to run your application's
+# test suite. You never need to work with it otherwise. Remember that
+# your test database is "scratch space" for the test suite and is wiped
+# and recreated between test runs. Don't rely on the data there!
+config.cache_classes = true
+
+# Log error messages when you accidentally call methods on nil.
+config.whiny_nils = true
+
+# Show full error reports and disable caching
+config.action_controller.consider_all_requests_local = true
+config.action_controller.perform_caching = false
+
+# Disable request forgery protection in test environment
+config.action_controller.allow_forgery_protection = false
+
+# Tell Action Mailer not to deliver emails to the real world.
+# The :test delivery method accumulates sent emails in the
+# ActionMailer::Base.deliveries array.
+config.action_mailer.delivery_method = :test
@@ -0,0 +1,10 @@
+# Be sure to restart your server when you modify this file.
+
+# Add new inflection rules using the following format
+# (all these examples are active by default):
+# ActiveSupport::Inflector.inflections do |inflect|
+# inflect.plural /^(ox)$/i, '\1en'
+# inflect.singular /^(ox)en/i, '\1'
+# inflect.irregular 'person', 'people'
+# inflect.uncountable %w( fish sheep )
+# end
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Add new mime types for use in respond_to blocks:
+# Mime::Type.register "text/richtext", :rtf
+# Mime::Type.register_alias "text/html", :iphone
Oops, something went wrong.

0 comments on commit af97f76

Please sign in to comment.