respec 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/lib/respec/formatter.rb +4 -1
- data/lib/respec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dd8596c058fbfcdb4a97721345b2b740dff445d
|
4
|
+
data.tar.gz: 22b1e40d8109cb9ddb088c0bc7450dcdda94c269
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcaef4a1fc8f02cffea1b960399a790299e3f677f88cdde6e6c175de88d9dcaf8716bfd5e9c86f1f785550b5cd4b21de6b5315cd79e6ceda3fa1a78477c70525
|
7
|
+
data.tar.gz: 607fd40e658daf575bde72444b76b337ecc6632b26c181b6fa5032ea08269ec5ee83b7d7eeca7df912e68d4b544b4070d125a4f998c2e62276d744dae7b58adc
|
data/CHANGELOG
CHANGED
data/lib/respec/formatter.rb
CHANGED
@@ -3,7 +3,7 @@ require 'rspec/core/version'
|
|
3
3
|
|
4
4
|
module Respec
|
5
5
|
def self.failures_path
|
6
|
-
ENV['RESPEC_FAILURES'] || File.expand_path(".respec_failures")
|
6
|
+
@failures_path ||= ENV['RESPEC_FAILURES'] || File.expand_path(".respec_failures")
|
7
7
|
end
|
8
8
|
|
9
9
|
if (RSpec::Core::Version::STRING.scan(/\d+/).map { |s| s.to_i } <=> [3]) < 0
|
@@ -54,4 +54,7 @@ end
|
|
54
54
|
RSpec.configure do |config|
|
55
55
|
config.add_formatter 'progress' if config.formatters.empty?
|
56
56
|
config.add_formatter Respec::Formatter
|
57
|
+
|
58
|
+
# Memoize this before any tests run in case a test messes up the pwd.
|
59
|
+
config.before(:all) { Respec.failures_path }
|
57
60
|
end
|
data/lib/respec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: respec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Ogata
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|