site_prism-all_there 3.0.2 → 3.0.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e0562097f86ccaeffd216899538a48f25123108fd66bb760e39d5247fae8ad1
|
4
|
+
data.tar.gz: 9fec19d17ebd2201daa3b87de858f9e74b769e9615b8f39de8e1d236f160e6f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c4024c7536f4617dce1c87bb7f9a0b5dd3fd7818bc7a7ea351ef14bc8c95777cdf66a965975fd13a11170bf913ce553bdc0e7c03e014270a49967b142aef079
|
7
|
+
data.tar.gz: 93146440207f30dbec4d5a3805ff0d2afae04568662c83bb3146c216e0e3c0071d6b7d15c4cd003ad782ad53f521f818d9f3f67528bf582f8d415ca3124811c1
|
@@ -44,12 +44,18 @@ module SitePrism
|
|
44
44
|
section_classes_to_check.all? { |section| section.all_there?(**opts) }.tap do |result|
|
45
45
|
SitePrism.logger.debug("Result of section_classes_all_there?: #{result}")
|
46
46
|
end
|
47
|
+
rescue Capybara::ElementNotFound
|
48
|
+
SitePrism.logger.error("Error whilst attempting to locate all section classes from within #{instance.class}")
|
49
|
+
false
|
47
50
|
end
|
48
51
|
|
49
52
|
def sections_classes_all_there?(**opts)
|
50
53
|
sections_classes_to_check.flatten.all? { |section| section.all_there?(**opts) }.tap do |result|
|
51
54
|
SitePrism.logger.debug("Result of sections_classes_all_there?: #{result}")
|
52
55
|
end
|
56
|
+
rescue Capybara::ElementNotFound
|
57
|
+
SitePrism.logger.error("Error whilst attempting to locate all sections (plural), classes from within #{instance.class}")
|
58
|
+
false
|
53
59
|
end
|
54
60
|
|
55
61
|
def section_classes_to_check
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: site_prism-all_there
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Hill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.59.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.59.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|