watir-screenshot-stitch 0.7.4 → 0.7.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: adaad65e17883bc1bd5f9b7a05e9528a5c0bd732a7c3684905629d9ed398660e
4
- data.tar.gz: bfd6668b82eda083a0a4fa0b08b3f512c5455b712f7a99db4dc4777f5122df30
3
+ metadata.gz: 8d42f5b829d5f32b2a1e9a6a8584568e514a106098062ca6e543c9b918282414
4
+ data.tar.gz: ad58d948a08a88f4193b5dc8c5b561b9ce6d62da98c26555c4001a291cd63140
5
5
  SHA512:
6
- metadata.gz: 864f883e66f464dff46e91a79917a7cdd4e234e3893b15277ce2ab5f6f0fbf5cc8d038380e4dba2bf79f38846a09f6f340939761f8b2c9ddc485fbeaba06540c
7
- data.tar.gz: b711cd36eefc07ffb408ecbac0e42670b8c2ffdebca7dfe7a94afe5c65b581cbdbc7d1a53a7c176899c903a8ee04e14b1a0e37e292bc6f064219bd5502fd5b32
6
+ metadata.gz: 3b2a5333d6d2909f1d2d7eaf749c3badfb48e5130a728b416dfa44b92685176bf58b527f0af06f0db4332af7f9d958178dc9aecb3f2de3fab3a96a33dc45aa8a
7
+ data.tar.gz: eee00e63702ec36baddad298c8bb8136369b46b1665f6f02d6511c82c6b1002544e879b4c0eea800dd30758d315d9d127e55af41cb7a796094e5833d91d09ec5
@@ -239,7 +239,7 @@ module Watir
239
239
  def build_canvas
240
240
  @start = MiniMagick::Image.read(Base64.decode64(self.base64))
241
241
  @combined_screenshot = MiniMagick::Image.new(@path)
242
- @combined_screenshot.run_command(:convert, "-size", "#{ @start.width }x#{ @page_height*@mac_factor }", "xc:white", @combined_screenshot.path)
242
+ @combined_screenshot.run_command(:convert, "-size", "#{ @start.width }x#{ @page_height*@mac_factor }", "xc:white", "-define", "png:color-type=6", @combined_screenshot.path)
243
243
  end
244
244
 
245
245
  def gather_slices
@@ -1,4 +1,4 @@
1
1
  module WatirScreenshotStitch
2
2
  NAME = 'watir-screenshot-stitch'
3
- VERSION = "0.7.4"
3
+ VERSION = "0.7.5"
4
4
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir-screenshot-stitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Nissen
8
8
  - Sandeep Singh
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-06-26 00:00:00.000000000 Z
12
+ date: 2020-10-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -137,7 +137,7 @@ dependencies:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0.7'
140
- description:
140
+ description:
141
141
  email:
142
142
  - scnissen@gmail.com
143
143
  - sandeepnagra@gmail.com
@@ -164,7 +164,7 @@ homepage: https://github.com/samnissen/watir-screenshot-stitch
164
164
  licenses:
165
165
  - MIT
166
166
  metadata: {}
167
- post_install_message:
167
+ post_install_message:
168
168
  rdoc_options: []
169
169
  require_paths:
170
170
  - lib
@@ -179,9 +179,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  requirements: []
182
- rubyforge_project:
183
- rubygems_version: 2.7.8
184
- signing_key:
182
+ rubygems_version: 3.1.2
183
+ signing_key:
185
184
  specification_version: 4
186
185
  summary: Extends Watir to take stitched-together screenshots of full web pages.
187
186
  test_files: []