capybara 3.4.0 → 3.4.1

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: 354c57c570fb124607ab4255934f26bdb55b81716b846a2d76bb938ecae5d0c0
4
- data.tar.gz: 128b9ee025bcd0021bc7e966a57d96fc05b516bd8dcb29756f3206f8aef15d4f
3
+ metadata.gz: bc443391d5475d63631cf014a869483782fdd43b41be89913c516e5ff9962865
4
+ data.tar.gz: 481d818b0d7a349230ec9affd25f7b3e61154ae1c6f13814fe756487278dbcae
5
5
  SHA512:
6
- metadata.gz: c55429aed39e48dbe84375f0822e2f0f244e4572474a797a27e8f83bdf0fa3c8062ca91d6696aba1b54c228908385351c483598a9f44718529d7ad4139b0717c
7
- data.tar.gz: 8c61a46eb89183e28c4e0e7be76118ccecceb3383a6c7c37b2f9d7d0aa5efe5971146a97374146df09881a2fe0da94f58a89822cdb9e6d53b95f502782eb9106
6
+ metadata.gz: 2aa608506c11b767f734d012c2a9624b31165a00ad95e96632f023e8e5479203381efa7be8b9241769e5abd136416471f0025b54c5e16cbdad8b22239fbf0974
7
+ data.tar.gz: 9a867a64c8ce8b95c60c50398cd9ee1bb9dfaa683b3d630b72de79bb7c9aafb3f8d93131706ff598515fc84b4eb3fc0fa25928665f556eaf3117adbf1f7398c1
data/History.md CHANGED
@@ -1,3 +1,10 @@
1
+ # Version 3.4.1
2
+ Release date: 2018-07-20
3
+
4
+ ### Fixed
5
+
6
+ * `Session#evaluate_script` now strips the script in `Session` rather than only in the Selenium driver
7
+
1
8
  # Version 3.4.0
2
9
  Release date: 2018-07-19
3
10
 
@@ -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.strip}", *args)
102
+ result = execute_script("return #{script}", *args)
103
103
  unwrap_script_result(result)
104
104
  end
105
105
 
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Capybara
4
- VERSION = '3.4.0'
4
+ VERSION = '3.4.1'
5
5
  end
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.0
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-19 00:00:00.000000000 Z
13
+ date: 2018-07-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: addressable