grooveshark 0.2.8 → 0.2.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,8 +89,6 @@ module Grooveshark
89
89
  get_song_url_by_id(song.id)
90
90
  end
91
91
 
92
- protected
93
-
94
92
  def get_session_and_country
95
93
  response = RestClient.get('http://grooveshark.com')
96
94
  session = response.headers[:set_cookie].to_s.scan(/PHPSESSID=([a-z\d]{32});/i).flatten.first
@@ -120,8 +118,6 @@ module Grooveshark
120
118
  chars = ('a'..'f').to_a | (0..9).to_a
121
119
  (0...length).map { chars[rand(chars.length)] }.join
122
120
  end
123
-
124
- private
125
121
 
126
122
  # Perform API request
127
123
  def request(method, params={}, secure=false)
@@ -1,3 +1,3 @@
1
1
  module Grooveshark
2
- VERSION = '0.2.8'
2
+ VERSION = '0.2.8.1'
3
3
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grooveshark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.8.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Dan Sosedoff
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-06-10 00:00:00.000000000 Z
12
+ date: 2013-06-18 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rspec
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: json
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ! '>='
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rest-client
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ! '>='
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ! '>='
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: uuid
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ~>
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :runtime
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ~>
81
92
  - !ruby/object:Gem::Version
@@ -106,29 +117,35 @@ files:
106
117
  - spec/utils_spec.rb
107
118
  homepage: http://github.com/sosedoff/grooveshark
108
119
  licenses: []
109
- metadata: {}
110
120
  post_install_message:
111
121
  rdoc_options: []
112
122
  require_paths:
113
123
  - lib
114
124
  required_ruby_version: !ruby/object:Gem::Requirement
125
+ none: false
115
126
  requirements:
116
127
  - - ! '>='
117
128
  - !ruby/object:Gem::Version
118
129
  version: '0'
130
+ segments:
131
+ - 0
132
+ hash: 2904794095928449912
119
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
+ none: false
120
135
  requirements:
121
136
  - - ! '>='
122
137
  - !ruby/object:Gem::Version
123
138
  version: '0'
139
+ segments:
140
+ - 0
141
+ hash: 2904794095928449912
124
142
  requirements: []
125
143
  rubyforge_project:
126
- rubygems_version: 2.0.3
144
+ rubygems_version: 1.8.25
127
145
  signing_key:
128
- specification_version: 4
146
+ specification_version: 3
129
147
  summary: Grooveshark API
130
148
  test_files:
131
149
  - spec/client_spec.rb
132
150
  - spec/helper.rb
133
151
  - spec/utils_spec.rb
134
- has_rdoc:
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- M2I1MWRjYjA2NTQyNzY4OTBmN2UwN2NjZGI4YmEwNjlmNDNhZGM4OA==
5
- data.tar.gz: !binary |-
6
- ZjU4YzQzNmU0MmM1NGY3Y2U3ZTY5YTFjYzljZWI5YjFlYWM3MmQwYw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NjQ3MjlkMGI3ODNhNjk2NGNmNjEzYjFjZDkxNjdkMDE1ZmEzZDFlNjRiNjlk
10
- OTZiNGViOTIwOWY0YmQ4OGNmMjdmZGJkOTJhY2I5M2U2ZGRkYjQzNTQ2MDI4
11
- ODE5MmFmMWY3YzhkZWJlYjQ0YTBmMDBkYzJkOGM5ZjIxMTA1MjM=
12
- data.tar.gz: !binary |-
13
- NGY3MjZlNzQ1ZTkzYzAyYjc2MjAyNjM2MjYxMjgyNGVmNmVlZDBhNDNiN2Qx
14
- YWI0MDBkMDM3YmJkMmMwZDRjMjAzNTM5NDc4YjAwMGZkNzJjMzBjMGFmODhi
15
- MDVlNTBkZmYyZTIwOTQ2NjlhMzEzMDBiZTNjNDg3ZTE2OWRjNjg=