xpage 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/xpage.rb +2 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 486c37e8e87fad28bf2368fec97eca19796a5978
|
|
4
|
+
data.tar.gz: 65c72e7ab65916a05a35323b2bbee23bbfab99a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd9fb6ead6ceb1527b4157d9f07b958125dcc3802105ca2a4139086c141dbe95b8e252c3d041b5a620d19ec867d5233605ac3c9f405e66840fa9f75e576cc865
|
|
7
|
+
data.tar.gz: 93812773efd7e8012c7d1cfd6e10083396b7f9f7da9ef38de62e6af69cef7f273b0367f5d36e0f5891e89ff6fa39c94f5114911dcdbb1d90dd9b981b93b26765
|
data/lib/xpage.rb
CHANGED
|
@@ -181,9 +181,6 @@ class Xpage
|
|
|
181
181
|
|
|
182
182
|
def method_missing(method, *args, &block)
|
|
183
183
|
method = method.to_s
|
|
184
|
-
p "method: " + method
|
|
185
|
-
@eval='raise "Method not found for: #{method}"'
|
|
186
|
-
|
|
187
184
|
if method[-11..-1]=='_displayed?'
|
|
188
185
|
extracted=method[0..-12]
|
|
189
186
|
@eval = "xpath_displayed? @#{extracted}"
|
|
@@ -199,11 +196,11 @@ class Xpage
|
|
|
199
196
|
elsif method[0..6]=="select_"
|
|
200
197
|
extracted=method[7..-1]
|
|
201
198
|
@eval = "select_xpath(@#{extracted},args[0])"
|
|
199
|
+
else
|
|
200
|
+
raise "Method not found for: #{method}"
|
|
202
201
|
end
|
|
203
202
|
|
|
204
|
-
p "@eval: " + @eval
|
|
205
203
|
eval @eval
|
|
206
204
|
|
|
207
205
|
end
|
|
208
|
-
|
|
209
206
|
end
|