BtSync 0.5.3 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.rubocop.yml +3 -0
- data/.travis.yml +2 -2
- data/README.md +1 -0
- data/btsync.gemspec +1 -0
- data/lib/btsync.rb +90 -50
- data/lib/btsync/communicator.rb +36 -15
- data/lib/btsync/directory.rb +106 -51
- data/lib/btsync/version.rb +2 -1
- data/spec/BtSync/bt_sync_spec.rb +85 -59
- data/spec/BtSync/directory_spec.rb +77 -30
- data/spec/fixtures/cassettes/Remove-Default-Host.yml +3 -3
- data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +48 -46
- data/spec/fixtures/cassettes/Setup-BtSync.yml +287 -32
- data/spec/fixtures/cassettes/Setup-Directory-Settings.yml +6 -6
- data/spec/fixtures/cassettes/add-folder-list.yml +33 -30
- data/spec/fixtures/cassettes/add-folder.yml +67 -10
- data/spec/fixtures/cassettes/add-known-host.yml +8 -9
- data/spec/fixtures/cassettes/change_download_limit.yml +9 -9
- data/spec/fixtures/cassettes/change_listening_port.yml +9 -9
- data/spec/fixtures/cassettes/change_name.yml +9 -9
- data/spec/fixtures/cassettes/change_secret_custom.yml +59 -0
- data/spec/fixtures/cassettes/change_secret_empty.yml +59 -0
- data/spec/fixtures/cassettes/change_secret_error.yml +30 -0
- data/spec/fixtures/cassettes/change_upload_limit.yml +9 -9
- data/spec/fixtures/cassettes/check_for_new_version.yml +30 -0
- data/spec/fixtures/cassettes/check_is_writable.yml +32 -0
- data/spec/fixtures/cassettes/check_speeds.yml +33 -0
- data/spec/fixtures/cassettes/delete-directory.yml +379 -0
- data/spec/fixtures/cassettes/get-folders.yml +19 -76
- data/spec/fixtures/cassettes/get-os-type.yml +3 -3
- data/spec/fixtures/cassettes/get-peers.yml +8 -7
- data/spec/fixtures/cassettes/get-preferences.yml +24 -24
- data/spec/fixtures/cassettes/get-settings.yml +3 -3
- data/spec/fixtures/cassettes/get_dir.yml +93 -0
- data/spec/fixtures/cassettes/get_read_only_secret.yml +32 -0
- data/spec/fixtures/cassettes/{get-version.yml → get_version.yml} +4 -4
- data/spec/fixtures/cassettes/remove-folder-list.yml +19 -17
- data/spec/fixtures/cassettes/remove-folder.yml +36 -33
- data/spec/fixtures/cassettes/remove-known-host.yml +35 -8
- data/spec/fixtures/cassettes/reset_device_name.yml +9 -9
- data/spec/fixtures/cassettes/reset_download_limit.yml +9 -9
- data/spec/fixtures/cassettes/reset_listening_port.yml +9 -9
- data/spec/fixtures/cassettes/reset_secret.yml +31 -0
- data/spec/fixtures/cassettes/reset_upload_limit.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-delete.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-dht.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-hosts.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-lan.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-relay.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-tracker.yml +11 -11
- data/spec/fixtures/cassettes/view-folders.yml +3 -3
- data/spec/spec_helper.rb +7 -8
- metadata +39 -4
@@ -19,23 +19,23 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/html
|
21
21
|
Set-Cookie:
|
22
|
-
- GUID=
|
22
|
+
- GUID=sOLWWUio3fKfRmCLVW4c; 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;'>y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA</div></html>
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=
|
32
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -44,26 +44,142 @@ http_interactions:
|
|
44
44
|
Connection:
|
45
45
|
- keep-alive
|
46
46
|
Content-Length:
|
47
|
-
- '
|
47
|
+
- '252'
|
48
|
+
Content-Type:
|
49
|
+
- application/json; charset=utf-8
|
50
|
+
Cache-Control:
|
51
|
+
- no-cache
|
52
|
+
body:
|
53
|
+
encoding: US-ASCII
|
54
|
+
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
55
|
+
[ ], "readonlysecret": "RE3XDFPZGXL7UOCUQZASMOPXWTIPJVVLR", "secret": "IR2RQMMQ4BBLM4756QXFX7WPJMIKQ3AF",
|
56
|
+
"size": "54.7 MB in 8 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
57
|
+
}'
|
58
|
+
http_version:
|
59
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
60
|
+
- request:
|
61
|
+
method: get
|
62
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
63
|
+
body:
|
64
|
+
encoding: US-ASCII
|
65
|
+
string: ''
|
66
|
+
headers: {}
|
67
|
+
response:
|
68
|
+
status:
|
69
|
+
code: 200
|
70
|
+
message: OK
|
71
|
+
headers:
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Content-Length:
|
75
|
+
- '121'
|
76
|
+
Content-Type:
|
77
|
+
- text/html
|
78
|
+
Set-Cookie:
|
79
|
+
- GUID=a9n5zI1xNqoLHk5hVyvn; path=/
|
80
|
+
Cache-Control:
|
81
|
+
- no-cache
|
82
|
+
body:
|
83
|
+
encoding: US-ASCII
|
84
|
+
string: <html><div id='token' style='display:none;'>qeNZWHZsSKNgQI74K3XbvBuPWbQQNBLQaqc7uhp0BzNnL3h9jwPFVyaMxFEAAAAA</div></html>
|
85
|
+
http_version:
|
86
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
87
|
+
- request:
|
88
|
+
method: get
|
89
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=qeNZWHZsSKNgQI74K3XbvBuPWbQQNBLQaqc7uhp0BzNnL3h9jwPFVyaMxFEAAAAA
|
90
|
+
body:
|
91
|
+
encoding: US-ASCII
|
92
|
+
string: ''
|
93
|
+
headers:
|
94
|
+
Cookie:
|
95
|
+
- GUID=a9n5zI1xNqoLHk5hVyvn
|
96
|
+
response:
|
97
|
+
status:
|
98
|
+
code: 200
|
99
|
+
message: OK
|
100
|
+
headers:
|
101
|
+
Connection:
|
102
|
+
- keep-alive
|
103
|
+
Content-Length:
|
104
|
+
- '252'
|
105
|
+
Content-Type:
|
106
|
+
- application/json; charset=utf-8
|
107
|
+
Cache-Control:
|
108
|
+
- no-cache
|
109
|
+
body:
|
110
|
+
encoding: US-ASCII
|
111
|
+
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
112
|
+
[ ], "readonlysecret": "RE3XDFPZGXL7UOCUQZASMOPXWTIPJVVLR", "secret": "IR2RQMMQ4BBLM4756QXFX7WPJMIKQ3AF",
|
113
|
+
"size": "54.7 MB in 8 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
114
|
+
}'
|
115
|
+
http_version:
|
116
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
117
|
+
- request:
|
118
|
+
method: get
|
119
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA
|
120
|
+
body:
|
121
|
+
encoding: US-ASCII
|
122
|
+
string: ''
|
123
|
+
headers:
|
124
|
+
Cookie:
|
125
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
126
|
+
response:
|
127
|
+
status:
|
128
|
+
code: 200
|
129
|
+
message: OK
|
130
|
+
headers:
|
131
|
+
Connection:
|
132
|
+
- keep-alive
|
133
|
+
Content-Length:
|
134
|
+
- '252'
|
48
135
|
Content-Type:
|
49
136
|
- application/json; charset=utf-8
|
50
137
|
Cache-Control:
|
51
138
|
- no-cache
|
52
139
|
body:
|
53
140
|
encoding: US-ASCII
|
54
|
-
string: ! '{ "
|
141
|
+
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
142
|
+
[ ], "readonlysecret": "RE3XDFPZGXL7UOCUQZASMOPXWTIPJVVLR", "secret": "IR2RQMMQ4BBLM4756QXFX7WPJMIKQ3AF",
|
143
|
+
"size": "54.7 MB in 8 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
55
144
|
}'
|
56
145
|
http_version:
|
57
|
-
recorded_at:
|
146
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
58
147
|
- request:
|
59
148
|
method: get
|
60
|
-
uri: http://admin:AdminPassword@localhost:8888/gui
|
149
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
150
|
+
body:
|
151
|
+
encoding: US-ASCII
|
152
|
+
string: ''
|
153
|
+
headers: {}
|
154
|
+
response:
|
155
|
+
status:
|
156
|
+
code: 200
|
157
|
+
message: OK
|
158
|
+
headers:
|
159
|
+
Connection:
|
160
|
+
- keep-alive
|
161
|
+
Content-Length:
|
162
|
+
- '121'
|
163
|
+
Content-Type:
|
164
|
+
- text/html
|
165
|
+
Set-Cookie:
|
166
|
+
- GUID=VjHSSnk5EbHQyM5kaMpz; path=/
|
167
|
+
Cache-Control:
|
168
|
+
- no-cache
|
169
|
+
body:
|
170
|
+
encoding: US-ASCII
|
171
|
+
string: <html><div id='token' style='display:none;'>cA5f33EQ3wcmyM0msfL1EKmPUIWVI0mejuJgHbTuQ6jq9-glmJgOYCaMxFEAAAAA</div></html>
|
172
|
+
http_version:
|
173
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
174
|
+
- request:
|
175
|
+
method: get
|
176
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=cA5f33EQ3wcmyM0msfL1EKmPUIWVI0mejuJgHbTuQ6jq9-glmJgOYCaMxFEAAAAA
|
61
177
|
body:
|
62
178
|
encoding: US-ASCII
|
63
179
|
string: ''
|
64
180
|
headers:
|
65
181
|
Cookie:
|
66
|
-
- GUID=
|
182
|
+
- GUID=VjHSSnk5EbHQyM5kaMpz
|
67
183
|
response:
|
68
184
|
status:
|
69
185
|
code: 200
|
@@ -72,27 +188,166 @@ http_interactions:
|
|
72
188
|
Connection:
|
73
189
|
- keep-alive
|
74
190
|
Content-Length:
|
75
|
-
- '
|
191
|
+
- '252'
|
76
192
|
Content-Type:
|
77
193
|
- application/json; charset=utf-8
|
78
194
|
Cache-Control:
|
79
195
|
- no-cache
|
80
196
|
body:
|
81
197
|
encoding: US-ASCII
|
82
|
-
string: ! '{ "
|
83
|
-
|
198
|
+
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
199
|
+
[ ], "readonlysecret": "RE3XDFPZGXL7UOCUQZASMOPXWTIPJVVLR", "secret": "IR2RQMMQ4BBLM4756QXFX7WPJMIKQ3AF",
|
200
|
+
"size": "54.7 MB in 8 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
84
201
|
}'
|
85
202
|
http_version:
|
86
|
-
recorded_at:
|
203
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
204
|
+
- request:
|
205
|
+
method: get
|
206
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removefolder&name=/home/vagrant&output=json&secret=IR2RQMMQ4BBLM4756QXFX7WPJMIKQ3AF&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA
|
207
|
+
body:
|
208
|
+
encoding: US-ASCII
|
209
|
+
string: ''
|
210
|
+
headers:
|
211
|
+
Cookie:
|
212
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
213
|
+
response:
|
214
|
+
status:
|
215
|
+
code: 200
|
216
|
+
message: OK
|
217
|
+
headers:
|
218
|
+
Connection:
|
219
|
+
- keep-alive
|
220
|
+
Content-Length:
|
221
|
+
- '4'
|
222
|
+
Content-Type:
|
223
|
+
- application/json; charset=utf-8
|
224
|
+
Cache-Control:
|
225
|
+
- no-cache
|
226
|
+
body:
|
227
|
+
encoding: US-ASCII
|
228
|
+
string: ! '{ }'
|
229
|
+
http_version:
|
230
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
231
|
+
- request:
|
232
|
+
method: get
|
233
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=generatesecret&output=json&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA
|
234
|
+
body:
|
235
|
+
encoding: US-ASCII
|
236
|
+
string: ''
|
237
|
+
headers:
|
238
|
+
Cookie:
|
239
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
240
|
+
response:
|
241
|
+
status:
|
242
|
+
code: 200
|
243
|
+
message: OK
|
244
|
+
headers:
|
245
|
+
Connection:
|
246
|
+
- keep-alive
|
247
|
+
Content-Length:
|
248
|
+
- '97'
|
249
|
+
Content-Type:
|
250
|
+
- application/json; charset=utf-8
|
251
|
+
Cache-Control:
|
252
|
+
- no-cache
|
253
|
+
body:
|
254
|
+
encoding: US-ASCII
|
255
|
+
string: ! '{ "rosecret": "RVVZWSMFWNP7EU4E7Q34ZQN46L4E57H3J", "secret": "WQUVU4Y24ZUVTJKQ5GUGV4HTTJUE2SG2"
|
256
|
+
}'
|
257
|
+
http_version:
|
258
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
259
|
+
- request:
|
260
|
+
method: get
|
261
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addsyncfolder&name=/home/vagrant&output=json&secret=WQUVU4Y24ZUVTJKQ5GUGV4HTTJUE2SG2&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA
|
262
|
+
body:
|
263
|
+
encoding: US-ASCII
|
264
|
+
string: ''
|
265
|
+
headers:
|
266
|
+
Cookie:
|
267
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
268
|
+
response:
|
269
|
+
status:
|
270
|
+
code: 200
|
271
|
+
message: OK
|
272
|
+
headers:
|
273
|
+
Connection:
|
274
|
+
- keep-alive
|
275
|
+
Content-Length:
|
276
|
+
- '14'
|
277
|
+
Content-Type:
|
278
|
+
- application/json; charset=utf-8
|
279
|
+
Cache-Control:
|
280
|
+
- no-cache
|
281
|
+
body:
|
282
|
+
encoding: US-ASCII
|
283
|
+
string: ! '{ "error": 0 }'
|
284
|
+
http_version:
|
285
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
286
|
+
- request:
|
287
|
+
method: get
|
288
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
289
|
+
body:
|
290
|
+
encoding: US-ASCII
|
291
|
+
string: ''
|
292
|
+
headers: {}
|
293
|
+
response:
|
294
|
+
status:
|
295
|
+
code: 200
|
296
|
+
message: OK
|
297
|
+
headers:
|
298
|
+
Connection:
|
299
|
+
- keep-alive
|
300
|
+
Content-Length:
|
301
|
+
- '121'
|
302
|
+
Content-Type:
|
303
|
+
- text/html
|
304
|
+
Set-Cookie:
|
305
|
+
- GUID=cnMAgk8MPao1OVxmDThU; path=/
|
306
|
+
Cache-Control:
|
307
|
+
- no-cache
|
308
|
+
body:
|
309
|
+
encoding: US-ASCII
|
310
|
+
string: <html><div id='token' style='display:none;'>1TSlpye4ZHW8euLnNAZc2BJxXDBDeWxpNw3LEDXOmaHR_w0KSO6uSyaMxFEAAAAA</div></html>
|
311
|
+
http_version:
|
312
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
313
|
+
- request:
|
314
|
+
method: get
|
315
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=1TSlpye4ZHW8euLnNAZc2BJxXDBDeWxpNw3LEDXOmaHR_w0KSO6uSyaMxFEAAAAA
|
316
|
+
body:
|
317
|
+
encoding: US-ASCII
|
318
|
+
string: ''
|
319
|
+
headers:
|
320
|
+
Cookie:
|
321
|
+
- GUID=cnMAgk8MPao1OVxmDThU
|
322
|
+
response:
|
323
|
+
status:
|
324
|
+
code: 200
|
325
|
+
message: OK
|
326
|
+
headers:
|
327
|
+
Connection:
|
328
|
+
- keep-alive
|
329
|
+
Content-Length:
|
330
|
+
- '248'
|
331
|
+
Content-Type:
|
332
|
+
- application/json; charset=utf-8
|
333
|
+
Cache-Control:
|
334
|
+
- no-cache
|
335
|
+
body:
|
336
|
+
encoding: US-ASCII
|
337
|
+
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
338
|
+
[ ], "readonlysecret": "RVVZWSMFWNP7EU4E7Q34ZQN46L4E57H3J", "secret": "WQUVU4Y24ZUVTJKQ5GUGV4HTTJUE2SG2",
|
339
|
+
"size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
340
|
+
http_version:
|
341
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
87
342
|
- request:
|
88
343
|
method: get
|
89
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=
|
344
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA
|
90
345
|
body:
|
91
346
|
encoding: US-ASCII
|
92
347
|
string: ''
|
93
348
|
headers:
|
94
349
|
Cookie:
|
95
|
-
- GUID=
|
350
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
96
351
|
response:
|
97
352
|
status:
|
98
353
|
code: 200
|
@@ -111,16 +366,16 @@ http_interactions:
|
|
111
366
|
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
112
367
|
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
113
368
|
http_version:
|
114
|
-
recorded_at:
|
369
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
115
370
|
- request:
|
116
371
|
method: get
|
117
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=
|
372
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA&ulrate=0
|
118
373
|
body:
|
119
374
|
encoding: US-ASCII
|
120
375
|
string: ''
|
121
376
|
headers:
|
122
377
|
Cookie:
|
123
|
-
- GUID=
|
378
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
124
379
|
response:
|
125
380
|
status:
|
126
381
|
code: 200
|
@@ -138,16 +393,16 @@ http_interactions:
|
|
138
393
|
encoding: US-ASCII
|
139
394
|
string: ! '{ }'
|
140
395
|
http_version:
|
141
|
-
recorded_at:
|
396
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
142
397
|
- request:
|
143
398
|
method: get
|
144
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=
|
399
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA
|
145
400
|
body:
|
146
401
|
encoding: US-ASCII
|
147
402
|
string: ''
|
148
403
|
headers:
|
149
404
|
Cookie:
|
150
|
-
- GUID=
|
405
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
151
406
|
response:
|
152
407
|
status:
|
153
408
|
code: 200
|
@@ -166,16 +421,16 @@ http_interactions:
|
|
166
421
|
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
167
422
|
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
168
423
|
http_version:
|
169
|
-
recorded_at:
|
424
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
170
425
|
- request:
|
171
426
|
method: get
|
172
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=
|
427
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA&ulrate=0
|
173
428
|
body:
|
174
429
|
encoding: US-ASCII
|
175
430
|
string: ''
|
176
431
|
headers:
|
177
432
|
Cookie:
|
178
|
-
- GUID=
|
433
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
179
434
|
response:
|
180
435
|
status:
|
181
436
|
code: 200
|
@@ -193,16 +448,16 @@ http_interactions:
|
|
193
448
|
encoding: US-ASCII
|
194
449
|
string: ! '{ }'
|
195
450
|
http_version:
|
196
|
-
recorded_at:
|
451
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
197
452
|
- request:
|
198
453
|
method: get
|
199
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=
|
454
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA
|
200
455
|
body:
|
201
456
|
encoding: US-ASCII
|
202
457
|
string: ''
|
203
458
|
headers:
|
204
459
|
Cookie:
|
205
|
-
- GUID=
|
460
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
206
461
|
response:
|
207
462
|
status:
|
208
463
|
code: 200
|
@@ -221,16 +476,16 @@ http_interactions:
|
|
221
476
|
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
222
477
|
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
223
478
|
http_version:
|
224
|
-
recorded_at:
|
479
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
225
480
|
- request:
|
226
481
|
method: get
|
227
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=
|
482
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA&ulrate=0
|
228
483
|
body:
|
229
484
|
encoding: US-ASCII
|
230
485
|
string: ''
|
231
486
|
headers:
|
232
487
|
Cookie:
|
233
|
-
- GUID=
|
488
|
+
- GUID=sOLWWUio3fKfRmCLVW4c
|
234
489
|
response:
|
235
490
|
status:
|
236
491
|
code: 200
|
@@ -248,5 +503,5 @@ http_interactions:
|
|
248
503
|
encoding: US-ASCII
|
249
504
|
string: ! '{ }'
|
250
505
|
http_version:
|
251
|
-
recorded_at:
|
506
|
+
recorded_at: Fri, 21 Jun 2013 17:23:50 GMT
|
252
507
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setfolderpref&deletetotrash=1&name=/home/vagrant&output=json&relay=1&searchdht=0&searchlan=1&secret=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setfolderpref&deletetotrash=1&name=/home/vagrant&output=json&relay=1&searchdht=0&searchlan=1&secret=WQUVU4Y24ZUVTJKQ5GUGV4HTTJUE2SG2&token=ejWv64pWCtIPBpqIfktISTdvRTZ3BcZ0enIRIZ_AMOIUf-TCNkPF7iiMxFEAAAAA&usehosts=1&usetracker=1
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=rjaBHJHENSXofGDyyThi
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -26,16 +26,16 @@ http_interactions:
|
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ }'
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Fri, 21 Jun 2013 17:23:52 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addknownhosts&addr=192.168.1.5&name=/home/vagrant&output=json&port=45685&secret=
|
32
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addknownhosts&addr=192.168.1.5&name=/home/vagrant&output=json&port=45685&secret=WQUVU4Y24ZUVTJKQ5GUGV4HTTJUE2SG2&token=ejWv64pWCtIPBpqIfktISTdvRTZ3BcZ0enIRIZ_AMOIUf-TCNkPF7iiMxFEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=rjaBHJHENSXofGDyyThi
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -53,5 +53,5 @@ http_interactions:
|
|
53
53
|
encoding: US-ASCII
|
54
54
|
string: ! '{ }'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Fri, 21 Jun 2013 17:23:52 GMT
|
57
57
|
recorded_with: VCR 2.5.0
|