angry-pickle 0.1.1 → 0.2.0
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/VERSION +1 -1
- data/angry-pickle.gemspec +5 -9
- data/lib/angry-pickle.rb +2 -3
- metadata +5 -22
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.2.0
|
data/angry-pickle.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{angry-pickle}
|
|
8
|
-
s.version = "0.
|
|
8
|
+
s.version = "0.2.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
-
s.authors = [
|
|
12
|
-
s.date = %q{2011-
|
|
11
|
+
s.authors = [%q{Bantik}]
|
|
12
|
+
s.date = %q{2011-10-30}
|
|
13
13
|
s.description = %q{Growl integration with Cucumber's pretty-print output.}
|
|
14
14
|
s.email = %q{corey@seologic.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -31,13 +31,9 @@ Gem::Specification.new do |s|
|
|
|
31
31
|
"test/test_angry-pickle.rb"
|
|
32
32
|
]
|
|
33
33
|
s.homepage = %q{http://github.com/Bantik/angry-pickle}
|
|
34
|
-
s.require_paths = [
|
|
35
|
-
s.rubygems_version = %q{1.
|
|
34
|
+
s.require_paths = [%q{lib}]
|
|
35
|
+
s.rubygems_version = %q{1.8.5}
|
|
36
36
|
s.summary = %q{Growl integration with Cucumber's pretty-print output.}
|
|
37
|
-
s.test_files = [
|
|
38
|
-
"test/helper.rb",
|
|
39
|
-
"test/test_angry-pickle.rb"
|
|
40
|
-
]
|
|
41
37
|
|
|
42
38
|
if s.respond_to? :specification_version then
|
|
43
39
|
s.specification_version = 3
|
data/lib/angry-pickle.rb
CHANGED
|
@@ -5,6 +5,7 @@ module AngryPickle
|
|
|
5
5
|
FAILED_IMG = "/images/failed.png"
|
|
6
6
|
PENDING_IMG = "/images/pending.png"
|
|
7
7
|
PASSED_IMG = "/images/passed.png"
|
|
8
|
+
DIR = Gem.loaded_specs['angry-pickle'].full_gem_path
|
|
8
9
|
|
|
9
10
|
def self.included(base)
|
|
10
11
|
base.class_eval do
|
|
@@ -20,11 +21,9 @@ module AngryPickle
|
|
|
20
21
|
pending = step_mother.scenarios(:pending).count
|
|
21
22
|
message = %{#{passed} passed\n#{failed} failed\n#{pending} pending}
|
|
22
23
|
|
|
23
|
-
dir = Gem.searcher.find('angry-pickle').full_gem_path
|
|
24
|
-
|
|
25
24
|
img = failed > 0 ? FAILED_IMG : pending > 0 ? PENDING_IMG : PASSED_IMG
|
|
26
25
|
|
|
27
|
-
system "growlnotify -t 'Cucumber Scenarios' --image '#{
|
|
26
|
+
system "growlnotify -t 'Cucumber Scenarios' --image '#{DIR}#{img}' -m '#{message}'"
|
|
28
27
|
|
|
29
28
|
end
|
|
30
29
|
|
metadata
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: angry-pickle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash: 25
|
|
5
4
|
prerelease:
|
|
6
|
-
|
|
7
|
-
- 0
|
|
8
|
-
- 1
|
|
9
|
-
- 1
|
|
10
|
-
version: 0.1.1
|
|
5
|
+
version: 0.2.0
|
|
11
6
|
platform: ruby
|
|
12
7
|
authors:
|
|
13
8
|
- Bantik
|
|
@@ -15,8 +10,7 @@ autorequire:
|
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
12
|
|
|
18
|
-
date: 2011-
|
|
19
|
-
default_executable:
|
|
13
|
+
date: 2011-10-30 00:00:00 Z
|
|
20
14
|
dependencies:
|
|
21
15
|
- !ruby/object:Gem::Dependency
|
|
22
16
|
name: thoughtbot-shoulda
|
|
@@ -26,9 +20,6 @@ dependencies:
|
|
|
26
20
|
requirements:
|
|
27
21
|
- - ">="
|
|
28
22
|
- !ruby/object:Gem::Version
|
|
29
|
-
hash: 3
|
|
30
|
-
segments:
|
|
31
|
-
- 0
|
|
32
23
|
version: "0"
|
|
33
24
|
type: :development
|
|
34
25
|
version_requirements: *id001
|
|
@@ -54,7 +45,6 @@ files:
|
|
|
54
45
|
- lib/angry-pickle.rb
|
|
55
46
|
- test/helper.rb
|
|
56
47
|
- test/test_angry-pickle.rb
|
|
57
|
-
has_rdoc: true
|
|
58
48
|
homepage: http://github.com/Bantik/angry-pickle
|
|
59
49
|
licenses: []
|
|
60
50
|
|
|
@@ -68,26 +58,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
68
58
|
requirements:
|
|
69
59
|
- - ">="
|
|
70
60
|
- !ruby/object:Gem::Version
|
|
71
|
-
hash: 3
|
|
72
|
-
segments:
|
|
73
|
-
- 0
|
|
74
61
|
version: "0"
|
|
75
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
63
|
none: false
|
|
77
64
|
requirements:
|
|
78
65
|
- - ">="
|
|
79
66
|
- !ruby/object:Gem::Version
|
|
80
|
-
hash: 3
|
|
81
|
-
segments:
|
|
82
|
-
- 0
|
|
83
67
|
version: "0"
|
|
84
68
|
requirements: []
|
|
85
69
|
|
|
86
70
|
rubyforge_project:
|
|
87
|
-
rubygems_version: 1.
|
|
71
|
+
rubygems_version: 1.8.5
|
|
88
72
|
signing_key:
|
|
89
73
|
specification_version: 3
|
|
90
74
|
summary: Growl integration with Cucumber's pretty-print output.
|
|
91
|
-
test_files:
|
|
92
|
-
|
|
93
|
-
- test/test_angry-pickle.rb
|
|
75
|
+
test_files: []
|
|
76
|
+
|