screenshotscout 0.1.0.rc1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd3adf5658d59ec5e3c12edc3b0cbe74803d1aee6fbe58786672f2692eb4424d
|
|
4
|
+
data.tar.gz: e4a6840918f1d719be82c7217fb4fbdbc018a34ab1680ff0e463343222097f5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5df1b40ef5da9932e68bf8e5d0a6e8d743c9efa251c59abba8ab9e21af1b5428477dd8154741bc7c2b457f3eb1e256c542b717de40d21d4d2aa49821c9c0b56
|
|
7
|
+
data.tar.gz: 0335a8cb2be523fdcda670fd44e3a376b45c2f154459594e4e8223dd314c9151977cc6d6a1e3aec2b319e6065ce3e746a0e2f46e74421ee2818e87f0fa89838c
|
data/README.md
CHANGED
|
@@ -155,7 +155,7 @@ capture:
|
|
|
155
155
|
- DOM changes: `hide_selectors`, `click_selectors`, `click_all_selectors`, `inject_css`, `inject_js`, `bypass_csp`
|
|
156
156
|
- Framing: `selector`, `clip_x`, `clip_y`, `clip_width`, `clip_height`
|
|
157
157
|
- Image output: `image_width`, `image_height`, `image_mode`, `image_anchor`, `image_allow_upscale`, `image_background`, `image_quality`
|
|
158
|
-
- PDF: `pdf_paper_format`, `pdf_landscape`, `pdf_print_background`, `pdf_margin`, `pdf_margin_top`, `pdf_margin_right`, `pdf_margin_bottom`, `pdf_margin_left`, `pdf_scale`
|
|
158
|
+
- PDF: `pdf_paper_format`, `pdf_landscape`, `pdf_print_background`, `pdf_margin`, `pdf_margin_top`, `pdf_margin_right`, `pdf_margin_bottom`, `pdf_margin_left`, `pdf_scale`, `pdf_page_ranges`
|
|
159
159
|
- Caching: `cache`, `cache_ttl`, `cache_key`
|
|
160
160
|
- Storage: `storage_mode`, `storage_endpoint`, `storage_bucket`, `storage_region`, `storage_object_key`
|
|
161
161
|
|
|
@@ -13,9 +13,9 @@ module ScreenshotScout
|
|
|
13
13
|
click_selectors click_all_selectors inject_css inject_js bypass_csp selector clip_x clip_y
|
|
14
14
|
clip_width clip_height image_width image_height image_mode image_anchor image_allow_upscale
|
|
15
15
|
image_background image_quality pdf_paper_format pdf_landscape pdf_print_background
|
|
16
|
-
pdf_margin pdf_margin_top pdf_margin_right pdf_margin_bottom pdf_margin_left pdf_scale
|
|
17
|
-
cache_ttl cache_key storage_mode storage_endpoint storage_bucket
|
|
18
|
-
storage_object_key
|
|
16
|
+
pdf_margin pdf_margin_top pdf_margin_right pdf_margin_bottom pdf_margin_left pdf_scale
|
|
17
|
+
pdf_page_ranges cache cache_ttl cache_key storage_mode storage_endpoint storage_bucket
|
|
18
|
+
storage_region storage_object_key
|
|
19
19
|
].freeze
|
|
20
20
|
|
|
21
21
|
attr_reader(*ATTRIBUTE_NAMES)
|
data/sig/screenshotscout.rbs
CHANGED
|
@@ -64,7 +64,8 @@ module ScreenshotScout
|
|
|
64
64
|
module CapturePdfPaperFormat
|
|
65
65
|
A3: String
|
|
66
66
|
A4: String
|
|
67
|
-
|
|
67
|
+
A5: String
|
|
68
|
+
A6: String
|
|
68
69
|
LEGAL: String
|
|
69
70
|
LETTER: String
|
|
70
71
|
TABLOID: String
|
|
@@ -135,6 +136,7 @@ module ScreenshotScout
|
|
|
135
136
|
attr_reader pdf_margin_bottom: String?
|
|
136
137
|
attr_reader pdf_margin_left: String?
|
|
137
138
|
attr_reader pdf_scale: number?
|
|
139
|
+
attr_reader pdf_page_ranges: String?
|
|
138
140
|
attr_reader cache: bool?
|
|
139
141
|
attr_reader cache_ttl: Integer?
|
|
140
142
|
attr_reader cache_key: String?
|
|
@@ -204,6 +206,7 @@ module ScreenshotScout
|
|
|
204
206
|
?pdf_margin_bottom: String?,
|
|
205
207
|
?pdf_margin_left: String?,
|
|
206
208
|
?pdf_scale: number?,
|
|
209
|
+
?pdf_page_ranges: String?,
|
|
207
210
|
?cache: bool?,
|
|
208
211
|
?cache_ttl: Integer?,
|
|
209
212
|
?cache_key: String?,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: screenshotscout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Oleksii Velykyi
|
|
@@ -65,7 +65,8 @@ dependencies:
|
|
|
65
65
|
- - "~>"
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
67
|
version: '1.88'
|
|
68
|
-
description:
|
|
68
|
+
description: Capture clean, production-ready website screenshots from Ruby applications
|
|
69
|
+
with the official Screenshot Scout SDK.
|
|
69
70
|
executables: []
|
|
70
71
|
extensions: []
|
|
71
72
|
extra_rdoc_files: []
|