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 +4 -4
- data/lib/rspectacular/plugins.rb +1 -0
- data/lib/rspectacular/plugins/mocks.rb +14 -0
- data/lib/rspectacular/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee20424406a9bb60139fdfb81dc894b9def142e5
|
4
|
+
data.tar.gz: d7a28f79c8fa983b12d2a6c031006832633f6918
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c2041dd3f7b486e9f3fb6016f5e5b02ff515dbfbf872cb0eef3cbd722c0a1f81422d02c3d4d09c2b0f10eb97fcbff3416d9db104f0b034c99ea06d07af0814b
|
7
|
+
data.tar.gz: 22c476a5e10509b1c268bb169165808124dc589d785331f1a5ee9b7d1efdfbf0861c1ae8e34d7b15248a11bf6e2d387cf48506e8181cd8c1be8f016f68215aeb
|
data/lib/rspectacular/plugins.rb
CHANGED
@@ -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
|
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.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-
|
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
|