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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/page_magic/session.rb +6 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cd51a69161a6e25593df1ee746057e38a23dbd5debcc5d22ea66cd0376df4c5
4
- data.tar.gz: aea97edeac9689e324e7077fcd208091b5704bd2efb2cc6d62b9980d2f9f15cd
3
+ metadata.gz: e7b8858f26d2ad1707e6794203ff6baa033d1dea8b37bb4e0eb157dd55a26acb
4
+ data.tar.gz: bfa7c58212c4b386157937d71938cd77d5ba3d44eb9efdd0d8aea386c1ce6da4
5
5
  SHA512:
6
- metadata.gz: 47914506ca6a1eaa24bacb0c83a0a8ff750bdf2a7a11bc5d3822218f75e9da0bca9a949b263d6beead2c549c740392ea431ff53bc1cc14cbae1b84b1426f8fea
7
- data.tar.gz: 2a4c5ae39523e8835321d53ab463ca9d20fe9fe3ec0ddf0b30fb22fbf11d201f2be0e7642c337c4d4f4e9fd19a7cedc64a89d45bbee363296a05b9ead5e0bb51
6
+ metadata.gz: 433e06325664275b12409149f505e9efa4d8fe92d6adf1d8bed0143ec01b40c55125f9b1bdf540500e235d907e8dabb27f2909151706c23517a8ee7ca5b33f99
7
+ data.tar.gz: 204bfd306301d0ab197206cac155a95bf7d9ac1442639f35c3570deb827b0b2259127f504477e06a0646a562d98d7eeba883441b328d6289c22331490bdceb2f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.5
1
+ 2.0.6
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: page_magic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Davis