capybara 3.35.1 → 3.35.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2913f83c980b16f28c90df040eea7a31502facb4d78a0dc9cd54a37e2faee9e7
4
- data.tar.gz: 105f72f39f609d3865a7414d8103ae0fd12f23b3f437d867994d395487eeaf55
3
+ metadata.gz: e707b56213a558121aec02091da3b9558d49231937d45c38dfaf80a2dd29b42c
4
+ data.tar.gz: c6fee456f607511bd5e2c2113f92100732c1bc317ad027f457bd762f66374f1d
5
5
  SHA512:
6
- metadata.gz: ec65b7e51aaf5df4fc9a3370deafd98ea35d20bc1aecd4d3349f6a64f7406f647bbdf632601c6a27db4846a6f68a32cf3c95e6d5d7a038c3fd2c48724c3a3e23
7
- data.tar.gz: 8a14863dae239561f674899ee7209ab54d02b1c7b3890aaf2d8cbeb8d3a349d341c7bb6a021aa85702aa7f885aa5e2602f1c64cefc488a4d2ea9f9dd86e7710f
6
+ metadata.gz: 03f2c85d4a433acc5ae479698b568c90069019fdde4386d7a304c48563ddb2fde06912ca158505734f92879206eb74fa96043e39f8f89c74e76f1a539ed4ae7a
7
+ data.tar.gz: aa26c8230d97e0716cb65fac45a660724430ea945a4292afeeba8ef7f49915b8aefb3eda0a592177c6bae8689debab283ea37a7594f01c46a0f453d4954cac54
data/History.md CHANGED
@@ -1,3 +1,10 @@
1
+ # Version 3.35.2
2
+ Release date: 2020-01-29
3
+
4
+ ### Fixed
5
+
6
+ * Selenium deprecation suppressor with Selenium 3.x
7
+
1
8
  # Version 3.35.1
2
9
  Release date: 2020-01-26
3
10
 
@@ -8,8 +8,14 @@ module Capybara
8
8
  super
9
9
  end
10
10
 
11
- def deprecate(*, **, &block)
12
- super unless @suppress_for_capybara
11
+ def deprecate(*args, **opts, &block)
12
+ return if @suppress_for_capybara
13
+
14
+ if opts.empty?
15
+ super(*args, &block) # support Selenium 3
16
+ else
17
+ super
18
+ end
13
19
  end
14
20
 
15
21
  def suppress_deprecations
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Capybara
4
- VERSION = '3.35.1'
4
+ VERSION = '3.35.2'
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.35.1
4
+ version: 3.35.2
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: 2021-01-26 00:00:00.000000000 Z
13
+ date: 2021-01-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: addressable
@@ -780,7 +780,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
780
780
  - !ruby/object:Gem::Version
781
781
  version: '0'
782
782
  requirements: []
783
- rubygems_version: 3.1.4
783
+ rubygems_version: 3.1.2
784
784
  signing_key:
785
785
  specification_version: 4
786
786
  summary: Capybara aims to simplify the process of integration testing Rack applications,