BtSync 0.5.3 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +8 -8
  2. data/.rubocop.yml +3 -0
  3. data/.travis.yml +2 -2
  4. data/README.md +1 -0
  5. data/btsync.gemspec +1 -0
  6. data/lib/btsync.rb +90 -50
  7. data/lib/btsync/communicator.rb +36 -15
  8. data/lib/btsync/directory.rb +106 -51
  9. data/lib/btsync/version.rb +2 -1
  10. data/spec/BtSync/bt_sync_spec.rb +85 -59
  11. data/spec/BtSync/directory_spec.rb +77 -30
  12. data/spec/fixtures/cassettes/Remove-Default-Host.yml +3 -3
  13. data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +48 -46
  14. data/spec/fixtures/cassettes/Setup-BtSync.yml +287 -32
  15. data/spec/fixtures/cassettes/Setup-Directory-Settings.yml +6 -6
  16. data/spec/fixtures/cassettes/add-folder-list.yml +33 -30
  17. data/spec/fixtures/cassettes/add-folder.yml +67 -10
  18. data/spec/fixtures/cassettes/add-known-host.yml +8 -9
  19. data/spec/fixtures/cassettes/change_download_limit.yml +9 -9
  20. data/spec/fixtures/cassettes/change_listening_port.yml +9 -9
  21. data/spec/fixtures/cassettes/change_name.yml +9 -9
  22. data/spec/fixtures/cassettes/change_secret_custom.yml +59 -0
  23. data/spec/fixtures/cassettes/change_secret_empty.yml +59 -0
  24. data/spec/fixtures/cassettes/change_secret_error.yml +30 -0
  25. data/spec/fixtures/cassettes/change_upload_limit.yml +9 -9
  26. data/spec/fixtures/cassettes/check_for_new_version.yml +30 -0
  27. data/spec/fixtures/cassettes/check_is_writable.yml +32 -0
  28. data/spec/fixtures/cassettes/check_speeds.yml +33 -0
  29. data/spec/fixtures/cassettes/delete-directory.yml +379 -0
  30. data/spec/fixtures/cassettes/get-folders.yml +19 -76
  31. data/spec/fixtures/cassettes/get-os-type.yml +3 -3
  32. data/spec/fixtures/cassettes/get-peers.yml +8 -7
  33. data/spec/fixtures/cassettes/get-preferences.yml +24 -24
  34. data/spec/fixtures/cassettes/get-settings.yml +3 -3
  35. data/spec/fixtures/cassettes/get_dir.yml +93 -0
  36. data/spec/fixtures/cassettes/get_read_only_secret.yml +32 -0
  37. data/spec/fixtures/cassettes/{get-version.yml → get_version.yml} +4 -4
  38. data/spec/fixtures/cassettes/remove-folder-list.yml +19 -17
  39. data/spec/fixtures/cassettes/remove-folder.yml +36 -33
  40. data/spec/fixtures/cassettes/remove-known-host.yml +35 -8
  41. data/spec/fixtures/cassettes/reset_device_name.yml +9 -9
  42. data/spec/fixtures/cassettes/reset_download_limit.yml +9 -9
  43. data/spec/fixtures/cassettes/reset_listening_port.yml +9 -9
  44. data/spec/fixtures/cassettes/reset_secret.yml +31 -0
  45. data/spec/fixtures/cassettes/reset_upload_limit.yml +9 -9
  46. data/spec/fixtures/cassettes/set-preferences-delete.yml +11 -11
  47. data/spec/fixtures/cassettes/set-preferences-dht.yml +11 -11
  48. data/spec/fixtures/cassettes/set-preferences-hosts.yml +11 -11
  49. data/spec/fixtures/cassettes/set-preferences-lan.yml +11 -11
  50. data/spec/fixtures/cassettes/set-preferences-relay.yml +11 -11
  51. data/spec/fixtures/cassettes/set-preferences-tracker.yml +11 -11
  52. data/spec/fixtures/cassettes/view-folders.yml +3 -3
  53. data/spec/spec_helper.rb +7 -8
  54. metadata +39 -4
@@ -19,23 +19,23 @@ http_interactions:
19
19
  Content-Type:
20
20
  - text/html
21
21
  Set-Cookie:
22
- - GUID=7Sb1dvknwuyiiKy9xvYv; path=/
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;'>u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA</div></html>
27
+ string: <html><div id='token' style='display:none;'>y-E7Ch8p-W5UzrwOvkc1jwZzjKpSy8aJAVqIqiTqdbkr8ytOHWyxOSaMxFEAAAAA</div></html>
28
28
  http_version:
29
- recorded_at: Wed, 12 Jun 2013 18:42:11 GMT
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=generatesecret&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
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=7Sb1dvknwuyiiKy9xvYv
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
- - '97'
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: ! '{ "rosecret": "RQNZJMSPFXAKR4H5245OZIU4KNS3CFX23", "secret": "WDKTWVJYVXUBHLDXQL5NXQ54HL72EF7Q"
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: Wed, 12 Jun 2013 18:42:11 GMT
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/?action=addsyncfolder&name=/home/vagrant&output=json&secret=WDKTWVJYVXUBHLDXQL5NXQ54HL72EF7Q&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
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=7Sb1dvknwuyiiKy9xvYv
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
- - '153'
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: ! '{ "error": 200, "message": "Selected folder is already added to BitTorrent
83
- Sync.", "n": "\/home\/vagrant", "secret": "WDKTWVJYVXUBHLDXQL5NXQ54HL72EF7Q"
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: Wed, 12 Jun 2013 18:42:11 GMT
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=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
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=7Sb1dvknwuyiiKy9xvYv
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: Wed, 12 Jun 2013 18:42:11 GMT
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=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA&ulrate=0
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=7Sb1dvknwuyiiKy9xvYv
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: Wed, 12 Jun 2013 18:42:11 GMT
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=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
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=7Sb1dvknwuyiiKy9xvYv
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: Wed, 12 Jun 2013 18:42:11 GMT
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=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA&ulrate=0
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=7Sb1dvknwuyiiKy9xvYv
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: Wed, 12 Jun 2013 18:42:11 GMT
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=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
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=7Sb1dvknwuyiiKy9xvYv
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: Wed, 12 Jun 2013 18:42:11 GMT
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=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA&ulrate=0
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=7Sb1dvknwuyiiKy9xvYv
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: Wed, 12 Jun 2013 18:42:11 GMT
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=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA&usehosts=1&usetracker=1
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=TotE2NElyDGhazP4Fk3b
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: Wed, 12 Jun 2013 18:42:12 GMT
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=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
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=TotE2NElyDGhazP4Fk3b
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: Wed, 12 Jun 2013 18:42:12 GMT
56
+ recorded_at: Fri, 21 Jun 2013 17:23:52 GMT
57
57
  recorded_with: VCR 2.5.0