peteforde-scrobbler 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/MIT-LICENSE +19 -0
- data/Manifest +67 -0
- data/README.rdoc +113 -0
- data/Rakefile +36 -0
- data/examples/album.rb +17 -0
- data/examples/artist.rb +13 -0
- data/examples/scrobble.rb +31 -0
- data/examples/tag.rb +11 -0
- data/examples/track.rb +10 -0
- data/examples/user.rb +14 -0
- data/lib/scrobbler.rb +20 -0
- data/lib/scrobbler/album.rb +143 -0
- data/lib/scrobbler/artist.rb +127 -0
- data/lib/scrobbler/base.rb +29 -0
- data/lib/scrobbler/chart.rb +31 -0
- data/lib/scrobbler/playing.rb +49 -0
- data/lib/scrobbler/rest.rb +51 -0
- data/lib/scrobbler/scrobble.rb +66 -0
- data/lib/scrobbler/simpleauth.rb +59 -0
- data/lib/scrobbler/tag.rb +104 -0
- data/lib/scrobbler/track.rb +98 -0
- data/lib/scrobbler/user.rb +192 -0
- data/lib/scrobbler/version.rb +3 -0
- data/scrobbler.gemspec +39 -0
- data/setup.rb +1585 -0
- data/test/fixtures/xml/album/info.xml +70 -0
- data/test/fixtures/xml/artist/fans.xml +18 -0
- data/test/fixtures/xml/artist/similar.xml +39 -0
- data/test/fixtures/xml/artist/topalbums.xml +36 -0
- data/test/fixtures/xml/artist/toptags.xml +18 -0
- data/test/fixtures/xml/artist/toptracks.xml +27 -0
- data/test/fixtures/xml/tag/topalbums.xml +39 -0
- data/test/fixtures/xml/tag/topartists.xml +39 -0
- data/test/fixtures/xml/tag/toptags.xml +252 -0
- data/test/fixtures/xml/tag/toptracks.xml +30 -0
- data/test/fixtures/xml/track/fans.xml +28 -0
- data/test/fixtures/xml/track/toptags.xml +33 -0
- data/test/fixtures/xml/user/friends.xml +21 -0
- data/test/fixtures/xml/user/neighbours.xml +18 -0
- data/test/fixtures/xml/user/profile.xml +12 -0
- data/test/fixtures/xml/user/recentbannedtracks.xml +24 -0
- data/test/fixtures/xml/user/recentlovedtracks.xml +24 -0
- data/test/fixtures/xml/user/recenttracks.xml +27 -0
- data/test/fixtures/xml/user/systemrecs.xml +18 -0
- data/test/fixtures/xml/user/topalbums.xml +42 -0
- data/test/fixtures/xml/user/topartists.xml +30 -0
- data/test/fixtures/xml/user/toptags.xml +18 -0
- data/test/fixtures/xml/user/toptracks.xml +27 -0
- data/test/fixtures/xml/user/weeklyalbumchart.xml +35 -0
- data/test/fixtures/xml/user/weeklyalbumchart_from_1138536002_to_1139140802.xml +35 -0
- data/test/fixtures/xml/user/weeklyartistchart.xml +38 -0
- data/test/fixtures/xml/user/weeklyartistchart_from_1138536002_to_1139140802.xml +59 -0
- data/test/fixtures/xml/user/weeklychartlist.xml +74 -0
- data/test/fixtures/xml/user/weeklytrackchart.xml +35 -0
- data/test/fixtures/xml/user/weeklytrackchart_from_1138536002_to_1139140802.xml +35 -0
- data/test/mocks/rest.rb +50 -0
- data/test/test_helper.rb +17 -0
- data/test/unit/album_test.rb +86 -0
- data/test/unit/artist_test.rb +82 -0
- data/test/unit/chart_test.rb +34 -0
- data/test/unit/playing_test.rb +53 -0
- data/test/unit/scrobble_test.rb +69 -0
- data/test/unit/simpleauth_test.rb +45 -0
- data/test/unit/tag_test.rb +65 -0
- data/test/unit/track_test.rb +42 -0
- data/test/unit/user_test.rb +291 -0
- 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
|