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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74a941d0d3e31f0b60e4df9ac02c37ad96c42a74
4
- data.tar.gz: d6a4581bfb874e186b786bc26485e413a70883cf
3
+ metadata.gz: bf6624060f6321d90b9bf100734fcf53153c7870
4
+ data.tar.gz: 2cdf7b8faceeff3608a3423bdfc612cb47fa1a8a
5
5
  SHA512:
6
- metadata.gz: cf3ec3c6bbe9b3ba0a8a3d4ef6256bb1dc70faecabfcbf8306ecabbe7446ac1ec16ff0409db10ba60acd3fdb527199b7922b73cbb964416038b99e24dbb30a98
7
- data.tar.gz: 06833e68bded82eaec1fa5a197e1c4c1f913fd824477a0581883463eecce8b0216632baf22e2adf807ac513dec7f3d239f52b753c60bd44fd903d9da42800127
6
+ metadata.gz: 6c88879226a7ad704b51fb6a12f5d38ff443dabf961db7b98e004ca928dce529745bac3b8249693b84dab7cc744991f9e03510c282a519dd48fcad3690238dc5
7
+ data.tar.gz: 5029881a9a5a417831d1f22eb3b253534f1bfa3a29b2b48b812b5228782344490189be426ab413ef3370bbb6f33e8916bf588cd5c0cc262b16fa0c66058f7200
@@ -4,12 +4,28 @@
4
4
 
5
5
  begin
6
6
  require 'vcr'
7
- require 'faraday'
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
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.21.6'
2
+ VERSION = '0.22.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.6
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner