vcr_helper 0.0.11 → 0.0.12
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/vcr_helper/version.rb +1 -1
- data/lib/vcr_helper.rb +5 -3
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0229066772041fd317f56e54b0572719e9318f34'
|
|
4
|
+
data.tar.gz: 4744ac886191ba5e87e5526c4019587aff616831
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bf0103fe4d92d0ca0899db6d5b8b32b201a4ad0e81c72affa076f17feca58957b26352bc3af08020467965f920212c9678dfefef8f95953251ce30556ebf38e
|
|
7
|
+
data.tar.gz: fc151ce19972cd5e078d592c82145afbbdac8ddcacecaed1b9fa4aa4f364bc14b910732bb142c5f0696341eb95a055486959ae4a7926963c0223680fefd1dd32
|
data/lib/vcr_helper/version.rb
CHANGED
data/lib/vcr_helper.rb
CHANGED
|
@@ -14,7 +14,7 @@ module VcrHelper
|
|
|
14
14
|
#
|
|
15
15
|
# Pass VR=true to a test or rake to open network connectivity and re-record all requests and responses
|
|
16
16
|
# Otherwise, blocks all network connectivity and uses cassettes to replay requests and responses.
|
|
17
|
-
#
|
|
17
|
+
#
|
|
18
18
|
# Stores all cassettes in test/vcr_cassettes.
|
|
19
19
|
# Each test case is saved to a different file.
|
|
20
20
|
#
|
|
@@ -79,8 +79,10 @@ module VcrHelper
|
|
|
79
79
|
end
|
|
80
80
|
else
|
|
81
81
|
# We use alias method chain here because we need these setup methods to wrap the entire suit
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
alias_method :setup_without_vcr, :setup
|
|
83
|
+
alias_method :setup, :setup_with_vcr
|
|
84
|
+
alias_method :teardown_without_vcr, :teardown
|
|
85
|
+
alias_method :teardown, :teardown_with_vcr
|
|
84
86
|
end
|
|
85
87
|
end
|
|
86
88
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vcr_helper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Sharpe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-06-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: vcr
|
|
@@ -72,9 +72,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
72
72
|
version: '0'
|
|
73
73
|
requirements: []
|
|
74
74
|
rubyforge_project:
|
|
75
|
-
rubygems_version: 2.
|
|
75
|
+
rubygems_version: 2.6.8
|
|
76
76
|
signing_key:
|
|
77
77
|
specification_version: 4
|
|
78
78
|
summary: makes vcr easier to use
|
|
79
79
|
test_files: []
|
|
80
|
-
has_rdoc:
|