fleakr 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/README.rdoc +149 -0
  2. data/Rakefile +40 -0
  3. data/lib/fleakr/api/request.rb +58 -0
  4. data/lib/fleakr/api/response.rb +35 -0
  5. data/lib/fleakr/objects/contact.rb +31 -0
  6. data/lib/fleakr/objects/error.rb +22 -0
  7. data/lib/fleakr/objects/group.rb +26 -0
  8. data/lib/fleakr/objects/image.rb +51 -0
  9. data/lib/fleakr/objects/photo.rb +55 -0
  10. data/lib/fleakr/objects/search.rb +33 -0
  11. data/lib/fleakr/objects/set.rb +45 -0
  12. data/lib/fleakr/objects/user.rb +106 -0
  13. data/lib/fleakr/support/attribute.rb +28 -0
  14. data/lib/fleakr/support/object.rb +88 -0
  15. data/lib/fleakr/version.rb +13 -0
  16. data/lib/fleakr.rb +74 -0
  17. data/test/fixtures/contacts.getPublicList.xml +7 -0
  18. data/test/fixtures/groups.pools.getPhotos.xml +7 -0
  19. data/test/fixtures/people.findByEmail.xml +6 -0
  20. data/test/fixtures/people.findByUsername.xml +6 -0
  21. data/test/fixtures/people.getInfo.xml +18 -0
  22. data/test/fixtures/people.getPublicGroups.xml +7 -0
  23. data/test/fixtures/people.getPublicPhotos.xml +7 -0
  24. data/test/fixtures/photos.getSizes.xml +10 -0
  25. data/test/fixtures/photos.search.xml +7 -0
  26. data/test/fixtures/photosets.getList.xml +13 -0
  27. data/test/fixtures/photosets.getPhotos.xml +7 -0
  28. data/test/test_helper.rb +123 -0
  29. data/test/unit/fleakr/api/request_test.rb +93 -0
  30. data/test/unit/fleakr/api/response_test.rb +49 -0
  31. data/test/unit/fleakr/objects/contact_test.rb +58 -0
  32. data/test/unit/fleakr/objects/error_test.rb +21 -0
  33. data/test/unit/fleakr/objects/group_test.rb +31 -0
  34. data/test/unit/fleakr/objects/image_test.rb +76 -0
  35. data/test/unit/fleakr/objects/photo_test.rb +101 -0
  36. data/test/unit/fleakr/objects/search_test.rb +74 -0
  37. data/test/unit/fleakr/objects/set_test.rb +71 -0
  38. data/test/unit/fleakr/objects/user_test.rb +104 -0
  39. data/test/unit/fleakr/support/attribute_test.rb +68 -0
  40. data/test/unit/fleakr/support/object_test.rb +95 -0
  41. data/test/unit/fleakr_test.rb +44 -0
  42. metadata +123 -0
metadata ADDED
@@ -0,0 +1,123 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fleakr
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Patrick Reagan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-12-12 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hpricot
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: 0.6.0
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: activesupport
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 2.2.0
34
+ version:
35
+ description:
36
+ email: reaganpr@gmail.com
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files:
42
+ - README.rdoc
43
+ files:
44
+ - README.rdoc
45
+ - Rakefile
46
+ - lib/fleakr
47
+ - lib/fleakr/api
48
+ - lib/fleakr/api/request.rb
49
+ - lib/fleakr/api/response.rb
50
+ - lib/fleakr/objects
51
+ - lib/fleakr/objects/contact.rb
52
+ - lib/fleakr/objects/error.rb
53
+ - lib/fleakr/objects/group.rb
54
+ - lib/fleakr/objects/image.rb
55
+ - lib/fleakr/objects/photo.rb
56
+ - lib/fleakr/objects/search.rb
57
+ - lib/fleakr/objects/set.rb
58
+ - lib/fleakr/objects/user.rb
59
+ - lib/fleakr/support
60
+ - lib/fleakr/support/attribute.rb
61
+ - lib/fleakr/support/object.rb
62
+ - lib/fleakr/version.rb
63
+ - lib/fleakr.rb
64
+ - test/fixtures
65
+ - test/fixtures/contacts.getPublicList.xml
66
+ - test/fixtures/groups.pools.getPhotos.xml
67
+ - test/fixtures/people.findByEmail.xml
68
+ - test/fixtures/people.findByUsername.xml
69
+ - test/fixtures/people.getInfo.xml
70
+ - test/fixtures/people.getPublicGroups.xml
71
+ - test/fixtures/people.getPublicPhotos.xml
72
+ - test/fixtures/photos.getSizes.xml
73
+ - test/fixtures/photos.search.xml
74
+ - test/fixtures/photosets.getList.xml
75
+ - test/fixtures/photosets.getPhotos.xml
76
+ - test/test_helper.rb
77
+ - test/unit
78
+ - test/unit/fleakr
79
+ - test/unit/fleakr/api
80
+ - test/unit/fleakr/api/request_test.rb
81
+ - test/unit/fleakr/api/response_test.rb
82
+ - test/unit/fleakr/objects
83
+ - test/unit/fleakr/objects/contact_test.rb
84
+ - test/unit/fleakr/objects/error_test.rb
85
+ - test/unit/fleakr/objects/group_test.rb
86
+ - test/unit/fleakr/objects/image_test.rb
87
+ - test/unit/fleakr/objects/photo_test.rb
88
+ - test/unit/fleakr/objects/search_test.rb
89
+ - test/unit/fleakr/objects/set_test.rb
90
+ - test/unit/fleakr/objects/user_test.rb
91
+ - test/unit/fleakr/support
92
+ - test/unit/fleakr/support/attribute_test.rb
93
+ - test/unit/fleakr/support/object_test.rb
94
+ - test/unit/fleakr_test.rb
95
+ has_rdoc: true
96
+ homepage: http://sneaq.net
97
+ post_install_message:
98
+ rdoc_options:
99
+ - --main
100
+ - README.rdoc
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: "0"
108
+ version:
109
+ required_rubygems_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: "0"
114
+ version:
115
+ requirements: []
116
+
117
+ rubyforge_project:
118
+ rubygems_version: 1.3.1
119
+ signing_key:
120
+ specification_version: 2
121
+ summary: A teeny tiny gem to interface with Flickr photostreams
122
+ test_files: []
123
+