lastfm 0.2.0 → 0.2.1

This diff has not been reviewed by any users.
Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/README.rdoc +1 -2
  2. data/Rakefile +1 -1
  3. data/VERSION +1 -1
  4. data/lib/lastfm.rb +5 -9
  5. metadata +8 -7
  6. data/.gitignore +0 -5
@@ -68,8 +68,7 @@ It supports methods which require {authentication}[http://www.last.fm/api/authen
68
68
  * Add tests for it. This is important so I don't break it in a
69
69
  future version unintentionally.
70
70
  * Commit, do not mess with rakefile, version, or history.
71
- (if you want to have your own version, that is fine but
72
- bump version in a commit by itself I can ignore when I pull)
71
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
73
72
  * Send me a pull request. Bonus points for topic branches.
74
73
 
75
74
  == Copyright
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ begin
13
13
  gem.add_development_dependency "rspec", ">= 2.0.0"
14
14
  gem.add_dependency "httparty"
15
15
  gem.add_dependency "xml-simple"
16
- gem.add_dependency "activesupport"
16
+ gem.add_dependency "activesupport", ">= 3.0.3"
17
17
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
18
18
  end
19
19
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -1,3 +1,8 @@
1
+ require 'rubygems'
2
+ require 'digest/md5'
3
+ require 'httparty'
4
+ require 'active_support/core_ext/string/inflections'
5
+
1
6
  require 'lastfm/util'
2
7
  require 'lastfm/response'
3
8
  require 'lastfm/method_category/base'
@@ -5,11 +10,6 @@ require 'lastfm/method_category/auth'
5
10
  require 'lastfm/method_category/track'
6
11
  require 'lastfm/method_category/artist'
7
12
 
8
- require 'rubygems'
9
- require 'digest/md5'
10
- require 'httparty'
11
- require 'active_support'
12
-
13
13
  class Lastfm
14
14
  API_ROOT = 'http://ws.audioscrobbler.com/2.0'
15
15
 
@@ -38,10 +38,6 @@ class Lastfm
38
38
  MethodCategory::Artist.new(self)
39
39
  end
40
40
 
41
- def user
42
- MethodCategory::User.new(self)
43
- end
44
-
45
41
  def request(method, params = {}, http_method = :get, with_signature = false, with_session = false)
46
42
  params[:method] = method
47
43
  params[:api_key] = @api_key
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - youpy
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-06 00:00:00 +09:00
17
+ date: 2011-01-06 00:00:00 +09:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -63,8 +63,10 @@ dependencies:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
65
  segments:
66
+ - 3
66
67
  - 0
67
- version: "0"
68
+ - 3
69
+ version: 3.0.3
68
70
  type: :runtime
69
71
  version_requirements: *id004
70
72
  description: A ruby interface for Last.fm web services version 2.0
@@ -78,7 +80,6 @@ extra_rdoc_files:
78
80
  - README.rdoc
79
81
  files:
80
82
  - .document
81
- - .gitignore
82
83
  - .rspec
83
84
  - LICENSE
84
85
  - README.rdoc
@@ -111,8 +112,8 @@ homepage: http://github.com/youpy/ruby-lastfm
111
112
  licenses: []
112
113
 
113
114
  post_install_message:
114
- rdoc_options:
115
- - --charset=UTF-8
115
+ rdoc_options: []
116
+
116
117
  require_paths:
117
118
  - lib
118
119
  required_ruby_version: !ruby/object:Gem::Requirement
data/.gitignore DELETED
@@ -1,5 +0,0 @@
1
- *.sw?
2
- .DS_Store
3
- coverage
4
- rdoc
5
- pkg