page_magic 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/page_magic/session.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7b8858f26d2ad1707e6794203ff6baa033d1dea8b37bb4e0eb157dd55a26acb
|
4
|
+
data.tar.gz: bfa7c58212c4b386157937d71938cd77d5ba3d44eb9efdd0d8aea386c1ce6da4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 433e06325664275b12409149f505e9efa4d8fe92d6adf1d8bed0143ec01b40c55125f9b1bdf540500e235d907e8dabb27f2909151706c23517a8ee7ca5b33f99
|
7
|
+
data.tar.gz: 204bfd306301d0ab197206cac155a95bf7d9ac1442639f35c3570deb827b0b2259127f504477e06a0646a562d98d7eeba883441b328d6289c22331490bdceb2f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.6
|
data/lib/page_magic/session.rb
CHANGED
@@ -70,6 +70,12 @@ module PageMagic
|
|
70
70
|
super || current_page.respond_to?(*args) || raw_session.respond_to?(*args)
|
71
71
|
end
|
72
72
|
|
73
|
+
# calls select on directly on `Capybara::Session` this is to stop `Kernel#select` being the method
|
74
|
+
# called when using `#send` to call this method
|
75
|
+
def select(...)
|
76
|
+
raw_session.select(...)
|
77
|
+
end
|
78
|
+
|
73
79
|
# Direct the browser to the given page or url. {Session#current_page} will be set be an instance of the given/mapped
|
74
80
|
# page class
|
75
81
|
# @overload visit(page: page_object)
|