minitest-vcr 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +7 -0
- data/README.md +11 -3
- data/Rakefile +3 -0
- data/lib/minitest-vcr/spec.rb +12 -2
- data/lib/minitest-vcr/version.rb +1 -1
- data/minitest-vcr.gemspec +2 -2
- data/test/cassettes/MinitestVcr_Spec/{an_example_group → a_describe_with_metadata}/with_a_nested_example_group/uses_a_cassette_for_any_examples.yml +4 -4
- data/test/cassettes/MinitestVcr_Spec/an_it_with_metadata/with_a_nested_example_group/uses_a_cassette_for_any_examples.yml +64 -0
- data/test/minitest-vcr/spec_test.rb +21 -4
- metadata +99 -64
- checksums.yaml +0 -7
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
minitest-vcr
|
2
|
+
============
|
3
|
+
|
4
|
+
[![Build Status](https://travis-ci.org/mfpiccolo/minitest-vcr.png?branch=master)](https://travis-ci.org/mfpiccolo/minitest-vcr)
|
2
5
|
|
3
6
|
* [Homepage](http://mfpiccolo.github.io/minitest-vcr)
|
4
7
|
* [Issues](https://github.com/mfpiccolo/minitest-vcr/issues)
|
@@ -56,7 +59,9 @@ require "test_helper"
|
|
56
59
|
|
57
60
|
describe Example::Spec do
|
58
61
|
|
59
|
-
|
62
|
+
# Notice here symbols are treated as true values
|
63
|
+
# You could also do vcr: true
|
64
|
+
describe 'an example group', :vcr do
|
60
65
|
describe 'with a nested example group' do
|
61
66
|
before do
|
62
67
|
conn = Faraday.new
|
@@ -89,6 +94,10 @@ Or install it yourself as:
|
|
89
94
|
|
90
95
|
$ gem install minitest-vcr
|
91
96
|
|
97
|
+
## Donating
|
98
|
+
Support this project and [others by mfpiccolo][gittip-mfpiccolo] via [gittip][gittip-mfpiccolo].
|
99
|
+
|
100
|
+
[gittip-mfpiccolo]: https://www.gittip.com/mfpiccolo/
|
92
101
|
|
93
102
|
## Copyright
|
94
103
|
|
@@ -104,6 +113,5 @@ See [LICENSE.txt](LICENSE.txt) for details.
|
|
104
113
|
4. Push to the branch (`git push origin my-new-feature`)
|
105
114
|
5. Create new Pull Request
|
106
115
|
|
107
|
-
|
108
116
|
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/mfpiccolo/minitest-vcr/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
109
117
|
|
data/Rakefile
CHANGED
data/lib/minitest-vcr/spec.rb
CHANGED
@@ -7,8 +7,18 @@ module MinitestVcr
|
|
7
7
|
def self.configure!
|
8
8
|
run_before = lambda do |example|
|
9
9
|
if metadata[:vcr]
|
10
|
-
|
11
|
-
|
10
|
+
example.class.name.scan(/^(.*?)::[abc]/) do |name|
|
11
|
+
@class_name = name.first
|
12
|
+
end
|
13
|
+
|
14
|
+
if @class_name.nil?
|
15
|
+
test_info = example.class.name.split("::").map {|e| e.sub(/[^\w]*$/, "")}.reject(&:empty?) - ["vcr"]
|
16
|
+
@class_name = ""
|
17
|
+
else
|
18
|
+
test_info = example.class.name.gsub(@class_name, "").split("::").map {|e| e.sub(/[^\w]*$/, "")}.reject(&:empty?) - ["vcr"]
|
19
|
+
end
|
20
|
+
|
21
|
+
VCR.insert_cassette @class_name + "/" + test_info.join("/") + "/#{spec_name}"
|
12
22
|
end
|
13
23
|
end
|
14
24
|
|
data/lib/minitest-vcr/version.rb
CHANGED
data/minitest-vcr.gemspec
CHANGED
@@ -20,13 +20,13 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_runtime_dependency "vcr", "~> 2.8.0"
|
22
22
|
spec.add_runtime_dependency "minitest", ">= 4.7.5"
|
23
|
-
spec.add_runtime_dependency "minispec-metadata", "~>
|
23
|
+
spec.add_runtime_dependency "minispec-metadata", "~> 2.0.0"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.5"
|
26
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
27
|
spec.add_development_dependency "vcr", "~> 2.8.0"
|
28
28
|
spec.add_development_dependency "minitest", ">= 4.7.5"
|
29
|
-
spec.add_development_dependency "minispec-metadata", "~>
|
29
|
+
spec.add_development_dependency "minispec-metadata", "~> 2.0.0"
|
30
30
|
spec.add_development_dependency "mocha", "~> 0.14.0"
|
31
31
|
spec.add_development_dependency "faraday", "~> 0.8.9"
|
32
32
|
spec.add_development_dependency "rubygems-tasks", "~> 0.2"
|
@@ -25,15 +25,15 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- text/html
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Tue, 14 Jan 2014 05:14:35 GMT
|
29
29
|
Etag:
|
30
30
|
- ! '"359670651"'
|
31
31
|
Expires:
|
32
|
-
-
|
32
|
+
- Tue, 21 Jan 2014 05:14:35 GMT
|
33
33
|
Last-Modified:
|
34
34
|
- Fri, 09 Aug 2013 23:54:35 GMT
|
35
35
|
Server:
|
36
|
-
- ECS (
|
36
|
+
- ECS (sea/F622)
|
37
37
|
X-Cache:
|
38
38
|
- HIT
|
39
39
|
X-Ec-Custom-Error:
|
@@ -60,5 +60,5 @@ http_interactions:
|
|
60
60
|
or asking for permission.</p>\n <p><a href=\"http://www.iana.org/domains/example\">More
|
61
61
|
information...</a></p>\n</div>\n</body>\n</html>\n"
|
62
62
|
http_version:
|
63
|
-
recorded_at:
|
63
|
+
recorded_at: Tue, 14 Jan 2014 05:14:36 GMT
|
64
64
|
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,64 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://example.com/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.8.9
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- ! '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Accept-Ranges:
|
22
|
+
- bytes
|
23
|
+
Cache-Control:
|
24
|
+
- max-age=604800
|
25
|
+
Content-Type:
|
26
|
+
- text/html
|
27
|
+
Date:
|
28
|
+
- Tue, 14 Jan 2014 05:14:36 GMT
|
29
|
+
Etag:
|
30
|
+
- ! '"359670651"'
|
31
|
+
Expires:
|
32
|
+
- Tue, 21 Jan 2014 05:14:36 GMT
|
33
|
+
Last-Modified:
|
34
|
+
- Fri, 09 Aug 2013 23:54:35 GMT
|
35
|
+
Server:
|
36
|
+
- ECS (sea/55ED)
|
37
|
+
X-Cache:
|
38
|
+
- HIT
|
39
|
+
X-Ec-Custom-Error:
|
40
|
+
- '1'
|
41
|
+
Content-Length:
|
42
|
+
- '1270'
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: ! "<!doctype html>\n<html>\n<head>\n <title>Example Domain</title>\n\n
|
46
|
+
\ <meta charset=\"utf-8\" />\n <meta http-equiv=\"Content-type\" content=\"text/html;
|
47
|
+
charset=utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width,
|
48
|
+
initial-scale=1\" />\n <style type=\"text/css\">\n body {\n background-color:
|
49
|
+
#f0f0f2;\n margin: 0;\n padding: 0;\n font-family: \"Open
|
50
|
+
Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n \n }\n
|
51
|
+
\ div {\n width: 600px;\n margin: 5em auto;\n padding:
|
52
|
+
50px;\n background-color: #fff;\n border-radius: 1em;\n }\n
|
53
|
+
\ a:link, a:visited {\n color: #38488f;\n text-decoration:
|
54
|
+
none;\n }\n @media (max-width: 700px) {\n body {\n background-color:
|
55
|
+
#fff;\n }\n div {\n width: auto;\n margin:
|
56
|
+
0 auto;\n border-radius: 0;\n padding: 1em;\n }\n
|
57
|
+
\ }\n </style> \n</head>\n\n<body>\n<div>\n <h1>Example Domain</h1>\n
|
58
|
+
\ <p>This domain is established to be used for illustrative examples in
|
59
|
+
documents. You may use this\n domain in examples without prior coordination
|
60
|
+
or asking for permission.</p>\n <p><a href=\"http://www.iana.org/domains/example\">More
|
61
|
+
information...</a></p>\n</div>\n</body>\n</html>\n"
|
62
|
+
http_version:
|
63
|
+
recorded_at: Tue, 14 Jan 2014 05:14:36 GMT
|
64
|
+
recorded_with: VCR 2.8.0
|
@@ -4,7 +4,7 @@ MinitestVcr::Spec.configure!
|
|
4
4
|
|
5
5
|
describe MinitestVcr::Spec do
|
6
6
|
|
7
|
-
describe '
|
7
|
+
describe 'a describe with metadata', :vcr do
|
8
8
|
describe 'with a nested example group' do
|
9
9
|
before do
|
10
10
|
conn = Faraday.new
|
@@ -13,7 +13,7 @@ describe MinitestVcr::Spec do
|
|
13
13
|
it 'uses a cassette for any examples' do
|
14
14
|
(VCR.current_cassette.name.split('/')).must_equal([
|
15
15
|
'MinitestVcr::Spec',
|
16
|
-
'
|
16
|
+
'a describe with metadata',
|
17
17
|
'with a nested example group',
|
18
18
|
'uses a cassette for any examples'
|
19
19
|
])
|
@@ -21,14 +21,31 @@ describe MinitestVcr::Spec do
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
-
describe
|
24
|
+
describe 'an it with metadata' do
|
25
|
+
describe 'with a nested example group' do
|
26
|
+
before do
|
27
|
+
conn = Faraday.new
|
28
|
+
@response = conn.get 'http://example.com'
|
29
|
+
end
|
30
|
+
it 'uses a cassette for any examples', :vcr do
|
31
|
+
(VCR.current_cassette.name.split('/')).must_equal([
|
32
|
+
'MinitestVcr::Spec',
|
33
|
+
'an it with metadata',
|
34
|
+
'with a nested example group',
|
35
|
+
'uses a cassette for any examples'
|
36
|
+
])
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe "#configure!", :vcr do
|
25
42
|
|
26
43
|
before do
|
27
44
|
::MiniTest::Spec.expects(:before).with(:each).returns(:true)
|
28
45
|
::MiniTest::Spec.expects(:after).with(:each).returns(true)
|
29
46
|
end
|
30
47
|
|
31
|
-
it "
|
48
|
+
it "should call before and after with proper args and block" do
|
32
49
|
MinitestVcr::Spec.configure!
|
33
50
|
end
|
34
51
|
end
|
metadata
CHANGED
@@ -1,225 +1,256 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-vcr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.2
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Mike Piccolo
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-14 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: vcr
|
15
|
-
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 2.8.0
|
20
|
-
|
21
|
-
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
23
24
|
requirements:
|
24
25
|
- - ~>
|
25
26
|
- !ruby/object:Gem::Version
|
26
27
|
version: 2.8.0
|
28
|
+
type: :runtime
|
29
|
+
prerelease: false
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: minitest
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 4.7.5
|
29
38
|
requirement: !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
30
40
|
requirements:
|
31
|
-
- - '>='
|
41
|
+
- - ! '>='
|
32
42
|
- !ruby/object:Gem::Version
|
33
43
|
version: 4.7.5
|
34
44
|
type: :runtime
|
35
45
|
prerelease: false
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: minispec-metadata
|
36
48
|
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
37
50
|
requirements:
|
38
|
-
- -
|
51
|
+
- - ~>
|
39
52
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: minispec-metadata
|
53
|
+
version: 2.0.0
|
43
54
|
requirement: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
44
56
|
requirements:
|
45
57
|
- - ~>
|
46
58
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
59
|
+
version: 2.0.0
|
48
60
|
type: :runtime
|
49
61
|
prerelease: false
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: bundler
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
51
66
|
requirements:
|
52
67
|
- - ~>
|
53
68
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: bundler
|
69
|
+
version: '1.5'
|
57
70
|
requirement: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
58
72
|
requirements:
|
59
73
|
- - ~>
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: '1.5'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rake
|
64
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
65
82
|
requirements:
|
66
83
|
- - ~>
|
67
84
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rake
|
85
|
+
version: '10.0'
|
71
86
|
requirement: !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
72
88
|
requirements:
|
73
89
|
- - ~>
|
74
90
|
- !ruby/object:Gem::Version
|
75
91
|
version: '10.0'
|
76
92
|
type: :development
|
77
93
|
prerelease: false
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: vcr
|
78
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
79
98
|
requirements:
|
80
99
|
- - ~>
|
81
100
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: vcr
|
101
|
+
version: 2.8.0
|
85
102
|
requirement: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
86
104
|
requirements:
|
87
105
|
- - ~>
|
88
106
|
- !ruby/object:Gem::Version
|
89
107
|
version: 2.8.0
|
90
108
|
type: :development
|
91
109
|
prerelease: false
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: minitest
|
92
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
93
114
|
requirements:
|
94
|
-
- -
|
115
|
+
- - ! '>='
|
95
116
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: minitest
|
117
|
+
version: 4.7.5
|
99
118
|
requirement: !ruby/object:Gem::Requirement
|
119
|
+
none: false
|
100
120
|
requirements:
|
101
|
-
- - '>='
|
121
|
+
- - ! '>='
|
102
122
|
- !ruby/object:Gem::Version
|
103
123
|
version: 4.7.5
|
104
124
|
type: :development
|
105
125
|
prerelease: false
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: minispec-metadata
|
106
128
|
version_requirements: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
107
130
|
requirements:
|
108
|
-
- -
|
131
|
+
- - ~>
|
109
132
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: minispec-metadata
|
133
|
+
version: 2.0.0
|
113
134
|
requirement: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
114
136
|
requirements:
|
115
137
|
- - ~>
|
116
138
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
139
|
+
version: 2.0.0
|
118
140
|
type: :development
|
119
141
|
prerelease: false
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: mocha
|
120
144
|
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
121
146
|
requirements:
|
122
147
|
- - ~>
|
123
148
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: mocha
|
149
|
+
version: 0.14.0
|
127
150
|
requirement: !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
128
152
|
requirements:
|
129
153
|
- - ~>
|
130
154
|
- !ruby/object:Gem::Version
|
131
155
|
version: 0.14.0
|
132
156
|
type: :development
|
133
157
|
prerelease: false
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: faraday
|
134
160
|
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
135
162
|
requirements:
|
136
163
|
- - ~>
|
137
164
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: faraday
|
165
|
+
version: 0.8.9
|
141
166
|
requirement: !ruby/object:Gem::Requirement
|
167
|
+
none: false
|
142
168
|
requirements:
|
143
169
|
- - ~>
|
144
170
|
- !ruby/object:Gem::Version
|
145
171
|
version: 0.8.9
|
146
172
|
type: :development
|
147
173
|
prerelease: false
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: rubygems-tasks
|
148
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
149
178
|
requirements:
|
150
179
|
- - ~>
|
151
180
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rubygems-tasks
|
181
|
+
version: '0.2'
|
155
182
|
requirement: !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
156
184
|
requirements:
|
157
185
|
- - ~>
|
158
186
|
- !ruby/object:Gem::Version
|
159
187
|
version: '0.2'
|
160
188
|
type: :development
|
161
189
|
prerelease: false
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: yard
|
162
192
|
version_requirements: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
163
194
|
requirements:
|
164
195
|
- - ~>
|
165
196
|
- !ruby/object:Gem::Version
|
166
|
-
version: '0.
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: yard
|
197
|
+
version: '0.8'
|
169
198
|
requirement: !ruby/object:Gem::Requirement
|
199
|
+
none: false
|
170
200
|
requirements:
|
171
201
|
- - ~>
|
172
202
|
- !ruby/object:Gem::Version
|
173
203
|
version: '0.8'
|
174
204
|
type: :development
|
175
205
|
prerelease: false
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: webmock
|
176
208
|
version_requirements: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
177
210
|
requirements:
|
178
211
|
- - ~>
|
179
212
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: webmock
|
213
|
+
version: 1.16.0
|
183
214
|
requirement: !ruby/object:Gem::Requirement
|
215
|
+
none: false
|
184
216
|
requirements:
|
185
217
|
- - ~>
|
186
218
|
- !ruby/object:Gem::Version
|
187
219
|
version: 1.16.0
|
188
220
|
type: :development
|
189
221
|
prerelease: false
|
222
|
+
- !ruby/object:Gem::Dependency
|
223
|
+
name: pry
|
190
224
|
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
191
226
|
requirements:
|
192
227
|
- - ~>
|
193
228
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: pry
|
229
|
+
version: 0.9.12.2
|
197
230
|
requirement: !ruby/object:Gem::Requirement
|
231
|
+
none: false
|
198
232
|
requirements:
|
199
233
|
- - ~>
|
200
234
|
- !ruby/object:Gem::Version
|
201
235
|
version: 0.9.12.2
|
202
236
|
type: :development
|
203
237
|
prerelease: false
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: pry-debugger
|
204
240
|
version_requirements: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
205
242
|
requirements:
|
206
243
|
- - ~>
|
207
244
|
- !ruby/object:Gem::Version
|
208
|
-
version: 0.
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: pry-debugger
|
245
|
+
version: 0.2.2
|
211
246
|
requirement: !ruby/object:Gem::Requirement
|
247
|
+
none: false
|
212
248
|
requirements:
|
213
249
|
- - ~>
|
214
250
|
- !ruby/object:Gem::Version
|
215
251
|
version: 0.2.2
|
216
252
|
type: :development
|
217
253
|
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - ~>
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: 0.2.2
|
223
254
|
description: I like MiniTest. I like VCR. I like not having to manage cassetes.
|
224
255
|
email:
|
225
256
|
- mpiccolo@newleaders.com
|
@@ -228,6 +259,7 @@ extensions: []
|
|
228
259
|
extra_rdoc_files: []
|
229
260
|
files:
|
230
261
|
- .gitignore
|
262
|
+
- .travis.yml
|
231
263
|
- Gemfile
|
232
264
|
- LICENSE.txt
|
233
265
|
- README.md
|
@@ -236,35 +268,38 @@ files:
|
|
236
268
|
- lib/minitest-vcr/spec.rb
|
237
269
|
- lib/minitest-vcr/version.rb
|
238
270
|
- minitest-vcr.gemspec
|
239
|
-
- test/cassettes/MinitestVcr_Spec/
|
271
|
+
- test/cassettes/MinitestVcr_Spec/a_describe_with_metadata/with_a_nested_example_group/uses_a_cassette_for_any_examples.yml
|
272
|
+
- test/cassettes/MinitestVcr_Spec/an_it_with_metadata/with_a_nested_example_group/uses_a_cassette_for_any_examples.yml
|
240
273
|
- test/helper.rb
|
241
274
|
- test/minitest-vcr/spec_test.rb
|
242
275
|
homepage: ''
|
243
276
|
licenses:
|
244
277
|
- MIT
|
245
|
-
metadata: {}
|
246
278
|
post_install_message:
|
247
279
|
rdoc_options: []
|
248
280
|
require_paths:
|
249
281
|
- lib
|
250
282
|
required_ruby_version: !ruby/object:Gem::Requirement
|
283
|
+
none: false
|
251
284
|
requirements:
|
252
|
-
- - '>='
|
285
|
+
- - ! '>='
|
253
286
|
- !ruby/object:Gem::Version
|
254
287
|
version: '0'
|
255
288
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
256
290
|
requirements:
|
257
|
-
- - '>='
|
291
|
+
- - ! '>='
|
258
292
|
- !ruby/object:Gem::Version
|
259
293
|
version: '0'
|
260
294
|
requirements: []
|
261
295
|
rubyforge_project:
|
262
|
-
rubygems_version:
|
296
|
+
rubygems_version: 1.8.25
|
263
297
|
signing_key:
|
264
|
-
specification_version:
|
298
|
+
specification_version: 3
|
265
299
|
summary: Allows VCR to automatically make cassetes with proper file paths with MiniTest
|
266
300
|
test_files:
|
267
|
-
- test/cassettes/MinitestVcr_Spec/
|
301
|
+
- test/cassettes/MinitestVcr_Spec/a_describe_with_metadata/with_a_nested_example_group/uses_a_cassette_for_any_examples.yml
|
302
|
+
- test/cassettes/MinitestVcr_Spec/an_it_with_metadata/with_a_nested_example_group/uses_a_cassette_for_any_examples.yml
|
268
303
|
- test/helper.rb
|
269
304
|
- test/minitest-vcr/spec_test.rb
|
270
305
|
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 5926893c6b79bdca0ead0affe3dc9076cecd69cd
|
4
|
-
data.tar.gz: faacb1079d90c84344291872fd5f4306c582b5b2
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: a9ca78a9272adc212ccb46d9c5347703dbeeb71d9f83c6e92b9f78cf7e42b181efa24216cc8fb1a8bfb04e3f2a3b85f26a219062d181cd4a40ac7744b195f67b
|
7
|
-
data.tar.gz: 6a55d5c084a68f0b5031e69121dd5a36a5d8166313af81f66541696488450514fde43e7eb60684011ac8d2eb9561e3d81a16cb3a593cccfdeab90503aac79e49
|