autotest-images 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{autotest-images}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Workman"]
@@ -30,6 +30,7 @@ Gem::Specification.new do |s|
30
30
  "lib/autotest-images.rb",
31
31
  "lib/autotest/images.rb",
32
32
  "spec/autotest-images_spec.rb",
33
+ "spec/autotest/images.rb",
33
34
  "spec/spec.opts",
34
35
  "spec/spec_helper.rb"
35
36
  ]
@@ -39,7 +40,8 @@ Gem::Specification.new do |s|
39
40
  s.rubygems_version = %q{1.3.5}
40
41
  s.summary = %q{Allow image packs to be used in growl notifications for autotest on Mac OS X}
41
42
  s.test_files = [
42
- "spec/autotest-images_spec.rb",
43
+ "spec/autotest/images.rb",
44
+ "spec/autotest-images_spec.rb",
43
45
  "spec/spec_helper.rb"
44
46
  ]
45
47
 
@@ -1 +1,18 @@
1
+ require 'autotest'
2
+ module Autotest::Images
3
+ Autotest.add_hook :ran_command do |autotest|
4
+ Autotest::Growl.img = File.join("~", ".autotest-images", "growl"
5
+ end
6
+ end
1
7
  require 'autotest/growl'
8
+ module Autotest::Images
9
+ Autotest.add_hook :ran_command do |autotest|
10
+ puts "After growl?"
11
+ end
12
+ end
13
+
14
+ module Autotest::Growl
15
+ def self.img=(img_dir)
16
+ @@img = img_dir
17
+ end
18
+ end
@@ -0,0 +1,3 @@
1
+ require File.join(File.dirname(__FILE__), "..", "spec_helper.rb")
2
+
3
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autotest-images
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Workman
@@ -75,6 +75,7 @@ files:
75
75
  - lib/autotest-images.rb
76
76
  - lib/autotest/images.rb
77
77
  - spec/autotest-images_spec.rb
78
+ - spec/autotest/images.rb
78
79
  - spec/spec.opts
79
80
  - spec/spec_helper.rb
80
81
  has_rdoc: true
@@ -106,5 +107,6 @@ signing_key:
106
107
  specification_version: 3
107
108
  summary: Allow image packs to be used in growl notifications for autotest on Mac OS X
108
109
  test_files:
110
+ - spec/autotest/images.rb
109
111
  - spec/autotest-images_spec.rb
110
112
  - spec/spec_helper.rb