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,113 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:8888/gui/token.html?output=text
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Connection:
|
16
|
+
- keep-alive
|
17
|
+
Content-Length:
|
18
|
+
- '121'
|
19
|
+
Content-Type:
|
20
|
+
- text/html
|
21
|
+
Set-Cookie:
|
22
|
+
- GUID=TsFXrmm0YbYlyiYDtWmj; path=/
|
23
|
+
Cache-Control:
|
24
|
+
- no-cache
|
25
|
+
body:
|
26
|
+
encoding: US-ASCII
|
27
|
+
string: <html><div id='token' style='display:none;'>rShA3r5V4Pq3OYq4DTOXiqxiE6PP9LaqjqqF368g7y_UfyKXU2uvb3-DtlEAAAAA</div></html>
|
28
|
+
http_version:
|
29
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
30
|
+
- request:
|
31
|
+
method: get
|
32
|
+
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=rShA3r5V4Pq3OYq4DTOXiqxiE6PP9LaqjqqF368g7y_UfyKXU2uvb3-DtlEAAAAA
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ''
|
36
|
+
headers:
|
37
|
+
Cookie:
|
38
|
+
- GUID=TsFXrmm0YbYlyiYDtWmj
|
39
|
+
response:
|
40
|
+
status:
|
41
|
+
code: 200
|
42
|
+
message: OK
|
43
|
+
headers:
|
44
|
+
Connection:
|
45
|
+
- keep-alive
|
46
|
+
Content-Length:
|
47
|
+
- '119'
|
48
|
+
Content-Type:
|
49
|
+
- application/json; charset=utf-8
|
50
|
+
Cache-Control:
|
51
|
+
- no-cache
|
52
|
+
body:
|
53
|
+
encoding: US-ASCII
|
54
|
+
string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
|
55
|
+
63754, "portmapping": 1, "ulrate": 0 } }'
|
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=setsettings&devicename=IceyEC-Virtual1&dlrate=0&listeningport=63754&output=json&portmapping=1&token=rShA3r5V4Pq3OYq4DTOXiqxiE6PP9LaqjqqF368g7y_UfyKXU2uvb3-DtlEAAAAA&ulrate=1000
|
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
|
+
- '4'
|
76
|
+
Content-Type:
|
77
|
+
- application/json; charset=utf-8
|
78
|
+
Cache-Control:
|
79
|
+
- no-cache
|
80
|
+
body:
|
81
|
+
encoding: US-ASCII
|
82
|
+
string: ! '{ }'
|
83
|
+
http_version:
|
84
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
85
|
+
- request:
|
86
|
+
method: get
|
87
|
+
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=rShA3r5V4Pq3OYq4DTOXiqxiE6PP9LaqjqqF368g7y_UfyKXU2uvb3-DtlEAAAAA
|
88
|
+
body:
|
89
|
+
encoding: US-ASCII
|
90
|
+
string: ''
|
91
|
+
headers:
|
92
|
+
Cookie:
|
93
|
+
- GUID=TsFXrmm0YbYlyiYDtWmj
|
94
|
+
response:
|
95
|
+
status:
|
96
|
+
code: 200
|
97
|
+
message: OK
|
98
|
+
headers:
|
99
|
+
Connection:
|
100
|
+
- keep-alive
|
101
|
+
Content-Length:
|
102
|
+
- '122'
|
103
|
+
Content-Type:
|
104
|
+
- application/json; charset=utf-8
|
105
|
+
Cache-Control:
|
106
|
+
- no-cache
|
107
|
+
body:
|
108
|
+
encoding: US-ASCII
|
109
|
+
string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
|
110
|
+
63754, "portmapping": 1, "ulrate": 1000 } }'
|
111
|
+
http_version:
|
112
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
113
|
+
recorded_with: VCR 2.5.0
|
@@ -19,23 +19,23 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/html
|
21
21
|
Set-Cookie:
|
22
|
-
- GUID=
|
22
|
+
- GUID=sJU8hiQ5NSVuc2dxB8Dn; path=/
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>
|
27
|
+
string: <html><div id='token' style='display:none;'>JMujymYftPadRjYW94QZZ0wCyZkNI6XVQaIirlKbKp9tEYOoTdrLl3-DtlEAAAAA</div></html>
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
32
|
+
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=JMujymYftPadRjYW94QZZ0wCyZkNI6XVQaIirlKbKp9tEYOoTdrLl3-DtlEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=sJU8hiQ5NSVuc2dxB8Dn
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -44,18 +44,19 @@ http_interactions:
|
|
44
44
|
Connection:
|
45
45
|
- keep-alive
|
46
46
|
Content-Length:
|
47
|
-
- '
|
47
|
+
- '270'
|
48
48
|
Content-Type:
|
49
49
|
- application/json; charset=utf-8
|
50
50
|
Cache-Control:
|
51
51
|
- no-cache
|
52
52
|
body:
|
53
53
|
encoding: US-ASCII
|
54
|
-
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [
|
55
|
-
"
|
56
|
-
"
|
54
|
+
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ {
|
55
|
+
"direct": 1, "name": "IceyEC Portable", "status": "Synced on 06\/05\/13 20:52:35"
|
56
|
+
} ], "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files"
|
57
|
+
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
57
58
|
http_version:
|
58
|
-
recorded_at:
|
59
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
59
60
|
- request:
|
60
61
|
method: get
|
61
62
|
uri: http://localhost:8888/gui/token.html?output=text
|
@@ -75,23 +76,23 @@ http_interactions:
|
|
75
76
|
Content-Type:
|
76
77
|
- text/html
|
77
78
|
Set-Cookie:
|
78
|
-
- GUID=
|
79
|
+
- GUID=8SUzn9h537uwwH67x6wP; path=/
|
79
80
|
Cache-Control:
|
80
81
|
- no-cache
|
81
82
|
body:
|
82
83
|
encoding: US-ASCII
|
83
|
-
string: <html><div id='token' style='display:none;'>
|
84
|
+
string: <html><div id='token' style='display:none;'>_T3OxT7Cd5T_HAJhEBDFxovYrNtHj0CupyC14lEUb4Qk8zd6iYR_Fn-DtlEAAAAA</div></html>
|
84
85
|
http_version:
|
85
|
-
recorded_at:
|
86
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
86
87
|
- request:
|
87
88
|
method: get
|
88
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
89
|
+
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=_T3OxT7Cd5T_HAJhEBDFxovYrNtHj0CupyC14lEUb4Qk8zd6iYR_Fn-DtlEAAAAA
|
89
90
|
body:
|
90
91
|
encoding: US-ASCII
|
91
92
|
string: ''
|
92
93
|
headers:
|
93
94
|
Cookie:
|
94
|
-
- GUID=
|
95
|
+
- GUID=8SUzn9h537uwwH67x6wP
|
95
96
|
response:
|
96
97
|
status:
|
97
98
|
code: 200
|
@@ -100,16 +101,17 @@ http_interactions:
|
|
100
101
|
Connection:
|
101
102
|
- keep-alive
|
102
103
|
Content-Length:
|
103
|
-
- '
|
104
|
+
- '270'
|
104
105
|
Content-Type:
|
105
106
|
- application/json; charset=utf-8
|
106
107
|
Cache-Control:
|
107
108
|
- no-cache
|
108
109
|
body:
|
109
110
|
encoding: US-ASCII
|
110
|
-
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [
|
111
|
-
"
|
112
|
-
"
|
111
|
+
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ {
|
112
|
+
"direct": 1, "name": "IceyEC Portable", "status": "Synced on 06\/05\/13 20:52:35"
|
113
|
+
} ], "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files"
|
114
|
+
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
113
115
|
http_version:
|
114
|
-
recorded_at:
|
116
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
115
117
|
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=getknownhosts&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getknownhosts&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
|
@@ -26,5 +26,5 @@ http_interactions:
|
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "hosts": [ { "index": 0, "peer": "192.168.1.5:45685" } ] }'
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
30
30
|
recorded_with: VCR 2.5.0
|
@@ -19,23 +19,23 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/html
|
21
21
|
Set-Cookie:
|
22
|
-
- GUID=
|
22
|
+
- GUID=ApytqtfI91r4IdudjTIN; path=/
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>
|
27
|
+
string: <html><div id='token' style='display:none;'>L85OZizUmvgobKcrIincEGwEBxBrhyDZuz5OCKYefCakcYZs3SyviX-DtlEAAAAA</div></html>
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getostype&output=json&token=
|
32
|
+
uri: http://localhost:8888/gui/?action=getostype&output=json&token=L85OZizUmvgobKcrIincEGwEBxBrhyDZuz5OCKYefCakcYZs3SyviX-DtlEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=ApytqtfI91r4IdudjTIN
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -53,5 +53,5 @@ http_interactions:
|
|
53
53
|
encoding: US-ASCII
|
54
54
|
string: ! '{ "os": "linux" }'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
57
57
|
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=getsyncfolders&output=json&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&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
|
@@ -17,16 +17,17 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '270'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [
|
28
|
-
"
|
29
|
-
"
|
27
|
+
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ {
|
28
|
+
"direct": 1, "name": "IceyEC Portable", "status": "Synced on 06\/05\/13 20:52:35"
|
29
|
+
} ], "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files"
|
30
|
+
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
30
31
|
http_version:
|
31
|
-
recorded_at:
|
32
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
32
33
|
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": 1 } }'
|
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=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
34
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
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
|
@@ -57,16 +57,16 @@ http_interactions:
|
|
57
57
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
58
58
|
1, "usehosts": 1, "usetracker": 1 } }'
|
59
59
|
http_version:
|
60
|
-
recorded_at:
|
60
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
61
61
|
- request:
|
62
62
|
method: get
|
63
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
63
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
64
64
|
body:
|
65
65
|
encoding: US-ASCII
|
66
66
|
string: ''
|
67
67
|
headers:
|
68
68
|
Cookie:
|
69
|
-
- GUID=
|
69
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
70
70
|
response:
|
71
71
|
status:
|
72
72
|
code: 200
|
@@ -86,16 +86,16 @@ http_interactions:
|
|
86
86
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
87
87
|
1, "usehosts": 1, "usetracker": 1 } }'
|
88
88
|
http_version:
|
89
|
-
recorded_at:
|
89
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
90
90
|
- request:
|
91
91
|
method: get
|
92
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
92
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
93
93
|
body:
|
94
94
|
encoding: US-ASCII
|
95
95
|
string: ''
|
96
96
|
headers:
|
97
97
|
Cookie:
|
98
|
-
- GUID=
|
98
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
99
99
|
response:
|
100
100
|
status:
|
101
101
|
code: 200
|
@@ -115,16 +115,16 @@ http_interactions:
|
|
115
115
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
116
116
|
1, "usehosts": 1, "usetracker": 1 } }'
|
117
117
|
http_version:
|
118
|
-
recorded_at:
|
118
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
119
119
|
- request:
|
120
120
|
method: get
|
121
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
121
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
125
125
|
headers:
|
126
126
|
Cookie:
|
127
|
-
- GUID=
|
127
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
128
128
|
response:
|
129
129
|
status:
|
130
130
|
code: 200
|
@@ -144,16 +144,16 @@ http_interactions:
|
|
144
144
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
145
145
|
1, "usehosts": 1, "usetracker": 1 } }'
|
146
146
|
http_version:
|
147
|
-
recorded_at:
|
147
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
148
148
|
- request:
|
149
149
|
method: get
|
150
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
150
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
|
151
151
|
body:
|
152
152
|
encoding: US-ASCII
|
153
153
|
string: ''
|
154
154
|
headers:
|
155
155
|
Cookie:
|
156
|
-
- GUID=
|
156
|
+
- GUID=SZGEavWRWlylZwpb4y1U
|
157
157
|
response:
|
158
158
|
status:
|
159
159
|
code: 200
|
@@ -173,5 +173,5 @@ http_interactions:
|
|
173
173
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
174
174
|
1, "usehosts": 1, "usetracker": 1 } }'
|
175
175
|
http_version:
|
176
|
-
recorded_at:
|
176
|
+
recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
|
177
177
|
recorded_with: VCR 2.5.0
|
@@ -19,23 +19,23 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/html
|
21
21
|
Set-Cookie:
|
22
|
-
- GUID=
|
22
|
+
- GUID=h7rsYhEBFJ4m65WcjuHL; path=/
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>
|
27
|
+
string: <html><div id='token' style='display:none;'>gGxWdAsiDAEXDTQnRHzKZRRO0SksuWhA7pDzg_G-n_h1NmZZfB9oCn-DtlEAAAAA</div></html>
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=
|
32
|
+
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=gGxWdAsiDAEXDTQnRHzKZRRO0SksuWhA7pDzg_G-n_h1NmZZfB9oCn-DtlEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=h7rsYhEBFJ4m65WcjuHL
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -54,5 +54,5 @@ http_interactions:
|
|
54
54
|
string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
|
55
55
|
63754, "portmapping": 1, "ulrate": 0 } }'
|
56
56
|
http_version:
|
57
|
-
recorded_at:
|
57
|
+
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
58
58
|
recorded_with: VCR 2.5.0
|