vcr 2.9.1 → 2.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmYwMzVkMjVkMzU1YzZlZmMwMTJiZGM0ZGNmOTI1Y2QwOGVhYWYwMg==
4
+ MWYxNGYxYjZkYmEyZDVmZjA1YmI5NjFhNzNlOWIwNDllMTI2ODNkZg==
5
5
  data.tar.gz: !binary |-
6
- MzcyODU1MmU4OWJmOTFmOGM3NzIxNmZhZDJmY2RmZDA2MmUzNmU2Mw==
6
+ ODFjNWVlMmIzYzIyMzkzODYyMjkyYTcwZWU0MGY1MWE4YjYxMmI0Mw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NzBkOTk1NzIwZTBkOTllZGE2ZGNiMmVhZWE2YzZhMzU0NzZiNTQxNWYxMjE4
10
- Mjc2ZTJmZmY1NDkwYTFhYjExNDliZjc3YjllMDZjOGNiZTU4NzAzYjhmYTEx
11
- ZWU2MmU0OGRiNTY1M2Q0YzJjNDJmZTc1OGFjNjA3YmRhOGM1Mjc=
9
+ MGQyZDM0NDFlYTQyNjA2NzhjMmU1Mjc4MGFiMTM2NzlmODM4MjBiOGI0ZjMz
10
+ OWI0MmYxMTE2N2RjMWMwYTQ4MTFlZjUzYmMyODA0YzJkMmRlYmM3MTgwYTUw
11
+ YjhkYWI4NDhkZDRkOWZhM2E1ZGRmZDllMjY5N2JkZDRkMzgyMWM=
12
12
  data.tar.gz: !binary |-
