site_prism 5.0.3 → 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 -4
- data/lib/site_prism/version.rb +1 -1
- metadata +9 -9
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
|
@@ -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
|
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
|
@@ -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: 3.0
|
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: 3.0
|
157
|
+
version: 3.2.0
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
159
|
name: selenium-webdriver
|
160
160
|
requirement: !ruby/object:Gem::Requirement
|
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
248
|
- !ruby/object:Gem::Version
|
249
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
|