rspectacular 0.19.0 → 0.20.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97d48a19ddfa3cf5ec493adbeead24ca3f09e99d
4
- data.tar.gz: a52317cf7361cabde4688d61ae8b8f65d3b20fe3
3
+ metadata.gz: 160ce0a38c1a7d29dafd89ed73a057857380929d
4
+ data.tar.gz: aac8f030827e825e94b1ee2d6257c7cbafa0fa32
5
5
  SHA512:
6
- metadata.gz: 0da4aeb115202a24a7cd9a690bfdb1da13669e941a749d2a997b44b6a77a9202588ee1081dc8b6861b1af09c6d8d128863eef573d47de8a1f4594f6d83f52adb
7
- data.tar.gz: c7a58a31027ff7f93c9a85ed1543fdee1cc1fcc8e1a69c2aa8fe6001b35d91e1da5f4fdce2c63f8460d4cb932aaee0a5c12173212f2d81c7df73837d46960cd2
6
+ metadata.gz: 78d8c7f9c7b1d14ab20c6c82dbf9f3414d13a5a6f22d598b7c1a4461d1f69b9e416b0bf30f642a369a9f9650a5412197b6f44e8cd33e38e189b8e6d5a82a4581
7
+ data.tar.gz: 7fbcbdb0937103bdbe8dca600f942cd491680dcf835a9c69c7b2124b42daa66bb911543afee7cc0e31f05dcc1c0753cb6eda0706923926f58d061b794dfef90f
@@ -0,0 +1,6 @@
1
+ begin
2
+ require 'codeclimate-test-reporter'
3
+
4
+ CodeClimate::TestReporter.start
5
+ rescue LoadError
6
+ end
@@ -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
@@ -4,6 +4,7 @@
4
4
 
5
5
  begin
6
6
  require 'vcr'
7
+ require 'faraday'
7
8
 
8
9
  VCR.configure do |config|
9
10
  config.cassette_library_dir = File.expand_path('./tmp/vcr_cassettes')
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.19.0'
2
+ VERSION = '0.20.0'
3
3
  end
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.19.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-01 00:00:00.000000000 Z
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.0
127
+ rubygems_version: 2.2.2
126
128
  signing_key:
127
129
  specification_version: 4
128
130
  summary: RSpec Support And Matchers