BtSync 0.4.4 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +18 -2
- data/lib/btsync.rb +39 -3
- data/lib/btsync/communicator.rb +18 -4
- data/lib/btsync/directory.rb +19 -3
- data/lib/btsync/version.rb +1 -1
- data/spec/BtSync/bt_sync_spec.rb +60 -0
- data/spec/BtSync/directory_spec.rb +17 -3
- data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +11 -10
- data/spec/fixtures/cassettes/Setup-Directory-Settings.yml +14 -13
- data/spec/fixtures/cassettes/add-folder-list.yml +30 -27
- data/spec/fixtures/cassettes/add-folder.yml +21 -20
- data/spec/fixtures/cassettes/add-known-host.yml +58 -0
- data/spec/fixtures/cassettes/change_download_limit.yml +113 -0
- data/spec/fixtures/cassettes/change_listening_port.yml +113 -0
- data/spec/fixtures/cassettes/change_name.yml +113 -0
- data/spec/fixtures/cassettes/change_upload_limit.yml +113 -0
- data/spec/fixtures/cassettes/get-folders.yml +22 -20
- data/spec/fixtures/cassettes/get-known-hosts.yml +3 -3
- data/spec/fixtures/cassettes/get-os-type.yml +6 -6
- data/spec/fixtures/cassettes/get-peers.yml +8 -7
- data/spec/fixtures/cassettes/get-preferences.yml +18 -18
- data/spec/fixtures/cassettes/get-settings.yml +6 -6
- data/spec/fixtures/cassettes/get-version.yml +6 -6
- data/spec/fixtures/cassettes/remove-folder-list.yml +19 -17
- data/spec/fixtures/cassettes/remove-folder.yml +33 -30
- data/spec/fixtures/cassettes/remove-known-host.yml +57 -0
- data/spec/fixtures/cassettes/reset_device_name.yml +86 -0
- data/spec/fixtures/cassettes/reset_download_limit.yml +86 -0
- data/spec/fixtures/cassettes/reset_listening_port.yml +86 -0
- data/spec/fixtures/cassettes/reset_upload_limit.yml +86 -0
- data/spec/fixtures/cassettes/set-preferences-delete.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-dht.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-hosts.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-lan.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-relay.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-tracker.yml +9 -9
- data/spec/fixtures/cassettes/view-folders.yml +3 -3
- metadata +22 -2
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=GLaZWf2lCQUSADqtP2iKbMmUeP2bh9Cfqk4iqxY18BlN1cwxv38KqX-DtlEAAAAA
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Cookie:
|
11
|
+
- GUID=GDxCK1HGwXDitWCmAVka
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Connection:
|
18
|
+
- keep-alive
|
19
|
+
Content-Length:
|
20
|
+
- '119'
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=utf-8
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
body:
|
26
|
+
encoding: US-ASCII
|
27
|
+
string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
|
28
|
+
12345, "portmapping": 1, "ulrate": 0 } }'
|
29
|
+
http_version:
|
30
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
31
|
+
- request:
|
32
|
+
method: get
|
33
|
+
uri: http://localhost:8888/gui/?action=setsettings&devicename=IceyEC-Virtual1&dlrate=0&listeningport=63754&output=json&portmapping=1&token=GLaZWf2lCQUSADqtP2iKbMmUeP2bh9Cfqk4iqxY18BlN1cwxv38KqX-DtlEAAAAA&ulrate=0
|
34
|
+
body:
|
35
|
+
encoding: US-ASCII
|
36
|
+
string: ''
|
37
|
+
headers:
|
38
|
+
Cookie:
|
39
|
+
- GUID=GDxCK1HGwXDitWCmAVka
|
40
|
+
response:
|
41
|
+
status:
|
42
|
+
code: 200
|
43
|
+
message: OK
|
44
|
+
headers:
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
Content-Length:
|
48
|
+
- '4'
|
49
|
+
Content-Type:
|
50
|
+
- application/json; charset=utf-8
|
51
|
+
Cache-Control:
|
52
|
+
- no-cache
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ! '{ }'
|
56
|
+
http_version:
|
57
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
58
|
+
- request:
|
59
|
+
method: get
|
60
|
+
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=GLaZWf2lCQUSADqtP2iKbMmUeP2bh9Cfqk4iqxY18BlN1cwxv38KqX-DtlEAAAAA
|
61
|
+
body:
|
62
|
+
encoding: US-ASCII
|
63
|
+
string: ''
|
64
|
+
headers:
|
65
|
+
Cookie:
|
66
|
+
- GUID=GDxCK1HGwXDitWCmAVka
|
67
|
+
response:
|
68
|
+
status:
|
69
|
+
code: 200
|
70
|
+
message: OK
|
71
|
+
headers:
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Content-Length:
|
75
|
+
- '119'
|
76
|
+
Content-Type:
|
77
|
+
- application/json; charset=utf-8
|
78
|
+
Cache-Control:
|
79
|
+
- no-cache
|
80
|
+
body:
|
81
|
+
encoding: US-ASCII
|
82
|
+
string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
|
83
|
+
63754, "portmapping": 1, "ulrate": 0 } }'
|
84
|
+
http_version:
|
85
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
86
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=rShA3r5V4Pq3OYq4DTOXiqxiE6PP9LaqjqqF368g7y_UfyKXU2uvb3-DtlEAAAAA
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Cookie:
|
11
|
+
- GUID=TsFXrmm0YbYlyiYDtWmj
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Connection:
|
18
|
+
- keep-alive
|
19
|
+
Content-Length:
|
20
|
+
- '122'
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=utf-8
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
body:
|
26
|
+
encoding: US-ASCII
|
27
|
+
string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
|
28
|
+
63754, "portmapping": 1, "ulrate": 1000 } }'
|
29
|
+
http_version:
|
30
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
31
|
+
- request:
|
32
|
+
method: get
|
33
|
+
uri: http://localhost:8888/gui/?action=setsettings&devicename=IceyEC-Virtual1&dlrate=0&listeningport=63754&output=json&portmapping=1&token=rShA3r5V4Pq3OYq4DTOXiqxiE6PP9LaqjqqF368g7y_UfyKXU2uvb3-DtlEAAAAA&ulrate=0
|
34
|
+
body:
|
35
|
+
encoding: US-ASCII
|
36
|
+
string: ''
|
37
|
+
headers:
|
38
|
+
Cookie:
|
39
|
+
- GUID=TsFXrmm0YbYlyiYDtWmj
|
40
|
+
response:
|
41
|
+
status:
|
42
|
+
code: 200
|
43
|
+
message: OK
|
44
|
+
headers:
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
Content-Length:
|
48
|
+
- '4'
|
49
|
+
Content-Type:
|
50
|
+
- application/json; charset=utf-8
|
51
|
+
Cache-Control:
|
52
|
+
- no-cache
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ! '{ }'
|
56
|
+
http_version:
|
57
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
58
|
+
- request:
|
59
|
+
method: get
|
60
|
+
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=rShA3r5V4Pq3OYq4DTOXiqxiE6PP9LaqjqqF368g7y_UfyKXU2uvb3-DtlEAAAAA
|
61
|
+
body:
|
62
|
+
encoding: US-ASCII
|
63
|
+
string: ''
|
64
|
+
headers:
|
65
|
+
Cookie:
|
66
|
+
- GUID=TsFXrmm0YbYlyiYDtWmj
|
67
|
+
response:
|
68
|
+
status:
|
69
|
+
code: 200
|
70
|
+
message: OK
|
71
|
+
headers:
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Content-Length:
|
75
|
+
- '119'
|
76
|
+
Content-Type:
|
77
|
+
- application/json; charset=utf-8
|
78
|
+
Cache-Control:
|
79
|
+
- no-cache
|
80
|
+
body:
|
81
|
+
encoding: US-ASCII
|
82
|
+
string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
|
83
|
+
63754, "portmapping": 1, "ulrate": 0 } }'
|
84
|
+
http_version:
|
85
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
86
|
+
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -28,16 +28,16 @@ http_interactions:
|
|
28
28
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 0, "searchdht": 1, "searchlan":
|
29
29
|
0, "usehosts": 0, "usetracker": 0 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
32
32
|
- request:
|
33
33
|
method: get
|
34
|
-
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=0&iswritable=1&name=/home/chris/Documents&output=json&relay=0&searchdht=1&searchlan=0&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
34
|
+
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=0&iswritable=1&name=/home/chris/Documents&output=json&relay=0&searchdht=1&searchlan=0&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA&usehosts=0&usetracker=0
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
38
38
|
headers:
|
39
39
|
Cookie:
|
40
|
-
- GUID=
|
40
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
41
41
|
response:
|
42
42
|
status:
|
43
43
|
code: 200
|
@@ -55,16 +55,16 @@ http_interactions:
|
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ! '{ }'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
61
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
62
62
|
body:
|
63
63
|
encoding: US-ASCII
|
64
64
|
string: ''
|
65
65
|
headers:
|
66
66
|
Cookie:
|
67
|
-
- GUID=
|
67
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
68
68
|
response:
|
69
69
|
status:
|
70
70
|
code: 200
|
@@ -84,5 +84,5 @@ http_interactions:
|
|
84
84
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 0, "searchdht": 1, "searchlan":
|
85
85
|
0, "usehosts": 0, "usetracker": 0 } }'
|
86
86
|
http_version:
|
87
|
-
recorded_at:
|
87
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
88
88
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -28,16 +28,16 @@ http_interactions:
|
|
28
28
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
29
29
|
0, "usehosts": 0, "usetracker": 0 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
32
32
|
- request:
|
33
33
|
method: get
|
34
|
-
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&iswritable=1&name=/home/chris/Documents&output=json&relay=1&searchdht=1&searchlan=0&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
34
|
+
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&iswritable=1&name=/home/chris/Documents&output=json&relay=1&searchdht=1&searchlan=0&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA&usehosts=0&usetracker=0
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
38
38
|
headers:
|
39
39
|
Cookie:
|
40
|
-
- GUID=
|
40
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
41
41
|
response:
|
42
42
|
status:
|
43
43
|
code: 200
|
@@ -55,16 +55,16 @@ http_interactions:
|
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ! '{ }'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
61
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
62
62
|
body:
|
63
63
|
encoding: US-ASCII
|
64
64
|
string: ''
|
65
65
|
headers:
|
66
66
|
Cookie:
|
67
|
-
- GUID=
|
67
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
68
68
|
response:
|
69
69
|
status:
|
70
70
|
code: 200
|
@@ -84,5 +84,5 @@ http_interactions:
|
|
84
84
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 1, "searchlan":
|
85
85
|
0, "usehosts": 0, "usetracker": 0 } }'
|
86
86
|
http_version:
|
87
|
-
recorded_at:
|
87
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
88
88
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -28,16 +28,16 @@ http_interactions:
|
|
28
28
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
29
29
|
1, "usehosts": 1, "usetracker": 0 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
32
32
|
- request:
|
33
33
|
method: get
|
34
|
-
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&iswritable=1&name=/home/chris/Documents&output=json&relay=1&searchdht=0&searchlan=1&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
34
|
+
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&iswritable=1&name=/home/chris/Documents&output=json&relay=1&searchdht=0&searchlan=1&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA&usehosts=0&usetracker=0
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
38
38
|
headers:
|
39
39
|
Cookie:
|
40
|
-
- GUID=
|
40
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
41
41
|
response:
|
42
42
|
status:
|
43
43
|
code: 200
|
@@ -55,16 +55,16 @@ http_interactions:
|
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ! '{ }'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
61
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
62
62
|
body:
|
63
63
|
encoding: US-ASCII
|
64
64
|
string: ''
|
65
65
|
headers:
|
66
66
|
Cookie:
|
67
|
-
- GUID=
|
67
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
68
68
|
response:
|
69
69
|
status:
|
70
70
|
code: 200
|
@@ -84,5 +84,5 @@ http_interactions:
|
|
84
84
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
85
85
|
1, "usehosts": 0, "usetracker": 0 } }'
|
86
86
|
http_version:
|
87
|
-
recorded_at:
|
87
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
88
88
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -28,16 +28,16 @@ http_interactions:
|
|
28
28
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
29
29
|
1, "usehosts": 0, "usetracker": 0 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
32
32
|
- request:
|
33
33
|
method: get
|
34
|
-
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&iswritable=1&name=/home/chris/Documents&output=json&relay=1&searchdht=0&searchlan=0&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
34
|
+
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&iswritable=1&name=/home/chris/Documents&output=json&relay=1&searchdht=0&searchlan=0&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA&usehosts=0&usetracker=0
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
38
38
|
headers:
|
39
39
|
Cookie:
|
40
|
-
- GUID=
|
40
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
41
41
|
response:
|
42
42
|
status:
|
43
43
|
code: 200
|
@@ -55,16 +55,16 @@ http_interactions:
|
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ! '{ }'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
61
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
62
62
|
body:
|
63
63
|
encoding: US-ASCII
|
64
64
|
string: ''
|
65
65
|
headers:
|
66
66
|
Cookie:
|
67
|
-
- GUID=
|
67
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
68
68
|
response:
|
69
69
|
status:
|
70
70
|
code: 200
|
@@ -84,5 +84,5 @@ http_interactions:
|
|
84
84
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
85
85
|
0, "usehosts": 0, "usetracker": 0 } }'
|
86
86
|
http_version:
|
87
|
-
recorded_at:
|
87
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
88
88
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -28,16 +28,16 @@ http_interactions:
|
|
28
28
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 1, "searchlan":
|
29
29
|
0, "usehosts": 0, "usetracker": 0 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
32
32
|
- request:
|
33
33
|
method: get
|
34
|
-
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&iswritable=1&name=/home/chris/Documents&output=json&relay=0&searchdht=1&searchlan=0&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
34
|
+
uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&iswritable=1&name=/home/chris/Documents&output=json&relay=0&searchdht=1&searchlan=0&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA&usehosts=0&usetracker=0
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
38
38
|
headers:
|
39
39
|
Cookie:
|
40
|
-
- GUID=
|
40
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
41
41
|
response:
|
42
42
|
status:
|
43
43
|
code: 200
|
@@ -55,16 +55,16 @@ http_interactions:
|
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ! '{ }'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
61
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
62
62
|
body:
|
63
63
|
encoding: US-ASCII
|
64
64
|
string: ''
|
65
65
|
headers:
|
66
66
|
Cookie:
|
67
|
-
- GUID=
|
67
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
68
68
|
response:
|
69
69
|
status:
|
70
70
|
code: 200
|
@@ -84,5 +84,5 @@ http_interactions:
|
|
84
84
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 0, "searchdht": 1, "searchlan":
|
85
85
|
0, "usehosts": 0, "usetracker": 0 } }'
|
86
86
|
http_version:
|
87
|
-
recorded_at:
|
87
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
88
88
|
recorded_with: VCR 2.5.0
|