rspec-cells 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/rspec/cells/example_group.rb +12 -5
- data/lib/rspec/cells/version.rb +1 -1
- metadata +12 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 411fd1daa1989c9ad0017a8a01d3bf0089e7b7f194a44ac791ea85d97f4fc65b
|
4
|
+
data.tar.gz: 915dd9405bc42459a51d32d25222253c0094601118dd0c63de29a8445290574e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5beb40bbd81487169f095ac3f12d0ba3989633bb0832be2f58b23b8e6f3a092bdbce17c51dc502955ab62f7447cd647915ac125aa87bfabf41df9ae0a00c7c3e
|
7
|
+
data.tar.gz: fbae34565adfd293b82b2ad53b3355eac208b061f19610d31eb1b326b8f8eb0fbd7c8e32bfd52d8a2b98d7a0f49892471ab174c182b9c656987696fc31575c6c
|
data/CHANGES.md
CHANGED
@@ -9,12 +9,19 @@ module RSpec
|
|
9
9
|
|
10
10
|
attr_reader :routes
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7.0')
|
13
|
+
def method_missing(method, *args, **kwargs, &block)
|
14
|
+
# Send the route helpers to the application router.
|
15
|
+
return super unless route_defined?(method)
|
16
|
+
|
15
17
|
controller.send(method, *args, **kwargs, &block)
|
16
|
-
|
17
|
-
|
18
|
+
end
|
19
|
+
else
|
20
|
+
def method_missing(method, *args, &block)
|
21
|
+
# Send the route helpers to the application router.
|
22
|
+
return super unless route_defined?(method)
|
23
|
+
|
24
|
+
controller.send(method, *args, &block)
|
18
25
|
end
|
19
26
|
end
|
20
27
|
|
data/lib/rspec/cells/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-cells
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-rails
|
@@ -92,11 +92,11 @@ licenses:
|
|
92
92
|
metadata:
|
93
93
|
bug_tracker_uri: https://github.com/trailblazer/rspec-cells/issues
|
94
94
|
changelog_uri: https://github.com/trailblazer/rspec-cells/blob/master/CHANGES.md
|
95
|
-
documentation_uri: https://www.rubydoc.info/gems/rspec-cells/0.3.
|
95
|
+
documentation_uri: https://www.rubydoc.info/gems/rspec-cells/0.3.7
|
96
96
|
homepage_uri: https://github.com/trailblazer/rspec-cells
|
97
|
-
source_code_uri: https://github.com/trailblazer/rspec-cells/tree/v0.3.
|
97
|
+
source_code_uri: https://github.com/trailblazer/rspec-cells/tree/v0.3.7
|
98
98
|
wiki_uri: https://github.com/trailblazer/rspec-cells/wiki
|
99
|
-
post_install_message:
|
99
|
+
post_install_message:
|
100
100
|
rdoc_options: []
|
101
101
|
require_paths:
|
102
102
|
- lib
|
@@ -112,7 +112,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubygems_version: 3.0.8
|
115
|
-
signing_key:
|
115
|
+
signing_key:
|
116
116
|
specification_version: 4
|
117
117
|
summary: Spec your cells.
|
118
|
-
test_files:
|
118
|
+
test_files:
|
119
|
+
- spec/cells/caching_spec.rb
|
120
|
+
- spec/cells/cell_generator_spec.rb
|
121
|
+
- spec/cells/cell_spec_spec.rb
|
122
|
+
- spec/spec_helper.rb
|