capybara 3.4.0 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +7 -0
- data/lib/capybara/selenium/driver.rb +1 -1
- data/lib/capybara/session.rb +1 -1
- data/lib/capybara/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc443391d5475d63631cf014a869483782fdd43b41be89913c516e5ff9962865
|
4
|
+
data.tar.gz: 481d818b0d7a349230ec9affd25f7b3e61154ae1c6f13814fe756487278dbcae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2aa608506c11b767f734d012c2a9624b31165a00ad95e96632f023e8e5479203381efa7be8b9241769e5abd136416471f0025b54c5e16cbdad8b22239fbf0974
|
7
|
+
data.tar.gz: 9a867a64c8ce8b95c60c50398cd9ee1bb9dfaa683b3d630b72de79bb7c9aafb3f8d93131706ff598515fc84b4eb3fc0fa25928665f556eaf3117adbf1f7398c1
|
data/History.md
CHANGED
@@ -99,7 +99,7 @@ class Capybara::Selenium::Driver < Capybara::Driver::Base
|
|
99
99
|
end
|
100
100
|
|
101
101
|
def evaluate_script(script, *args)
|
102
|
-
result = execute_script("return #{script
|
102
|
+
result = execute_script("return #{script}", *args)
|
103
103
|
unwrap_script_result(result)
|
104
104
|
end
|
105
105
|
|
data/lib/capybara/session.rb
CHANGED
@@ -580,7 +580,7 @@ module Capybara
|
|
580
580
|
#
|
581
581
|
def evaluate_script(script, *args)
|
582
582
|
@touched = true
|
583
|
-
result = driver.evaluate_script(script, *driver_args(args))
|
583
|
+
result = driver.evaluate_script(script.strip, *driver_args(args))
|
584
584
|
element_script_result(result)
|
585
585
|
end
|
586
586
|
|
data/lib/capybara/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Walpole
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain:
|
12
12
|
- gem-public_cert.pem
|
13
|
-
date: 2018-07-
|
13
|
+
date: 2018-07-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: addressable
|