From 4bee32aee6d88638413154a7a36f9014087f04fc Mon Sep 17 00:00:00 2001 From: Joe Ferris Date: Wed, 23 Dec 2009 14:07:41 -0500 Subject: [PATCH] Don't send notifications from the cucumber environment --- lib/hoptoad_notifier.rb | 2 +- lib/hoptoad_notifier/configuration.rb | 2 +- test/configuration_test.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/hoptoad_notifier.rb b/lib/hoptoad_notifier.rb index 0147b7245..d5c3c69f2 100644 --- a/lib/hoptoad_notifier.rb +++ b/lib/hoptoad_notifier.rb @@ -11,7 +11,7 @@ # Plugin for applications to automatically post errors to the Hoptoad of their choice. module HoptoadNotifier - VERSION = "2.0.16" + VERSION = "2.0.17" API_VERSION = "2.0" LOG_PREFIX = "** [Hoptoad] " diff --git a/lib/hoptoad_notifier/configuration.rb b/lib/hoptoad_notifier/configuration.rb index eef64fc08..309159417 100644 --- a/lib/hoptoad_notifier/configuration.rb +++ b/lib/hoptoad_notifier/configuration.rb @@ -120,7 +120,7 @@ def initialize @ignore_by_filters = [] @ignore = IGNORE_DEFAULT.dup @ignore_user_agent = [] - @development_environments = %w(development test) + @development_environments = %w(development test cucumber) @development_lookup = true @notifier_name = 'Hoptoad Notifier' @notifier_version = VERSION diff --git a/test/configuration_test.rb b/test/configuration_test.rb index f5e9a99b2..27e87d889 100644 --- a/test/configuration_test.rb +++ b/test/configuration_test.rb @@ -142,7 +142,7 @@ class ConfigurationTest < Test::Unit::TestCase should "use development and test as development environments by default" do config = HoptoadNotifier::Configuration.new - assert_same_elements %w(development test), config.development_environments + assert_same_elements %w(development test cucumber), config.development_environments end should "be public in a public environment" do