grabzit 2.1.1 → 2.1.2
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/lib/grabzit/client.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 708b8f2d2fca3c4b093b887d8c645f291f5584dc
|
|
4
|
+
data.tar.gz: fff6e757ebc0d1e312291206abb70b1db9bbe302
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d67ea66dfe7440174730062cb18ef75028e0365b5da1ccf63fcdbe3dd0aae4523e35e31ccc238726a8d623a6a4732b4d624d9ac74aaf2661b98310d8ff456de
|
|
7
|
+
data.tar.gz: d7d4e1659c3702700d2b253c8e257dca70b7c0913ae43065035d6ec65128de8418df9375b57f8e1f2134a580b9e774d1290a4dee7707cb0cc022cd09d9116efb
|
data/lib/grabzit/client.rb
CHANGED
|
@@ -139,9 +139,11 @@ module GrabzIt
|
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
sig = Digest::MD5.hexdigest(@@signaturePartOne+nil_check(callBackURL)+@@signaturePartTwo)
|
|
142
|
-
@@request
|
|
142
|
+
currentRequest = @@request
|
|
143
|
+
|
|
144
|
+
currentRequest += CGI.escape(nil_check(callBackURL))+"&sig="+sig
|
|
143
145
|
|
|
144
|
-
return get_result_value(get(
|
|
146
|
+
return get_result_value(get(currentRequest), "ID")
|
|
145
147
|
end
|
|
146
148
|
|
|
147
149
|
# Calls the GrabzIt web service to take the screenshot and saves it to the target path provided. if no target path is provided
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: grabzit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GrabzIt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|