From 993a8c4ac45cc530b925112453c786a31890542b Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 4 Mar 2012 09:16:51 -0500 Subject: [PATCH] explode! --- rails/map-mash/Gemfile | 86 +++++ rails/map-mash/Gemfile.lock | 316 +++++++++++++++++- rails/map-mash/spec/spec_helper.rb | 0 .../test/performance/browsing_test.rb | 9 - rails/map-mash/test/test_helper.rb | 38 --- 5 files changed, 401 insertions(+), 48 deletions(-) create mode 100644 rails/map-mash/spec/spec_helper.rb delete mode 100644 rails/map-mash/test/performance/browsing_test.rb delete mode 100644 rails/map-mash/test/test_helper.rb diff --git a/rails/map-mash/Gemfile b/rails/map-mash/Gemfile index 68ee7b9..ff48be3 100644 --- a/rails/map-mash/Gemfile +++ b/rails/map-mash/Gemfile @@ -2,3 +2,89 @@ source :rubygems gem 'rails', '2.3.2' gem 'sqlite3' + + +gem 'active_presenter', '1.2.1' +gem 'activesupport', '2.3.2' +gem 'ancestry', '>=1.2.4' +gem 'auto_tagger', '0.2.2' +gem 'awesome_print', '0.2.1', :require => 'ap' +gem 'aws-s3', '0.6.2' +gem 'bitly', '0.5.3' +gem 'capistrano', '2.5.19' +gem 'capistrano-ext', '1.2.1' +gem 'chronic', '0.2.3' +gem 'compass', '0.11.5' +gem 'curb', '0.7.8' +gem 'faker', '0.3.1' +gem 'fastercsv', '1.5.3' +gem 'feed-normalizer', '1.5.2' +gem 'haml', '3.1.1' +gem 'handsoap', '1.1.7' +gem 'htmldoc', '0.2.3' +gem 'httparty', '0.6.1' +gem 'json', '1.4.6' +gem 'mc-settings', '0.1.6' +gem 'mongrel', '1.1.5' +gem 'mysql', '2.8.1' +gem 'nokogiri', '1.4.3.1' +gem 'oauth', '0.4.3' +gem 'oily_png' +gem 'packet', '0.1.15' +gem 'paperclip', '2.3.3' +gem 'progressbar', '0.9.0' +gem 'rack', '1.2.1' +gem 'rake', '0.8.7' +gem 'redis-session-store' +gem 'responds_to_parent', '1.0.20091013' +gem 'resque', '1.19.0' +gem 'resque-cleaner' +gem 'resque-lock' +gem 'resque-loner', '1.0.1' +gem 'resque-scheduler', '2.0.0.d' +gem 'rmagick', '2.13.1' +gem 'ruby-debug', '0.10.3' +gem 'slop', '2.4.2' +gem 'twitter', '1.7.1' +gem 'twitter_oauth', '0.4.3' +gem 'typhoeus', '0.2.4' +gem 'unicorn', '3.7.0' +gem 'uuid', '2.3.3' +gem 'will_paginate', '~> 2.3.11' +gem 'yajl-ruby', '0.8.1' + +group :development, :test, :cucumber do + gem 'sanitize' + gem 'pry' + gem 'launchy', '0.3.7' + gem 'ruby-prof', '0.9.2' + gem 'machinist', '1.0.6' + gem 'foreman' + gem 'ruby-debug-ide' +end + +group :cucumber do + gem 'webrat', '0.7.3' + gem 'cucumber', '0.8.7' + gem 'gherkin', '2.1.4' + gem 'cucumber-rails', '0.3.2' + gem 'selenium-client', '1.2.18' + gem 'selenium-rc', '2.4.0', :require => 'selenium-rc' +end + +group :test, :cucumber do + gem 'rspec', '1.3.0' + gem 'rspec-rails', '1.3.2' + gem 'fakeredis', '0.2.2' + gem 'fake_ftp', '0.0.9' + gem 'email_spec', '0.6.2' + gem 'remarkable_activerecord', '3.1.13', :require => false + gem 'remarkable_rails', '3.1.13', :require => false + gem 'sunspot_matchers', '1.2.1.0' + gem 'fakeweb', '1.3.0' + gem 'guard' + gem 'guard-livereload' + gem 'ci_reporter', '1.6.5' + gem 'database_cleaner', '0.6.7' + gem 'rcov', '0.9.9' +end diff --git a/rails/map-mash/Gemfile.lock b/rails/map-mash/Gemfile.lock index ddcc78e..b62aa84 100644 --- a/rails/map-mash/Gemfile.lock +++ b/rails/map-mash/Gemfile.lock @@ -5,11 +5,153 @@ GEM actionpack (= 2.3.2) actionpack (2.3.2) activesupport (= 2.3.2) + active_presenter (1.2.1) activerecord (2.3.2) activesupport (= 2.3.2) activeresource (2.3.2) activesupport (= 2.3.2) activesupport (2.3.2) + addressable (2.2.7) + ancestry (1.2.4) + activerecord (>= 2.2.2) + auto_tagger (0.2.2) + capistrano (>= 2.5.3) + awesome_print (0.2.1) + aws-s3 (0.6.2) + builder + mime-types + xml-simple + bitly (0.5.3) + crack (>= 0.1.4) + httparty (>= 0.5.2) + builder (2.1.2) + capistrano (2.5.19) + highline + net-scp (>= 1.0.0) + net-sftp (>= 2.0.0) + net-ssh (>= 2.0.14) + net-ssh-gateway (>= 1.0.0) + capistrano-ext (1.2.1) + capistrano (>= 1.0.0) + cgi_multipart_eof_fix (2.5.0) + chronic (0.2.3) + hoe (>= 1.2.1) + chunky_png (1.2.5) + ci_reporter (1.6.5) + builder (>= 2.1.2) + coderay (1.0.5) + columnize (0.3.6) + compass (0.11.5) + chunky_png (~> 1.2) + fssm (>= 0.2.7) + sass (~> 3.1) + configuration (1.3.1) + crack (0.1.8) + cucumber (0.8.7) + builder (~> 2.1.2) + diff-lcs (~> 1.1.2) + gherkin (~> 2.1.4) + json_pure (~> 1.4.3) + term-ansicolor (~> 1.0.4) + cucumber-rails (0.3.2) + cucumber (>= 0.8.0) + curb (0.7.8) + daemons (1.1.8) + database_cleaner (0.6.7) + diff-lcs (1.1.3) + em-websocket (0.3.6) + addressable (>= 2.1.1) + eventmachine (>= 0.12.9) + email_spec (0.6.2) + eventmachine (0.12.10) + fake_ftp (0.0.9) + faker (0.3.1) + fakeredis (0.2.2) + redis (~> 2.2.0) + fakeweb (1.3.0) + faraday (0.7.6) + addressable (~> 2.2) + multipart-post (~> 1.1) + rack (~> 1.1) + faraday_middleware (0.7.0) + faraday (~> 0.7.3) + fastercsv (1.5.3) + fastthread (1.0.7) + feed-normalizer (1.5.2) + hpricot (>= 0.6) + simple-rss (>= 1.1) + ffi (1.0.11) + foreman (0.40.0) + term-ansicolor (~> 1.0.7) + thor (>= 0.13.6) + fssm (0.2.8.1) + gem_plugin (0.2.3) + gherkin (2.1.4) + trollop (~> 1.16.2) + guard (1.0.0) + ffi (>= 0.5.0) + thor (~> 0.14.6) + guard-livereload (0.4.2) + em-websocket (>= 0.2.0) + guard (>= 0.10.0) + multi_json (~> 1.0) + haml (3.1.1) + handsoap (1.1.7) + hashie (1.1.0) + highline (1.6.11) + hoe (2.15.0) + rake (~> 0.8) + hpricot (0.8.6) + htmldoc (0.2.3) + httparty (0.6.1) + crack (= 0.1.8) + json (1.4.6) + json_pure (1.4.6) + kgio (2.7.2) + launchy (0.3.7) + configuration (>= 0.0.5) + rake (>= 0.8.1) + linecache (0.46) + rbx-require-relative (> 0.0.4) + macaddr (1.5.0) + systemu (>= 2.4.0) + machinist (1.0.6) + mc-settings (0.1.6) + method_source (0.7.1) + mime-types (1.17.2) + mongrel (1.1.5) + cgi_multipart_eof_fix (>= 2.4) + daemons (>= 1.0.3) + fastthread (>= 1.0.1) + gem_plugin (>= 0.2.3) + multi_json (1.0.4) + multi_xml (0.3.0) + multipart-post (1.1.5) + mysql (2.8.1) + net-scp (1.0.4) + net-ssh (>= 1.99.1) + net-sftp (2.0.5) + net-ssh (>= 2.0.9) + net-ssh (2.3.0) + net-ssh-gateway (1.1.0) + net-ssh (>= 1.99.1) + nokogiri (1.4.3.1) + oauth (0.4.3) + oily_png (1.0.2) + chunky_png (~> 1.2.1) + packet (0.1.15) + paperclip (2.3.3) + activerecord + activesupport + progressbar (0.9.0) + pry (0.8.3) + coderay (>= 0.9.7) + method_source (>= 0.4.0) + ruby_parser (>= 2.0.5) + slop (>= 1.5.3) + rack (1.2.1) + rack-test (0.6.1) + rack (>= 1.0) rails (2.3.2) actionmailer (= 2.3.2) actionpack (= 2.3.2) @@ -17,12 +159,184 @@ GEM activeresource (= 2.3.2) activesupport (= 2.3.2) rake (>= 0.8.3) - rake (0.9.2.2) + rake (0.8.7) + rbx-require-relative (0.0.9) + rcov (0.9.9) + redis (2.2.2) + redis-namespace (1.0.3) + redis (< 3.0.0) + redis-session-store (0.1.8) + redis + remarkable (3.1.13) + rspec (>= 1.2.0) + remarkable_activerecord (3.1.13) + remarkable (~> 3.1.13) + rspec (>= 1.2.0) + remarkable_rails (3.1.13) + remarkable (~> 3.1.13) + remarkable_activerecord (~> 3.1.13) + rspec (>= 1.2.0) + rspec-rails (>= 1.2.0) + responds_to_parent (1.0.20091013) + resque (1.19.0) + multi_json (~> 1.0) + redis-namespace (~> 1.0.2) + sinatra (>= 0.9.2) + vegas (~> 0.1.2) + resque-cleaner (0.2.7) + resque (~> 1.0) + resque-lock (1.0.0) + resque-loner (1.0.1) + resque (~> 1.0) + resque-scheduler (2.0.0.d) + redis (>= 2.0.1) + resque (>= 1.8.0) + rufus-scheduler + rmagick (2.13.1) + rspec (1.3.0) + rspec-rails (1.3.2) + rack (>= 1.0.0) + rspec (>= 1.3.0) + ruby-debug (0.10.3) + columnize (>= 0.1) + ruby-debug-base (~> 0.10.3.0) + ruby-debug-base (0.10.3) + linecache (>= 0.3) + ruby-debug-ide (0.4.16) + rake (>= 0.8.1) + ruby-prof (0.9.2) + ruby_parser (2.3.1) + sexp_processor (~> 3.0) + rufus-scheduler (2.0.16) + tzinfo (>= 0.3.23) + sanitize (1.2.1) + nokogiri (~> 1.4.1) + sass (3.1.15) + selenium-client (1.2.18) + selenium-rc (2.4.0) + selenium-client (>= 1.2.18) + sexp_processor (3.1.0) + simple-rss (1.2.3) + simple_oauth (0.1.5) + sinatra (1.2.8) + rack (~> 1.1) + tilt (>= 1.2.2, < 2.0) + slop (2.4.2) sqlite3 (1.3.5) + sunspot_matchers (1.2.1.0) + systemu (2.4.2) + term-ansicolor (1.0.7) + thor (0.14.6) + tilt (1.3.3) + trollop (1.16.2) + twitter (1.7.1) + faraday (~> 0.7.4) + faraday_middleware (~> 0.7.0) + hashie (~> 1.1.0) + multi_json (~> 1.0.0) + multi_xml (~> 0.3.0) + simple_oauth (~> 0.1.5) + twitter_oauth (0.4.3) + json (>= 1.1.9) + mime-types (>= 1.16) + oauth (>= 0.4.1) + typhoeus (0.2.4) + mime-types + mime-types + tzinfo (0.3.31) + unicorn (3.7.0) + kgio (~> 2.3) + rack + uuid (2.3.3) + macaddr (~> 1.0) + vegas (0.1.11) + rack (>= 1.0.0) + webrat (0.7.3) + nokogiri (>= 1.2.0) + rack (>= 1.0) + rack-test (>= 0.5.3) + will_paginate (2.3.16) + xml-simple (1.1.1) + yajl-ruby (0.8.1) PLATFORMS ruby DEPENDENCIES + active_presenter (= 1.2.1) + activesupport (= 2.3.2) + ancestry (>= 1.2.4) + auto_tagger (= 0.2.2) + awesome_print (= 0.2.1) + aws-s3 (= 0.6.2) + bitly (= 0.5.3) + capistrano (= 2.5.19) + capistrano-ext (= 1.2.1) + chronic (= 0.2.3) + ci_reporter (= 1.6.5) + compass (= 0.11.5) + cucumber (= 0.8.7) + cucumber-rails (= 0.3.2) + curb (= 0.7.8) + database_cleaner (= 0.6.7) + email_spec (= 0.6.2) + fake_ftp (= 0.0.9) + faker (= 0.3.1) + fakeredis (= 0.2.2) + fakeweb (= 1.3.0) + fastercsv (= 1.5.3) + feed-normalizer (= 1.5.2) + foreman + gherkin (= 2.1.4) + guard + guard-livereload + haml (= 3.1.1) + handsoap (= 1.1.7) + htmldoc (= 0.2.3) + httparty (= 0.6.1) + json (= 1.4.6) + launchy (= 0.3.7) + machinist (= 1.0.6) + mc-settings (= 0.1.6) + mongrel (= 1.1.5) + mysql (= 2.8.1) + nokogiri (= 1.4.3.1) + oauth (= 0.4.3) + oily_png + packet (= 0.1.15) + paperclip (= 2.3.3) + progressbar (= 0.9.0) + pry + rack (= 1.2.1) rails (= 2.3.2) + rake (= 0.8.7) + rcov (= 0.9.9) + redis-session-store + remarkable_activerecord (= 3.1.13) + remarkable_rails (= 3.1.13) + responds_to_parent (= 1.0.20091013) + resque (= 1.19.0) + resque-cleaner + resque-lock + resque-loner (= 1.0.1) + resque-scheduler (= 2.0.0.d) + rmagick (= 2.13.1) + rspec (= 1.3.0) + rspec-rails (= 1.3.2) + ruby-debug (= 0.10.3) + ruby-debug-ide + ruby-prof (= 0.9.2) + sanitize + selenium-client (= 1.2.18) + selenium-rc (= 2.4.0) + slop (= 2.4.2) sqlite3 + sunspot_matchers (= 1.2.1.0) + twitter (= 1.7.1) + twitter_oauth (= 0.4.3) + typhoeus (= 0.2.4) + unicorn (= 3.7.0) + uuid (= 2.3.3) + webrat (= 0.7.3) + will_paginate (~> 2.3.11) + yajl-ruby (= 0.8.1) diff --git a/rails/map-mash/spec/spec_helper.rb b/rails/map-mash/spec/spec_helper.rb new file mode 100644 index 0000000..e69de29 diff --git a/rails/map-mash/test/performance/browsing_test.rb b/rails/map-mash/test/performance/browsing_test.rb deleted file mode 100644 index 4b60558..0000000 --- a/rails/map-mash/test/performance/browsing_test.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'test_helper' -require 'performance_test_help' - -# Profiling results for each test method are written to tmp/performance. -class BrowsingTest < ActionController::PerformanceTest - def test_homepage - get '/' - end -end diff --git a/rails/map-mash/test/test_helper.rb b/rails/map-mash/test/test_helper.rb deleted file mode 100644 index b9fe251..0000000 --- a/rails/map-mash/test/test_helper.rb +++ /dev/null @@ -1,38 +0,0 @@ -ENV["RAILS_ENV"] = "test" -require File.expand_path(File.dirname(__FILE__) + "/../config/environment") -require 'test_help' - -class ActiveSupport::TestCase - # Transactional fixtures accelerate your tests by wrapping each test method - # in a transaction that's rolled back on completion. This ensures that the - # test database remains unchanged so your fixtures don't have to be reloaded - # between every test method. Fewer database queries means faster tests. - # - # Read Mike Clark's excellent walkthrough at - # http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting - # - # Every Active Record database supports transactions except MyISAM tables - # in MySQL. Turn off transactional fixtures in this case; however, if you - # don't care one way or the other, switching from MyISAM to InnoDB tables - # is recommended. - # - # The only drawback to using transactional fixtures is when you actually - # need to test transactions. Since your test is bracketed by a transaction, - # any transactions started in your code will be automatically rolled back. - self.use_transactional_fixtures = true - - # Instantiated fixtures are slow, but give you @david where otherwise you - # would need people(:david). If you don't want to migrate your existing - # test cases which use the @david style and don't mind the speed hit (each - # instantiated fixtures translates to a database query per test method), - # then set this back to true. - self.use_instantiated_fixtures = false - - # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. - # - # Note: You'll currently still have to declare fixtures explicitly in integration tests - # -- they do not yet inherit this setting - fixtures :all - - # Add more helper methods to be used by all tests here... -end