soundcloud-downloader 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soundcloud-downloader.rb +0 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7c4004230ea58215391c79a10287043349658dc
|
4
|
+
data.tar.gz: 3d94e7114d4f8aaf63312d54a0943f352d5abea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b048888518acd8a705739b962ecc3b773f91dace1b9cd53f01ab17f9503b7466e16d15a41567b6f4f9a8dd6d252aaee14f21e32850b2bc6f5b5edcdd8a82d2bf
|
7
|
+
data.tar.gz: 6ff37d4330e80446d855fe6a9d835d39b9109e41f73155141faa5c890a345376274b3c7b72541e4375989f325836aacb3b996665e110eefb03a39293f8744735
|
@@ -35,14 +35,6 @@ module SoundCloud
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
class Rails
|
39
|
-
def self.download!(url, filename)
|
40
|
-
send_data open(url).read,
|
41
|
-
:type => "audio/mpeg",
|
42
|
-
:disposition => "attachment; filename=\"#{filename}.mp3\""
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
38
|
class Client
|
47
39
|
|
48
40
|
attr_reader :client_id, :path, :fs_location, :url
|