site_prism 5.0.2 → 5.0.4
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 -5
- data/lib/site_prism/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62cde553e2eb4a5b88ee17408422c52b30740b1aaee2e20caf55c747aa9e0572
|
4
|
+
data.tar.gz: 219d825ea938892d1eef72dbf921d54e8c79cf64c58747560ff029cce5728c3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55353667d40f32a552b7e61b138855db3a42e6333b13322a81c2219c13ce244a3fa87ad77b2ee8d82106eac525a219394251ada53af57ca04dac3c798fc94d1f
|
7
|
+
data.tar.gz: 866e9c5c65a8ec8e9a5e276813bfca6b989445553d7f97b3751566ebf821b8998827cf0964cff25610e0f3ddd3d7d183dace6989186275ddd887e7bb3bf37205
|
@@ -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
|
@@ -67,7 +67,6 @@ module SitePrism
|
|
67
67
|
%w[
|
68
68
|
attributes
|
69
69
|
html
|
70
|
-
no
|
71
70
|
title
|
72
71
|
element
|
73
72
|
elements
|
@@ -78,7 +77,7 @@ module SitePrism
|
|
78
77
|
end
|
79
78
|
|
80
79
|
def log_failure(name, type)
|
81
|
-
self.dsl_name_error = "DSL item: #{name}
|
80
|
+
self.dsl_name_error = "DSL item: '#{name}' is invalid. Issue: #{type}"
|
82
81
|
SitePrism.logger.debug(debug_error(type))
|
83
82
|
end
|
84
83
|
|
@@ -86,8 +85,8 @@ module SitePrism
|
|
86
85
|
case type
|
87
86
|
when 'prefix'; then "Invalid Prefixes: #{prefix_blacklist.join(', ')}."
|
88
87
|
when 'suffix'; then "Invalid Suffixes: #{suffix_blacklist.join(', ')}"
|
89
|
-
when 'character(s)'; then "
|
90
|
-
else "DSL
|
88
|
+
when 'character(s)'; then "DSL Charset REGEX: #{regex_permission.inspect}"
|
89
|
+
else "Invalid DSL Names: #{blacklisted_names.join(', ')}"
|
91
90
|
end
|
92
91
|
end
|
93
92
|
end
|
data/lib/site_prism/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: site_prism
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Hill
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-11-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: '2.8'
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.8.
|
23
|
+
version: 2.8.4
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,21 +30,21 @@ dependencies:
|
|
30
30
|
version: '2.8'
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.8.
|
33
|
+
version: 2.8.4
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: capybara
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
40
|
+
version: '3.32'
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
47
|
+
version: '3.32'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: site_prism-all_there
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,42 +119,42 @@ dependencies:
|
|
119
119
|
requirements:
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: 1.
|
122
|
+
version: 1.68.0
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
125
|
version_requirements: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
127
|
- - "~>"
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version: 1.
|
129
|
+
version: 1.68.0
|
130
130
|
- !ruby/object:Gem::Dependency
|
131
131
|
name: rubocop-performance
|
132
132
|
requirement: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
134
|
- - "~>"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: 1.
|
136
|
+
version: 1.23.0
|
137
137
|
type: :development
|
138
138
|
prerelease: false
|
139
139
|
version_requirements: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
141
|
- - "~>"
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
version: 1.
|
143
|
+
version: 1.23.0
|
144
144
|
- !ruby/object:Gem::Dependency
|
145
145
|
name: rubocop-rspec
|
146
146
|
requirement: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
148
|
- - "~>"
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version: 2.
|
150
|
+
version: 3.2.0
|
151
151
|
type: :development
|
152
152
|
prerelease: false
|
153
153
|
version_requirements: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
155
|
- - "~>"
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 2.
|
157
|
+
version: 3.2.0
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
159
|
name: selenium-webdriver
|
160
160
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,9 +246,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
246
246
|
requirements:
|
247
247
|
- - ">="
|
248
248
|
- !ruby/object:Gem::Version
|
249
|
-
version:
|
249
|
+
version: 3.2.3
|
250
250
|
requirements: []
|
251
|
-
rubygems_version: 3.
|
251
|
+
rubygems_version: 3.5.22
|
252
252
|
signing_key:
|
253
253
|
specification_version: 4
|
254
254
|
summary: A Page Object Model DSL for Capybara
|