svoop-autotest-growl 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/Manifest.txt +0 -1
- data/PostInstall.txt +0 -8
- data/README.rdoc +5 -0
- data/autotest-growl.gemspec +5 -12
- data/lib/autotest-growl.rb +1 -1
- data/lib/autotest/growl.rb +3 -3
- data/lib/autotest/result.rb +1 -1
- metadata +7 -13
- data/growl/growlnotify.exe +0 -0
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/PostInstall.txt
CHANGED
@@ -14,11 +14,3 @@ for assistance.
|
|
14
14
|
For more information, feedback and bug submissions, please visit:
|
15
15
|
|
16
16
|
http://www.bitcetera.com/products/autotest-growl
|
17
|
-
|
18
|
-
+-------------------------------------------------------------------------+
|
19
|
-
| IMPORTANT NOTE FOR UPGRADES FROM VERSION 0.1.0 |
|
20
|
-
| ZenTest no longer comes with bundled Growl support and therefore the |
|
21
|
-
| require in your ~/.autotest must not contain the absolute path to this |
|
22
|
-
| gem anymore. Please update your ~/.autotest to contain the require line |
|
23
|
-
| mentioned above. Make sure no ZenTest version <=4.0.0 is installed. |
|
24
|
-
+-------------------------------------------------------------------------+
|
data/README.rdoc
CHANGED
@@ -131,6 +131,11 @@ You can install the bleeding-edge version as follows:
|
|
131
131
|
sudo gem uninstall autotest-growl
|
132
132
|
sudo gem install svoop-autotest-growl --source http://gems.github.com
|
133
133
|
|
134
|
+
Bleeding-edge gems contains a fourth version digit group (e.g. the .8 in
|
135
|
+
0.1.5.8) to make sure Github builds the gem whenever new code is committed.
|
136
|
+
If there is no fourth version digit group, the edge version is identical
|
137
|
+
to the stable version from Rubyforge.
|
138
|
+
|
134
139
|
Please submit issues on:
|
135
140
|
|
136
141
|
https://forge.bitcetera.com/projects/show/autotest-growl
|
data/autotest-growl.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{autotest-growl}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.5"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Sven Schwyn"]
|
9
|
-
s.date = %q{2009-07-
|
9
|
+
s.date = %q{2009-07-27}
|
10
10
|
s.description = %q{This gem aims to improve support for Growl notification by ZenTest's autotest. It comes with a nice colored Ruby icon set and - for now - supports Cucumber by means of a workaround.}
|
11
11
|
s.email = ["ruby@bitcetera.com"]
|
12
12
|
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt"]
|
13
|
-
s.files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc", "Rakefile", "autotest-growl.gemspec", "growl/growlnotify", "growl/growlnotify.com", "
|
13
|
+
s.files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc", "Rakefile", "autotest-growl.gemspec", "growl/growlnotify", "growl/growlnotify.com", "img/error.png", "img/failed.png", "img/info.png", "img/passed.png", "img/pending.png", "lib/autotest-growl.rb", "lib/autotest/growl.rb", "lib/autotest/result.rb", "script/console", "script/destroy", "script/generate", "spec/autotest-growl_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/rspec.rake"]
|
14
14
|
s.homepage = %q{http://www.bitcetera.com/products/autotest-growl}
|
15
15
|
s.post_install_message = %q{
|
16
16
|
[1;32mIn order to use autotest-growl, the following line has to be added to your
|
@@ -20,7 +20,8 @@ require 'autotest/growl'
|
|
20
20
|
|
21
21
|
Make sure Growl is installed on your computer. Download it from:
|
22
22
|
|
23
|
-
http://growl.info
|
23
|
+
http://growl.info (Mac OS X)
|
24
|
+
http://growlforwindows.com (Windows)
|
24
25
|
|
25
26
|
If Growl notifications are not always displayed, take a look at the README
|
26
27
|
for assistance.
|
@@ -28,14 +29,6 @@ for assistance.
|
|
28
29
|
For more information, feedback and bug submissions, please visit:
|
29
30
|
|
30
31
|
http://www.bitcetera.com/products/autotest-growl
|
31
|
-
|
32
|
-
+-------------------------------------------------------------------------+
|
33
|
-
| IMPORTANT NOTE FOR UPGRADES FROM VERSION 0.1.0 |
|
34
|
-
| ZenTest no longer comes with bundled Growl support and therefore the |
|
35
|
-
| require in your ~/.autotest must not contain the absolute path to this |
|
36
|
-
| gem anymore. Please update your ~/.autotest to contain the require line |
|
37
|
-
| mentioned above. Make sure no ZenTest version <=4.0.0 is installed. |
|
38
|
-
+-------------------------------------------------------------------------+
|
39
32
|
[0;30m
|
40
33
|
}
|
41
34
|
s.rdoc_options = ["--main", "README.rdoc"]
|
data/lib/autotest-growl.rb
CHANGED
data/lib/autotest/growl.rb
CHANGED
@@ -66,12 +66,12 @@ module Autotest::Growl
|
|
66
66
|
case RUBY_PLATFORM
|
67
67
|
when /mswin/
|
68
68
|
growl += '.com'
|
69
|
-
system %(#{growl} #{message.inspect} /a:"
|
69
|
+
system %(#{growl} #{message.inspect} /a:"Autotest" /r:"Autotest" /n:"Autotest" /i:"#{image}" /p:#{priority} /t:"#{title}")
|
70
70
|
when /darwin/
|
71
71
|
if @@remote_notification
|
72
|
-
system %(#{growl} -H localhost -n
|
72
|
+
system %(#{growl} -H localhost -n Autotest --image '#{image}' -p #{priority} -m '#{message}' '#{title}' #{stick} &)
|
73
73
|
else
|
74
|
-
system %(#{growl} -n
|
74
|
+
system %(#{growl} -w -n Autotest --image '#{image}' -p #{priority} -m '#{message}' '#{title}' #{stick} &)
|
75
75
|
end
|
76
76
|
else
|
77
77
|
raise "#{RUBY_PLATFORM} is not supported by autotest-growl"
|
data/lib/autotest/result.rb
CHANGED
@@ -52,7 +52,7 @@ class Result
|
|
52
52
|
##
|
53
53
|
# Get a labelled result number. The prefix is removed and the label pluralized if necessary.
|
54
54
|
def get(kind)
|
55
|
-
"#{@numbers[kind]} #{kind.sub(/^.*-/, '')}#{'s' if @numbers[kind] != 1 && !kind.
|
55
|
+
"#{@numbers[kind]} #{kind.sub(/^.*-/, '')}#{'s' if @numbers[kind] != 1 && !kind.match(/(ed|ing)$/)}" if @numbers[kind]
|
56
56
|
end
|
57
57
|
|
58
58
|
##
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svoop-autotest-growl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Schwyn
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-07-
|
12
|
+
date: 2009-07-27 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -52,7 +52,6 @@ files:
|
|
52
52
|
- autotest-growl.gemspec
|
53
53
|
- growl/growlnotify
|
54
54
|
- growl/growlnotify.com
|
55
|
-
- growl/growlnotify.exe
|
56
55
|
- img/error.png
|
57
56
|
- img/failed.png
|
58
57
|
- img/info.png
|
@@ -70,23 +69,18 @@ files:
|
|
70
69
|
- tasks/rspec.rake
|
71
70
|
has_rdoc: false
|
72
71
|
homepage: http://www.bitcetera.com/products/autotest-growl
|
72
|
+
licenses:
|
73
73
|
post_install_message: "\n\
|
74
74
|
\e[1;32mIn order to use autotest-growl, the following line has to be added to your\n\
|
75
75
|
~/.autotest file:\n\n\
|
76
76
|
require 'autotest/growl'\n\n\
|
77
77
|
Make sure Growl is installed on your computer. Download it from:\n\n\
|
78
|
-
http://growl.info\n\
|
78
|
+
http://growl.info (Mac OS X)\n\
|
79
|
+
http://growlforwindows.com (Windows)\n\n\
|
79
80
|
If Growl notifications are not always displayed, take a look at the README\n\
|
80
81
|
for assistance.\n\n\
|
81
82
|
For more information, feedback and bug submissions, please visit:\n\n\
|
82
|
-
http://www.bitcetera.com/products/autotest-growl\n\
|
83
|
-
+-------------------------------------------------------------------------+\n\
|
84
|
-
| IMPORTANT NOTE FOR UPGRADES FROM VERSION 0.1.0 |\n\
|
85
|
-
| ZenTest no longer comes with bundled Growl support and therefore the |\n\
|
86
|
-
| require in your ~/.autotest must not contain the absolute path to this |\n\
|
87
|
-
| gem anymore. Please update your ~/.autotest to contain the require line |\n\
|
88
|
-
| mentioned above. Make sure no ZenTest version <=4.0.0 is installed. |\n\
|
89
|
-
+-------------------------------------------------------------------------+\n\
|
83
|
+
http://www.bitcetera.com/products/autotest-growl\n\
|
90
84
|
\e[0;30m\n"
|
91
85
|
rdoc_options:
|
92
86
|
- --main
|
@@ -108,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
102
|
requirements: []
|
109
103
|
|
110
104
|
rubyforge_project: autotest-growl
|
111
|
-
rubygems_version: 1.
|
105
|
+
rubygems_version: 1.3.5
|
112
106
|
signing_key:
|
113
107
|
specification_version: 3
|
114
108
|
summary: Next generation Growl notification support for ZenTest's autotest.
|
data/growl/growlnotify.exe
DELETED
Binary file
|