fleakr 0.6.3 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +88 -57
- data/Rakefile +28 -9
- data/lib/fleakr.rb +25 -31
- data/lib/fleakr/api/option.rb +34 -34
- data/lib/fleakr/api/parameter_list.rb +23 -23
- data/lib/fleakr/objects.rb +4 -1
- data/lib/fleakr/objects/metadata.rb +35 -0
- data/lib/fleakr/objects/metadata_collection.rb +36 -0
- data/lib/fleakr/objects/photo.rb +15 -11
- data/lib/fleakr/objects/set.rb +17 -13
- data/lib/fleakr/objects/url.rb +83 -0
- data/lib/fleakr/objects/user.rb +8 -0
- data/lib/fleakr/support.rb +3 -1
- data/lib/fleakr/support/attribute.rb +2 -2
- data/lib/fleakr/support/object.rb +44 -29
- data/lib/fleakr/support/url_expander.rb +37 -0
- data/lib/fleakr/support/utility.rb +66 -0
- data/lib/fleakr/version.rb +5 -5
- data/test/fixtures/photos.getExif.xml +362 -0
- data/test/test_helper.rb +44 -47
- data/test/unit/fleakr/api/authentication_request_test.rb +12 -12
- data/test/unit/fleakr/api/file_parameter_test.rb +15 -15
- data/test/unit/fleakr/api/method_request_test.rb +1 -1
- data/test/unit/fleakr/api/option_test.rb +44 -44
- data/test/unit/fleakr/api/parameter_list_test.rb +40 -40
- data/test/unit/fleakr/api/response_test.rb +10 -10
- data/test/unit/fleakr/api/upload_request_test.rb +28 -28
- data/test/unit/fleakr/api/value_parameter_test.rb +10 -10
- data/test/unit/fleakr/core_ext/false_class_test.rb +5 -5
- data/test/unit/fleakr/core_ext/hash_test.rb +9 -9
- data/test/unit/fleakr/core_ext/true_class_test.rb +5 -5
- data/test/unit/fleakr/objects/authentication_token_test.rb +23 -23
- data/test/unit/fleakr/objects/collection_test.rb +23 -23
- data/test/unit/fleakr/objects/comment_test.rb +15 -15
- data/test/unit/fleakr/objects/contact_test.rb +11 -11
- data/test/unit/fleakr/objects/error_test.rb +8 -8
- data/test/unit/fleakr/objects/group_test.rb +13 -13
- data/test/unit/fleakr/objects/image_test.rb +4 -4
- data/test/unit/fleakr/objects/metadata_collection_test.rb +55 -0
- data/test/unit/fleakr/objects/metadata_test.rb +27 -0
- data/test/unit/fleakr/objects/photo_context_test.rb +23 -23
- data/test/unit/fleakr/objects/photo_test.rb +71 -64
- data/test/unit/fleakr/objects/search_test.rb +22 -22
- data/test/unit/fleakr/objects/set_test.rb +62 -40
- data/test/unit/fleakr/objects/tag_test.rb +32 -31
- data/test/unit/fleakr/objects/url_test.rb +185 -0
- data/test/unit/fleakr/objects/user_test.rb +43 -16
- data/test/unit/fleakr/support/attribute_test.rb +15 -15
- data/test/unit/fleakr/support/object_test.rb +77 -33
- data/test/unit/fleakr/support/request_test.rb +12 -12
- data/test/unit/fleakr/support/url_expander_test.rb +44 -0
- data/test/unit/fleakr/support/utility_test.rb +70 -0
- data/test/unit/fleakr_test.rb +48 -41
- metadata +43 -23
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fleakr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 7
|
8
|
+
- 0
|
9
|
+
version: 0.7.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Patrick Reagan
|
@@ -9,39 +14,39 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2011-01-14 00:00:00 -07:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: hpricot
|
17
|
-
|
18
|
-
|
19
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
20
25
|
requirements:
|
21
26
|
- - ">="
|
22
27
|
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
- 6
|
31
|
+
- 164
|
23
32
|
version: 0.6.164
|
24
|
-
version:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: activesupport
|
27
33
|
type: :runtime
|
28
|
-
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: "2.0"
|
34
|
-
version:
|
34
|
+
version_requirements: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: loggable
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
- 2
|
46
|
+
- 0
|
43
47
|
version: 0.2.0
|
44
|
-
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
45
50
|
description:
|
46
51
|
email: reaganpr@gmail.com
|
47
52
|
executables: []
|
@@ -73,16 +78,21 @@ files:
|
|
73
78
|
- lib/fleakr/objects/error.rb
|
74
79
|
- lib/fleakr/objects/group.rb
|
75
80
|
- lib/fleakr/objects/image.rb
|
81
|
+
- lib/fleakr/objects/metadata.rb
|
82
|
+
- lib/fleakr/objects/metadata_collection.rb
|
76
83
|
- lib/fleakr/objects/photo.rb
|
77
84
|
- lib/fleakr/objects/photo_context.rb
|
78
85
|
- lib/fleakr/objects/search.rb
|
79
86
|
- lib/fleakr/objects/set.rb
|
80
87
|
- lib/fleakr/objects/tag.rb
|
88
|
+
- lib/fleakr/objects/url.rb
|
81
89
|
- lib/fleakr/objects/user.rb
|
82
90
|
- lib/fleakr/objects.rb
|
83
91
|
- lib/fleakr/support/attribute.rb
|
84
92
|
- lib/fleakr/support/object.rb
|
85
93
|
- lib/fleakr/support/request.rb
|
94
|
+
- lib/fleakr/support/url_expander.rb
|
95
|
+
- lib/fleakr/support/utility.rb
|
86
96
|
- lib/fleakr/support.rb
|
87
97
|
- lib/fleakr/version.rb
|
88
98
|
- lib/fleakr.rb
|
@@ -101,6 +111,7 @@ files:
|
|
101
111
|
- test/fixtures/people.getPublicPhotos.xml
|
102
112
|
- test/fixtures/photos.comments.getList.xml
|
103
113
|
- test/fixtures/photos.getContext.xml
|
114
|
+
- test/fixtures/photos.getExif.xml
|
104
115
|
- test/fixtures/photos.getInfo.xml
|
105
116
|
- test/fixtures/photos.getSizes.xml
|
106
117
|
- test/fixtures/photos.search.xml
|
@@ -131,18 +142,23 @@ files:
|
|
131
142
|
- test/unit/fleakr/objects/error_test.rb
|
132
143
|
- test/unit/fleakr/objects/group_test.rb
|
133
144
|
- test/unit/fleakr/objects/image_test.rb
|
145
|
+
- test/unit/fleakr/objects/metadata_collection_test.rb
|
146
|
+
- test/unit/fleakr/objects/metadata_test.rb
|
134
147
|
- test/unit/fleakr/objects/photo_context_test.rb
|
135
148
|
- test/unit/fleakr/objects/photo_test.rb
|
136
149
|
- test/unit/fleakr/objects/search_test.rb
|
137
150
|
- test/unit/fleakr/objects/set_test.rb
|
138
151
|
- test/unit/fleakr/objects/tag_test.rb
|
152
|
+
- test/unit/fleakr/objects/url_test.rb
|
139
153
|
- test/unit/fleakr/objects/user_test.rb
|
140
154
|
- test/unit/fleakr/support/attribute_test.rb
|
141
155
|
- test/unit/fleakr/support/object_test.rb
|
142
156
|
- test/unit/fleakr/support/request_test.rb
|
157
|
+
- test/unit/fleakr/support/url_expander_test.rb
|
158
|
+
- test/unit/fleakr/support/utility_test.rb
|
143
159
|
- test/unit/fleakr_test.rb
|
144
160
|
has_rdoc: true
|
145
|
-
homepage: http://
|
161
|
+
homepage: http://fleakr.org
|
146
162
|
licenses: []
|
147
163
|
|
148
164
|
post_install_message:
|
@@ -152,21 +168,25 @@ rdoc_options:
|
|
152
168
|
require_paths:
|
153
169
|
- lib
|
154
170
|
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
155
172
|
requirements:
|
156
173
|
- - ">="
|
157
174
|
- !ruby/object:Gem::Version
|
175
|
+
segments:
|
176
|
+
- 0
|
158
177
|
version: "0"
|
159
|
-
version:
|
160
178
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
+
none: false
|
161
180
|
requirements:
|
162
181
|
- - ">="
|
163
182
|
- !ruby/object:Gem::Version
|
183
|
+
segments:
|
184
|
+
- 0
|
164
185
|
version: "0"
|
165
|
-
version:
|
166
186
|
requirements: []
|
167
187
|
|
168
188
|
rubyforge_project:
|
169
|
-
rubygems_version: 1.3.
|
189
|
+
rubygems_version: 1.3.7
|
170
190
|
signing_key:
|
171
191
|
specification_version: 3
|
172
192
|
summary: A small, yet powerful, gem to interface with Flickr photostreams
|