test_notifier 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -22,3 +22,7 @@
22
22
  == 0.0.6 2008-01-14
23
23
 
24
24
  * added support for both Test::Unit and RSpec, with or without Autotest
25
+
26
+ == 0.0.7 2008-01-16
27
+
28
+ * bug fix
data/README.txt CHANGED
@@ -17,8 +17,6 @@ Author: Nando Vieira <http://simplesideias.com.br/>
17
17
 
18
18
  Installation
19
19
  ------------
20
- Add the following line to your environment.rb (Rails apps) or test file:
21
- require 'test_notifier'
22
20
 
23
21
  Mac OS X
24
22
  1) Install Growl (http://growl.info/)
@@ -3,5 +3,5 @@ require 'test_notifier'
3
3
  Autotest.add_hook :ran_command do |at|
4
4
  content = at.results.to_s
5
5
 
6
- TestNotifier.rspec?(content) ? TestNotifier::notification_for_rspec(content) : TestNotifier::notification_for_test_unit(content)
6
+ TestNotifier.rspec?(content) ? TestNotifier.notification_for_rspec(content) : TestNotifier.notification_for_test_unit(content)
7
7
  end
@@ -18,6 +18,6 @@ class Spec::Runner::Formatter::BaseTextFormatter
18
18
  end
19
19
 
20
20
  message = "#{examples} examples, #{failed} failed, #{pending} pending"
21
- TestNotifier::notify(image, title, message)
21
+ TestNotifier.notify(image, title, message)
22
22
  end
23
23
  end
@@ -11,7 +11,7 @@ module Test
11
11
  def finished(elapsed_time)
12
12
  finished_original(elapsed_time)
13
13
  content = @result.to_s
14
- TestNotifier::notification_for_test_unit(content)
14
+ TestNotifier.notification_for_test_unit(content)
15
15
  end
16
16
  end
17
17
  end
@@ -2,7 +2,7 @@ module TestNotifier #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira