vcr_assistant 0.2.0 → 1.0.0
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 +4 -4
- data/README.md +8 -2
- data/lib/vcr_assistant/file_name.rb +1 -1
- data/vcr_assistant.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72a223500db2a96a500ce80338a83643dd324498
|
|
4
|
+
data.tar.gz: d7658adeacce6fbc4be3f3fed5b4d72fb360c776
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72859a2d5376f2154a5a79833f7ccdf9cf844fd219253952fb9a9a6bafd2d9fb3e9cbc0e8fde092c1d016d14ece059d8b691be9b34b91924446e24b999ff9621
|
|
7
|
+
data.tar.gz: c92036951dc805308b30bb7a3b77f2e4fe36adc8b6139745dd0ed5eae5b32cf4bb858cf2d3c0689751b1b8a1e2e74641cde68757a3ab34c938988e807bb3181f
|
data/README.md
CHANGED
|
@@ -37,18 +37,24 @@ it 'automatically clears Stripe before tests' do |example|
|
|
|
37
37
|
end
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
## Upgrading
|
|
41
|
+
|
|
42
|
+
### From 0.x to 1.0.0
|
|
43
|
+
|
|
44
|
+
In 0.x releases, the VCR cassette file names did not use the example's full description, which could lead to overwritten specs when the same short description is used in different contexts. File names now use the full description instead - so, you will need to rename your cassette files accordingly.
|
|
45
|
+
|
|
40
46
|
## Installation
|
|
41
47
|
|
|
42
48
|
Add this line to your application's Gemfile:
|
|
43
49
|
|
|
44
50
|
```ruby
|
|
45
|
-
gem 'vcr_assistant', '~> 0.
|
|
51
|
+
gem 'vcr_assistant', '~> 1.0.0', :group => :test
|
|
46
52
|
```
|
|
47
53
|
|
|
48
54
|
To have the `assisted_cassette` helper to be available in all specs, you can require `'vcr_assistant/rspec'` either in your Gemfile:
|
|
49
55
|
|
|
50
56
|
```ruby
|
|
51
|
-
gem 'vcr_assistant', '~> 0.
|
|
57
|
+
gem 'vcr_assistant', '~> 1.0.0',
|
|
52
58
|
:group => :test,
|
|
53
59
|
:require => 'vcr_assistant/rspec'
|
|
54
60
|
```
|
data/vcr_assistant.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vcr_assistant
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pat Allan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: vcr
|