rspectacular 0.19.0 → 0.20.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 160ce0a38c1a7d29dafd89ed73a057857380929d
|
4
|
+
data.tar.gz: aac8f030827e825e94b1ee2d6257c7cbafa0fa32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78d8c7f9c7b1d14ab20c6c82dbf9f3414d13a5a6f22d598b7c1a4461d1f69b9e416b0bf30f642a369a9f9650a5412197b6f44e8cd33e38e189b8e6d5a82a4581
|
7
|
+
data.tar.gz: 7fbcbdb0937103bdbe8dca600f942cd491680dcf835a9c69c7b2124b42daa66bb911543afee7cc0e31f05dcc1c0753cb6eda0706923926f58d061b794dfef90f
|
@@ -0,0 +1,20 @@
|
|
1
|
+
##############################################################################
|
2
|
+
# Stripe Plugin
|
3
|
+
##############################################################################
|
4
|
+
|
5
|
+
begin
|
6
|
+
require 'stripe'
|
7
|
+
|
8
|
+
RSpec.configure do |config|
|
9
|
+
config.after(:suite, :stripe) do
|
10
|
+
Stripe::Plan.all(count: 100).each do |plan|
|
11
|
+
if plan.id.match(/test/i) || plan.name.match(/test/i)
|
12
|
+
plan.delete
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
Stripe::Customer.all(count: 100).each(&:delete)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
rescue LoadError
|
20
|
+
end
|
data/lib/rspectacular/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspectacular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jfelchner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -71,6 +71,7 @@ files:
|
|
71
71
|
- lib/rspectacular/plugins.rb
|
72
72
|
- lib/rspectacular/plugins/capybara.rb
|
73
73
|
- lib/rspectacular/plugins/carrier_wave.rb
|
74
|
+
- lib/rspectacular/plugins/code_climate.rb
|
74
75
|
- lib/rspectacular/plugins/database_cleaner.rb
|
75
76
|
- lib/rspectacular/plugins/devise.rb
|
76
77
|
- lib/rspectacular/plugins/email.rb
|
@@ -83,6 +84,7 @@ files:
|
|
83
84
|
- lib/rspectacular/plugins/sidekiq.rb
|
84
85
|
- lib/rspectacular/plugins/simple_cov.rb
|
85
86
|
- lib/rspectacular/plugins/singleton.rb
|
87
|
+
- lib/rspectacular/plugins/stripe.rb
|
86
88
|
- lib/rspectacular/plugins/timecop.rb
|
87
89
|
- lib/rspectacular/plugins/vcr.rb
|
88
90
|
- lib/rspectacular/plugins/webmock.rb
|
@@ -122,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
124
|
version: '0'
|
123
125
|
requirements: []
|
124
126
|
rubyforge_project: rspectacular
|
125
|
-
rubygems_version: 2.2.
|
127
|
+
rubygems_version: 2.2.2
|
126
128
|
signing_key:
|
127
129
|
specification_version: 4
|
128
130
|
summary: RSpec Support And Matchers
|