site_prism-all_there 3.0.3 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +1 -1
- data/lib/site_prism/all_there/recursion_checker.rb +4 -4
- data/lib/site_prism/all_there/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7d1a45d659ff7df7495b609c0f8372052ee7c3332d823f56348d45d99f34955
|
4
|
+
data.tar.gz: f6b61b582028fa2e98f3d57ad61111421b58bef32df6d100d6ad2ae5fdcfe838
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ac29b9bd8771d1c0c54cd63826a9fa333b22365f70399d3eb15fffb92c271897ff77d6dabca455bab553c618ae5f7031785696a839035d8da7619538c638a57
|
7
|
+
data.tar.gz: 31af386230850a99827eac2dbb150770986a2196812a4ae413fb9fa616a4708d1f5a7d63ee2f4f307d057ebf3f24ddf5416f7424c94541a5541eccd05dfcbb7e
|
data/LICENSE.md
CHANGED
@@ -36,13 +36,13 @@ module SitePrism
|
|
36
36
|
|
37
37
|
def current_class_all_there?(**opts)
|
38
38
|
expected_items.array.flatten.all? { |name| there?(name, **opts) }.tap do |result|
|
39
|
-
SitePrism.logger.debug("Result of current_class_all_there
|
39
|
+
SitePrism.logger.debug("Result of current_class_all_there? for #{instance.class}: #{result}")
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
43
|
def section_classes_all_there?(**opts)
|
44
44
|
section_classes_to_check.all? { |section| section.all_there?(**opts) }.tap do |result|
|
45
|
-
SitePrism.logger.debug("Result of section_classes_all_there
|
45
|
+
SitePrism.logger.debug("Result of section_classes_all_there? for #{instance.class}: #{result}")
|
46
46
|
end
|
47
47
|
rescue Capybara::ElementNotFound
|
48
48
|
SitePrism.logger.error("Error whilst attempting to locate all section classes from within #{instance.class}")
|
@@ -51,7 +51,7 @@ module SitePrism
|
|
51
51
|
|
52
52
|
def sections_classes_all_there?(**opts)
|
53
53
|
sections_classes_to_check.flatten.all? { |section| section.all_there?(**opts) }.tap do |result|
|
54
|
-
SitePrism.logger.debug("Result of sections_classes_all_there
|
54
|
+
SitePrism.logger.debug("Result of sections_classes_all_there? for #{instance.class}: #{result}")
|
55
55
|
end
|
56
56
|
rescue Capybara::ElementNotFound
|
57
57
|
SitePrism.logger.error("Error whilst attempting to locate all sections (plural), classes from within #{instance.class}")
|
@@ -71,7 +71,7 @@ module SitePrism
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def there?(name, **opts)
|
74
|
-
instance.send("has_#{name}?", **opts)
|
74
|
+
instance.send(:"has_#{name}?", **opts)
|
75
75
|
end
|
76
76
|
end
|
77
77
|
end
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Hill
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -16,56 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.13'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.13'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.64.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.64.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-performance
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.21.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.21.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.31.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
68
|
+
version: 2.31.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: site_prism
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +123,7 @@ metadata:
|
|
123
123
|
bug_tracker_uri: https://github.com/site-prism/site_prism-all_there/issues
|
124
124
|
changelog_uri: https://github.com/site-prism/site_prism-all_there/blob/main/CHANGELOG.md
|
125
125
|
source_code_uri: https://github.com/site-prism/site_prism-all_there
|
126
|
-
post_install_message:
|
126
|
+
post_install_message:
|
127
127
|
rdoc_options: []
|
128
128
|
require_paths:
|
129
129
|
- lib
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubygems_version: 3.2.3
|
142
|
-
signing_key:
|
142
|
+
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: A SitePrism extension that allows you to recurse through your SitePrism Pages
|
145
145
|
or Sections
|