grooveshark 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -57,7 +57,7 @@ module Grooveshark
57
57
 
58
58
  # Perform search request for query
59
59
  def search(type, query)
60
- results = request('getSearchResults', {:type => type, :query => query})
60
+ results = request('getSearchResults', {:type => type, :query => query})['songs']
61
61
  results.map { |song| Song.new song }
62
62
  end
63
63
 
@@ -0,0 +1,3 @@
1
+ module Grooveshark
2
+ VERSION = '0.2.1'
3
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grooveshark
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dan Sosedoff
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-18 00:00:00 -06:00
18
+ date: 2011-01-26 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -60,6 +60,7 @@ extra_rdoc_files: []
60
60
 
61
61
  files:
62
62
  - lib/grooveshark.rb
63
+ - lib/grooveshark/version.rb
63
64
  - lib/grooveshark/utils.rb
64
65
  - lib/grooveshark/client.rb
65
66
  - lib/grooveshark/errors.rb