angry-pickle 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{angry-pickle}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bantik"]
12
- s.date = %q{2010-12-13}
12
+ s.date = %q{2011-02-24}
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 = [
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  ]
33
33
  s.homepage = %q{http://github.com/Bantik/angry-pickle}
34
34
  s.require_paths = ["lib"]
35
- s.rubygems_version = %q{1.3.7}
35
+ s.rubygems_version = %q{1.4.2}
36
36
  s.summary = %q{Growl integration with Cucumber's pretty-print output.}
37
37
  s.test_files = [
38
38
  "test/helper.rb",
@@ -40,7 +40,6 @@ Gem::Specification.new do |s|
40
40
  ]
41
41
 
42
42
  if s.respond_to? :specification_version then
43
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
44
43
  s.specification_version = 3
45
44
 
46
45
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -8,26 +8,26 @@ module AngryPickle
8
8
 
9
9
  def self.included(base)
10
10
  base.class_eval do
11
-
11
+
12
12
  alias print_stats_original print_stats
13
-
13
+
14
14
  def print_stats(features, profiles = [])
15
15
 
16
- print_stats_original(features)
16
+ print_stats_original(features, profiles)
17
17
 
18
18
  failed = step_mother.scenarios(:failed).count
19
19
  passed = step_mother.scenarios(:passed).count
20
20
  pending = step_mother.scenarios(:pending).count
21
21
  message = %{#{passed} passed\n#{failed} failed\n#{pending} pending}
22
22
 
23
- dir = Gem.searcher.find('angry-pickle').full_gem_path
24
-
23
+ dir = Gem.searcher.find('angry-pickle').full_gem_path
24
+
25
25
  img = failed > 0 ? FAILED_IMG : pending > 0 ? PENDING_IMG : PASSED_IMG
26
-
26
+
27
27
  system "growlnotify -t 'Cucumber Scenarios' --image '#{dir}#{img}' -m '#{message}'"
28
-
28
+
29
29
  end
30
-
30
+
31
31
  end
32
32
  end
33
33
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angry-pickle
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
4
+ hash: 25
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bantik
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-13 00:00:00 -06:00
18
+ date: 2011-02-24 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements: []
85
85
 
86
86
  rubyforge_project:
87
- rubygems_version: 1.3.7
87
+ rubygems_version: 1.4.2
88
88
  signing_key:
89
89
  specification_version: 3
90
90
  summary: Growl integration with Cucumber's pretty-print output.