shuffler_fm 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/lib/shuffler_fm/api/tracks.rb +2 -2
- data/lib/shuffler_fm/version.rb +1 -1
- data/spec/shuffler_fm/api/tracks_spec.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -36,10 +36,10 @@ module ShufflerFM
|
|
36
36
|
#
|
37
37
|
# @param [Integer] id The track id
|
38
38
|
#
|
39
|
-
# @return [
|
39
|
+
# @return [String] the track streaming URI if avaliable
|
40
40
|
#
|
41
41
|
def stream(id)
|
42
|
-
|
42
|
+
get("/tracks/#{Integer(id)}/stream", {}, false).headers['location']
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
data/lib/shuffler_fm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shuffler_fm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|