sailthru-client 1.03 → 1.04
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.
- data/README.md +1 -1
- data/lib/sailthru.rb +4 -4
- metadata +4 -4
data/README.md
CHANGED
data/lib/sailthru.rb
CHANGED
@@ -3,11 +3,11 @@ require 'uri'
|
|
3
3
|
require 'cgi'
|
4
4
|
require 'rubygems'
|
5
5
|
require 'json'
|
6
|
-
require 'md5'
|
6
|
+
require 'digest/md5'
|
7
7
|
|
8
8
|
module Sailthru
|
9
9
|
|
10
|
-
Version = VERSION = '1.
|
10
|
+
Version = VERSION = '1.04'
|
11
11
|
|
12
12
|
class SailthruClientException < Exception
|
13
13
|
end
|
@@ -57,7 +57,7 @@ module Sailthru
|
|
57
57
|
#
|
58
58
|
# Returns an MD5 hash of the signature string for an API call.
|
59
59
|
def get_signature_hash(params, secret)
|
60
|
-
MD5.
|
60
|
+
Digest::MD5.hexdigest(get_signature_string(params, secret)).to_s
|
61
61
|
end
|
62
62
|
|
63
63
|
|
@@ -673,4 +673,4 @@ module Sailthru
|
|
673
673
|
end
|
674
674
|
end
|
675
675
|
end
|
676
|
-
end
|
676
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sailthru-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: "1.
|
8
|
+
- 4
|
9
|
+
version: "1.04"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Prajwal Tuladhar
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-02-
|
17
|
+
date: 2011-02-08 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|