respec 0.8.2 → 0.8.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5287ceff6fa9eded7c5f0a8912ca3c8055ed7cba
4
- data.tar.gz: 7a9e5aefa1fc9bf66e8abf70fe11974a30169d77
3
+ metadata.gz: 8dd8596c058fbfcdb4a97721345b2b740dff445d
4
+ data.tar.gz: 22b1e40d8109cb9ddb088c0bc7450dcdda94c269
5
5
  SHA512:
6
- metadata.gz: 59702ab706685adfb63d56bd7c69a6f84b1c343657f5719b848206652145526c2e6b9b8989ced2f6455e80b406f331049b3f4b6cd04e49db288a0f0afe537244
7
- data.tar.gz: c07787371280320de0e648bf1f80ee54f4c27d1992f8b77fd03f269fc51ed7d23f8a6120419cb3ebe41ea40cd92c7e99a6688d1678d8890feef812f5f93888d3
6
+ metadata.gz: dcaef4a1fc8f02cffea1b960399a790299e3f677f88cdde6e6c175de88d9dcaf8716bfd5e9c86f1f785550b5cd4b21de6b5315cd79e6ceda3fa1a78477c70525
7
+ data.tar.gz: 607fd40e658daf575bde72444b76b337ecc6632b26c181b6fa5032ea08269ec5ee83b7d7eeca7df912e68d4b544b4070d125a4f998c2e62276d744dae7b58adc
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.8.3 2015-06-12
2
+
3
+ * Write .respec_failures to the right path when a test messes up the pwd.
4
+
1
5
  == 0.8.2 2015-03-13
2
6
 
3
7
  * Using '1' or 'f' filters examples when used with line suffixes ('file:123').
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Respec
2
- VERSION = [0, 8, 2]
2
+ VERSION = [0, 8, 3]
3
3
 
4
4
  class << VERSION
5
5
  include Comparable
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.2
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-03-13 00:00:00.000000000 Z
11
+ date: 2015-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec