rspectacular 0.22.0 → 0.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspectacular/plugins/stripe.rb +5 -0
- data/lib/rspectacular/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd7871c2fbf168675dfc03614d1e98dae20475f2
|
4
|
+
data.tar.gz: 8a80d68326d13d3e974497a97456e6de47ebd807
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dba8eafcc1456e7b5601a96ee5be239972c65169b5ac392ba70ba768c6385f1c6af368a680b31a68e6e09af5e2edefc91632c2a563361f087d1e0851908595c
|
7
|
+
data.tar.gz: 820096dd7d9fe49e011bb1e965c50a6a753e4d0502575c52f426ad1f17fed97d2e659ea03bbd24038b25db8781cbaed5a3600709b634e44115eeafe4165f6621
|
@@ -7,6 +7,9 @@ begin
|
|
7
7
|
|
8
8
|
RSpec.configure do |config|
|
9
9
|
config.after(:suite, :stripe) do
|
10
|
+
VCR.turn_off! if defined?(VCR)
|
11
|
+
WebMock.allow_net_connect! if defined?(WebMock)
|
12
|
+
|
10
13
|
Stripe::Plan.all(:count => 100).each do |plan|
|
11
14
|
if plan.id.match(/test/i) || plan.name.match(/test/i)
|
12
15
|
plan.delete
|
@@ -14,6 +17,8 @@ begin
|
|
14
17
|
end
|
15
18
|
|
16
19
|
Stripe::Customer.all(:count => 100).each(&:delete)
|
20
|
+
|
21
|
+
VCR.turn_on! if defined?(VCR)
|
17
22
|
end
|
18
23
|
end
|
19
24
|
rescue LoadError
|
data/lib/rspectacular/version.rb
CHANGED