carlosbrando-autotest-notification 1.9.1 → 2.0.0
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/autotest-notification.gemspec +7 -8
- data/bin/an-install +9 -10
- data/bin/an-uninstall +2 -3
- data/config/hoe.rb +3 -1
- data/lib/autotest_notification/version.rb +3 -3
- metadata +7 -6
@@ -2,17 +2,16 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{autotest-notification}
|
5
|
-
s.version = "
|
5
|
+
s.version = "2.0.0"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Carlos Brando", "Rodrigo Urubatan", "Alexandre da Silva", "Carlos J\303\272nior", "Davis Zanetti Cabral", "Marcos Tapaj\303\263s", "Thiago Pradi", "Oz\303\251ias Sant'ana", "Samuel Flores", "Diego Carrion"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-08-24}
|
10
10
|
s.description = %q{This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.}
|
11
11
|
s.email = ["autotest-notification@carlosbrando.com"]
|
12
12
|
s.executables = ["an-install", "an-uninstall", "playsound"]
|
13
13
|
s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "website/index.txt"]
|
14
14
|
s.files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "Rakefile", "autotest-notification.gemspec", "bin/an-install", "bin/an-uninstall", "bin/playsound", "config/hoe.rb", "config/requirements.rb", "images/buuf/fail.png", "images/buuf/pass.png", "images/buuf/pending.png", "images/doom/doom_0.png", "images/doom/doom_1.png", "images/doom/doom_2.png", "images/doom/doom_3.png", "images/doom/doom_4.png", "images/doom/doom_5.png", "images/doom/doom_6.png", "images/fail.png", "images/pass.png", "images/pending.png", "lib/autotest_notification.rb", "lib/autotest_notification/buuf.rb", "lib/autotest_notification/cygwin.rb", "lib/autotest_notification/doom.rb", "lib/autotest_notification/linux.rb", "lib/autotest_notification/mac.rb", "lib/autotest_notification/version.rb", "lib/autotest_notification/windows.rb", "script/console", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "sounds/doom/0.wav", "sounds/doom/1.wav", "sounds/doom/2.wav", "sounds/doom/3.wav", "sounds/doom/4.wav", "sounds/doom/5.wav", "sounds/doom/6.wav", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake", "test/autotest_notification/test_cygwin.rb", "test/autotest_notification/test_linux.rb", "test/autotest_notification/test_mac.rb", "test/autotest_notification/test_windows.rb", "test/test_autotest_notification.rb", "test/test_helper.rb", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.html.erb"]
|
15
|
-
s.has_rdoc = true
|
16
15
|
s.homepage = %q{http://github.com/carlosbrando/autotest-notification/}
|
17
16
|
s.post_install_message = %q{
|
18
17
|
For more information on autotest_notification, see http://github.com/carlosbrando/autotest-notification/
|
@@ -27,23 +26,23 @@ To turn off:
|
|
27
26
|
s.rdoc_options = ["--main", "README.txt"]
|
28
27
|
s.require_paths = ["lib"]
|
29
28
|
s.rubyforge_project = %q{autotest-notification}
|
30
|
-
s.rubygems_version = %q{1.3.
|
29
|
+
s.rubygems_version = %q{1.3.4}
|
31
30
|
s.summary = %q{This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.}
|
32
31
|
s.test_files = ["test/autotest_notification/test_cygwin.rb", "test/autotest_notification/test_linux.rb", "test/autotest_notification/test_mac.rb", "test/autotest_notification/test_windows.rb", "test/test_autotest_notification.rb", "test/test_helper.rb"]
|
33
32
|
|
34
33
|
if s.respond_to? :specification_version then
|
35
34
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
36
|
-
s.specification_version =
|
35
|
+
s.specification_version = 3
|
37
36
|
|
38
37
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
39
38
|
s.add_runtime_dependency(%q<ZenTest>, [">= 3.9.2"])
|
40
|
-
s.add_development_dependency(%q<hoe>, [">=
|
39
|
+
s.add_development_dependency(%q<hoe>, [">= 2.3.3"])
|
41
40
|
else
|
42
41
|
s.add_dependency(%q<ZenTest>, [">= 3.9.2"])
|
43
|
-
s.add_dependency(%q<hoe>, [">=
|
42
|
+
s.add_dependency(%q<hoe>, [">= 2.3.3"])
|
44
43
|
end
|
45
44
|
else
|
46
45
|
s.add_dependency(%q<ZenTest>, [">= 3.9.2"])
|
47
|
-
s.add_dependency(%q<hoe>, [">=
|
46
|
+
s.add_dependency(%q<hoe>, [">= 2.3.3"])
|
48
47
|
end
|
49
48
|
end
|
data/bin/an-install
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# coding: UTF-8
|
2
3
|
#
|
3
4
|
# Created on 2008-5-11.
|
4
5
|
# Copyright (c) 2008. All rights reserved.
|
@@ -10,8 +11,6 @@ rescue LoadError
|
|
10
11
|
end
|
11
12
|
|
12
13
|
require 'optparse'
|
13
|
-
require 'ftools'
|
14
|
-
require 'fileutils'
|
15
14
|
|
16
15
|
# NOTE: the option -p/--path= is given as an example, and should probably be replaced in your application.
|
17
16
|
|
@@ -41,35 +40,35 @@ BANNER
|
|
41
40
|
|
42
41
|
opts.on("-p", "--path=PATH", String,
|
43
42
|
"The root path for selecting files",
|
44
|
-
"Default: ~") { |OPTIONS[:path]
|
43
|
+
"Default: ~") { |path| OPTIONS[:path] = path}
|
45
44
|
|
46
45
|
opts.on("-s", "--speaking",
|
47
46
|
"If a test failed, the computer will speak.",
|
48
|
-
"For all plataforms.") { |
|
47
|
+
"For all plataforms.") { |speaking| OPTIONS[:speaking] = true }
|
49
48
|
|
50
49
|
opts.on("-d", "--doom",
|
51
50
|
"Special Doom Edition.",
|
52
|
-
"Only for Mac/Cygwin.") { |
|
51
|
+
"Only for Mac/Cygwin.") { |doom| OPTIONS[:doom] = true }
|
53
52
|
|
54
53
|
opts.on("-b", "--buuf",
|
55
54
|
"Special Buuf Images.",
|
56
|
-
"For all platforms") { |OPTIONS[:buuf]
|
55
|
+
"For all platforms") { |buuf| OPTIONS[:buuf] = true }
|
57
56
|
|
58
57
|
opts.on("--pending",
|
59
58
|
"Shows a different image when there are no errors/failures",
|
60
|
-
"but there are pending specs. Only for Mac.") { |
|
59
|
+
"but there are pending specs. Only for Mac.") { |pending| OPTIONS[:pending] = true }
|
61
60
|
|
62
61
|
opts.on("--sticky",
|
63
62
|
"Keep notification on screen in case of errros/failures or pending specs.",
|
64
|
-
"Only for Mac.") { |
|
63
|
+
"Only for Mac.") { |sticky| OPTIONS[:sticky] = true }
|
65
64
|
|
66
65
|
opts.on("--success-sound=PATH", String,
|
67
66
|
"Sound to play on success.",
|
68
|
-
"Only for Mac/Cygwin.") { |OPTIONS[:sound][:success]
|
67
|
+
"Only for Mac/Cygwin.") { |success_sound| OPTIONS[:sound][:success] = success_sound }
|
69
68
|
|
70
69
|
opts.on("--failure-sound=PATH", String,
|
71
70
|
"Sound to play on success.",
|
72
|
-
"Only for Mac/Cygwin.") { |OPTIONS[:sound][:failure]
|
71
|
+
"Only for Mac/Cygwin.") { |failure_sound| OPTIONS[:sound][:failure] = failure_sound }
|
73
72
|
|
74
73
|
opts.on("-h", "--help",
|
75
74
|
"Show this help message.") { puts opts; exit }
|
data/bin/an-uninstall
CHANGED
@@ -10,7 +10,6 @@ rescue LoadError
|
|
10
10
|
end
|
11
11
|
|
12
12
|
require 'optparse'
|
13
|
-
require 'ftools'
|
14
13
|
|
15
14
|
# NOTE: the option -p/--path= is given as an example, and should probably be replaced in your application.
|
16
15
|
|
@@ -30,7 +29,7 @@ BANNER
|
|
30
29
|
opts.separator ""
|
31
30
|
opts.on("-p", "--path=PATH", String,
|
32
31
|
"The root path for selecting files",
|
33
|
-
"Default: ~") { |OPTIONS[:path]
|
32
|
+
"Default: ~") { |path| OPTIONS[:path] = path}
|
34
33
|
opts.on("-h", "--help",
|
35
34
|
"Show this help message.") { puts opts; exit }
|
36
35
|
opts.parse!(ARGV)
|
@@ -47,4 +46,4 @@ if File.exist?(autotest_file)
|
|
47
46
|
File.delete(autotest_file)
|
48
47
|
puts "\nYou no longer receive notifications of your tests."
|
49
48
|
puts "" # a blank line
|
50
|
-
end
|
49
|
+
end
|
data/config/hoe.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# coding: UTF-8
|
2
|
+
|
1
3
|
require 'autotest_notification/version'
|
2
4
|
|
3
5
|
AUTHOR = "Carlos Brando, Rodrigo Urubatan, Alexandre da Silva, Carlos Júnior, Davis Zanetti Cabral, Marcos Tapajós, Thiago Pradi, Ozéias Sant'ana, Samuel Flores, Diego Carrion"
|
@@ -72,4 +74,4 @@ CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
|
|
72
74
|
PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
|
73
75
|
$hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
|
74
76
|
$hoe.rsync_args = '-av --delete --ignore-errors'
|
75
|
-
$hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + "/../PostInstall.txt").read rescue ""
|
77
|
+
$hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + "/../PostInstall.txt").read rescue ""
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carlosbrando-autotest-notification
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Brando
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2009-
|
21
|
+
date: 2009-08-24 00:00:00 -07:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
requirements:
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: 2.3.3
|
43
43
|
version:
|
44
44
|
description: This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.
|
45
45
|
email:
|
@@ -117,8 +117,9 @@ files:
|
|
117
117
|
- website/javascripts/rounded_corners_lite.inc.js
|
118
118
|
- website/stylesheets/screen.css
|
119
119
|
- website/template.html.erb
|
120
|
-
has_rdoc:
|
120
|
+
has_rdoc: false
|
121
121
|
homepage: http://github.com/carlosbrando/autotest-notification/
|
122
|
+
licenses:
|
122
123
|
post_install_message: |+
|
123
124
|
|
124
125
|
For more information on autotest_notification, see http://github.com/carlosbrando/autotest-notification/
|
@@ -149,9 +150,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
150
|
requirements: []
|
150
151
|
|
151
152
|
rubyforge_project: autotest-notification
|
152
|
-
rubygems_version: 1.
|
153
|
+
rubygems_version: 1.3.5
|
153
154
|
signing_key:
|
154
|
-
specification_version:
|
155
|
+
specification_version: 3
|
155
156
|
summary: This gem set the autotest (ZenTest) to send messages to software as Growl, LibNotify, and Snarl, displaying a window with the results.
|
156
157
|
test_files:
|
157
158
|
- test/autotest_notification/test_cygwin.rb
|