carlosbrando-autotest-notification 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{autotest-notification}
3
- s.version = "0.0.7"
3
+ s.version = "0.0.8"
4
4
 
5
5
  s.specification_version = 2 if s.respond_to? :specification_version=
6
6
 
@@ -30,4 +30,4 @@ To turn off:
30
30
  s.rubygems_version = %q{1.1.1}
31
31
  s.summary = %q{Set the autotest to display messages on the operating system using software such as Growl and LibNotify.}
32
32
  s.test_files = ["test/test_autotest_notification.rb", "test/test_helper.rb"]
33
- end
33
+ end
data/bin/an-install CHANGED
@@ -46,4 +46,5 @@ f = File.new(File.expand_path(path) + "/.autotest", "w")
46
46
  f.write "# ~.autotest\n"
47
47
  f.write "require 'autotest_notification'"
48
48
  f.close
49
- puts "\nAs from now all tests will be notified automatically.\n"
49
+ puts "\nAs from now all tests will be notified automatically."
50
+ puts "" # a blank line
data/bin/an-uninstall CHANGED
@@ -42,5 +42,9 @@ end
42
42
 
43
43
  path = OPTIONS[:path]
44
44
 
45
- File.delete(File.expand_path(path) + "/.autotest")
46
- puts "\nYou no longer receive notifications of your tests.\n"
45
+ autotest_file = File.expand_path(path) + "/.autotest"
46
+ if File.exist?(autotest_file)
47
+ File.delete(autotest_file)
48
+ puts "\nYou no longer receive notifications of your tests."
49
+ puts "" # a blank line
50
+ end
@@ -2,7 +2,7 @@ module AutotestNotification #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 7
5
+ TINY = 8
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Brando