site_prism 5.0.3 → 5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/site_prism/dsl/validator.rb +4 -4
- data/lib/site_prism/element_checker.rb +2 -2
- data/lib/site_prism/version.rb +1 -1
- metadata +20 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 464deaadb27bdfd5e727ffc3bc64c0873c5fbaba559e09352be697870c51c4af
|
4
|
+
data.tar.gz: b35d7f8874d166bf2b02fa40ccfe6333b5350b7dc7038fb186f227576f831613
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67e4f0b36532f757427beef18941bcf70591642d00d2646aacee32b3c07cba5f4346478dcd2bf9125ea18963c21d55b2a26a36fd6f21305aa8a7ea230014ddd4
|
7
|
+
data.tar.gz: eba42894783d6ff56d193e3dd06cc2c769133b74c387e84716dfca1da429f1d3ce7948287c751add2db43f449693be31fb6c0c60a89bc01c38300f90a3c44a70
|
@@ -42,7 +42,7 @@ module SitePrism
|
|
42
42
|
def blacklisted?(name)
|
43
43
|
return false unless blacklisted_names.include?(name)
|
44
44
|
|
45
|
-
log_failure(name,
|
45
|
+
log_failure(name, "name (#{name} is a blacklisted entry)")
|
46
46
|
end
|
47
47
|
|
48
48
|
def regex_permission
|
@@ -77,7 +77,7 @@ module SitePrism
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def log_failure(name, type)
|
80
|
-
self.dsl_name_error = "DSL item: #{name} is invalid. Issue: #{type}"
|
80
|
+
self.dsl_name_error = "DSL item: '#{name}' is invalid. Issue: #{type}"
|
81
81
|
SitePrism.logger.debug(debug_error(type))
|
82
82
|
end
|
83
83
|
|
@@ -85,8 +85,8 @@ module SitePrism
|
|
85
85
|
case type
|
86
86
|
when 'prefix'; then "Invalid Prefixes: #{prefix_blacklist.join(', ')}."
|
87
87
|
when 'suffix'; then "Invalid Suffixes: #{suffix_blacklist.join(', ')}"
|
88
|
-
when 'character(s)'; then "
|
89
|
-
else "DSL
|
88
|
+
when 'character(s)'; then "DSL Charset REGEX: #{regex_permission.inspect}"
|
89
|
+
else "Invalid DSL Names: #{blacklisted_names.join(', ')}"
|
90
90
|
end
|
91
91
|
end
|
92
92
|
end
|
@@ -31,8 +31,8 @@ module SitePrism
|
|
31
31
|
# Default: 'none' => Perform no recursion when calling #all_there?
|
32
32
|
# Override: 'one' => Perform one recursive dive into all section/sections
|
33
33
|
# items and call #all_there? on all of those items too.
|
34
|
-
def all_there?(recursion: :none)
|
35
|
-
SitePrism::AllThere::RecursionChecker.new(self).all_there?(recursion: recursion)
|
34
|
+
def all_there?(recursion: :none, options: { wait: 0 })
|
35
|
+
SitePrism::AllThere::RecursionChecker.new(self).all_there?(recursion: recursion, options: options)
|
36
36
|
end
|
37
37
|
|
38
38
|
# Returns each element that is currently present inside the scope being tested
|
data/lib/site_prism/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: site_prism
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: '5.1'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Hill
|
8
|
-
|
9
|
-
autorequire:
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: addressable
|
@@ -37,21 +36,21 @@ dependencies:
|
|
37
36
|
requirements:
|
38
37
|
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
39
|
+
version: '3.34'
|
41
40
|
type: :runtime
|
42
41
|
prerelease: false
|
43
42
|
version_requirements: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
44
|
- - "~>"
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
46
|
+
version: '3.34'
|
48
47
|
- !ruby/object:Gem::Dependency
|
49
48
|
name: site_prism-all_there
|
50
49
|
requirement: !ruby/object:Gem::Requirement
|
51
50
|
requirements:
|
52
51
|
- - ">"
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
53
|
+
version: '3'
|
55
54
|
- - "<"
|
56
55
|
- !ruby/object:Gem::Version
|
57
56
|
version: '5'
|
@@ -61,7 +60,7 @@ dependencies:
|
|
61
60
|
requirements:
|
62
61
|
- - ">"
|
63
62
|
- !ruby/object:Gem::Version
|
64
|
-
version: '
|
63
|
+
version: '3'
|
65
64
|
- - "<"
|
66
65
|
- !ruby/object:Gem::Version
|
67
66
|
version: '5'
|
@@ -71,14 +70,14 @@ dependencies:
|
|
71
70
|
requirements:
|
72
71
|
- - "~>"
|
73
72
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
73
|
+
version: '5.0'
|
75
74
|
type: :development
|
76
75
|
prerelease: false
|
77
76
|
version_requirements: !ruby/object:Gem::Requirement
|
78
77
|
requirements:
|
79
78
|
- - "~>"
|
80
79
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
80
|
+
version: '5.0'
|
82
81
|
- !ruby/object:Gem::Dependency
|
83
82
|
name: cucumber
|
84
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,56 +104,56 @@ dependencies:
|
|
105
104
|
requirements:
|
106
105
|
- - "~>"
|
107
106
|
- !ruby/object:Gem::Version
|
108
|
-
version: '3.
|
107
|
+
version: '3.13'
|
109
108
|
type: :development
|
110
109
|
prerelease: false
|
111
110
|
version_requirements: !ruby/object:Gem::Requirement
|
112
111
|
requirements:
|
113
112
|
- - "~>"
|
114
113
|
- !ruby/object:Gem::Version
|
115
|
-
version: '3.
|
114
|
+
version: '3.13'
|
116
115
|
- !ruby/object:Gem::Dependency
|
117
116
|
name: rubocop
|
118
117
|
requirement: !ruby/object:Gem::Requirement
|
119
118
|
requirements:
|
120
119
|
- - "~>"
|
121
120
|
- !ruby/object:Gem::Version
|
122
|
-
version: 1.
|
121
|
+
version: 1.69.0
|
123
122
|
type: :development
|
124
123
|
prerelease: false
|
125
124
|
version_requirements: !ruby/object:Gem::Requirement
|
126
125
|
requirements:
|
127
126
|
- - "~>"
|
128
127
|
- !ruby/object:Gem::Version
|
129
|
-
version: 1.
|
128
|
+
version: 1.69.0
|
130
129
|
- !ruby/object:Gem::Dependency
|
131
130
|
name: rubocop-performance
|
132
131
|
requirement: !ruby/object:Gem::Requirement
|
133
132
|
requirements:
|
134
133
|
- - "~>"
|
135
134
|
- !ruby/object:Gem::Version
|
136
|
-
version: 1.
|
135
|
+
version: 1.23.0
|
137
136
|
type: :development
|
138
137
|
prerelease: false
|
139
138
|
version_requirements: !ruby/object:Gem::Requirement
|
140
139
|
requirements:
|
141
140
|
- - "~>"
|
142
141
|
- !ruby/object:Gem::Version
|
143
|
-
version: 1.
|
142
|
+
version: 1.23.0
|
144
143
|
- !ruby/object:Gem::Dependency
|
145
144
|
name: rubocop-rspec
|
146
145
|
requirement: !ruby/object:Gem::Requirement
|
147
146
|
requirements:
|
148
147
|
- - "~>"
|
149
148
|
- !ruby/object:Gem::Version
|
150
|
-
version: 3.0
|
149
|
+
version: 3.3.0
|
151
150
|
type: :development
|
152
151
|
prerelease: false
|
153
152
|
version_requirements: !ruby/object:Gem::Requirement
|
154
153
|
requirements:
|
155
154
|
- - "~>"
|
156
155
|
- !ruby/object:Gem::Version
|
157
|
-
version: 3.0
|
156
|
+
version: 3.3.0
|
158
157
|
- !ruby/object:Gem::Dependency
|
159
158
|
name: selenium-webdriver
|
160
159
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,7 +200,6 @@ description: SitePrism gives you a simple, clean and semantic DSL for describing
|
|
201
200
|
site. SitePrism implements the Page Object Model pattern on top of Capybara.
|
202
201
|
email:
|
203
202
|
- lukehill_uk@hotmail.com
|
204
|
-
- nat@natontesting.com
|
205
203
|
executables: []
|
206
204
|
extensions: []
|
207
205
|
extra_rdoc_files: []
|
@@ -233,7 +231,7 @@ metadata:
|
|
233
231
|
bug_tracker_uri: https://github.com/site-prism/site_prism/issues
|
234
232
|
changelog_uri: https://github.com/site-prism/site_prism/blob/main/CHANGELOG.md
|
235
233
|
source_code_uri: https://github.com/site-prism/site_prism
|
236
|
-
post_install_message:
|
234
|
+
post_install_message:
|
237
235
|
rdoc_options: []
|
238
236
|
require_paths:
|
239
237
|
- lib
|
@@ -248,8 +246,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
246
|
- !ruby/object:Gem::Version
|
249
247
|
version: 3.2.3
|
250
248
|
requirements: []
|
251
|
-
rubygems_version: 3.
|
252
|
-
signing_key:
|
249
|
+
rubygems_version: 3.5.22
|
250
|
+
signing_key:
|
253
251
|
specification_version: 4
|
254
252
|
summary: A Page Object Model DSL for Capybara
|
255
253
|
test_files: []
|