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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47e7785c6388c7613a534756d0d7af51ce0f20cc5e31f3a46b881443db8baffb
4
- data.tar.gz: e01ae66ad3846d6123a234252691a2d3bc092bfab059c0d3d56bca2bdb683586
3
+ metadata.gz: 464deaadb27bdfd5e727ffc3bc64c0873c5fbaba559e09352be697870c51c4af
4
+ data.tar.gz: b35d7f8874d166bf2b02fa40ccfe6333b5350b7dc7038fb186f227576f831613
5
5
  SHA512:
6
- metadata.gz: 91c974dfb3f6f35f2504e80053a982a734d8dba78fff2815a6a462b1608db454693c4b74459b61ebcf09b42e196fdc3b966642f052fe667ba2b68cbf8056d6f2
7
- data.tar.gz: 1a9ae546cf703cd37be942ce6c66842171aa80b76bf3ac2266e6570d33e3822ce69f8cdbd7854da0ebfc1602af1c8f737845c72eb7382a0f3bc0dd1b216a9e2b
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, 'name (blacklisted entry)')
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 "Invalid DSL Names: #{blacklisted_names.join(', ')}"
89
- else "DSL Charset REGEX: #{regex_permission.inspect}"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SitePrism
4
- VERSION = '5.0.3'
4
+ VERSION = '5.1'
5
5
  end
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.0.3
4
+ version: '5.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Hill
8
- - Nat Ritmeyer
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-06-19 00:00:00.000000000 Z
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.32'
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.32'
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: '2'
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: '2'
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: '4.0'
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: '4.0'
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.12'
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.12'
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.64.0
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.64.0
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.21.0
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.21.0
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.1
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.1
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.2.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: []