vcr-uri-catcher 0.5.1 → 0.5.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba1f391a9dd1f8ac920413208fd427507cdc7aea
4
- data.tar.gz: 802dd518b735d647ab3c7f2d20084124a5231326
3
+ metadata.gz: faae2ccfd5c8c59aadb042c0750c2994aa3f5970
4
+ data.tar.gz: 26031e41efbff034bdfdeea5868b4b9c7ea5f8ff
5
5
  SHA512:
6
- metadata.gz: 6de5ad998439566cd6b58fd57857a47524f5c401de9f2c664f5b45ea92d83f58d09ecddb2092b274542db5bf7dbba27269484a12d9c28d5839096e7402f092c5
7
- data.tar.gz: 16df316a2a91a256327c36c4a6ba7ac59e7ed7025317d1e0b155a18270d54aaed0c616e20df35ee12c5dfeab9f9d178244fa643da4857a839fdfab3da02f6e5f
6
+ metadata.gz: 99c8be761fd1da8dd742d4adf62858c13b258010ff1ea5532a910e30c3ea60b9d18967681041114241a3e8b0cb9ff814ecc5d5c744669424bf57863a34cf9a02
7
+ data.tar.gz: 2dd9c2f3c80a745e9ec978f460731d7f5b35d1d1345fd61a1662e1e8f7442e4178f1adc0eb271b99e043a76219d5502d90dd90e11edc06ca74f9fa4f0324f04c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -54,7 +54,7 @@ class Catcher
54
54
 
55
55
  def catch(uri, block, once:true)
56
56
  if @uris.has_key?(uri)
57
- raise "uri #{uri} already registered"
57
+ raise "uri #{uri} already registered, can mean previous catch did not catch the uri, check your tests"
58
58
  else
59
59
  STDERR.puts "URICatcher: will try to catch uri #{uri}" if $VERBOSE
60
60
  @uris[uri] = { :once => once, :block => block }
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: vcr-uri-catcher 0.5.1 ruby lib
5
+ # stub: vcr-uri-catcher 0.5.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "vcr-uri-catcher"
9
- s.version = "0.5.1"
9
+ s.version = "0.5.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Mischa Molhoek"]
14
- s.date = "2015-04-24"
14
+ s.date = "2015-08-07"
15
15
  s.description = "execute arbitrary code (like {raise RestClient::RequestTimeout}) the moment vcr tries to access certain configurable uri('s)"
16
16
  s.email = "mischamolhoek@gmail.com"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcr-uri-catcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mischa Molhoek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2015-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc