lib/gnawrnip/screenshot.rb in gnawrnip-0.0.4 vs lib/gnawrnip/screenshot.rb in gnawrnip-0.1.0

- old
+ new

@@ -14,10 +14,10 @@ # @return [String] Base64-encoded image of screenshot # def take tempfile = Tempfile.new(['gnawrnip', '.png']) session.save_screenshot(tempfile.path) - image = Base64.encode64(tempfile.read) + image = Base64.strict_encode64(tempfile.read) tempfile.close image end private