rspectacular 0.69.0 → 0.70.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: a50cdd7a83cab2b1d9b6eb4d6e239628dd25435b
4
- data.tar.gz: 7907b29d795c953ec41bd4ac031935345474c4de
3
+ metadata.gz: ee20424406a9bb60139fdfb81dc894b9def142e5
4
+ data.tar.gz: d7a28f79c8fa983b12d2a6c031006832633f6918
5
5
  SHA512:
6
- metadata.gz: 18d72fac78ecb436f51a7bc729f1b5e4f0014a7fa0b74189d6178e1f5c3608794e7e70d18a90a18b0e74f71da6774dd6e4bd82b6173f5853dc710a518ca83434
7
- data.tar.gz: 3024f156a617c45820a5da79634bee175cf22a16d8c6c3cf8bdfe0265fdfe566c8bfa48ae936bd69fd3fb9692c2ff669dcbbb72631de5952d953da4e7915754c
6
+ metadata.gz: 4c2041dd3f7b486e9f3fb6016f5e5b02ff515dbfbf872cb0eef3cbd722c0a1f81422d02c3d4d09c2b0f10eb97fcbff3416d9db104f0b034c99ea06d07af0814b
7
+ data.tar.gz: 22c476a5e10509b1c268bb169165808124dc589d785331f1a5ee9b7d1efdfbf0861c1ae8e34d7b15248a11bf6e2d387cf48506e8181cd8c1be8f016f68215aeb
@@ -10,6 +10,7 @@ require 'rspectacular/plugins/factory_girl'
10
10
  require 'rspectacular/plugins/fakeredis'
11
11
  require 'rspectacular/plugins/features'
12
12
  require 'rspectacular/plugins/omniauth'
13
+ require 'rspectacular/plugins/mocks'
13
14
  require 'rspectacular/plugins/rails/engine'
14
15
  require 'rspectacular/plugins/rails/strong_parameters'
15
16
  require 'rspectacular/plugins/recaptcha'
@@ -0,0 +1,14 @@
1
+ RSpec.configure do |config|
2
+ config.around(:each, verify: false) do |example|
3
+ verify_partial = RSpec::Mocks.configuration.instance_variable_get(:@verify_partial_doubles)
4
+ verify_constant = RSpec::Mocks.configuration.instance_variable_get(:@verify_doubled_constant_names)
5
+
6
+ RSpec::Mocks.configuration.verify_partial_doubles = example.metadata[:verify]
7
+ RSpec::Mocks.configuration.verify_doubled_constant_names = example.metadata[:verify]
8
+
9
+ example.run
10
+
11
+ RSpec::Mocks.configuration.verify_partial_doubles = verify_partial
12
+ RSpec::Mocks.configuration.verify_doubled_constant_names = verify_constant
13
+ end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module Rspectacular
2
- VERSION = '0.69.0'.freeze
2
+ VERSION = '0.70.0'.freeze
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.69.0
4
+ version: 0.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-28 00:00:00.000000000 Z
11
+ date: 2015-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -73,6 +73,7 @@ files:
73
73
  - lib/rspectacular/plugins/factory_girl.rb
74
74
  - lib/rspectacular/plugins/fakeredis.rb
75
75
  - lib/rspectacular/plugins/features.rb
76
+ - lib/rspectacular/plugins/mocks.rb
76
77
  - lib/rspectacular/plugins/omniauth.rb
77
78
  - lib/rspectacular/plugins/rails/engine.rb
78
79
  - lib/rspectacular/plugins/rails/strong_parameters.rb