rspectacular 0.21.6 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspectacular/plugins/vcr.rb +18 -2
- data/lib/rspectacular/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf6624060f6321d90b9bf100734fcf53153c7870
|
4
|
+
data.tar.gz: 2cdf7b8faceeff3608a3423bdfc612cb47fa1a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c88879226a7ad704b51fb6a12f5d38ff443dabf961db7b98e004ca928dce529745bac3b8249693b84dab7cc744991f9e03510c282a519dd48fcad3690238dc5
|
7
|
+
data.tar.gz: 5029881a9a5a417831d1f22eb3b253534f1bfa3a29b2b48b812b5228782344490189be426ab413ef3370bbb6f33e8916bf588cd5c0cc262b16fa0c66058f7200
|
@@ -4,12 +4,28 @@
|
|
4
4
|
|
5
5
|
begin
|
6
6
|
require 'vcr'
|
7
|
-
|
7
|
+
|
8
|
+
begin
|
9
|
+
require 'webmock'
|
10
|
+
|
11
|
+
VCR.configure do |config|
|
12
|
+
config.hook_into :webmock
|
13
|
+
end
|
14
|
+
rescue LoadError
|
15
|
+
end
|
16
|
+
|
17
|
+
begin
|
18
|
+
require 'faraday'
|
19
|
+
|
20
|
+
VCR.configure do |config|
|
21
|
+
config.hook_into :faraday
|
22
|
+
end
|
23
|
+
rescue LoadError
|
24
|
+
end
|
8
25
|
|
9
26
|
VCR.configure do |config|
|
10
27
|
config.cassette_library_dir = File.expand_path('./tmp/vcr_cassettes')
|
11
28
|
|
12
|
-
config.hook_into :faraday
|
13
29
|
config.configure_rspec_metadata!
|
14
30
|
end
|
15
31
|
rescue LoadError
|
data/lib/rspectacular/version.rb
CHANGED