test_notifier 0.0.2 → 0.0.3

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
@@ -2,3 +2,11 @@
2
2
 
3
3
  * 1 major enhancement:
4
4
  * Initial release
5
+
6
+ == 0.0.2 2007-10-17
7
+
8
+ * Removed ANSI characters for playing nice with RedGreen
9
+
10
+ == 0.0.3 2007-10-18
11
+
12
+ * growlnotify wasn't working as expected
data/config/hoe.rb CHANGED
@@ -2,9 +2,11 @@ require 'test_notifier/version'
2
2
 
3
3
  AUTHOR = 'Nando Vieira' # can also be an array of Authors
4
4
  EMAIL = "fnando.vieira@gmail.com"
5
- DESCRIPTION = "Display system notifications after running tests"
5
+ DESCRIPTION = "Display system notifications (dbus, growl and snarl) after \
6
+ running tests. It works on Mac OS X, Linux and Windows. Powerful when used \
7
+ with Autotest ZenTest gem for Rails apps."
6
8
  GEM_NAME = 'test_notifier' # what ppl will type to install your gem
7
- RUBYFORGE_PROJECT = 'test_notifier' # The unix name for your project
9
+ RUBYFORGE_PROJECT = 'testnotifier' # The unix name for your project
8
10
  HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
9
11
  DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
10
12
 
@@ -2,7 +2,7 @@ module TestNotifier #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/test_notifier.rb CHANGED
@@ -37,7 +37,7 @@ module Test
37
37
  message = "#{t} tests, #{a} assertions, #{f} failures, #{e} errors"
38
38
 
39
39
  if RUBY_PLATFORM =~ /darwin/
40
- system("growlnotify -n test_notifier --image #{img} -p 2 -m #{message} #{title}")
40
+ system("growlnotify -n test_notifier --image #{image} -p 2 -m #{message} -t #{title}")
41
41
  elsif RUBY_PLATFORM =~ /mswin/
42
42
  Snarl.show_message(title, message, image)
43
43
  elsif RUBY_PLATFORM =~ /linux/
metadata CHANGED
@@ -3,15 +3,15 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: test_notifier
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.2
7
- date: 2007-10-17 00:00:00 -02:00
8
- summary: Display system notifications after running tests
6
+ version: 0.0.3
7
+ date: 2007-10-18 00:00:00 -02:00
8
+ summary: Display system notifications (dbus, growl and snarl) after running tests. It works on Mac OS X, Linux and Windows. Powerful when used with Autotest ZenTest gem for Rails apps.
9
9
  require_paths:
10
10
  - lib
11
11
  email: fnando.vieira@gmail.com
12
- homepage: http://test_notifier.rubyforge.org
13
- rubyforge_project: test_notifier
14
- description: Display system notifications after running tests
12
+ homepage: http://testnotifier.rubyforge.org
13
+ rubyforge_project: testnotifier
14
+ description: Display system notifications (dbus, growl and snarl) after running tests. It works on Mac OS X, Linux and Windows. Powerful when used with Autotest ZenTest gem for Rails apps.
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin