flickraw 0.6 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/flickraw.rb +2 -2
- data/rakefile +0 -1
- metadata +4 -13
data/lib/flickraw.rb
CHANGED
@@ -26,7 +26,7 @@ require 'json'
|
|
26
26
|
require 'cgi'
|
27
27
|
|
28
28
|
module FlickRaw
|
29
|
-
VERSION='0.6'
|
29
|
+
VERSION='0.6.1'
|
30
30
|
|
31
31
|
FLICKR_HOST='api.flickr.com'.freeze
|
32
32
|
|
@@ -230,7 +230,7 @@ module FlickRaw
|
|
230
230
|
|
231
231
|
# Returns the signature of hsh. This is meant to be passed in the _api_sig_ parameter.
|
232
232
|
def api_sig(hsh)
|
233
|
-
MD5.
|
233
|
+
Digest::MD5.hexdigest(FlickRaw.shared_secret + hsh.sort{|a, b| a[0].to_s <=> b[0].to_s }.flatten.join).to_s
|
234
234
|
end
|
235
235
|
end
|
236
236
|
|
data/rakefile
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flickraw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mael Clerambault
|
@@ -9,19 +9,10 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06
|
12
|
+
date: 2009-07-06 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
name: json
|
17
|
-
type: :runtime
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: "0"
|
24
|
-
version:
|
14
|
+
dependencies: []
|
15
|
+
|
25
16
|
description:
|
26
17
|
email: maelclerambault@yahoo.fr
|
27
18
|
executables: []
|