shutterbug 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzA4MzljOTJjNWJlZGIzY2ZhNzlkNDBmOGMwNjRhOGMwZjlhZmU3ZA==
4
+ MzU4MGE0MGI2N2VkZjE5N2U4MGFmMTAyN2FiNGQ1OWJjOGUxMDMxNA==
5
5
  data.tar.gz: !binary |-
6
- NDJhM2E3YTY1NjVmMTc2ZjhmNDZhNzFlNDk0NmY2NzQ4MzJkNGFhMg==
6
+ OGIxYzNmYjNhZDhjNDI2MmE2NWEwYmI2OWY2MTEzYjllNzAxZmEyYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTViY2RkMGU2MjE5ZDkzOWFlNmY2ZmFmZmE0ZTU0NGExZjQxYmMwMjA3NjBj
10
- ZDE3YjliM2VlOTQ0ODUxYjNmNDljZTRkMzVjYmRlN2RlMmJjNTE3NTIzYjg0
11
- YzQ2NGVlMDYzOTUwNDVhMzg0YTY1ZGRiNGViNzNhM2E3NTFmNTc=
9
+ MDc2YWQ3MmRiMmZlMzZiOTM2YmRlZmQ0ZWZlOTIzMzllMThmOGJmMDhmYzc5
10
+ MzUwODYwNDIyMmRjYmMyMzU1OWE2ODJlZDRhZmZkMzk3YTQyNTRkZTA1NGRh
11
+ ZTdjNGZjZGZkODE1YTkxMTc2MGEzMWE0MjgzOTM0NTE4YjhjYzk=
12
12
  data.tar.gz: !binary |-
13
- NjdiZjg0N2RiOWY1YjJjYTJmM2U3ZjJjZTY2YzUzMmVjODIwMzAyOWZiYTFi
14
- YzFkY2FiNmZiODMyMDBlZDk1MzBlNDYzNTE4NjViYzA3OTg5N2RmOGY3MGIw
15
- NWFlNDdjNmY2YTNkYWIwZmY1YTZiZTlmN2NhNGM4YzEzMWVjYzc=
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
@@ -1,5 +1,5 @@
1
1
  module Shutterbug
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  autoload :Rackapp, "shutterbug/rackapp"
4
4
  autoload :Configuration, "shutterbug/configuration"
5
5
  autoload :Storage, "shutterbug/storage"
@@ -50,8 +50,8 @@ module Shutterbug
50
50
  <!DOCTYPE html>
51
51
  <html>
52
52
  <head>
53
- <base href='#{@base_url}'>
54
- <meta content='text/html;charset=utf-8' http-equiv='Content-Type'>
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>
@@ -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.3
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-06-05 00:00:00.000000000 Z
13
+ date: 2015-08-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler