flickraw 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/flickraw.rb +3 -3
- data/rakefile +3 -1
- metadata +42 -35
data/lib/flickraw.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) 2006
|
1
|
+
# Copyright (c) 2006 Mael Clerambault <maelclerambault@yahoo.fr>
|
2
2
|
#
|
3
3
|
# Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
# a copy of this software and associated documentation files (the
|
@@ -26,7 +26,7 @@ require 'yaml'
|
|
26
26
|
require 'cgi'
|
27
27
|
|
28
28
|
module FlickRaw
|
29
|
-
VERSION='0.4.
|
29
|
+
VERSION='0.4.5'
|
30
30
|
|
31
31
|
FLICKR_HOST='api.flickr.com'.freeze
|
32
32
|
|
@@ -203,7 +203,7 @@ module FlickRaw
|
|
203
203
|
full_args[:auth_token] = @token if @token
|
204
204
|
args.each {|k, v| full_args[k.to_sym] = v.to_s }
|
205
205
|
full_args[:api_sig] = FlickRaw.api_sig(full_args) if FlickRaw.shared_secret
|
206
|
-
args.each {|k, v| full_args[k.to_sym] = CGI.escape(v.to_s) }
|
206
|
+
args.each {|k, v| full_args[k.to_sym] = CGI.escape(v.to_s) } if req
|
207
207
|
full_args
|
208
208
|
end
|
209
209
|
|
data/rakefile
CHANGED
@@ -12,7 +12,9 @@ spec = Gem::Specification.new do |s|
|
|
12
12
|
s.summary = "Flickr library with a syntax close to the syntax described on http://www.flickr.com/services/api"
|
13
13
|
s.name = "flickraw"
|
14
14
|
s.author = "Hank Lords"
|
15
|
-
s.email = "
|
15
|
+
s.email = "maelclerambault@yahoo.fr"
|
16
|
+
s.homepage = "http://flickraw.rubyforge.org"
|
17
|
+
s.rubyforge_project = "flickraw"
|
16
18
|
s.version = FlickRaw::VERSION
|
17
19
|
s.files = PKG_FILES
|
18
20
|
s.test_files = FileList["test/*.rb"].to_a
|
metadata
CHANGED
@@ -1,33 +1,26 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: flickraw
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.4.
|
7
|
-
date: 2007-09-17 00:00:00 +02:00
|
8
|
-
summary: Flickr library with a syntax close to the syntax described on http://www.flickr.com/services/api
|
9
|
-
require_paths:
|
10
|
-
- lib
|
11
|
-
email: hanklords@gmail.com
|
12
|
-
homepage:
|
13
|
-
rubyforge_project:
|
14
|
-
description:
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: false
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
version: 0.4.5
|
25
5
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
6
|
authors:
|
30
7
|
- Hank Lords
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-04-24 00:00:00 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description:
|
17
|
+
email: maelclerambault@yahoo.fr
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
31
24
|
files:
|
32
25
|
- lib/flickraw.rb
|
33
26
|
- flickraw_rdoc.rb
|
@@ -36,21 +29,35 @@ files:
|
|
36
29
|
- TODO
|
37
30
|
- rakefile
|
38
31
|
- examples/flickr_KDE.rb
|
32
|
+
- examples/upload.rb
|
39
33
|
- examples/auth.rb
|
40
34
|
- examples/interestingness.rb
|
41
|
-
- examples/upload.rb
|
42
|
-
- test/test.rb
|
43
|
-
test_files:
|
44
35
|
- test/test.rb
|
36
|
+
has_rdoc: false
|
37
|
+
homepage: http://flickraw.rubyforge.org
|
38
|
+
post_install_message:
|
45
39
|
rdoc_options: []
|
46
40
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
41
|
+
require_paths:
|
42
|
+
- lib
|
43
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: "0"
|
48
|
+
version:
|
49
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
version:
|
53
55
|
requirements: []
|
54
56
|
|
55
|
-
|
56
|
-
|
57
|
+
rubyforge_project: flickraw
|
58
|
+
rubygems_version: 1.0.1
|
59
|
+
signing_key:
|
60
|
+
specification_version: 2
|
61
|
+
summary: Flickr library with a syntax close to the syntax described on http://www.flickr.com/services/api
|
62
|
+
test_files:
|
63
|
+
- test/test.rb
|