site_prism-all_there 3.0.3 → 3.0.4
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: 53286b9be483d5d1ecc944bb4a3a18a097a88987d92573f5ba6a69a328d5f026
|
4
|
+
data.tar.gz: 43ff06ddfa332e6ac640f22d429f64bc3713658d0262a9ae5283b7f77498c530
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 131f840da5fa40429421d17c0196fbfb452ba5b9a7f934b91f9f9e7818b1e7793cb6a6fdf387593163fa04634c4d24969730ba42969b053a978e9fb960bcc45e
|
7
|
+
data.tar.gz: 3a04752bcb3dc6735801b01a97fdd7dd773e3906d63d35d8a25d4b04047e980165395d924838ce0999698a706c37e5443cc31edb1f6f80f3f2f058933cbbe9aa
|
@@ -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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Hill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -30,42 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.61.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.61.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.26.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.26.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: site_prism
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|