true_automation 0.5.4 → 0.5.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18f3ddf74aa6ec0b2d308d4696bfc7a1157991876fc9a28d9e37b5b5ae28c038
4
- data.tar.gz: b76f40baa2268dc9d213a4f9d58681b19a4aa3db2b327cc828cdaafe98c08a8c
3
+ metadata.gz: bfbcc2e493c1522b04336e00792f54959faa29a725c782d0059a32cf278a10ea
4
+ data.tar.gz: d981ad6cfdf86e844fdf04df0ce1fd4dc9d318f06076d9d1585a46bdf20dbfdd
5
5
  SHA512:
6
- metadata.gz: 566fcc5ce2711a0529555f775b5f5269108207b836c60c69c20caadc9bf0f0268fd8ecaec1da41fa1a72738eb38e89547e4286e203be05358b532cbfebcaf6fb
7
- data.tar.gz: 39036bc4f154e7d37588fe386b390284c194514b194067cb263593de1e3a20dbc96cf2b750a69d661162bec6fd8841e30bab16f5ae4505987ef628092fe91f0e
6
+ metadata.gz: 587a9f58f8fd6d32e6ae6f703571c340816108df83a57a90a05708328c9f506673fe16a886c58ea8f1cb88b09751dd2e96a3fbea7b7bfb166be26ffdffa91a23
7
+ data.tar.gz: bb8a4aaf3cc04a103925ca51c82c2676d5d3b8e770ed0dd674c49c1f2e7b7095ae0c5cc5c79691c3944f8708aa5ee7af0aeedd148b1b61601d80b7f2d91cc39d
@@ -36,6 +36,31 @@ module Capybara
36
36
  end
37
37
  end
38
38
 
39
+ module Capybara
40
+ module Node
41
+ class Element < Base
42
+ def innerHTML=(value)
43
+ synchronize { base.innerHTML=(value) }
44
+ end
45
+ end
46
+ end
47
+ end
48
+
49
+ class Capybara::Selenium::Node < Capybara::Driver::Node
50
+ def innerHTML=(value)
51
+ driver.evaluate_script SET_INNER_HTML_SCRIPT, self, value
52
+ end
53
+
54
+ private
55
+
56
+ SET_INNER_HTML_SCRIPT = <<~'JS'
57
+ (function(el, val){
58
+ el.innerHTML = val;
59
+ return;
60
+ })(arguments[0], arguments[1])
61
+ JS
62
+ end
63
+
39
64
  module TrueAutomation
40
65
  class RecordNotFound < StandardError; end
41
66
 
@@ -1,3 +1,3 @@
1
1
  module TrueAutomation
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: true_automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - TrueAutomation.IO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-05 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -108,8 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubyforge_project:
112
- rubygems_version: 2.7.9
111
+ rubygems_version: 3.0.8
113
112
  signing_key:
114
113
  specification_version: 4
115
114
  summary: TrueAutomation.IO