thor-vcr 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  In area of the code where dependencies are required, add this line:
22
22
 
23
- require 'thor/vcr' if ENV['VCR']
23
+ require 'thor/vcr' if ENV['VCR'] == '1'
24
24
 
25
25
  In spec_helper.rb, add these lines:
26
26
 
@@ -26,4 +26,8 @@ class Thor
26
26
  alias_method :dispatch_without_vcr, :dispatch
27
27
  alias_method :dispatch, :dispatch_with_vcr
28
28
  end
29
+ end
30
+
31
+ VCR.configure do |config|
32
+ config.ignore_hosts 'codeclimate.com'
29
33
  end
@@ -1,3 +1,3 @@
1
1
  module ThorVcr
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor-vcr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-18 00:00:00.000000000 Z
12
+ date: 2014-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vcr