BtSync 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +18 -2
  3. data/lib/btsync.rb +39 -3
  4. data/lib/btsync/communicator.rb +18 -4
  5. data/lib/btsync/directory.rb +19 -3
  6. data/lib/btsync/version.rb +1 -1
  7. data/spec/BtSync/bt_sync_spec.rb +60 -0
  8. data/spec/BtSync/directory_spec.rb +17 -3
  9. data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +11 -10
  10. data/spec/fixtures/cassettes/Setup-Directory-Settings.yml +14 -13
  11. data/spec/fixtures/cassettes/add-folder-list.yml +30 -27
  12. data/spec/fixtures/cassettes/add-folder.yml +21 -20
  13. data/spec/fixtures/cassettes/add-known-host.yml +58 -0
  14. data/spec/fixtures/cassettes/change_download_limit.yml +113 -0
  15. data/spec/fixtures/cassettes/change_listening_port.yml +113 -0
  16. data/spec/fixtures/cassettes/change_name.yml +113 -0
  17. data/spec/fixtures/cassettes/change_upload_limit.yml +113 -0
  18. data/spec/fixtures/cassettes/get-folders.yml +22 -20
  19. data/spec/fixtures/cassettes/get-known-hosts.yml +3 -3
  20. data/spec/fixtures/cassettes/get-os-type.yml +6 -6
  21. data/spec/fixtures/cassettes/get-peers.yml +8 -7
  22. data/spec/fixtures/cassettes/get-preferences.yml +18 -18
  23. data/spec/fixtures/cassettes/get-settings.yml +6 -6
  24. data/spec/fixtures/cassettes/get-version.yml +6 -6
  25. data/spec/fixtures/cassettes/remove-folder-list.yml +19 -17
  26. data/spec/fixtures/cassettes/remove-folder.yml +33 -30
  27. data/spec/fixtures/cassettes/remove-known-host.yml +57 -0
  28. data/spec/fixtures/cassettes/reset_device_name.yml +86 -0
  29. data/spec/fixtures/cassettes/reset_download_limit.yml +86 -0
  30. data/spec/fixtures/cassettes/reset_listening_port.yml +86 -0
  31. data/spec/fixtures/cassettes/reset_upload_limit.yml +86 -0
  32. data/spec/fixtures/cassettes/set-preferences-delete.yml +9 -9
  33. data/spec/fixtures/cassettes/set-preferences-dht.yml +9 -9
  34. data/spec/fixtures/cassettes/set-preferences-hosts.yml +9 -9
  35. data/spec/fixtures/cassettes/set-preferences-lan.yml +9 -9
  36. data/spec/fixtures/cassettes/set-preferences-relay.yml +9 -9
  37. data/spec/fixtures/cassettes/set-preferences-tracker.yml +9 -9
  38. data/spec/fixtures/cassettes/view-folders.yml +3 -3
  39. 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=o3h6NjwTCAtooaFRH6bY; path=/
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;'>Vv6gVI92Fme6SMIvZE4h7Tfn1SIPCEFRpHGGbPUkgF20k_w9mHGe7S4fslEAAAAA</div></html>
27
+ string: <html><div id='token' style='display:none;'>JMujymYftPadRjYW94QZZ0wCyZkNI6XVQaIirlKbKp9tEYOoTdrLl3-DtlEAAAAA</div></html>
28
28
  http_version:
29
- recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
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=Vv6gVI92Fme6SMIvZE4h7Tfn1SIPCEFRpHGGbPUkgF20k_w9mHGe7S4fslEAAAAA
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=o3h6NjwTCAtooaFRH6bY
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
- - '185'
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
- "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" } ],
56
- "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
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: Fri, 07 Jun 2013 17:58:06 GMT
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=ACkmXhebZzj2tulyrP6E; path=/
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;'>P6eIYaVeBdl2a88u3u6s9enbVwJ1mxxsvCZyTX4gfNZ0GS-28oRnty4fslEAAAAA</div></html>
84
+ string: <html><div id='token' style='display:none;'>_T3OxT7Cd5T_HAJhEBDFxovYrNtHj0CupyC14lEUb4Qk8zd6iYR_Fn-DtlEAAAAA</div></html>
84
85
  http_version:
85
- recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
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=P6eIYaVeBdl2a88u3u6s9enbVwJ1mxxsvCZyTX4gfNZ0GS-28oRnty4fslEAAAAA
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=ACkmXhebZzj2tulyrP6E
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
- - '185'
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
- "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" } ],
112
- "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
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: Fri, 07 Jun 2013 17:58:06 GMT
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=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
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=BuR9HOy5Q7UR5Kg4zToj
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: Fri, 07 Jun 2013 17:58:06 GMT
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=n7XODETwa0IMP0rG4E9A; path=/
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;'>dVwA-28UmwekZk4MiHSezwRRQud-YpC--_5jLqi1ZepsLKLBanUWRy4fslEAAAAA</div></html>
27
+ string: <html><div id='token' style='display:none;'>L85OZizUmvgobKcrIincEGwEBxBrhyDZuz5OCKYefCakcYZs3SyviX-DtlEAAAAA</div></html>
28
28
  http_version:
29
- recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
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=dVwA-28UmwekZk4MiHSezwRRQud-YpC--_5jLqi1ZepsLKLBanUWRy4fslEAAAAA
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=n7XODETwa0IMP0rG4E9A
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: Fri, 07 Jun 2013 17:58:06 GMT
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=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
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=BuR9HOy5Q7UR5Kg4zToj
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
- - '185'
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
- "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" } ],
29
- "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
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: Fri, 07 Jun 2013 17:58:06 GMT
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=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
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=BuR9HOy5Q7UR5Kg4zToj
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: Fri, 07 Jun 2013 17:58:06 GMT
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=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
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=BuR9HOy5Q7UR5Kg4zToj
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: Fri, 07 Jun 2013 17:58:06 GMT
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=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
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=BuR9HOy5Q7UR5Kg4zToj
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: Fri, 07 Jun 2013 17:58:06 GMT
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=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
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=BuR9HOy5Q7UR5Kg4zToj
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: Fri, 07 Jun 2013 17:58:06 GMT
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=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
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=BuR9HOy5Q7UR5Kg4zToj
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: Fri, 07 Jun 2013 17:58:06 GMT
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=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
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=BuR9HOy5Q7UR5Kg4zToj
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: Fri, 07 Jun 2013 17:58:06 GMT
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=8iAyclB2xmnYn6umHWz5; path=/
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;'>TJJWqImEOnnrud5oNnluBg-cJVGztlWnjZ7Krt6QQF4OtXvyW2XNJC4fslEAAAAA</div></html>
27
+ string: <html><div id='token' style='display:none;'>gGxWdAsiDAEXDTQnRHzKZRRO0SksuWhA7pDzg_G-n_h1NmZZfB9oCn-DtlEAAAAA</div></html>
28
28
  http_version:
29
- recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
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=TJJWqImEOnnrud5oNnluBg-cJVGztlWnjZ7Krt6QQF4OtXvyW2XNJC4fslEAAAAA
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=8iAyclB2xmnYn6umHWz5
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: Fri, 07 Jun 2013 17:58:06 GMT
57
+ recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
58
58
  recorded_with: VCR 2.5.0