puppeteer-ruby 0.45.0 → 0.45.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/docs/api_coverage.md +1 -1
- data/lib/puppeteer/page/screenshot_options.rb +4 -0
- data/lib/puppeteer/page.rb +2 -0
- data/lib/puppeteer/version.rb +1 -1
- data/puppeteer-ruby.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 412f52682f38ac6c222322326a469ea07d987975c7fe07196340b5f39fa5bdc6
|
4
|
+
data.tar.gz: 682a995b393142f31cc0199c94069f1181cab580382404ab5f94b646d53cf690
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44620fbfc70cb6ea47b27f858be327dd5c16d46a7978fc55c1fad1d5f8f04d051e3aeec0de64a633eaf6986373de1f336266ecbf190c72a098d728454e4ce279
|
7
|
+
data.tar.gz: 9fa7e97f996bd994ad7d2db77f9e2433dcc545fdcf90c1711495cf2270d6c9a41442c3abf5f852cca2bda353a9e971c3861cab96fa81ae288e2e7acedd0361dd
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
### main [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.45.
|
1
|
+
### main [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.45.1...main)]
|
2
|
+
|
3
|
+
### 0.45.1 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.45.0...0.45.1)]
|
4
|
+
|
5
|
+
Bugfix
|
6
|
+
|
7
|
+
- Fix screenshot `full_page` option
|
2
8
|
|
3
9
|
### 0.45.0 [[diff](https://github.com/YusukeIwaki/puppeteer-ruby/compare/0.44.3...0.45.0)]
|
4
10
|
|
data/docs/api_coverage.md
CHANGED
data/lib/puppeteer/page.rb
CHANGED
@@ -1095,6 +1095,8 @@ class Puppeteer::Page
|
|
1095
1095
|
deviceScaleFactor: @viewport&.device_scale_factor || 1,
|
1096
1096
|
screenOrientation: screen_orientation)
|
1097
1097
|
end
|
1098
|
+
elsif !clip
|
1099
|
+
screenshot_options.unset_capture_beyond_viewport!
|
1098
1100
|
end
|
1099
1101
|
|
1100
1102
|
should_set_default_background = screenshot_options.omit_background? && format == 'png'
|
data/lib/puppeteer/version.rb
CHANGED
data/puppeteer-ruby.gemspec
CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency 'rollbar'
|
33
33
|
spec.add_development_dependency 'rspec', '~> 3.12.0'
|
34
34
|
spec.add_development_dependency 'rspec_junit_formatter' # for CircleCI.
|
35
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
35
|
+
spec.add_development_dependency 'rubocop', '~> 1.43.0'
|
36
36
|
spec.add_development_dependency 'rubocop-rspec'
|
37
37
|
spec.add_development_dependency 'sinatra'
|
38
38
|
spec.add_development_dependency 'webrick'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppeteer-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.45.
|
4
|
+
version: 0.45.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YusukeIwaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.
|
173
|
+
version: 1.43.0
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
180
|
+
version: 1.43.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rubocop-rspec
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|