booth 0.1.2 → 0.1.3
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/booth/testing/support/assert_partial.rb +1 -1
- data/lib/booth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b70ea613b3d742d06eb3d72d55ee00f8594b0660414180950d55c917f3689ce8
|
|
4
|
+
data.tar.gz: 2628fae3b7d5661c47f3a1845a55ad39075d243337026a0cd46f967c12503fa8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbf30a4604a7dfbb69c93af8391be069a682f5cf97f5c23b8a358ba83b87ba826016e2e6a6c3f577f6f2719c8da770c783d5251e26e748b64923e5e97c411589
|
|
7
|
+
data.tar.gz: 3bdef8e026ceb62f9835e85c0ad38a57cb2aa0f102ae030f4e748b670a1dd70ecfa9981f0a40e14f0411085c940b530c08fa786a45f4b032c9ba38635a707a43
|
data/CHANGELOG.md
CHANGED
|
@@ -54,7 +54,7 @@ module Booth
|
|
|
54
54
|
# Because doing this manually is very hard (would have to play through every scenario).
|
|
55
55
|
def take_screenshot
|
|
56
56
|
screenshot_dir.mkpath
|
|
57
|
-
path = screenshot_dir.join(partial.gsub(/[^a-zA-Z0-9._-]/, '_'))
|
|
57
|
+
path = screenshot_dir.join("#{partial.gsub(/[^a-zA-Z0-9._-]/, '_')}.png")
|
|
58
58
|
page.save_screenshot(path.to_s) # rubocop:disable Lint/Debugger
|
|
59
59
|
log { "Screenshot saved to `#{path}`" }
|
|
60
60
|
end
|
data/lib/booth/version.rb
CHANGED