peteforde-scrobbler 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. data/History.txt +4 -0
  2. data/MIT-LICENSE +19 -0
  3. data/Manifest +67 -0
  4. data/README.rdoc +113 -0
  5. data/Rakefile +36 -0
  6. data/examples/album.rb +17 -0
  7. data/examples/artist.rb +13 -0
  8. data/examples/scrobble.rb +31 -0
  9. data/examples/tag.rb +11 -0
  10. data/examples/track.rb +10 -0
  11. data/examples/user.rb +14 -0
  12. data/lib/scrobbler.rb +20 -0
  13. data/lib/scrobbler/album.rb +143 -0
  14. data/lib/scrobbler/artist.rb +127 -0
  15. data/lib/scrobbler/base.rb +29 -0
  16. data/lib/scrobbler/chart.rb +31 -0
  17. data/lib/scrobbler/playing.rb +49 -0
  18. data/lib/scrobbler/rest.rb +51 -0
  19. data/lib/scrobbler/scrobble.rb +66 -0
  20. data/lib/scrobbler/simpleauth.rb +59 -0
  21. data/lib/scrobbler/tag.rb +104 -0
  22. data/lib/scrobbler/track.rb +98 -0
  23. data/lib/scrobbler/user.rb +192 -0
  24. data/lib/scrobbler/version.rb +3 -0
  25. data/scrobbler.gemspec +39 -0
  26. data/setup.rb +1585 -0
  27. data/test/fixtures/xml/album/info.xml +70 -0
  28. data/test/fixtures/xml/artist/fans.xml +18 -0
  29. data/test/fixtures/xml/artist/similar.xml +39 -0
  30. data/test/fixtures/xml/artist/topalbums.xml +36 -0
  31. data/test/fixtures/xml/artist/toptags.xml +18 -0
  32. data/test/fixtures/xml/artist/toptracks.xml +27 -0
  33. data/test/fixtures/xml/tag/topalbums.xml +39 -0
  34. data/test/fixtures/xml/tag/topartists.xml +39 -0
  35. data/test/fixtures/xml/tag/toptags.xml +252 -0
  36. data/test/fixtures/xml/tag/toptracks.xml +30 -0
  37. data/test/fixtures/xml/track/fans.xml +28 -0
  38. data/test/fixtures/xml/track/toptags.xml +33 -0
  39. data/test/fixtures/xml/user/friends.xml +21 -0
  40. data/test/fixtures/xml/user/neighbours.xml +18 -0
  41. data/test/fixtures/xml/user/profile.xml +12 -0
  42. data/test/fixtures/xml/user/recentbannedtracks.xml +24 -0
  43. data/test/fixtures/xml/user/recentlovedtracks.xml +24 -0
  44. data/test/fixtures/xml/user/recenttracks.xml +27 -0
  45. data/test/fixtures/xml/user/systemrecs.xml +18 -0
  46. data/test/fixtures/xml/user/topalbums.xml +42 -0
  47. data/test/fixtures/xml/user/topartists.xml +30 -0
  48. data/test/fixtures/xml/user/toptags.xml +18 -0
  49. data/test/fixtures/xml/user/toptracks.xml +27 -0
  50. data/test/fixtures/xml/user/weeklyalbumchart.xml +35 -0
  51. data/test/fixtures/xml/user/weeklyalbumchart_from_1138536002_to_1139140802.xml +35 -0
  52. data/test/fixtures/xml/user/weeklyartistchart.xml +38 -0
  53. data/test/fixtures/xml/user/weeklyartistchart_from_1138536002_to_1139140802.xml +59 -0
  54. data/test/fixtures/xml/user/weeklychartlist.xml +74 -0
  55. data/test/fixtures/xml/user/weeklytrackchart.xml +35 -0
  56. data/test/fixtures/xml/user/weeklytrackchart_from_1138536002_to_1139140802.xml +35 -0
  57. data/test/mocks/rest.rb +50 -0
  58. data/test/test_helper.rb +17 -0
  59. data/test/unit/album_test.rb +86 -0
  60. data/test/unit/artist_test.rb +82 -0
  61. data/test/unit/chart_test.rb +34 -0
  62. data/test/unit/playing_test.rb +53 -0
  63. data/test/unit/scrobble_test.rb +69 -0
  64. data/test/unit/simpleauth_test.rb +45 -0
  65. data/test/unit/tag_test.rb +65 -0
  66. data/test/unit/track_test.rb +42 -0
  67. data/test/unit/user_test.rb +291 -0
  68. metadata +177 -0
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: peteforde-scrobbler
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.3
5
+ platform: ruby
6
+ authors:
7
+ - John Nunemaker, Jonathan Rudenberg
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-04-13 00:00:00 -04: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.4.86
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: 1.4.2
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: echoe
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "0"
44
+ version:
45
+ description: wrapper for audioscrobbler (last.fm) web services
46
+ email: nunemaker@gmail.com
47
+ executables: []
48
+
49
+ extensions: []
50
+
51
+ extra_rdoc_files:
52
+ - lib/scrobbler/album.rb
53
+ - lib/scrobbler/artist.rb
54
+ - lib/scrobbler/base.rb
55
+ - lib/scrobbler/chart.rb
56
+ - lib/scrobbler/playing.rb
57
+ - lib/scrobbler/rest.rb
58
+ - lib/scrobbler/scrobble.rb
59
+ - lib/scrobbler/simpleauth.rb
60
+ - lib/scrobbler/tag.rb
61
+ - lib/scrobbler/track.rb
62
+ - lib/scrobbler/user.rb
63
+ - lib/scrobbler/version.rb
64
+ - lib/scrobbler.rb
65
+ - README.rdoc
66
+ files:
67
+ - examples/album.rb
68
+ - examples/artist.rb
69
+ - examples/scrobble.rb
70
+ - examples/tag.rb
71
+ - examples/track.rb
72
+ - examples/user.rb
73
+ - History.txt
74
+ - lib/scrobbler/album.rb
75
+ - lib/scrobbler/artist.rb
76
+ - lib/scrobbler/base.rb
77
+ - lib/scrobbler/chart.rb
78
+ - lib/scrobbler/playing.rb
79
+ - lib/scrobbler/rest.rb
80
+ - lib/scrobbler/scrobble.rb
81
+ - lib/scrobbler/simpleauth.rb
82
+ - lib/scrobbler/tag.rb
83
+ - lib/scrobbler/track.rb
84
+ - lib/scrobbler/user.rb
85
+ - lib/scrobbler/version.rb
86
+ - lib/scrobbler.rb
87
+ - Manifest
88
+ - MIT-LICENSE
89
+ - Rakefile
90
+ - README.rdoc
91
+ - scrobbler.gemspec
92
+ - setup.rb
93
+ - test/fixtures/xml/album/info.xml
94
+ - test/fixtures/xml/artist/fans.xml
95
+ - test/fixtures/xml/artist/similar.xml
96
+ - test/fixtures/xml/artist/topalbums.xml
97
+ - test/fixtures/xml/artist/toptags.xml
98
+ - test/fixtures/xml/artist/toptracks.xml
99
+ - test/fixtures/xml/tag/topalbums.xml
100
+ - test/fixtures/xml/tag/topartists.xml
101
+ - test/fixtures/xml/tag/toptags.xml
102
+ - test/fixtures/xml/tag/toptracks.xml
103
+ - test/fixtures/xml/track/fans.xml
104
+ - test/fixtures/xml/track/toptags.xml
105
+ - test/fixtures/xml/user/friends.xml
106
+ - test/fixtures/xml/user/neighbours.xml
107
+ - test/fixtures/xml/user/profile.xml
108
+ - test/fixtures/xml/user/recentbannedtracks.xml
109
+ - test/fixtures/xml/user/recentlovedtracks.xml
110
+ - test/fixtures/xml/user/recenttracks.xml
111
+ - test/fixtures/xml/user/systemrecs.xml
112
+ - test/fixtures/xml/user/topalbums.xml
113
+ - test/fixtures/xml/user/topartists.xml
114
+ - test/fixtures/xml/user/toptags.xml
115
+ - test/fixtures/xml/user/toptracks.xml
116
+ - test/fixtures/xml/user/weeklyalbumchart.xml
117
+ - test/fixtures/xml/user/weeklyalbumchart_from_1138536002_to_1139140802.xml
118
+ - test/fixtures/xml/user/weeklyartistchart.xml
119
+ - test/fixtures/xml/user/weeklyartistchart_from_1138536002_to_1139140802.xml
120
+ - test/fixtures/xml/user/weeklychartlist.xml
121
+ - test/fixtures/xml/user/weeklytrackchart.xml
122
+ - test/fixtures/xml/user/weeklytrackchart_from_1138536002_to_1139140802.xml
123
+ - test/mocks/rest.rb
124
+ - test/test_helper.rb
125
+ - test/unit/album_test.rb
126
+ - test/unit/artist_test.rb
127
+ - test/unit/chart_test.rb
128
+ - test/unit/playing_test.rb
129
+ - test/unit/scrobble_test.rb
130
+ - test/unit/simpleauth_test.rb
131
+ - test/unit/tag_test.rb
132
+ - test/unit/track_test.rb
133
+ - test/unit/user_test.rb
134
+ has_rdoc: true
135
+ homepage: http://scrobbler.rubyforge.org
136
+ licenses: []
137
+
138
+ post_install_message:
139
+ rdoc_options:
140
+ - --line-numbers
141
+ - --inline-source
142
+ - --title
143
+ - Scrobbler
144
+ - --main
145
+ - README.rdoc
146
+ require_paths:
147
+ - lib
148
+ required_ruby_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: "0"
153
+ version:
154
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: "1.2"
159
+ version:
160
+ requirements: []
161
+
162
+ rubyforge_project: scrobbler
163
+ rubygems_version: 1.3.5
164
+ signing_key:
165
+ specification_version: 2
166
+ summary: wrapper for audioscrobbler (last.fm) web services
167
+ test_files:
168
+ - test/test_helper.rb
169
+ - test/unit/album_test.rb
170
+ - test/unit/artist_test.rb
171
+ - test/unit/chart_test.rb
172
+ - test/unit/playing_test.rb
173
+ - test/unit/scrobble_test.rb
174
+ - test/unit/simpleauth_test.rb
175
+ - test/unit/tag_test.rb
176
+ - test/unit/track_test.rb
177
+ - test/unit/user_test.rb