autotest-standalone 4.5.2 → 4.5.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/Gemfile +8 -6
- data/Readme.md +1 -0
- data/VERSION +1 -1
- data/autotest-standalone.gemspec +2 -2
- data/lib/autotest/notify.rb +4 -3
- metadata +4 -4
data/Gemfile
CHANGED
data/Readme.md
CHANGED
|
@@ -63,6 +63,7 @@ License
|
|
|
63
63
|
### Autotest was extracted from ZenTest and improved by:
|
|
64
64
|
- [Charles Roper](http://twitter.com/charlesroper)
|
|
65
65
|
- [Shane Liebling](http://github.com/shanel)
|
|
66
|
+
- [Erik Fonselius](https://github.com/Fonsan)
|
|
66
67
|
- [Michael Grosser](http://grosser.it)
|
|
67
68
|
|
|
68
69
|
### ZenTest Authors
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.5.
|
|
1
|
+
4.5.3
|
data/autotest-standalone.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{autotest-standalone}
|
|
8
|
-
s.version = "4.5.
|
|
8
|
+
s.version = "4.5.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Ryan Davis", "Michael Grosser"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2011-01-13}
|
|
13
13
|
s.executables = ["autotest", "unit_diff"]
|
|
14
14
|
s.files = [
|
|
15
15
|
".autotest",
|
data/lib/autotest/notify.rb
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
class Autotest
|
|
2
2
|
class Notify
|
|
3
3
|
def self.notify(state)
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
pretty_state = state.to_s.capitalize
|
|
5
|
+
title = "#{pretty_state} -- Autotest"
|
|
6
|
+
|
|
6
7
|
command = case RUBY_PLATFORM
|
|
7
8
|
when /linux/
|
|
8
9
|
title = "'#{title}'"
|
|
@@ -12,7 +13,7 @@ class Autotest
|
|
|
12
13
|
when :zenity then "#{linux_lib} --title #{title}"
|
|
13
14
|
end
|
|
14
15
|
when /darwin/
|
|
15
|
-
"growlnotify -n autotest -
|
|
16
|
+
"growlnotify -n autotest -m \"#{pretty_state}\" Autotest"
|
|
16
17
|
when /cygwin/
|
|
17
18
|
"sncmd /m '#{title}'"
|
|
18
19
|
when /mswin/
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: autotest-standalone
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 45
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 4
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 4.5.
|
|
9
|
+
- 3
|
|
10
|
+
version: 4.5.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ryan Davis
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date:
|
|
19
|
+
date: 2011-01-13 00:00:00 +01:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies: []
|
|
22
22
|
|