debug_exceptions_json 0.2.4 → 0.2.5
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 +4 -4
- data/lib/debug_exceptions_json/rspec/hook.rb +1 -1
- data/lib/debug_exceptions_json/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: 626b42f82bf4789584867d6a9ff8c3d12b148150
|
|
4
|
+
data.tar.gz: 2acbbb46b8baf3e9d824f57865dd9749381ed24b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47dd1559934e4844f1fb1e61fc86b4670d7b8bfa3c807ccc9bf26e78edec9b07074dae848fee3111bcc22ae791121c0f8b0ee9e5486dc647a129f50742548867
|
|
7
|
+
data.tar.gz: 7d1d374d6e2eedc2c17c3ad8d9a6f9bbc8f8fad1241a930e7baa4d8e45b030bc2899b8872a34e95ee212a1205e5bd902e73c2f5a3926c81c0ca977c3cd31c0ca
|
|
@@ -5,7 +5,7 @@ class DebugExceptionsJson
|
|
|
5
5
|
base.instance_eval do
|
|
6
6
|
after do |example|
|
|
7
7
|
# For RSpec2 compatibility
|
|
8
|
-
if ::RSpec::Core::Version::STRING.
|
|
8
|
+
if ::RSpec::Core::Version::STRING.start_with?("3.") || ::RSpec::Core::Version::STRING.start_with?("2.99")
|
|
9
9
|
example.metadata[:response] = example.instance_exec { respond_to?(:response) && response }
|
|
10
10
|
else
|
|
11
11
|
# RSpec2 passes ExampleGroup::Nested_N
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: debug_exceptions_json
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taiki Ono
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-05-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|