ChuckTestar 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/ChuckTestar.gemspec CHANGED
@@ -17,14 +17,10 @@ Gem::Specification.new do |s|
17
17
  s.required_rubygems_version = ">= 1.3.6"
18
18
 
19
19
  s.add_runtime_dependency 'rspec'
20
- s.add_runtime_dependency 'growl_notify' if RbConfig::CONFIG['host_os'] =~ /darwin/
21
20
 
22
21
  s.add_development_dependency 'rake'
23
- s.add_development_dependency 'ruby-debug19' if RUBY_VERSION =~ /1.9/
24
- s.add_development_dependency "ruby-debug" if RUBY_VERSION =~ /1.8/
25
22
  s.add_development_dependency "awesome_print"
26
23
  s.add_development_dependency "interactive_editor"
27
- s.add_development_dependency 'rb-fsevent' unless `uname` =~ /(linux|Linux)/
28
24
  s.add_development_dependency 'guard'
29
25
  s.add_development_dependency 'guard-rspec'
30
26
  s.add_development_dependency 'spork', '~> 0.9.0.rc4'
data/lib/chuck_testar.rb CHANGED
@@ -64,7 +64,7 @@ class ChuckTestar < RSpec::Core::Formatters::BaseTextFormatter
64
64
  }
65
65
 
66
66
  unless ChuckTesta::Portable::linux?
67
- GrowlNotify.normal(notification)
67
+ GrowlNotify.normal(notification) if defined? GrowlNotify
68
68
  else
69
69
  notifier = ChuckTesta::GnomeNotify.new(notification)
70
70
  notifier.notify!
@@ -1,3 +1,3 @@
1
1
  module ChuckTesta
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -42,7 +42,7 @@ describe ChuckTestar do
42
42
  formatter.stub(:say => true)
43
43
  end
44
44
 
45
- if ChuckTesta::Portable::osx?
45
+ if ChuckTesta::Portable::osx? && defined?(GrowlNotify)
46
46
  it "display growl success notification when spec pass" do
47
47
  formatter.example_passed(example)
48
48
  GrowlNotify.should_receive(:normal).with(:title => 'RSpec', :description => 'Your tests pass', :icon => formatter.icon('chuck-normal.png'))
data/spec/spec_helper.rb CHANGED
@@ -15,7 +15,7 @@ Spork.prefork do
15
15
  require file
16
16
  end
17
17
 
18
- require 'ChuckTestar'
18
+ require 'chuck_testar'
19
19
  end
20
20
 
21
21
  Spork.each_run do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ChuckTestar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-24 00:00:00.000000000Z
12
+ date: 2011-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70226488251900 !ruby/object:Gem::Requirement
16
+ requirement: &70097373322900 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,32 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70226488251900
25
- - !ruby/object:Gem::Dependency
26
- name: growl_notify
27
- requirement: &70226488251120 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
33
- type: :runtime
34
- prerelease: false
35
- version_requirements: *70226488251120
24
+ version_requirements: *70097373322900
36
25
  - !ruby/object:Gem::Dependency
37
26
  name: rake
38
- requirement: &70226488250440 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
44
- type: :development
45
- prerelease: false
46
- version_requirements: *70226488250440
47
- - !ruby/object:Gem::Dependency
48
- name: ruby-debug19
49
- requirement: &70226488249760 !ruby/object:Gem::Requirement
27
+ requirement: &70097373322440 !ruby/object:Gem::Requirement
50
28
  none: false
51
29
  requirements:
52
30
  - - ! '>='
@@ -54,10 +32,10 @@ dependencies:
54
32
  version: '0'
55
33
  type: :development
56
34
  prerelease: false
57
- version_requirements: *70226488249760
35
+ version_requirements: *70097373322440
58
36
  - !ruby/object:Gem::Dependency
59
37
  name: awesome_print
60
- requirement: &70226488248580 !ruby/object:Gem::Requirement
38
+ requirement: &70097373348640 !ruby/object:Gem::Requirement
61
39
  none: false
