scrobbler 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +1 -0
- data/Rakefile +12 -7
- data/examples/album.rb +1 -2
- data/examples/artist.rb +1 -2
- data/examples/scrobble.rb +1 -2
- data/examples/tag.rb +1 -2
- data/examples/track.rb +1 -2
- data/examples/user.rb +1 -2
- data/lib/scrobbler.rb +2 -0
- data/lib/scrobbler/simpleauth.rb +1 -1
- data/lib/scrobbler/version.rb +3 -0
- data/scrobbler.gemspec +3 -3
- data/website/index.html +1 -1
- metadata +3 -1
data/Manifest
CHANGED
data/Rakefile
CHANGED
@@ -2,24 +2,29 @@
|
|
2
2
|
require 'rubygems'
|
3
3
|
require 'rake'
|
4
4
|
require 'echoe'
|
5
|
+
require 'lib/scrobbler/version'
|
5
6
|
|
6
|
-
|
7
|
+
WEBSITE_PATH = 'jnunemaker@rubyforge.org:/var/www/gforge-projects/scrobbler'
|
8
|
+
|
9
|
+
Echoe.new('scrobbler', Scrobbler::Version) do |p|
|
7
10
|
p.description = "wrapper for audioscrobbler (last.fm) web services"
|
8
11
|
p.url = "http://scrobbler.rubyforge.org"
|
9
12
|
p.author = "John Nunemaker"
|
10
13
|
p.email = "nunemaker@gmail.com"
|
11
14
|
p.extra_deps = [['hpricot', '>=0.4.86'], ['activesupport', '>=1.4.2']]
|
12
15
|
p.need_tar_gz = false
|
16
|
+
p.docs_host = WEBSITE_PATH
|
13
17
|
end
|
14
18
|
|
15
19
|
desc 'Upload website files to rubyforge'
|
16
20
|
task :website do
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
21
|
+
sh %{rsync -av website/ #{WEBSITE_PATH}}
|
22
|
+
Rake::Task['website_docs'].invoke
|
23
|
+
end
|
24
|
+
|
25
|
+
task :website_docs do
|
26
|
+
Rake::Task['redocs'].invoke
|
27
|
+
sh %{rsync -av doc/ #{WEBSITE_PATH}/docs}
|
23
28
|
end
|
24
29
|
|
25
30
|
desc 'Preps the gem for a new release'
|
data/examples/album.rb
CHANGED
data/examples/artist.rb
CHANGED
data/examples/scrobble.rb
CHANGED
data/examples/tag.rb
CHANGED
data/examples/track.rb
CHANGED
data/examples/user.rb
CHANGED
data/lib/scrobbler.rb
CHANGED
data/lib/scrobbler/simpleauth.rb
CHANGED
@@ -18,7 +18,7 @@ module Scrobbler
|
|
18
18
|
@user = args[:user] # last.fm username
|
19
19
|
@password = args[:password] # last.fm password
|
20
20
|
@client_id = 'rbs' # Client ID assigned by last.fm; Don't change this!
|
21
|
-
@client_ver = Scrobbler::
|
21
|
+
@client_ver = Scrobbler::Version
|
22
22
|
|
23
23
|
raise ArgumentError, 'Missing required argument' if @user.blank? || @password.blank?
|
24
24
|
|
data/scrobbler.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{scrobbler}
|
5
|
-
s.version = "0.2.
|
5
|
+
s.version = "0.2.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["John Nunemaker"]
|
9
9
|
s.date = %q{2008-12-03}
|
10
10
|
s.description = %q{wrapper for audioscrobbler (last.fm) web services}
|
11
11
|
s.email = %q{nunemaker@gmail.com}
|
12
|
-
s.extra_rdoc_files = ["lib/scrobbler/album.rb", "lib/scrobbler/artist.rb", "lib/scrobbler/base.rb", "lib/scrobbler/chart.rb", "lib/scrobbler/playing.rb", "lib/scrobbler/rest.rb", "lib/scrobbler/scrobble.rb", "lib/scrobbler/simpleauth.rb", "lib/scrobbler/tag.rb", "lib/scrobbler/track.rb", "lib/scrobbler/user.rb", "lib/scrobbler.rb", "README.txt"]
|
13
|
-
s.files = ["examples/album.rb", "examples/artist.rb", "examples/scrobble.rb", "examples/tag.rb", "examples/track.rb", "examples/user.rb", "History.txt", "lib/scrobbler/album.rb", "lib/scrobbler/artist.rb", "lib/scrobbler/base.rb", "lib/scrobbler/chart.rb", "lib/scrobbler/playing.rb", "lib/scrobbler/rest.rb", "lib/scrobbler/scrobble.rb", "lib/scrobbler/simpleauth.rb", "lib/scrobbler/tag.rb", "lib/scrobbler/track.rb", "lib/scrobbler/user.rb", "lib/scrobbler.rb", "Manifest", "MIT-LICENSE", "Rakefile", "README.txt", "scrobbler.gemspec", "setup.rb", "test/fixtures/xml/album/info.xml", "test/fixtures/xml/artist/fans.xml", "test/fixtures/xml/artist/similar.xml", "test/fixtures/xml/artist/topalbums.xml", "test/fixtures/xml/artist/toptags.xml", "test/fixtures/xml/artist/toptracks.xml", "test/fixtures/xml/tag/topalbums.xml", "test/fixtures/xml/tag/topartists.xml", "test/fixtures/xml/tag/toptags.xml", "test/fixtures/xml/tag/toptracks.xml", "test/fixtures/xml/track/fans.xml", "test/fixtures/xml/track/toptags.xml", "test/fixtures/xml/user/friends.xml", "test/fixtures/xml/user/neighbours.xml", "test/fixtures/xml/user/profile.xml", "test/fixtures/xml/user/recentbannedtracks.xml", "test/fixtures/xml/user/recentlovedtracks.xml", "test/fixtures/xml/user/recenttracks.xml", "test/fixtures/xml/user/systemrecs.xml", "test/fixtures/xml/user/topalbums.xml", "test/fixtures/xml/user/topartists.xml", "test/fixtures/xml/user/toptags.xml", "test/fixtures/xml/user/toptracks.xml", "test/fixtures/xml/user/weeklyalbumchart.xml", "test/fixtures/xml/user/weeklyalbumchart_from_1138536002_to_1139140802.xml", "test/fixtures/xml/user/weeklyartistchart.xml", "test/fixtures/xml/user/weeklyartistchart_from_1138536002_to_1139140802.xml", "test/fixtures/xml/user/weeklychartlist.xml", "test/fixtures/xml/user/weeklytrackchart.xml", "test/fixtures/xml/user/weeklytrackchart_from_1138536002_to_1139140802.xml", "test/mocks/rest.rb", "test/test_helper.rb", "test/unit/album_test.rb", "test/unit/artist_test.rb", "test/unit/chart_test.rb", "test/unit/tag_test.rb", "test/unit/track_test.rb", "test/unit/user_test.rb", "website/css/common.css", "website/index.html"]
|
12
|
+
s.extra_rdoc_files = ["lib/scrobbler/album.rb", "lib/scrobbler/artist.rb", "lib/scrobbler/base.rb", "lib/scrobbler/chart.rb", "lib/scrobbler/playing.rb", "lib/scrobbler/rest.rb", "lib/scrobbler/scrobble.rb", "lib/scrobbler/simpleauth.rb", "lib/scrobbler/tag.rb", "lib/scrobbler/track.rb", "lib/scrobbler/user.rb", "lib/scrobbler/version.rb", "lib/scrobbler.rb", "README.txt"]
|
13
|
+
s.files = ["examples/album.rb", "examples/artist.rb", "examples/scrobble.rb", "examples/tag.rb", "examples/track.rb", "examples/user.rb", "History.txt", "lib/scrobbler/album.rb", "lib/scrobbler/artist.rb", "lib/scrobbler/base.rb", "lib/scrobbler/chart.rb", "lib/scrobbler/playing.rb", "lib/scrobbler/rest.rb", "lib/scrobbler/scrobble.rb", "lib/scrobbler/simpleauth.rb", "lib/scrobbler/tag.rb", "lib/scrobbler/track.rb", "lib/scrobbler/user.rb", "lib/scrobbler/version.rb", "lib/scrobbler.rb", "Manifest", "MIT-LICENSE", "Rakefile", "README.txt", "scrobbler.gemspec", "setup.rb", "test/fixtures/xml/album/info.xml", "test/fixtures/xml/artist/fans.xml", "test/fixtures/xml/artist/similar.xml", "test/fixtures/xml/artist/topalbums.xml", "test/fixtures/xml/artist/toptags.xml", "test/fixtures/xml/artist/toptracks.xml", "test/fixtures/xml/tag/topalbums.xml", "test/fixtures/xml/tag/topartists.xml", "test/fixtures/xml/tag/toptags.xml", "test/fixtures/xml/tag/toptracks.xml", "test/fixtures/xml/track/fans.xml", "test/fixtures/xml/track/toptags.xml", "test/fixtures/xml/user/friends.xml", "test/fixtures/xml/user/neighbours.xml", "test/fixtures/xml/user/profile.xml", "test/fixtures/xml/user/recentbannedtracks.xml", "test/fixtures/xml/user/recentlovedtracks.xml", "test/fixtures/xml/user/recenttracks.xml", "test/fixtures/xml/user/systemrecs.xml", "test/fixtures/xml/user/topalbums.xml", "test/fixtures/xml/user/topartists.xml", "test/fixtures/xml/user/toptags.xml", "test/fixtures/xml/user/toptracks.xml", "test/fixtures/xml/user/weeklyalbumchart.xml", "test/fixtures/xml/user/weeklyalbumchart_from_1138536002_to_1139140802.xml", "test/fixtures/xml/user/weeklyartistchart.xml", "test/fixtures/xml/user/weeklyartistchart_from_1138536002_to_1139140802.xml", "test/fixtures/xml/user/weeklychartlist.xml", "test/fixtures/xml/user/weeklytrackchart.xml", "test/fixtures/xml/user/weeklytrackchart_from_1138536002_to_1139140802.xml", "test/mocks/rest.rb", "test/test_helper.rb", "test/unit/album_test.rb", "test/unit/artist_test.rb", "test/unit/chart_test.rb", "test/unit/tag_test.rb", "test/unit/track_test.rb", "test/unit/user_test.rb", "website/css/common.css", "website/index.html"]
|
14
14
|
s.has_rdoc = true
|
15
15
|
s.homepage = %q{http://scrobbler.rubyforge.org}
|
16
16
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Scrobbler", "--main", "README.txt"]
|
data/website/index.html
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrobbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
@@ -60,6 +60,7 @@ extra_rdoc_files:
|
|
60
60
|
- lib/scrobbler/tag.rb
|
61
61
|
- lib/scrobbler/track.rb
|
62
62
|
- lib/scrobbler/user.rb
|
63
|
+
- lib/scrobbler/version.rb
|
63
64
|
- lib/scrobbler.rb
|
64
65
|
- README.txt
|
65
66
|
files:
|
@@ -81,6 +82,7 @@ files:
|
|
81
82
|
- lib/scrobbler/tag.rb
|
82
83
|
- lib/scrobbler/track.rb
|
83
84
|
- lib/scrobbler/user.rb
|
85
|
+
- lib/scrobbler/version.rb
|
84
86
|
- lib/scrobbler.rb
|
85
87
|
- Manifest
|
86
88
|
- MIT-LICENSE
|