shutterbug 0.5.3 → 0.5.4
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 +8 -8
- data/README.md +9 -0
- data/lib/shutterbug.rb +1 -1
- data/lib/shutterbug/phantom_job.rb +2 -2
- data/lib/shutterbug/rasterize.js +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MzU4MGE0MGI2N2VkZjE5N2U4MGFmMTAyN2FiNGQ1OWJjOGUxMDMxNA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
OGIxYzNmYjNhZDhjNDI2MmE2NWEwYmI2OWY2MTEzYjllNzAxZmEyYw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MDc2YWQ3MmRiMmZlMzZiOTM2YmRlZmQ0ZWZlOTIzMzllMThmOGJmMDhmYzc5
|
|
10
|
+
MzUwODYwNDIyMmRjYmMyMzU1OWE2ODJlZDRhZmZkMzk3YTQyNTRkZTA1NGRh
|
|
11
|
+
ZTdjNGZjZGZkODE1YTkxMTc2MGEzMWE0MjgzOTM0NTE4YjhjYzk=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MGZhNzI1MTQxMjg5YWZjMWQ3MGNjODNjMzlkOGJjOGYwZWY3MGMyODBhZTc3
|
|
14
|
+
YzYzNjMxNWZmNzcxMWUxMzFhYjU1MDAyYzE1YTMyYmIxNzE3YTBhNDkyOTZi
|
|
15
|
+
ZWM3NGQ0MDA1YTRmOWJlMmM2ZTMwYjU4YTQ2ZjFjMmQ4OTZkZWU=
|
data/README.md
CHANGED
|
@@ -91,6 +91,15 @@ And a Procfile which looks like this:
|
|
|
91
91
|
|
|
92
92
|
## Changes ##
|
|
93
93
|
|
|
94
|
+
* August 14, 2015 – v 0.5.4
|
|
95
|
+
* Fix single quote encoding issue in phantom_job.rb. DM:
|
|
96
|
+
> Phantom's html entity decoder borks on single quotes when you have an
|
|
97
|
+
encoded block with single quotes embedded in another encoded block with
|
|
98
|
+
single quotes. The decoder will decode correctly up to the first single quote
|
|
99
|
+
but then will leave the rest of the string encoded. If the single quotes are
|
|
100
|
+
changed to double quotes then they are properly encoded within the enclosing
|
|
101
|
+
block.
|
|
102
|
+
|
|
94
103
|
* June 4, 2105 – v 0.5.3
|
|
95
104
|
* `Rasterize.js`: Also loads non-base64 encoded iframe src content when walking
|
|
96
105
|
the iFrames. Also, better mechanics for waiting for page rendering.
|
data/lib/shutterbug.rb
CHANGED
|
@@ -50,8 +50,8 @@ module Shutterbug
|
|
|
50
50
|
<!DOCTYPE html>
|
|
51
51
|
<html>
|
|
52
52
|
<head>
|
|
53
|
-
<base href
|
|
54
|
-
<meta content
|
|
53
|
+
<base href=\"#{@base_url}\">
|
|
54
|
+
<meta content=\"text/html;charset=utf-8\" http-equiv=\"Content-Type\">
|
|
55
55
|
<title>content from #{@base_url} #{date}</title>
|
|
56
56
|
#{@css}
|
|
57
57
|
</head>
|
data/lib/shutterbug/rasterize.js
CHANGED
|
@@ -236,7 +236,6 @@ function getIframeDataUriSrc(page) {
|
|
|
236
236
|
var iframes = document.getElementsByTagName('iframe'),
|
|
237
237
|
src = [],
|
|
238
238
|
mimeType = "data:text/html,",
|
|
239
|
-
serializer = new XMLSerializer(),
|
|
240
239
|
iframe, i;
|
|
241
240
|
for (i = 0; i < iframes.length; i++) {
|
|
242
241
|
iframe = iframes.item(i);
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shutterbug
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Noah Paessel
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-
|
|
13
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|