autotest-standalone 4.5.2 → 4.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,7 +1,9 @@
1
- source 'http://rubygems.org'
1
+ source :rubygems
2
2
 
3
- gem 'rake'
4
- gem 'shoulda'
5
- gem 'rspec', '~>2'
6
- gem 'jeweler'
7
- gem 'parallel_tests'
3
+ group :dev do
4
+ gem 'rake'
5
+ gem 'shoulda'
6
+ gem 'rspec', '~>2'
7
+ gem 'jeweler'
8
+ gem 'parallel_tests'
9
+ end
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.2
1
+ 4.5.3
@@ -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.2"
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{2010-11-28}
12
+ s.date = %q{2011-01-13}
13
13
  s.executables = ["autotest", "unit_diff"]
14
14
  s.files = [
15
15
  ".autotest",
@@ -1,8 +1,9 @@
1
1
  class Autotest
2
2
  class Notify
3
3
  def self.notify(state)
4
- title = "#{state.to_s.capitalize} -- Autotest"
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 -t #{title}"
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: 47
4
+ hash: 45
5
5
  prerelease: false
6
6
  segments:
7
7
  - 4
8
8
  - 5
9
- - 2
10
- version: 4.5.2
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: 2010-11-28 00:00:00 +01:00
19
+ date: 2011-01-13 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies: []
22
22