percy-selenium 1.1.0.pre.beta.1 → 1.1.0

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/lib/percy.rb +2 -1
  3. data/lib/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84e0ed534fb2da64081b19d4c0b13e837e4c8800d3ed12e61c4e827e80c94e70
4
- data.tar.gz: 8785427dd5e88ba487e55d14b3c0d634680737eee895971dd742e81efe7a3aca
3
+ metadata.gz: d48523c91451a5f498c95bec1c937d275052d7f9ff4c6810bfae131fb0c6c23f
4
+ data.tar.gz: f53f34f7cb9c9d100fcb9399cff0fe072b42eb27decd8cd87732b7331ccc3ebd
5
5
  SHA512:
6
- metadata.gz: d6d71138d3d1267f8924858ee6f94a6a9969e3ce5b4e377d0f484194c5b595e99124f74a24e30761c611a730ee78f08b8542b51870c74b1c90d318935bdf2352
7
- data.tar.gz: 9ece4fe3dd36379e07bc1024a3cc35aa005ab9fad3aedd42f26ed16e58b2bfee4445ce95adb71780a0cc2b3f38be2a519028d6c597ef7c16c911967809f15108
6
+ metadata.gz: a0c7281c379dbecca1437da9ad73eb86ba1da0114fa5f8f5effbe72703a4d5702e4eb74d6d210ab0be5d11a48c274f6169c8452099aa77c09090f354a3f043bf
7
+ data.tar.gz: 3f13093da87d137b2d47a86b25f46ae64d2d6681a5f2cab6531d6df1e6ee8b3878f8e29c160084efa95cde0f2a2f30efc49f95c22c87a054aac347def64521fd
data/lib/percy.rb CHANGED
@@ -46,7 +46,8 @@ module Percy
46
46
  end
47
47
 
48
48
  def self.get_browser_instance(driver)
49
- if driver.is_a?(Capybara::Session)
49
+ # this means it is a capybara session
50
+ if driver.respond_to?(:driver) && driver.driver.respond_to?(:browser)
50
51
  return driver.driver.browser.manage
51
52
  end
52
53
 
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Percy
2
- VERSION = '1.1.0-beta.1'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: percy-selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.pre.beta.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perceptual Inc.
@@ -145,9 +145,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
145
  version: 2.3.0
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  requirements:
148
- - - ">"
148
+ - - ">="
149
149
  - !ruby/object:Gem::Version
150
- version: 1.3.1
150
+ version: '0'
151
151
  requirements: []
152
152
  rubygems_version: 3.4.19
153
153
  signing_key: