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: 33024a0bca4f826f2c6c4fe20c6d8d7e9fe744b060b71bfb9f92b8ee99563127
4
- data.tar.gz: '097bc01284677214c5adeee702b90f31b26240446520e838f87c295e220eddd6'
3
+ metadata.gz: cd3adf5658d59ec5e3c12edc3b0cbe74803d1aee6fbe58786672f2692eb4424d
4
+ data.tar.gz: e4a6840918f1d719be82c7217fb4fbdbc018a34ab1680ff0e463343222097f5d
5
5
  SHA512:
6
- metadata.gz: cd4bd68c1234dccd18df205d029722dec9ee862f614af686e0823d13c345ad6ce6194ccb4bdc4a4cd7fa28c6f05b2daa59651d47314c7e0c05b135acaa8eaf11
7
- data.tar.gz: 683c78838871e5175676bbac26a02d14a7ade33f4e70a4fa6f9074e9ea634697989e09fc7d8b086bcb5c0d56b142f837a6d79644e1e6fbe10e2ff0b1df4f2905
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 cache
17
- cache_ttl cache_key storage_mode storage_endpoint storage_bucket storage_region
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)
@@ -60,7 +60,8 @@ module ScreenshotScout
60
60
  module CapturePdfPaperFormat
61
61
  A3 = "a3"
62
62
  A4 = "a4"
63
- CONTENT = "content"
63
+ A5 = "a5"
64
+ A6 = "a6"
64
65
  LEGAL = "legal"
65
66
  LETTER = "letter"
66
67
  TABLOID = "tabloid"
@@ -67,6 +67,7 @@ module ScreenshotScout
67
67
  pdf_margin_bottom: "pdf_margin_bottom",
68
68
  pdf_margin_left: "pdf_margin_left",
69
69
  pdf_scale: "pdf_scale",
70
+ pdf_page_ranges: "pdf_page_ranges",
70
71
  cache: "cache",
71
72
  cache_ttl: "cache_ttl",
72
73
  cache_key: "cache_key",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ScreenshotScout
4
- VERSION = "0.1.0.rc1"
4
+ VERSION = "0.3.0"
5
5
  end
@@ -64,7 +64,8 @@ module ScreenshotScout
64
64
  module CapturePdfPaperFormat
65
65
  A3: String
66
66
  A4: String
67
- CONTENT: String
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.1.0.rc1
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: A small, manually written Ruby client for Screenshot Scout.
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: []