watir-screenshot-stitch 0.6.4 → 0.6.5

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: ec597fbc318f4f4b357f607d3cdd753c4fc973bb1794d7291ef9276245fa304d
4
- data.tar.gz: e734c1078dff2892fd4cbb20a401e3a8d3dc20c10c9fdae413c2a3a16efa7022
3
+ metadata.gz: f07f47edb1870dd100e4a9d57aa967533aee97f2e19f5ba14afcb80dfb5c19b6
4
+ data.tar.gz: 154b57ebd2422ed32b6cd831fb78bdd3262b20f30effc74e529800ba7ab9137e
5
5
  SHA512:
6
- metadata.gz: a022f0eee18534cb7492195644d12b6555eaa62001e4d32b77ac6be979af8835f770321070bd6e6e30610b1b44ab4797dc06c5dd3a3819ae2d86ed22037b0fa7
7
- data.tar.gz: 6cc2f2a07fc8103535a9a8dc00783c9e808b718f3c148f95c90ed0134b1ddde01c9d9f1f583f0ef173ef582e58399c5bd5da15dc2a5b4a0d1694a21aa361e85e
6
+ metadata.gz: 9413b0fb0799c887fa5cd5fa74536ffed83cced52a9e8ce2ecb62d576df5828a18d4a7bc876e66f6722f97e6f384c10e3eaf8cba24a5a1b97bce011ad68b05eb
7
+ data.tar.gz: 8cfa1e3c257a0c37b60c6f4c3211b9f1c5d69cc40fe0ded93907ef9bb0c5a73ddedf6e4b5f161531f70e7512cb72712c3237e618d0f7ea6fe348e77924c1ee44
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- watir-screenshot-stitch (0.6.3)
4
+ watir-screenshot-stitch (0.6.4)
5
5
  binding_of_caller (~> 0.7)
6
6
  mini_magick (~> 4.0)
7
7
  os (~> 1.0)
@@ -78,6 +78,7 @@ module Watir
78
78
  end
79
79
 
80
80
  def bug_shot?
81
+ return false unless @browser&.name == :firefox
81
82
  calculate_dimensions unless @page_height
82
83
 
83
84
  image = MiniMagick::Image.read(Base64.decode64(self.base64))
@@ -1,4 +1,4 @@
1
1
  module WatirScreenshotStitch
2
2
  NAME = 'watir-screenshot-stitch'
3
- VERSION = "0.6.4"
3
+ VERSION = "0.6.5"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir-screenshot-stitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Nissen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-22 00:00:00.000000000 Z
11
+ date: 2018-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler