utensils 0.0.16 → 0.0.17

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: 1339f667c1eb89142b3cd7bffd18898eafce5d10
4
- data.tar.gz: f936baa89e9bb40de82ef4db4ce9be6433137d39
3
+ metadata.gz: 59b6f314b9396f76be81862ffe626f43d3847a36
4
+ data.tar.gz: ce22242636d1d6c42cc430996a0e6e85d339c241
5
5
  SHA512:
6
- metadata.gz: 183f62af7350777efa9ad34867f476f0d96e5382bb7dffa1cdb279ba372d90beff750e1c390db1950bf209c58806d9b6123385f666ea29f66d66f62d6e5291d8
7
- data.tar.gz: dfba9520e5e04b9f55c4860619b308e59fc78bacf88a932f2f59f750ab8b8f9ba8b5a82c17415e9d7d3eef2ff0b22ccc7f2b3e71f38cb5c67333c92672bd8d31
6
+ metadata.gz: 5cec9c70bdad797fc308a8ac766f049c9e33f1b289bcedecc552bb188e4113efc72a7e10910cbb2bdfa9d45691f4d4c670769132a1a48bc0eefab56d528eb7ff
7
+ data.tar.gz: 0335bc5bb0bc1016021a9a904150d158ebe0b35884aa82c317e3f4fffcc42392a162d369c38a74bccf3cb5b23e4462d25b90860c34970fddcbba9214403cd942
data/lib/utensils/vcr.rb CHANGED
@@ -5,14 +5,13 @@ VCR.configure do |config|
5
5
  config.hook_into :webmock
6
6
  config.default_cassette_options = {:record => :new_episodes, :preserve_exact_body_bytes => true}
7
7
  config.ignore_localhost = true
8
+ config.configure_rspec_metadata!
8
9
  end
9
10
 
10
11
  RSpec.configure do |config|
11
- config.extend VCR::RSpec::Macros
12
12
  config.treat_symbols_as_metadata_keys_with_true_values = true
13
13
 
14
- config.around(:each, :allow_http) do |example|
15
- name = example.metadata[:full_description].underscore.gsub(/[^\w\/]+/, "_")
16
- VCR.use_cassette(name) { example.call }
14
+ config.before(:each, :allow_http) do |example|
15
+ raise ':allow_http is deprecated, use :vcr instead'
17
16
  end
18
17
  end
@@ -1,3 +1,3 @@
1
1
  module Utensils
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utensils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Balvig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-07 00:00:00.000000000 Z
11
+ date: 2013-10-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rspec stuff we use over and over again
14
14
  email: