lastfm 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/.gitignore +8 -0
  2. data/Rakefile +2 -40
  3. data/VERSION +1 -1
  4. data/lastfm.gemspec +17 -143
  5. metadata +70 -163
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ *.sw?
2
+ .DS_Store
3
+ coverage
4
+ rdoc
5
+ pkg
6
+ vendor/bundle
7
+ .bundle
8
+ Gemfile.lock
data/Rakefile CHANGED
@@ -1,34 +1,6 @@
1
- # encoding: utf-8
2
-
3
- require 'rubygems'
4
- require 'bundler'
5
- begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
11
- end
1
+ #!/usr/bin/env rake
12
2
  require 'rake'
13
-
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- gem.name = "lastfm"
17
- gem.summary = %Q{A Ruby interface for Last.fm Web Services}
18
- gem.description = %Q{A ruby interface for Last.fm web services version 2.0}
19
- gem.email = "youpy@buycheapviagraonlinenow.com"
20
- gem.homepage = "http://github.com/youpy/ruby-lastfm"
21
- gem.authors = ["youpy"]
22
-
23
- gem.add_dependency 'rake', '>= 0.9.2'
24
- gem.add_dependency "xml-simple"
25
- gem.add_dependency "httparty"
26
- gem.add_dependency 'activesupport', '>= 3.0.3'
27
-
28
- gem.add_development_dependency 'rspec', '~> 2.8.0'
29
- gem.add_development_dependency 'jeweler', '~> 1.6.4'
30
- gem.add_development_dependency 'rdoc'
31
- end
3
+ require "bundler/gem_tasks"
32
4
 
33
5
  require 'rspec/core'
34
6
  require 'rspec/core/rake_task'
@@ -37,13 +9,3 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
37
9
  end
38
10
 
39
11
  task :default => :spec
40
-
41
- require 'rdoc/task'
42
- Rake::RDocTask.new do |rdoc|
43
- version = File.read('VERSION')
44
-
45
- rdoc.rdoc_dir = 'rdoc'
46
- rdoc.title = "lastfm #{version}"
47
- rdoc.rdoc_files.include('README*')
48
- rdoc.rdoc_files.include('lib/**/*.rb')
49
- end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.6.1
data/lastfm.gemspec CHANGED
@@ -1,149 +1,23 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
5
2
 
6
- Gem::Specification.new do |s|
7
- s.name = "lastfm"
8
- s.version = "1.6.0"
3
+ Gem::Specification.new do |gem|
4
+ gem.authors = ["youpy"]
5
+ gem.email = ["youpy@buycheapviagraonlinenow.com"]
6
+ gem.description = "A ruby interface for Last.fm web services version 2.0"
7
+ gem.summary = "A ruby interface for Last.fm web services version 2.0"
8
+ gem.homepage = %q{http://github.com/youpy/ruby-lastfm}
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["youpy"]
12
- s.date = "2012-05-29"
13
- s.description = "A ruby interface for Last.fm web services version 2.0"
14
- s.email = "youpy@buycheapviagraonlinenow.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".rspec",
22
- ".travis.yml",
23
- "Gemfile",
24
- "LICENSE",
25
- "README.rdoc",
26
- "Rakefile",
27
- "VERSION",
28
- "lastfm.gemspec",
29
- "lib/lastfm.rb",
30
- "lib/lastfm/method_category/album.rb",
31
- "lib/lastfm/method_category/artist.rb",
32
- "lib/lastfm/method_category/auth.rb",
33
- "lib/lastfm/method_category/base.rb",
34
- "lib/lastfm/method_category/event.rb",
35
- "lib/lastfm/method_category/geo.rb",
36
- "lib/lastfm/method_category/library.rb",
37
- "lib/lastfm/method_category/tag.rb",
38
- "lib/lastfm/method_category/track.rb",
39
- "lib/lastfm/method_category/user.rb",
40
- "lib/lastfm/response.rb",
41
- "lib/lastfm/util.rb",
42
- "spec/fixtures/album_get_info.xml",
43
- "spec/fixtures/artist_get_events.xml",
44
- "spec/fixtures/artist_get_info.xml",
45
- "spec/fixtures/artist_get_similar.xml",
46
- "spec/fixtures/artist_get_tags.xml",
47
- "spec/fixtures/artist_search.xml",
48
- "spec/fixtures/event_get_info.xml",
49
- "spec/fixtures/geo_get_events.xml",
50
- "spec/fixtures/library_get_artists.xml",
51
- "spec/fixtures/library_get_tracks.xml",
52
- "spec/fixtures/ng.xml",
53
- "spec/fixtures/ok.xml",
54
- "spec/fixtures/tag_get_top_artists.xml",
55
- "spec/fixtures/track_get_correction.xml",
56
- "spec/fixtures/track_get_info.xml",
57
- "spec/fixtures/track_get_info_force_array.xml",
58
- "spec/fixtures/track_get_similar.xml",
59
- "spec/fixtures/track_get_tags.xml",
60
- "spec/fixtures/track_get_top_fans.xml",
61
- "spec/fixtures/track_get_top_tags.xml",
62
- "spec/fixtures/track_search.xml",
63
- "spec/fixtures/user_get_friends.xml",
64
- "spec/fixtures/user_get_info.xml",
65
- "spec/fixtures/user_get_loved_tracks.xml",
66
- "spec/fixtures/user_get_neighbours.xml",
67
- "spec/fixtures/user_get_personal_tags.xml",
68
- "spec/fixtures/user_get_personal_tags_albums.xml",
69
- "spec/fixtures/user_get_personal_tags_artists.xml",
70
- "spec/fixtures/user_get_personal_tags_tracks.xml",
71
- "spec/fixtures/user_get_recent_tracks.xml",
72
- "spec/fixtures/user_get_top_albums.xml",
73
- "spec/fixtures/user_get_top_artists.xml",
74
- "spec/fixtures/user_get_top_tags.xml",
75
- "spec/fixtures/user_get_top_tracks.xml",
76
- "spec/lastfm_spec.rb",
77
- "spec/method_category_spec.rb",
78
- "spec/method_specs/album_spec.rb",
79
- "spec/method_specs/artist_spec.rb",
80
- "spec/method_specs/event_spec.rb",
81
- "spec/method_specs/geo_spec.rb",
82
- "spec/method_specs/library_spec.rb",
83
- "spec/method_specs/tag_spec.rb",
84
- "spec/method_specs/track_spec.rb",
85
- "spec/method_specs/user_spec.rb",
86
- "spec/response_spec.rb",
87
- "spec/spec_helper.rb",
88
- "spec/util_spec.rb"
89
- ]
90
- s.homepage = "http://github.com/youpy/ruby-lastfm"
91
- s.require_paths = ["lib"]
92
- s.rubygems_version = "1.8.10"
93
- s.summary = "A Ruby interface for Last.fm Web Services"
10
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
11
+ gem.files = `git ls-files`.split("\n")
12
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
13
+ gem.name = %q{lastfm}
14
+ gem.require_paths = ["lib"]
15
+ gem.version = "1.6.1"
94
16
 
95
- if s.respond_to? :specification_version then
96
- s.specification_version = 3
17
+ gem.add_dependency "xml-simple"
18
+ gem.add_dependency "httparty"
19
+ gem.add_dependency 'activesupport', '>= 3.0.3'
97
20
 
98
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
99
- s.add_runtime_dependency(%q<lastfm>, [">= 0"])
100
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
101
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
102
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
103
- s.add_development_dependency(%q<rdoc>, [">= 0"])
104
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
105
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
106
- s.add_development_dependency(%q<rdoc>, [">= 0"])
107
- s.add_runtime_dependency(%q<rake>, [">= 0.9.2"])
108
- s.add_runtime_dependency(%q<xml-simple>, [">= 0"])
109
- s.add_runtime_dependency(%q<httparty>, [">= 0"])
110
- s.add_runtime_dependency(%q<activesupport>, [">= 3.0.3"])
111
- s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
112
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
113
- s.add_development_dependency(%q<rdoc>, [">= 0"])
114
- else
115
- s.add_dependency(%q<lastfm>, [">= 0"])
116
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
117
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
118
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
119
- s.add_dependency(%q<rdoc>, [">= 0"])
120
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
121
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
122
- s.add_dependency(%q<rdoc>, [">= 0"])
123
- s.add_dependency(%q<rake>, [">= 0.9.2"])
124
- s.add_dependency(%q<xml-simple>, [">= 0"])
125
- s.add_dependency(%q<httparty>, [">= 0"])
126
- s.add_dependency(%q<activesupport>, [">= 3.0.3"])
127
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
128
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
129
- s.add_dependency(%q<rdoc>, [">= 0"])
130
- end
131
- else
132
- s.add_dependency(%q<lastfm>, [">= 0"])
133
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
134
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
135
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
136
- s.add_dependency(%q<rdoc>, [">= 0"])
137
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
138
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
139
- s.add_dependency(%q<rdoc>, [">= 0"])
140
- s.add_dependency(%q<rake>, [">= 0.9.2"])
141
- s.add_dependency(%q<xml-simple>, [">= 0"])
142
- s.add_dependency(%q<httparty>, [">= 0"])
143
- s.add_dependency(%q<activesupport>, [">= 3.0.3"])
144
- s.add_dependency(%q<rspec>, ["~> 2.8.0"])
145
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
146
- s.add_dependency(%q<rdoc>, [">= 0"])
147
- end
21
+ gem.add_development_dependency('rspec', ['~> 2.8.0'])
22
+ gem.add_development_dependency('rake')
148
23
  end
149
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lastfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,143 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-29 00:00:00.000000000 Z
12
+ date: 2012-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: lastfm
16
- requirement: &70145763279820 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: *70145763279820
25
- - !ruby/object:Gem::Dependency
26
- name: jeweler
27
- requirement: &70145763278980 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ~>
31
- - !ruby/object:Gem::Version
32
- version: 1.6.4
33
- type: :development
34
- prerelease: false
35
- version_requirements: *70145763278980
36
- - !ruby/object:Gem::Dependency
37
- name: rspec
38
- requirement: &70145763277640 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- version: 2.8.0
44
- type: :development
45
- prerelease: false
46
- version_requirements: *70145763277640
47
- - !ruby/object:Gem::Dependency
48
- name: jeweler
49
- requirement: &70145763276880 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- version: 1.6.4
55
- type: :development
56
- prerelease: false
57
- version_requirements: *70145763276880
58
- - !ruby/object:Gem::Dependency
59
- name: rdoc
60
- requirement: &70145763275660 !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
63
- - - ! '>='
64
- - !ruby/object:Gem::Version
65
- version: '0'
66
- type: :development
67
- prerelease: false
68
- version_requirements: *70145763275660
69
- - !ruby/object:Gem::Dependency
70
- name: rspec
71
- requirement: &70145763274800 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- version: 2.8.0
77
- type: :development
78
- prerelease: false
79
- version_requirements: *70145763274800
80
- - !ruby/object:Gem::Dependency
81
- name: jeweler
82
- requirement: &70145763273820 !ruby/object:Gem::Requirement
83
- none: false
84
- requirements:
85
- - - ~>
86
- - !ruby/object:Gem::Version
87
- version: 1.6.4
88
- type: :development
89
- prerelease: false
90
- version_requirements: *70145763273820
91
- - !ruby/object:Gem::Dependency
92
- name: rdoc
93
- requirement: &70145763271860 !ruby/object:Gem::Requirement
94
- none: false
95
- requirements:
96
- - - ! '>='
97
- - !ruby/object:Gem::Version
98
- version: '0'
99
- type: :development
100
- prerelease: false
101
- version_requirements: *70145763271860
102
- - !ruby/object:Gem::Dependency
103
- name: rspec
104
- requirement: &70145763270160 !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 2.8.0
110
- type: :development
111
- prerelease: false
112
- version_requirements: *70145763270160
113
- - !ruby/object:Gem::Dependency
114
- name: jeweler
115
- requirement: &70145763269100 !ruby/object:Gem::Requirement
116
- none: false
117
- requirements:
118
- - - ~>
119
- - !ruby/object:Gem::Version
120
- version: 1.6.4
121
- type: :development
122
- prerelease: false
123
- version_requirements: *70145763269100
124
- - !ruby/object:Gem::Dependency
125
- name: rdoc
126
- requirement: &70145763268080 !ruby/object:Gem::Requirement
127
- none: false
128
- requirements:
129
- - - ! '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: *70145763268080
135
- - !ruby/object:Gem::Dependency
136
- name: rake
137
- requirement: &70145763267060 !ruby/object:Gem::Requirement
138
- none: false
139
- requirements:
140
- - - ! '>='
141
- - !ruby/object:Gem::Version
142
- version: 0.9.2
143
- type: :runtime
144
- prerelease: false
145
- version_requirements: *70145763267060
146
14
  - !ruby/object:Gem::Dependency
147
15
  name: xml-simple
148
- requirement: &70145763266040 !ruby/object:Gem::Requirement
16
+ requirement: &70318983294800 !ruby/object:Gem::Requirement
149
17
  none: false
150
18
  requirements:
151
19
  - - ! '>='
@@ -153,10 +21,10 @@ dependencies:
153
21
  version: '0'
154
22
  type: :runtime
155
23
  prerelease: false
156
- version_requirements: *70145763266040
24
+ version_requirements: *70318983294800
157
25
  - !ruby/object:Gem::Dependency
158
26
  name: httparty
159
- requirement: &70145763260580 !ruby/object:Gem::Requirement
27
+ requirement: &70318983292560 !ruby/object:Gem::Requirement
160
28
  none: false
161
29
  requirements:
162
30
  - - ! '>='
@@ -164,10 +32,10 @@ dependencies:
164
32
  version: '0'
165
33
  type: :runtime
166
34
  prerelease: false
167
- version_requirements: *70145763260580
35
+ version_requirements: *70318983292560
168
36
  - !ruby/object:Gem::Dependency
169
37
  name: activesupport
170
- requirement: &70145763259420 !ruby/object:Gem::Requirement
38
+ requirement: &70318983291700 !ruby/object:Gem::Requirement
171
39
  none: false
172
40
  requirements:
173
41
  - - ! '>='
@@ -175,10 +43,10 @@ dependencies:
175
43
  version: 3.0.3
176
44
  type: :runtime
177
45
  prerelease: false
178
- version_requirements: *70145763259420
46
+ version_requirements: *70318983291700
179
47
  - !ruby/object:Gem::Dependency
180
48
  name: rspec
181
- requirement: &70145763257460 !ruby/object:Gem::Requirement
49
+ requirement: &70318983290400 !ruby/object:Gem::Requirement
182
50
  none: false
183
51
  requirements:
184
52
  - - ~>
@@ -186,21 +54,10 @@ dependencies:
186
54
  version: 2.8.0
187
55
  type: :development
188
56
  prerelease: false
189
- version_requirements: *70145763257460
57
+ version_requirements: *70318983290400
190
58
  - !ruby/object:Gem::Dependency
191
- name: jeweler
192
- requirement: &70145763255900 !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ~>
196
- - !ruby/object:Gem::Version
197
- version: 1.6.4
198
- type: :development
199
- prerelease: false
200
- version_requirements: *70145763255900
201
- - !ruby/object:Gem::Dependency
202
- name: rdoc
203
- requirement: &70145763253740 !ruby/object:Gem::Requirement
59
+ name: rake
60
+ requirement: &70318983289580 !ruby/object:Gem::Requirement
204
61
  none: false
205
62
  requirements:
206
63
  - - ! '>='
@@ -208,16 +65,16 @@ dependencies:
208
65
  version: '0'
209
66
  type: :development
210
67
  prerelease: false
211
- version_requirements: *70145763253740
68
+ version_requirements: *70318983289580
212
69
  description: A ruby interface for Last.fm web services version 2.0
213
- email: youpy@buycheapviagraonlinenow.com
70
+ email:
71
+ - youpy@buycheapviagraonlinenow.com
214
72
  executables: []
215
73
  extensions: []
216
- extra_rdoc_files:
217
- - LICENSE
218
- - README.rdoc
74
+ extra_rdoc_files: []
219
75
  files:
220
76
  - .document
77
+ - .gitignore
221
78
  - .rspec
222
79
  - .travis.yml
223
80
  - Gemfile
@@ -300,17 +157,67 @@ required_ruby_version: !ruby/object:Gem::Requirement
300
157
  version: '0'
301
158
  segments:
302
159
  - 0
303
- hash: 2680247563591646214
160
+ hash: -3222139268399165275
304
161
  required_rubygems_version: !ruby/object:Gem::Requirement
305
162
  none: false
306
163
  requirements:
307
164
  - - ! '>='
308
165
  - !ruby/object:Gem::Version
309
166
  version: '0'
167
+ segments:
168
+ - 0
169
+ hash: -3222139268399165275
310
170
  requirements: []
311
171
  rubyforge_project:
312
172
  rubygems_version: 1.8.10
313
173
  signing_key:
314
174
  specification_version: 3
315
- summary: A Ruby interface for Last.fm Web Services
316
- test_files: []
175
+ summary: A ruby interface for Last.fm web services version 2.0
176
+ test_files:
177
+ - spec/fixtures/album_get_info.xml
178
+ - spec/fixtures/artist_get_events.xml
179
+ - spec/fixtures/artist_get_info.xml
180
+ - spec/fixtures/artist_get_similar.xml
181
+ - spec/fixtures/artist_get_tags.xml
182
+ - spec/fixtures/artist_search.xml
183
+ - spec/fixtures/event_get_info.xml
184
+ - spec/fixtures/geo_get_events.xml
185
+ - spec/fixtures/library_get_artists.xml
186
+ - spec/fixtures/library_get_tracks.xml
187
+ - spec/fixtures/ng.xml
188
+ - spec/fixtures/ok.xml
189
+ - spec/fixtures/tag_get_top_artists.xml
190
+ - spec/fixtures/track_get_correction.xml
191
+ - spec/fixtures/track_get_info.xml
192
+ - spec/fixtures/track_get_info_force_array.xml
193
+ - spec/fixtures/track_get_similar.xml
194
+ - spec/fixtures/track_get_tags.xml
195
+ - spec/fixtures/track_get_top_fans.xml
196
+ - spec/fixtures/track_get_top_tags.xml
197
+ - spec/fixtures/track_search.xml
198
+ - spec/fixtures/user_get_friends.xml
199
+ - spec/fixtures/user_get_info.xml
200
+ - spec/fixtures/user_get_loved_tracks.xml
201
+ - spec/fixtures/user_get_neighbours.xml
202
+ - spec/fixtures/user_get_personal_tags.xml
203
+ - spec/fixtures/user_get_personal_tags_albums.xml
204
+ - spec/fixtures/user_get_personal_tags_artists.xml
205
+ - spec/fixtures/user_get_personal_tags_tracks.xml
206
+ - spec/fixtures/user_get_recent_tracks.xml
207
+ - spec/fixtures/user_get_top_albums.xml
208
+ - spec/fixtures/user_get_top_artists.xml
209
+ - spec/fixtures/user_get_top_tags.xml
210
+ - spec/fixtures/user_get_top_tracks.xml
211
+ - spec/lastfm_spec.rb
212
+ - spec/method_category_spec.rb
213
+ - spec/method_specs/album_spec.rb
214
+ - spec/method_specs/artist_spec.rb
215
+ - spec/method_specs/event_spec.rb
216
+ - spec/method_specs/geo_spec.rb
217
+ - spec/method_specs/library_spec.rb
218
+ - spec/method_specs/tag_spec.rb
219
+ - spec/method_specs/track_spec.rb
220
+ - spec/method_specs/user_spec.rb
221
+ - spec/response_spec.rb
222
+ - spec/spec_helper.rb
223
+ - spec/util_spec.rb