rspec-rails 3.7.0 → 3.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rspec/rails/configuration.rb +8 -1
- data/lib/rspec/rails/example.rb +8 -1
- data/lib/rspec/rails/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 134de934c54b071d9874f83f007e2a5fadfa6742
|
4
|
+
data.tar.gz: ab43a49aaeb1cea0c31c853e510eb31658e6ac9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a41f1b6eb8e56b8761e3946eb78772c30ac4ab4b710e5f043dcae83b4d75c43e7894bc92e8de303cee3abab71ee6024dac1f08122d7d4fe7cea83919e01f89df
|
7
|
+
data.tar.gz: 595461c11fb2b7384ddf6611b1f5ec2aa26505b930976a97fb9c32f78e33e3c239b5a69559bae496033349503afdded19a2aa6b5bd54d218f928375fb4d07b92
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -51,7 +51,14 @@ module RSpec
|
|
51
51
|
config.include RSpec::Rails::Matchers
|
52
52
|
|
53
53
|
if ActionPack::VERSION::STRING >= "5.1"
|
54
|
-
|
54
|
+
begin
|
55
|
+
require 'puma'
|
56
|
+
require 'capybara'
|
57
|
+
config.include RSpec::Rails::SystemExampleGroup, :type => :system
|
58
|
+
# rubocop:disable Lint/HandleExceptions
|
59
|
+
rescue LoadError
|
60
|
+
# rubocop:enable Lint/HandleExceptions
|
61
|
+
end
|
55
62
|
end
|
56
63
|
end
|
57
64
|
|
data/lib/rspec/rails/example.rb
CHANGED
@@ -9,5 +9,12 @@ require 'rspec/rails/example/model_example_group'
|
|
9
9
|
require 'rspec/rails/example/job_example_group'
|
10
10
|
require 'rspec/rails/example/feature_example_group'
|
11
11
|
if ActionPack::VERSION::STRING >= "5.1"
|
12
|
-
|
12
|
+
begin
|
13
|
+
require 'puma'
|
14
|
+
require 'capybara'
|
15
|
+
require 'rspec/rails/example/system_example_group'
|
16
|
+
# rubocop:disable Lint/HandleExceptions
|
17
|
+
rescue LoadError
|
18
|
+
# rubocop:enable Lint/HandleExceptions
|
19
|
+
end
|
13
20
|
end
|
data/lib/rspec/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chelimsky
|
@@ -44,7 +44,7 @@ cert_chain:
|
|
44
44
|
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
|
45
45
|
F3MdtaDehhjC
|
46
46
|
-----END CERTIFICATE-----
|
47
|
-
date: 2017-10-
|
47
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
48
48
|
dependencies:
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: activesupport
|
metadata.gz.sig
CHANGED
Binary file
|