13
- OWIyOWM4NGU1ZDlmZmRmNzQyZDJmNzU4ZjU0ODA3NjkwMTI5N2Y0MmU1NWM5
14
- YTEyM2U4YTcyOTM4MzQ0MWYzNWQ1NmY3ZjU1YzllNDZiMmUxYjM2NTlmMjk1
15
- NDQ5MzViY2EzZTljM2NlOTRlNGI5Y2RmNmQ3MjM4OGIzY2RhNzY=
13
+ ZGZkOWJkMWM1ZjQwZDZlZWU1ZGQ5ZDQzMDc1NGVlM2M5M2M4NTMzNTgwNmU1
14
+ NjhiYzNhNzI4MzY0ODZiNjNhMzdjZjk3NGIxMTI1M2FlNWNmODBmODQ3ODdi
15
+ YWM0MzUzMDgwMjBkMmExZGI4Y2EyYzQ1YTE3ZThjYzZkMzVjOWQ=
@@ -1,3 +1,11 @@
1
+ ## 2.9.2 (May 27, 2014)
2
+ [Full Changelog](http://github.com/vcr/vcr/compare/v2.9.1...v2.9.2)
3
+
4
+ Bug Fixes:
5
+
6
+ * Fix RSpec metadata integration once more -- we changed it a bit more
7
+ in response to user feedback. (Myron Marston)
8
+
1
9
  ## 2.9.1 (May 23, 2014)
2
10
  [Full Changelog](http://github.com/vcr/vcr/compare/v2.9.0...v2.9.1)
3
11
 
data/Gemfile CHANGED
@@ -26,7 +26,9 @@ gem 'rake', '>= 0.9.2'
26
26
  gem 'cucumber', '>= 1.1.4'
27
27
  gem 'aruba', '>= 0.5'
28
28
 
29
- gem 'rspec', '>= 3.0.0.rc1'
29
+ %w[ core mocks expectations support ].each do |name|
30
+ gem "rspec-#{name}", :github => "rspec/rspec-#{name}"
31
+ end
30
32
 
31
33
  gem 'fakeweb', '>= 1.3.0'
32
34
  gem 'webmock', '>= 1.14'
@@ -1,7 +1,35 @@
1
+ GIT
2
+ remote: git://github.com/rspec/rspec-core.git
3
+ revision: 5dad09158a9e5d94830dffcacc19f34e3bbc574f
4
+ specs:
5
+ rspec-core (3.0.0.rc1)
6
+ rspec-support (= 3.0.0.rc1)
7
+
8
+ GIT
9
+ remote: git://github.com/rspec/rspec-expectations.git
10
+ revision: 1dce0c78b1a19f0d328d9574d7b3e4201e269b3f
11
+ specs:
12
+ rspec-expectations (3.0.0.rc1)
13
+ diff-lcs (>= 1.2.0, < 2.0)
14
+ rspec-support (= 3.0.0.rc1)
15
+
16
+ GIT
17
+ remote: git://github.com/rspec/rspec-mocks.git
18
+ revision: 6176d177121cdb4b83a31fac3b647ff89148a9b5
19
+ specs:
20
+ rspec-mocks (3.0.0.rc1)
21
+ rspec-support (= 3.0.0.rc1)
22
+
23
+ GIT
24
+ remote: git://github.com/rspec/rspec-support.git
25
+ revision: b5f29f2f03ee57f3bbcca092e09fe5a7199b3580
26
+ specs:
27
+ rspec-support (3.0.0.rc1)
28
+
1
29
  PATH
2
30
  remote: .
3
31
  specs:
4
- vcr (2.9.1)
32
+ vcr (2.9.2)
5
33
 
6
34
  GEM
7
35
  remote: https://rubygems.org/
@@ -85,18 +113,6 @@ GEM
85
113
  rest-client (>= 1.6.1)
86
114
  rest-client (1.6.7)
87
115
  mime-types (>= 1.16)
88
- rspec (3.0.0.rc1)
89
- rspec-core (= 3.0.0.rc1)
90
- rspec-expectations (= 3.0.0.rc1)
91
- rspec-mocks (= 3.0.0.rc1)
92
- rspec-core (3.0.0.rc1)
93
- rspec-support (= 3.0.0.rc1)
94
- rspec-expectations (3.0.0.rc1)
95
- diff-lcs (>= 1.2.0, < 2.0)
96
- rspec-support (= 3.0.0.rc1)
97
- rspec-mocks (3.0.0.rc1)
98
- rspec-support (= 3.0.0.rc1)
99
- rspec-support (3.0.0.rc1)
100
116
  ruby-debug (0.10.4)
101
117
  columnize (>= 0.1)
102
118
  ruby-debug-base (~> 0.10.4.0)
@@ -147,7 +163,10 @@ DEPENDENCIES
147
163
  redcarpet (~> 1.17.2)
148
164
  redis (>= 2.2.2)
149
165
  relish (~> 0.6)
150
- rspec (>= 3.0.0.rc1)
166
+ rspec-core!
167
+ rspec-expectations!
168
+ rspec-mocks!
169
+ rspec-support!
151
170
  ruby-debug
152
171
  simplecov (>= 0.5.3)
153
172
  sinatra (>= 1.3.2)
@@ -9,9 +9,13 @@ module VCR
9
9
  ::RSpec.configure do |config|
10
10
  vcr_cassette_name_for = lambda do |metadata|
11
11
  description = metadata[:description]
12
- example_group = metadata[:parent_example_group] || metadata[:example_group]
12
+ example_group = if metadata.key?(:example_group)
13
+ metadata[:example_group]
14
+ else
15
+ metadata[:parent_example_group]
16
+ end
13
17
 
14
- if example_group && example_group.any?
18
+ if example_group
15
19
  [vcr_cassette_name_for[example_group], description].join('/')
16
20
  else
17
21
  description
@@ -10,7 +10,7 @@ module VCR
10
10
  # * `parts` [Array<Integer>] List of the version parts.
11
11
  def version
12
12
  @version ||= begin
13
- string = '2.9.1'
13
+ string = '2.9.2'
14
14
 
15
15
  def string.parts
16
16
  split('.').map { |p| p.to_i }
@@ -25,8 +25,6 @@ if RUBY_VERSION.to_f >= 1.9 && RUBY_ENGINE == 'ruby'
25
25
  end
26
26
  end
27
27
 
28
- require 'rspec'
29
-
30
28
  require "support/fixnum_extension"
31
29
  require "support/limited_uri"
32
30
  require "support/ruby_interpreter"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcr
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.1
4
+ version: 2.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-23 00:00:00.000000000 Z
11
+ date: 2014-05-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: VCR provides a simple API to record and replay your test suite's HTTP
14
14
  interactions. It works with a variety of HTTP client libraries, HTTP stubbing libraries