Permalink
Browse files

upgrading hoptoad plugin install

  • Loading branch information...
1 parent c5afc6f commit 049c0e01e0aac051de4d42db1cc68473a8ca687b @rick committed Jul 24, 2010
Showing with 5,951 additions and 0 deletions.
  1. +14 −0 vendor/plugins/hoptoad_notifier/.gitignore
  2. +3 −0 vendor/plugins/hoptoad_notifier/.yardopts
  3. +177 −0 vendor/plugins/hoptoad_notifier/CHANGELOG
  4. +25 −0 vendor/plugins/hoptoad_notifier/INSTALL
  5. +22 −0 vendor/plugins/hoptoad_notifier/MIT-LICENSE
  6. +382 −0 vendor/plugins/hoptoad_notifier/README.rdoc
  7. +217 −0 vendor/plugins/hoptoad_notifier/Rakefile
  8. +9 −0 vendor/plugins/hoptoad_notifier/SUPPORTED_RAILS_VERSIONS
  9. +8 −0 vendor/plugins/hoptoad_notifier/TESTING.rdoc
  10. +23 −0 vendor/plugins/hoptoad_notifier/features/metal.feature
  11. +27 −0 vendor/plugins/hoptoad_notifier/features/rack.feature
  12. +196 −0 vendor/plugins/hoptoad_notifier/features/rails.feature
  13. +33 −0 vendor/plugins/hoptoad_notifier/features/sinatra.feature
  14. +10 −0 vendor/plugins/hoptoad_notifier/features/step_definitions/file_steps.rb
  15. +10 −0 vendor/plugins/hoptoad_notifier/features/step_definitions/metal_steps.rb
  16. +20 −0 vendor/plugins/hoptoad_notifier/features/step_definitions/rack_steps.rb
  17. +353 −0 vendor/plugins/hoptoad_notifier/features/step_definitions/rails_application_steps.rb
  18. +18 −0 vendor/plugins/hoptoad_notifier/features/support/env.rb
  19. +7 −0 vendor/plugins/hoptoad_notifier/features/support/hoptoad_shim.rb.template
  20. +24 −0 vendor/plugins/hoptoad_notifier/features/support/matchers.rb
  21. +77 −0 vendor/plugins/hoptoad_notifier/features/support/rails.rb
  22. +92 −0 vendor/plugins/hoptoad_notifier/features/support/terminal.rb
  23. +63 −0 vendor/plugins/hoptoad_notifier/generators/hoptoad/hoptoad_generator.rb
  24. +34 −0 vendor/plugins/hoptoad_notifier/generators/hoptoad/lib/insert_commands.rb
  25. +24 −0 vendor/plugins/hoptoad_notifier/generators/hoptoad/lib/rake_commands.rb
  26. +6 −0 vendor/plugins/hoptoad_notifier/generators/hoptoad/templates/capistrano_hook.rb
  27. +25 −0 vendor/plugins/hoptoad_notifier/generators/hoptoad/templates/hoptoad_notifier_tasks.rake
  28. +6 −0 vendor/plugins/hoptoad_notifier/generators/hoptoad/templates/initializer.rb
  29. +32 −0 vendor/plugins/hoptoad_notifier/ginger_scenarios.rb
  30. +1 −0 vendor/plugins/hoptoad_notifier/install.rb
  31. +148 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier.rb
  32. +99 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/backtrace.rb
  33. +20 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/capistrano.rb
  34. +232 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/configuration.rb
  35. +327 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/notice.rb
  36. +40 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/rack.rb
  37. +37 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/rails.rb
  38. +29 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/rails/action_controller_catcher.rb
  39. +60 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/rails/controller_methods.rb
  40. +33 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/rails/error_lookup.rb
  41. +90 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/rails3_tasks.rb
  42. +23 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/railtie.rb
  43. +63 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/sender.rb
  44. +97 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/tasks.rb
  45. +3 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_notifier/version.rb
  46. +44 −0 vendor/plugins/hoptoad_notifier/lib/hoptoad_tasks.rb
  47. +69 −0 vendor/plugins/hoptoad_notifier/lib/rails/generators/hoptoad/hoptoad_generator.rb
  48. +91 −0 vendor/plugins/hoptoad_notifier/lib/templates/rescue.erb
  49. +1 −0 vendor/plugins/hoptoad_notifier/rails/init.rb
  50. +38 −0 vendor/plugins/hoptoad_notifier/script/integration_test.rb
  51. +118 −0 vendor/plugins/hoptoad_notifier/test/backtrace_test.rb
  52. +329 −0 vendor/plugins/hoptoad_notifier/test/catcher_test.rb
  53. +208 −0 vendor/plugins/hoptoad_notifier/test/configuration_test.rb
  54. +239 −0 vendor/plugins/hoptoad_notifier/test/helper.rb
  55. +76 −0 vendor/plugins/hoptoad_notifier/test/hoptoad_2_0.xsd
  56. +152 −0 vendor/plugins/hoptoad_notifier/test/hoptoad_tasks_test.rb
  57. +85 −0 vendor/plugins/hoptoad_notifier/test/logger_test.rb
  58. +447 −0 vendor/plugins/hoptoad_notifier/test/notice_test.rb
  59. +222 −0 vendor/plugins/hoptoad_notifier/test/notifier_test.rb
  60. +58 −0 vendor/plugins/hoptoad_notifier/test/rack_test.rb
  61. +36 −0 vendor/plugins/hoptoad_notifier/test/rails_initializer_test.rb
  62. +123 −0 vendor/plugins/hoptoad_notifier/test/sender_test.rb
  63. +1 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/.gitignore
  64. +20 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/LICENCE
  65. +50 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/README.textile
  66. +57 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/Rakefile
  67. +42 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/bin/ginger
  68. +21 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/lib/ginger.rb
  69. +20 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/lib/ginger/configuration.rb
  70. +56 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/lib/ginger/kernel.rb
  71. +24 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/lib/ginger/scenario.rb
  72. +7 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/spec/ginger/configuration_spec.rb
  73. +7 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/spec/ginger/kernel_spec.rb
  74. +50 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/spec/ginger/scenario_spec.rb
  75. +14 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/spec/ginger_spec.rb
  76. +7 −0 vendor/plugins/hoptoad_notifier/vendor/ginger/spec/spec_helper.rb
