fleakr 0.6.3 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/README.rdoc +88 -57
  2. data/Rakefile +28 -9
  3. data/lib/fleakr.rb +25 -31
  4. data/lib/fleakr/api/option.rb +34 -34
  5. data/lib/fleakr/api/parameter_list.rb +23 -23
  6. data/lib/fleakr/objects.rb +4 -1
  7. data/lib/fleakr/objects/metadata.rb +35 -0
  8. data/lib/fleakr/objects/metadata_collection.rb +36 -0
  9. data/lib/fleakr/objects/photo.rb +15 -11
  10. data/lib/fleakr/objects/set.rb +17 -13
  11. data/lib/fleakr/objects/url.rb +83 -0
  12. data/lib/fleakr/objects/user.rb +8 -0
  13. data/lib/fleakr/support.rb +3 -1
  14. data/lib/fleakr/support/attribute.rb +2 -2
  15. data/lib/fleakr/support/object.rb +44 -29
  16. data/lib/fleakr/support/url_expander.rb +37 -0
  17. data/lib/fleakr/support/utility.rb +66 -0
  18. data/lib/fleakr/version.rb +5 -5
  19. data/test/fixtures/photos.getExif.xml +362 -0
  20. data/test/test_helper.rb +44 -47
  21. data/test/unit/fleakr/api/authentication_request_test.rb +12 -12
  22. data/test/unit/fleakr/api/file_parameter_test.rb +15 -15
  23. data/test/unit/fleakr/api/method_request_test.rb +1 -1
  24. data/test/unit/fleakr/api/option_test.rb +44 -44
  25. data/test/unit/fleakr/api/parameter_list_test.rb +40 -40
  26. data/test/unit/fleakr/api/response_test.rb +10 -10
  27. data/test/unit/fleakr/api/upload_request_test.rb +28 -28
  28. data/test/unit/fleakr/api/value_parameter_test.rb +10 -10
  29. data/test/unit/fleakr/core_ext/false_class_test.rb +5 -5
  30. data/test/unit/fleakr/core_ext/hash_test.rb +9 -9
  31. data/test/unit/fleakr/core_ext/true_class_test.rb +5 -5
  32. data/test/unit/fleakr/objects/authentication_token_test.rb +23 -23
  33. data/test/unit/fleakr/objects/collection_test.rb +23 -23
  34. data/test/unit/fleakr/objects/comment_test.rb +15 -15
  35. data/test/unit/fleakr/objects/contact_test.rb +11 -11
  36. data/test/unit/fleakr/objects/error_test.rb +8 -8
  37. data/test/unit/fleakr/objects/group_test.rb +13 -13
  38. data/test/unit/fleakr/objects/image_test.rb +4 -4
  39. data/test/unit/fleakr/objects/metadata_collection_test.rb +55 -0
  40. data/test/unit/fleakr/objects/metadata_test.rb +27 -0
  41. data/test/unit/fleakr/objects/photo_context_test.rb +23 -23
  42. data/test/unit/fleakr/objects/photo_test.rb +71 -64
  43. data/test/unit/fleakr/objects/search_test.rb +22 -22
  44. data/test/unit/fleakr/objects/set_test.rb +62 -40
  45. data/test/unit/fleakr/objects/tag_test.rb +32 -31
  46. data/test/unit/fleakr/objects/url_test.rb +185 -0
  47. data/test/unit/fleakr/objects/user_test.rb +43 -16
  48. data/test/unit/fleakr/support/attribute_test.rb +15 -15
  49. data/test/unit/fleakr/support/object_test.rb +77 -33
  50. data/test/unit/fleakr/support/request_test.rb +12 -12
  51. data/test/unit/fleakr/support/url_expander_test.rb +44 -0
  52. data/test/unit/fleakr/support/utility_test.rb +70 -0
  53. data/test/unit/fleakr_test.rb +48 -41
  54. 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
- version: 0.6.3
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: 2009-12-28 00:00:00 -05:00
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
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
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
- version_requirement:
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
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
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
- version:
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://sneaq.net
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.5
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