rspec-instafail 0.1.7 → 0.1.8

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/Readme.md CHANGED
@@ -43,6 +43,7 @@ Authors
43
43
  - [Steve Tooke](http://tooky.github.com)
44
44
  - [Josh Ellithorpe](https://github.com/zquestz)
45
45
  - [Raphael Sofaer](https://github.com/rsofaer)
46
+ - [Mike Mazur](https://github.com/mikem)
46
47
 
47
48
  [Michael Grosser](http://grosser.it)<br/>
48
49
  michael@grosser.it<br/>
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -19,7 +19,8 @@ module RSpec
19
19
  output.puts "#{padding}#{red(exception.original_exception)}"
20
20
  end
21
21
  format_backtrace(exception.backtrace, example).each do |backtrace_info|
22
- output.puts grey("#{padding}# #{backtrace_info}")
22
+ color = defined?(cyan) ? :cyan : :grey # cyan was added in rspec 2.6
23
+ output.puts send(color, "#{padding}# #{backtrace_info}")
23
24
  end
24
25
  output.flush
25
26
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rspec-instafail}
8
- s.version = "0.1.7"
8
+ s.version = "0.1.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2011-03-06}
12
+ s.date = %q{2011-06-06}
13
13
  s.email = %q{grosser.michael@gmail.com}
14
14
  s.files = [
15
15
  "Rakefile",
@@ -29,13 +29,8 @@ Gem::Specification.new do |s|
29
29
  ]
30
30
  s.homepage = %q{http://github.com/grosser/rspec-instafail}
31
31
  s.require_paths = ["lib"]
32
- s.rubygems_version = %q{1.4.2}
32
+ s.rubygems_version = %q{1.6.2}
33
33
  s.summary = %q{Show failing specs instantly}
34
- s.test_files = [
35
- "spec/instafail_spec.rb",
36
- "spec/rspec_1/a_test.rb",
37
- "spec/rspec_2/a_test.rb"
38
- ]
39
34
 
40
35
  if s.respond_to? :specification_version then
41
36
  s.specification_version = 3
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-instafail
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Grosser
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-06 00:00:00 +01:00
18
+ date: 2011-06-06 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -72,11 +72,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  requirements: []
73
73
 
74
74
  rubyforge_project:
75
- rubygems_version: 1.4.2
75
+ rubygems_version: 1.6.2
76
76
  signing_key:
77
77
  specification_version: 3
78
78
  summary: Show failing specs instantly
79
- test_files:
80
- - spec/instafail_spec.rb
81
- - spec/rspec_1/a_test.rb
82
- - spec/rspec_2/a_test.rb
79
+ test_files: []
80
+