@@ -0,0 +1,14 @@
+log/*
+tmp
+db/schema.rb
+db/*.sqlite3
+public/system
+*.swp
+*.DS_Store
+coverage/*
+rdoc/
+tags
+.yardoc
+doc
+pkg
+*.gemspec
@@ -0,0 +1,3 @@
+-
+TESTING.rdoc
+MIT-LICENSE
@@ -0,0 +1,177 @@
+Version 2.3.2 - 2010-07-06
+===============================================================================
+
+Josh Clayton(1):
+ Handle instances when Rack's action_dispach.parameter_filter is nil
+
+
+Version 2.3.1 - 2010-07-02
+===============================================================================
+
+Jason Morrison (2):
+ Use the Rails 3 params filters when available
+ Filter session hash using Hoptoad config.params_filters, in addition to params
+
+
+Version 2.3.0 - 2010-06-24
+===============================================================================
+
+Jason Morrison (5):
+ Add integration test for rails 3.0.0.beta4
+ Added feature: Support the Heroku addon in the generator
+ Add --heroku flag to generator to support ENV['HOPTOAD_API_KEY']
+ Reflect a copy change in rails.feature for --heroku generator flag
+ Support the proxy configuration options when notifying Hoptoad of a deploy (hat tip @gudleik)
+
+
+Version 2.2.6 - 2010-06-02
+===============================================================================
+
+Jason Morrison (1):
+ For Rails 3, just use the Rack middleware instead of specifying a location to insert_after
+
+
+Version 2.2.5 - 2010-06-02
+===============================================================================
+
+Jason Morrison (1):
+ Add documentation for Rails 3.x installation
+
+
+Version 2.2.4 - 2010-06-02
+===============================================================================
+
+Jason Morrison (1):
+ Add a note to README about removing the explicit Catcher #include in ApplicationController
+
+
+Version 2.2.3 - 2010-06-02
+===============================================================================
+
+Summary: Fixed a variety of issues for Rails 3.0.0.beta3,
+ Fixed a bug when using Vlad to deploy instead of Capistrano
+ Give better error output when gem is not installed
+
+Chad Pytel (2):
+ revise gem unpack instructions step
+ Merge branch 'master' of github.com:thoughtbot/hoptoad_notifier
+
+Dan Lawless (1):
+ don't append capistrano details to config.deploy.rb when target app uses Vlad
+
+Jason Morrison (7):
+ LH-556 Clarify sending ENV environment variables
+ Starting to add features for Rails 3
+ Make rails rake tasks depend on gem-making tasks
+ Start to get Rails 3 features to pass
+ require fileutils to reflect rubygems 1.3.6 change
+ Support ENV['CUCUMBER_FORMAT'] in rails cucumber tasks for testing
+ Fix the initializer syntax in the Rails 3 Railtie
+
+Joe Ferris (11):
+ Got the generator running and a request dispatched to the test endpoint
+ Fixed logging in hoptoad:test rake task
+ Separated Rails 2 and 3 entry
+ Support bundler
+ Rails 3 generator works with an existing api key
+ Extract request info from rack env
+ Detect presence of the plugin
+ Added a capistrano hook for Rails 3
+ Fixed rack/sinatra being broken without active_support
+ Fixes for earlier versions of Rails
+ Fixed Rails 3 generator not to append cap hooks for vlad deploys
+
+Josh Kalderimis (7):
+ updated railtie to work with the new rails 3 middleware api
+ railtie_name is deprecated
+ updated app_middleware call to use string version as to make sure constant is loaded
+ moved generator using the new rails 3 convention
+ update path to template for Rails 3 generator
+ correction to referencing of the rails application in rails3_tasks
+ add environment_name and project_root back to rails 3 railtie
+
+Joshua Nichols (1):
+ Handle gem not being installed more gracefully.
+
+
+Version 2.2.2 - 2010-03-10
+===============================================================================
+
+Chad Pytel (1):
+ document proxy support
+
+Joe Ferris (8):
+ Added upgrade instructions to the README
+ Give a clearer error message when generating a Rails app fails
+ Fail loudly when a gem can't be vendored
+ Debugging rubygems issues
+ Explicitly specify the gem paths
+ Less noisy
+ Restore gem path after vendoring
+ Fixed a typo
+
+Jon Yurek (1):
+ Added notice about removing hoptoad rake tasks to upgrade gem
+
+Mike Burns (1):
+ Remove stray file with notes in it
+
+
+Version 2.2.1 - 2010-03-10
+===============================================================================
+
+Jason Morrison (3):
+ LH-629 Ensure notifier is not considered a framework gem
+ Removing things-the-generator-must-do file
+ Add rake cucumber:wip:rails* tasks for work-in-progress features
+
+
+Version 2.2.0 - 2010-02-18
+===============================================================================
+
+Bumping the version from 2.1.4 to 2.2.0 since adding Rack support warrants a minor version.
+
+Jason Morrison (1):
+ Stringify array elements when making assertions about Notice XML for 1.9 compatibility
+
+
+Version 2.1.4 - 2010-02-12
+===============================================================================
+
+Chad Pytel (2):
+ add more info to README for 1.2.6
+ fix gem unpack line for 1.2.6
+
+Jason Morrison (2):
+ Adding additional instructions for Rails 1.2.6
+ Typesetting in README.rdoc
+
+Joe Ferris (11):
+ Separating Rails functionality out more
+ Initial Rack middleware
+ Extract request info from rack env
+ Added integration tests for rescuing
+ Fixed reporting of Rails version
+ Small refactoring
+ Automatically add Rack middleware for Rails apps that support it (catches exceptions from Metal)
+ Added an integration test and docs for rack apps
+ Added integration/readme coverage of Sinatra apps
+ Added docs to HoptoadNotifier::Rack
+ Require rack in tests for older versions of Rails; use active_support instead of activesupport
+
+Nick Quaranto (3):
+ Fixing the capistrano hook bit in the readme
+ Adding changeling:minor and changeling:patch to automate notifier releases
+ Adding rake changeling:push
+
+
+
+
+
+
+
+
+
+
+
+
@@ -0,0 +1,25 @@
+=== Configuration
+
+You should have something like this in config/initializers/hoptoad.rb.
+
+ HoptoadNotifier.configure do |config|
+ config.api_key = '1234567890abcdef'
+ end
+
+(Please note that this configuration should be in a global configuration, and
+is *not* environment-specific. Hoptoad is smart enough to know what errors are
+caused by what environments, so your staging errors don't get mixed in with
+your production errors.)
+
+You can test that Hoptoad is working in your production environment by using
+this rake task (from RAILS_ROOT):
+
+ rake hoptoad:test
+
+If everything is configured properly, that task will send a notice to Hoptoad
+which will be visible immediately.
+
+NOTE FOR RAILS 1.2.* USERS:
+
+You will need to copy the hoptoad_notifier_tasks.rake file into your
+RAILS_ROOT/lib/tasks directory in order for the rake hoptoad:test task to work.
@@ -0,0 +1,22 @@
+Copyright (c) 2007, Tammer Saleh, Thoughtbot, Inc.
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
Oops, something went wrong.

0 comments on commit 049c0e0

Please sign in to comment.