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.
- data/autotest-notification.gemspec +2 -2
- data/bin/an-install +2 -1
- data/bin/an-uninstall +6 -2
- data/lib/autotest_notification/version.rb +1 -1
- metadata +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{autotest-notification}
|
3
|
-
s.version = "0.0.
|
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
|
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.
|
46
|
-
|
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
|