62
40
  requirements:
63
41
  - - ! '>='
@@ -65,21 +43,10 @@ dependencies:
65
43
  version: '0'
66
44
  type: :development
67
45
  prerelease: false
68
- version_requirements: *70226488248580
46
+ version_requirements: *70097373348640
69
47
  - !ruby/object:Gem::Dependency
70
48
  name: interactive_editor
71
- requirement: &70226488247420 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ! '>='
75
- - !ruby/object:Gem::Version
76
- version: '0'
77
- type: :development
78
- prerelease: false
79
- version_requirements: *70226488247420
80
- - !ruby/object:Gem::Dependency
81
- name: rb-fsevent
82
- requirement: &70226488243960 !ruby/object:Gem::Requirement
49
+ requirement: &70097373348220 !ruby/object:Gem::Requirement
83
50
  none: false
84
51
  requirements:
85
52
  - - ! '>='
@@ -87,10 +54,10 @@ dependencies:
87
54
  version: '0'
88
55
  type: :development
89
56
  prerelease: false
90
- version_requirements: *70226488243960
57
+ version_requirements: *70097373348220
91
58
  - !ruby/object:Gem::Dependency
92
59
  name: guard
93
- requirement: &70226488242320 !ruby/object:Gem::Requirement
60
+ requirement: &70097373347800 !ruby/object:Gem::Requirement
94
61
  none: false
95
62
  requirements:
96
63
  - - ! '>='
@@ -98,10 +65,10 @@ dependencies:
98
65
  version: '0'
99
66
  type: :development
100
67
  prerelease: false
101
- version_requirements: *70226488242320
68
+ version_requirements: *70097373347800
102
69
  - !ruby/object:Gem::Dependency
103
70
  name: guard-rspec
104
- requirement: &70226488241540 !ruby/object:Gem::Requirement
71
+ requirement: &70097373347380 !ruby/object:Gem::Requirement
105
72
  none: false
106
73
  requirements:
107
74
  - - ! '>='
@@ -109,10 +76,10 @@ dependencies:
109
76
  version: '0'
110
77
  type: :development
111
78
  prerelease: false
112
- version_requirements: *70226488241540
79
+ version_requirements: *70097373347380
113
80
  - !ruby/object:Gem::Dependency
114
81
  name: spork
115
- requirement: &70226488234060 !ruby/object:Gem::Requirement
82
+ requirement: &70097373346880 !ruby/object:Gem::Requirement
116
83
  none: false
117
84
  requirements:
118
85
  - - ~>
@@ -120,10 +87,10 @@ dependencies:
120
87
  version: 0.9.0.rc4
121
88
  type: :development
122
89
  prerelease: false
123
- version_requirements: *70226488234060
90
+ version_requirements: *70097373346880
124
91
  - !ruby/object:Gem::Dependency
125
92
  name: simplecov
126
- requirement: &70226488230760 !ruby/object:Gem::Requirement
93
+ requirement: &70097373346380 !ruby/object:Gem::Requirement
127
94
  none: false
128
95
  requirements:
129
96
  - - ! '>='
@@ -131,10 +98,10 @@ dependencies:
131
98
  version: 0.4.2
132
99
  type: :development
133
100
  prerelease: false
134
- version_requirements: *70226488230760
101
+ version_requirements: *70097373346380
135
102
  - !ruby/object:Gem::Dependency
136
103
  name: guard-spork
137
- requirement: &70226488227460 !ruby/object:Gem::Requirement
104
+ requirement: &70097373346000 !ruby/object:Gem::Requirement
138
105
  none: false
139
106
  requirements:
140
107
  - - ! '>='
@@ -142,7 +109,7 @@ dependencies:
142
109
  version: '0'
143
110
  type: :development
144
111
  prerelease: false
145
- version_requirements: *70226488227460
112
+ version_requirements: *70097373346000
146
113
  description: ''
147
114
  email:
148
115
  - mariusz@applicake.com