utorrent-webapi-ruby 0.0.3.1 → 0.0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/u_torrent.rb +4 -0
- data/lib/u_torrent/configuration.rb +7 -1
- data/lib/u_torrent/http.rb +2 -0
- data/lib/u_torrent/torrent.rb +1 -0
- data/lib/u_torrent/version.rb +1 -1
- 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: c1c190325bac5bd413fc11b048758c256727901d
|
4
|
+
data.tar.gz: 62c596ebcb184011ac1c8c69a10c4a0d72c6ba68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54646c8df9bde02da91f81662fddd1bdffd2f3ab0fbda4b3bdabed517b3cae7dec10a12300e97602b5bfde7e106666ec80917a99633a071321b028c88ff463c3
|
7
|
+
data.tar.gz: 3f93cd83c99d0fc8a93f40656380b0e4bacb759f40e1050810481f8ed509aceea22ab27f7cebaed66e8326ec6fa1f57cc84332c86ccb61a7598e0699cd8902d3
|
data/README.md
CHANGED
data/lib/u_torrent.rb
CHANGED
@@ -1,10 +1,16 @@
|
|
1
|
+
require 'logger'
|
2
|
+
|
1
3
|
module UTorrent
|
2
4
|
class Configuration
|
3
5
|
attr_accessor :url, :username, :password, :port
|
4
|
-
attr_writer :protocol
|
6
|
+
attr_writer :protocol, :logger
|
5
7
|
|
6
8
|
def protocol
|
7
9
|
@protocol ||= 'http'
|
8
10
|
end
|
11
|
+
|
12
|
+
def logger
|
13
|
+
@logger ||= Logger.new(STDOUT)
|
14
|
+
end
|
9
15
|
end
|
10
16
|
end
|
data/lib/u_torrent/http.rb
CHANGED
data/lib/u_torrent/torrent.rb
CHANGED
data/lib/u_torrent/version.rb
CHANGED