test_notifier 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -60,6 +60,7 @@ The available notifiers are <tt>:growl</tt>, <tt>:kdialog</tt>, <tt>:knotify</tt
60
60
  * Szymon (jeznet) Jeż - http://github.com/jeznet
61
61
  * Steve Halasz - http://github.com/woodchuck
62
62
  * Khaja Minhajuddin - http://minhajuddin.com/
63
+ * Steve Sloan - http://github.com/CodeMonkeySteve
63
64
 
64
65
  == License
65
66
 
@@ -4,7 +4,7 @@ module TestNotifier
4
4
  extend self
5
5
 
6
6
  def supported?
7
- RUBY_PLATFORM =~ /(linux|freebsd)/ && `which kdialog` && $? == 0
7
+ RUBY_PLATFORM =~ /(linux|freebsd)/ && `which kdialog &> /dev/null` && $? == 0
8
8
  end
9
9
 
10
10
  def notify(options)
@@ -4,7 +4,7 @@ module TestNotifier
4
4
  extend self
5
5
 
6
6
  def supported?
7
- RUBY_PLATFORM =~ /(linux|freebsd)/ && `which notify-send` && $? == 0
7
+ RUBY_PLATFORM =~ /(linux|freebsd)/ && `which notify-send &> /dev/null` && $? == 0
8
8
  end
9
9
 
10
10
  def notify(options)
@@ -14,7 +14,7 @@ module TestNotifier
14
14
  }
15
15
 
16
16
  def supported?
17
- RUBY_PLATFORM =~ /(linux|freebsd)/ && `which osd_cat` && $? == 0
17
+ RUBY_PLATFORM =~ /(linux|freebsd)/ && `which osd_cat &> /dev/null` && $? == 0
18
18
  end
19
19
 
20
20
  def notify(options)
@@ -2,7 +2,7 @@ module TestNotifier
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- PATCH = 3
5
+ PATCH = 4
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_notifier
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 3
9
- - 3
10
- version: 0.3.3
8
+ - 4
9
+ version: 0.3.4
11
10
  platform: ruby
12
11
  authors:
13
12
  - Nando Vieira
@@ -15,15 +14,11 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-08-30 00:00:00 -03:00
17
+ date: 2010-09-09 00:00:00 -03:00
19
18
  default_executable:
20
19
  dependencies: []
21
20
 
22
- description: |
23
- Display system notifications (dbus, growl and snarl) after
24
- running tests. It works on Mac OS X, Linux and Windows. Powerful when used
25
- with Autotest ZenTest gem for Rails apps.
26
-
21
+ description: " Display system notifications (dbus, growl and snarl) after\n running tests. It works on Mac OS X, Linux and Windows. Powerful when used\n with Autotest ZenTest gem for Rails apps.\n"
27
22
  email: fnando.vieira@gmail.com
28
23
  executables: []
29
24
 
@@ -73,7 +68,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
68
  requirements:
74
69
  - - ">="
75
70
  - !ruby/object:Gem::Version
76
- hash: 3
77
71
  segments:
78
72
  - 0
79
73
  version: "0"
@@ -82,7 +76,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
76
  requirements:
83
77
  - - ">="
84
78
  - !ruby/object:Gem::Version
85
- hash: 3
86
79
  segments:
87
80
  - 0
88
81
  version: "0"