objectiveflickr 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/Manifest.txt +11 -0
- data/README.txt +29 -0
- data/Rakefile +53 -0
- data/lib/objectiveflickr.rb +1 -0
- data/lib/objectiveflickr/flickr_invocation.rb +144 -0
- data/lib/objectiveflickr/flickr_response.rb +52 -0
- data/lib/objectiveflickr/version.rb +9 -0
- data/setup.rb +1585 -0
- data/test/objectiveflickr_test.rb +19 -0
- data/test/test_helper.rb +2 -0
- metadata +64 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/test_helper.rb'
|
2
|
+
|
3
|
+
class ObjectiveFlickrTest < Test::Unit::TestCase
|
4
|
+
|
5
|
+
def setup
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_truth
|
9
|
+
assert true
|
10
|
+
end
|
11
|
+
|
12
|
+
# we use a unit test API key for this purpose
|
13
|
+
def test_echo
|
14
|
+
f = FlickrInvocation.new('bf67a649fffb210651334a09b92df02e')
|
15
|
+
r = f.call("flickr.test.echo")
|
16
|
+
assert(r.ok?, "response should be ok")
|
17
|
+
assert_equal(r["method"]["_content"], "flickr.test.echo", "method name should echo")
|
18
|
+
end
|
19
|
+
end
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.0
|
3
|
+
specification_version: 1
|
4
|
+
name: objectiveflickr
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.9.0
|
7
|
+
date: 2006-12-10 00:00:00 -05:00
|
8
|
+
summary: objectiveflickr is a minimalistic Flickr API library that uses REST-style calls and receives JSON response blocks, resulting in very concise code. Named so in order to echo another Flickr library of mine, under the same name, developed for Objective-C.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: lukhnos@gmail.com
|
12
|
+
homepage: http://objectiveflickr.rubyforge.org
|
13
|
+
rubyforge_project: objectiveflickr
|
14
|
+
description: objectiveflickr is a minimalistic Flickr API library that uses REST-style calls and receives JSON response blocks, resulting in very concise code. Named so in order to echo another Flickr library of mine, under the same name, developed for Objective-C.
|
15
|
+
autorequire:
|
16
|
+
default_executable:
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: true
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
24
|
+
version:
|
25
|
+
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
29
|
+
authors:
|
30
|
+
- lukhnos
|
31
|
+
files:
|
32
|
+
- History.txt
|
33
|
+
- Manifest.txt
|
34
|
+
- README.txt
|
35
|
+
- Rakefile
|
36
|
+
- setup.rb
|
37
|
+
- lib/objectiveflickr.rb
|
38
|
+
- lib/objectiveflickr/version.rb
|
39
|
+
- lib/objectiveflickr/flickr_invocation.rb
|
40
|
+
- lib/objectiveflickr/flickr_response.rb
|
41
|
+
- test/test_helper.rb
|
42
|
+
- test/objectiveflickr_test.rb
|
43
|
+
test_files:
|
44
|
+
- test/objectiveflickr_test.rb
|
45
|
+
rdoc_options: []
|
46
|
+
|
47
|
+
extra_rdoc_files: []
|
48
|
+
|
49
|
+
executables: []
|
50
|
+
|
51
|
+
extensions: []
|
52
|
+
|
53
|
+
requirements: []
|
54
|
+
|
55
|
+
dependencies:
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: json
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.0.0
|
64
|
+
version:
|