BtSync 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Vagrantfile +2 -2
- data/lib/btsync.rb +14 -17
- data/lib/btsync/directory.rb +4 -10
- data/lib/btsync/version.rb +1 -1
- data/spec/BtSync/bt_sync_spec.rb +11 -4
- data/spec/fixtures/cassettes/Remove-Default-Host.yml +57 -3
- data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +44 -44
- data/spec/fixtures/cassettes/Setup-BtSync.yml +75 -75
- 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 +19 -18
- data/spec/fixtures/cassettes/add-known-host.yml +6 -6
- 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 +8 -8
- data/spec/fixtures/cassettes/change_secret_empty.yml +8 -8
- data/spec/fixtures/cassettes/change_secret_error.yml +3 -3
- data/spec/fixtures/cassettes/change_upload_limit.yml +9 -9
- data/spec/fixtures/cassettes/check_for_new_version.yml +3 -3
- data/spec/fixtures/cassettes/check_is_writable.yml +4 -4
- data/spec/fixtures/cassettes/check_speeds.yml +7 -7
- data/spec/fixtures/cassettes/delete-directory.yml +64 -64
- data/spec/fixtures/cassettes/get-folders.yml +15 -17
- data/spec/fixtures/cassettes/get-os-type.yml +3 -3
- data/spec/fixtures/cassettes/get-peers.yml +6 -6
- 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 +21 -21
- data/spec/fixtures/cassettes/get_read_only_secret.yml +4 -4
- data/spec/fixtures/cassettes/get_version.yml +3 -3
- data/spec/fixtures/cassettes/remove-folder-list.yml +17 -17
- data/spec/fixtures/cassettes/remove-folder.yml +36 -33
- data/spec/fixtures/cassettes/remove-known-host.yml +63 -9
- 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 +4 -4
- 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
- metadata +2 -2
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=generatesecret&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=generatesecret&output=json&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -24,19 +24,19 @@ http_interactions:
|
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "rosecret": "
|
27
|
+
string: ! '{ "rosecret": "RO6AGVKD4Y7GECCEPOU2COKSXO6H4QO44", "secret": "AM6U3G36BMSMIZ2PNRQKU6RGZ3YB2A7J"
|
28
28
|
}'
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 26 Jun 2013 19:29:15 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=updatesecret&name=/home/vagrant&newsecret=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=updatesecret&name=/home/vagrant&newsecret=AM6U3G36BMSMIZ2PNRQKU6RGZ3YB2A7J&output=json&secret=ZRSTO2NSAH2PY4M42RTJHMWDCESLLAS2&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
Cookie:
|
39
|
-
- GUID=
|
39
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
40
40
|
response:
|
41
41
|
status:
|
42
42
|
code: 200
|
@@ -52,8 +52,8 @@ http_interactions:
|
|
52
52
|
- no-cache
|
53
53
|
body:
|
54
54
|
encoding: US-ASCII
|
55
|
-
string: ! '{ "rosecret": "
|
55
|
+
string: ! '{ "rosecret": "RO6AGVKD4Y7GECCEPOU2COKSXO6H4QO44", "secret": "AM6U3G36BMSMIZ2PNRQKU6RGZ3YB2A7J"
|
56
56
|
}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 26 Jun 2013 19:29:15 GMT
|
59
59
|
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=generatesecret&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=generatesecret&output=json&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -24,19 +24,19 @@ http_interactions:
|
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "rosecret": "
|
27
|
+
string: ! '{ "rosecret": "R4HVZOA3SX4KW6OI23LOTFID7QB572E4A", "secret": "ZRSTO2NSAH2PY4M42RTJHMWDCESLLAS2"
|
28
28
|
}'
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 26 Jun 2013 19:29:15 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=updatesecret&name=/home/vagrant&newsecret=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=updatesecret&name=/home/vagrant&newsecret=ZRSTO2NSAH2PY4M42RTJHMWDCESLLAS2&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
Cookie:
|
39
|
-
- GUID=
|
39
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
40
40
|
response:
|
41
41
|
status:
|
42
42
|
code: 200
|
@@ -52,8 +52,8 @@ http_interactions:
|
|
52
52
|
- no-cache
|
53
53
|
body:
|
54
54
|
encoding: US-ASCII
|
55
|
-
string: ! '{ "rosecret": "
|
55
|
+
string: ! '{ "rosecret": "R4HVZOA3SX4KW6OI23LOTFID7QB572E4A", "secret": "ZRSTO2NSAH2PY4M42RTJHMWDCESLLAS2"
|
56
56
|
}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 26 Jun 2013 19:29:15 GMT
|
59
59
|
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=updatesecret&name=/home/vagrant&newsecret=123456&output=json&secret=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=updatesecret&name=/home/vagrant&newsecret=123456&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -26,5 +26,5 @@ http_interactions:
|
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ }'
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Wed, 26 Jun 2013 19:29:13 GMT
|
30
30
|
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=getsettings&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -27,16 +27,16 @@ http_interactions:
|
|
27
27
|
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
28
28
|
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 26 Jun 2013 19:28:47 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA&ulrate=1000
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
Cookie:
|
39
|
-
- GUID=
|
39
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
40
40
|
response:
|
41
41
|
status:
|
42
42
|
code: 200
|
@@ -54,16 +54,16 @@ http_interactions:
|
|
54
54
|
encoding: US-ASCII
|
55
55
|
string: ! '{ }'
|
56
56
|
http_version:
|
57
|
-
recorded_at:
|
57
|
+
recorded_at: Wed, 26 Jun 2013 19:28:47 GMT
|
58
58
|
- request:
|
59
59
|
method: get
|
60
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=
|
60
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
61
61
|
body:
|
62
62
|
encoding: US-ASCII
|
63
63
|
string: ''
|
64
64
|
headers:
|
65
65
|
Cookie:
|
66
|
-
- GUID=
|
66
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
67
67
|
response:
|
68
68
|
status:
|
69
69
|
code: 200
|
@@ -82,5 +82,5 @@ http_interactions:
|
|
82
82
|
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
83
83
|
0, "listeningport": 63754, "portmapping": 0, "ulrate": 1000 } }'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Wed, 26 Jun 2013 19:28:47 GMT
|
86
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://admin:AdminPassword@localhost:8888/gui/?action=checknewversion&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=checknewversion&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -26,5 +26,5 @@ http_interactions:
|
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "version": { "url": "", "version": 0 } }'
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
30
30
|
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=getfolderpref&name=/home/vagrant&output=json&secret=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -25,8 +25,8 @@ http_interactions:
|
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "folderpref": { "deletetotrash": 0, "iswritable": 1, "readonlysecret":
|
28
|
-
"
|
28
|
+
"RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "relay": 0, "searchdht": 1, "searchlan":
|
29
29
|
0, "usehosts": 0, "usetracker": 0 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Wed, 26 Jun 2013 19:29:15 GMT
|
32
32
|
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=getsyncfolders&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '267'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
@@ -25,9 +25,9 @@ http_interactions:
|
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
28
|
-
[ ], "readonlysecret": "
|
29
|
-
"size": "
|
30
|
-
}'
|
28
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
29
|
+
"size": "7.4 MB in 120 files (Indexing...)" } ], "speed": "0.0 kB\/s up, 0.0
|
30
|
+
kB\/s down" }'
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
33
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://admin:AdminPassword@localhost:8888/gui/?action=generatesecret&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=generatesecret&output=json&token=5Fl12q9X1VmKu6KC6R8MlXnUHu_OHxbkoroiMH-jfxyfCzpOvyU_YPFAy1EAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=x4umWF4bIstqFYeBHMvB
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -24,10 +24,10 @@ http_interactions:
|
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "rosecret": "
|
27
|
+
string: ! '{ "rosecret": "RGRYCWNHAQDRPCGB2DSTOFV6BJM76WLMC", "secret": "F3X53M7OYR5JKUTUA7YNRYUM22T366GB"
|
28
28
|
}'
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 26 Jun 2013 19:28:50 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
33
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -47,23 +47,23 @@ http_interactions:
|
|
47
47
|
Content-Type:
|
48
48
|
- text/html
|
49
49
|
Set-Cookie:
|
50
|
-
- GUID=
|
50
|
+
- GUID=DkniFnPASgHZu8O0ANij; path=/
|
51
51
|
Cache-Control:
|
52
52
|
- no-cache
|
53
53
|
body:
|
54
54
|
encoding: US-ASCII
|
55
|
-
string: <html><div id='token' style='display:none;'>
|
55
|
+
string: <html><div id='token' style='display:none;'>XEmuAM_j1MYvSivUGPsAAOYfEIyH_aU49IDI979AUbiOb5sjGiNcj_JAy1EAAAAA</div></html>
|
56
56
|
http_version:
|
57
|
-
recorded_at:
|
57
|
+
recorded_at: Wed, 26 Jun 2013 19:28:50 GMT
|
58
58
|
- request:
|
59
59
|
method: get
|
60
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
60
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=XEmuAM_j1MYvSivUGPsAAOYfEIyH_aU49IDI979AUbiOb5sjGiNcj_JAy1EAAAAA
|
61
61
|
body:
|
62
62
|
encoding: US-ASCII
|
63
63
|
string: ''
|
64
64
|
headers:
|
65
65
|
Cookie:
|
66
|
-
- GUID=
|
66
|
+
- GUID=DkniFnPASgHZu8O0ANij
|
67
67
|
response:
|
68
68
|
status:
|
69
69
|
code: 200
|
@@ -72,7 +72,7 @@ http_interactions:
|
|
72
72
|
Connection:
|
73
73
|
- keep-alive
|
74
74
|
Content-Length:
|
75
|
-
- '
|
75
|
+
- '253'
|
76
76
|
Content-Type:
|
77
77
|
- application/json; charset=utf-8
|
78
78
|
Cache-Control:
|
@@ -80,20 +80,20 @@ http_interactions:
|
|
80
80
|
body:
|
81
81
|
encoding: US-ASCII
|
82
82
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
83
|
-
[ ], "readonlysecret": "
|
84
|
-
"size": "
|
83
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
84
|
+
"size": "7.4 MB in 126 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
85
85
|
}'
|
86
86
|
http_version:
|
87
|
-
recorded_at:
|
87
|
+
recorded_at: Wed, 26 Jun 2013 19:28:50 GMT
|
88
88
|
- request:
|
89
89
|
method: get
|
90
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addsyncfolder&name=/usr/share&output=json&secret=
|
90
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addsyncfolder&name=/usr/share&output=json&secret=F3X53M7OYR5JKUTUA7YNRYUM22T366GB&token=XEmuAM_j1MYvSivUGPsAAOYfEIyH_aU49IDI979AUbiOb5sjGiNcj_JAy1EAAAAA
|
91
91
|
body:
|
92
92
|
encoding: US-ASCII
|
93
93
|
string: ''
|
94
94
|
headers:
|
95
95
|
Cookie:
|
96
|
-
- GUID=
|
96
|
+
- GUID=DkniFnPASgHZu8O0ANij
|
97
97
|
response:
|
98
98
|
status:
|
99
99
|
code: 200
|
@@ -111,16 +111,16 @@ http_interactions:
|
|
111
111
|
encoding: US-ASCII
|
112
112
|
string: ! '{ "error": 0 }'
|
113
113
|
http_version:
|
114
|
-
recorded_at:
|
114
|
+
recorded_at: Wed, 26 Jun 2013 19:29:08 GMT
|
115
115
|
- request:
|
116
116
|
method: get
|
117
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
117
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=5Fl12q9X1VmKu6KC6R8MlXnUHu_OHxbkoroiMH-jfxyfCzpOvyU_YPFAy1EAAAAA
|
118
118
|
body:
|
119
119
|
encoding: US-ASCII
|
120
120
|
string: ''
|
121
121
|
headers:
|
122
122
|
Cookie:
|
123
|
-
- GUID=
|
123
|
+
- GUID=x4umWF4bIstqFYeBHMvB
|
124
124
|
response:
|
125
125
|
status:
|
126
126
|
code: 200
|
@@ -129,7 +129,7 @@ http_interactions:
|
|
129
129
|
Connection:
|
130
130
|
- keep-alive
|
131
131
|
Content-Length:
|
132
|
-
- '
|
132
|
+
- '454'
|
133
133
|
Content-Type:
|
134
134
|
- application/json; charset=utf-8
|
135
135
|
Cache-Control:
|
@@ -137,13 +137,13 @@ http_interactions:
|
|
137
137
|
body:
|
138
138
|
encoding: US-ASCII
|
139
139
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
140
|
-
[ ], "readonlysecret": "
|
141
|
-
"size": "
|
142
|
-
"peers": [ ], "readonlysecret": "
|
143
|
-
"
|
140
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
141
|
+
"size": "7.4 MB in 126 files" }, { "iswritable": 1, "name": "\/usr\/share",
|
142
|
+
"peers": [ ], "readonlysecret": "RGRYCWNHAQDRPCGB2DSTOFV6BJM76WLMC", "secret":
|
143
|
+
"F3X53M7OYR5JKUTUA7YNRYUM22T366GB", "size": "0 B in 0 files (Indexing...)"
|
144
144
|
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
145
145
|
http_version:
|
146
|
-
recorded_at:
|
146
|
+
recorded_at: Wed, 26 Jun 2013 19:29:08 GMT
|
147
147
|
- request:
|
148
148
|
method: get
|
149
149
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -163,23 +163,23 @@ http_interactions:
|
|
163
163
|
Content-Type:
|
164
164
|
- text/html
|
165
165
|
Set-Cookie:
|
166
|
-
- GUID=
|
166
|
+
- GUID=GnzvQHhcfszG4dmjuLVM; path=/
|
167
167
|
Cache-Control:
|
168
168
|
- no-cache
|
169
169
|
body:
|
170
170
|
encoding: US-ASCII
|
171
|
-
string: <html><div id='token' style='display:none;'>
|
171
|
+
string: <html><div id='token' style='display:none;'>Y3udAUXltfwr2HEMA0Ch0c_cMsj5nXmoAPidOIL8QAyjxUXxXz2Y7gRBy1EAAAAA</div></html>
|
172
172
|
http_version:
|
173
|
-
recorded_at:
|
173
|
+
recorded_at: Wed, 26 Jun 2013 19:29:08 GMT
|
174
174
|
- request:
|
175
175
|
method: get
|
176
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
176
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=Y3udAUXltfwr2HEMA0Ch0c_cMsj5nXmoAPidOIL8QAyjxUXxXz2Y7gRBy1EAAAAA
|
177
177
|
body:
|
178
178
|
encoding: US-ASCII
|
179
179
|
string: ''
|
180
180
|
headers:
|
181
181
|
Cookie:
|
182
|
-
- GUID=
|
182
|
+
- GUID=GnzvQHhcfszG4dmjuLVM
|
183
183
|
response:
|
184
184
|
status:
|
185
185
|
code: 200
|
@@ -188,7 +188,7 @@ http_interactions:
|
|
188
188
|
Connection:
|
189
189
|
- keep-alive
|
190
190
|
Content-Length:
|
191
|
-
- '
|
191
|
+
- '457'
|
192
192
|
Content-Type:
|
193
193
|
- application/json; charset=utf-8
|
194
194
|
Cache-Control:
|
@@ -196,13 +196,13 @@ http_interactions:
|
|
196
196
|
body:
|
197
197
|
encoding: US-ASCII
|
198
198
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
199
|
-
[ ], "readonlysecret": "
|
200
|
-
"size": "
|
201
|
-
"peers": [ ], "readonlysecret": "
|
202
|
-
"
|
199
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
200
|
+
"size": "7.4 MB in 126 files" }, { "iswritable": 1, "name": "\/usr\/share",
|
201
|
+
"peers": [ ], "readonlysecret": "RGRYCWNHAQDRPCGB2DSTOFV6BJM76WLMC", "secret":
|
202
|
+
"F3X53M7OYR5JKUTUA7YNRYUM22T366GB", "size": "4.7 kB in 3 files (Indexing...)"
|
203
203
|
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
204
204
|
http_version:
|
205
|
-
recorded_at:
|
205
|
+
recorded_at: Wed, 26 Jun 2013 19:29:08 GMT
|
206
206
|
- request:
|
207
207
|
method: get
|
208
208
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -222,23 +222,23 @@ http_interactions:
|
|
222
222
|
Content-Type:
|
223
223
|
- text/html
|
224
224
|
Set-Cookie:
|
225
|
-
- GUID=
|
225
|
+
- GUID=8cWyFZJglvCU3YDla1TT; path=/
|
226
226
|
Cache-Control:
|
227
227
|
- no-cache
|
228
228
|
body:
|
229
229
|
encoding: US-ASCII
|
230
|
-
string: <html><div id='token' style='display:none;'>
|
230
|
+
string: <html><div id='token' style='display:none;'>4mWLGRUG6MRcEaclCCE8M6nMcKJFWZG6_f2qr5U5YGls3sIBpNvI7ARBy1EAAAAA</div></html>
|
231
231
|
http_version:
|
232
|
-
recorded_at:
|
232
|
+
recorded_at: Wed, 26 Jun 2013 19:29:08 GMT
|
233
233
|
- request:
|
234
234
|
method: get
|
235
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
235
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=4mWLGRUG6MRcEaclCCE8M6nMcKJFWZG6_f2qr5U5YGls3sIBpNvI7ARBy1EAAAAA
|
236
236
|
body:
|
237
237
|
encoding: US-ASCII
|
238
238
|
string: ''
|
239
239
|
headers:
|
240
240
|
Cookie:
|
241
|
-
- GUID=
|
241
|
+
- GUID=8cWyFZJglvCU3YDla1TT
|
242
242
|
response:
|
243
243
|
status:
|
244
244
|
code: 200
|
@@ -247,7 +247,7 @@ http_interactions:
|
|
247
247
|
Connection:
|
248
248
|
- keep-alive
|
249
249
|
Content-Length:
|
250
|
-
- '
|
250
|
+
- '459'
|
251
251
|
Content-Type:
|
252
252
|
- application/json; charset=utf-8
|
253
253
|
Cache-Control:
|
@@ -255,22 +255,22 @@ http_interactions:
|
|
255
255
|
body:
|
256
256
|
encoding: US-ASCII
|
257
257
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
258
|
-
[ ], "readonlysecret": "
|
259
|
-
"size": "
|
260
|
-
"peers": [ ], "readonlysecret": "
|
261
|
-
"
|
258
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
259
|
+
"size": "7.4 MB in 126 files" }, { "iswritable": 1, "name": "\/usr\/share",
|
260
|
+
"peers": [ ], "readonlysecret": "RGRYCWNHAQDRPCGB2DSTOFV6BJM76WLMC", "secret":
|
261
|
+
"F3X53M7OYR5JKUTUA7YNRYUM22T366GB", "size": "330.5 kB in 4 files (Indexing...)"
|
262
262
|
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
263
263
|
http_version:
|
264
|
-
recorded_at:
|
264
|
+
recorded_at: Wed, 26 Jun 2013 19:29:08 GMT
|
265
265
|
- request:
|
266
266
|
method: get
|
267
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removefolder&name=/usr/share&output=json&secret=
|
267
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removefolder&name=/usr/share&output=json&secret=F3X53M7OYR5JKUTUA7YNRYUM22T366GB&token=XEmuAM_j1MYvSivUGPsAAOYfEIyH_aU49IDI979AUbiOb5sjGiNcj_JAy1EAAAAA
|
268
268
|
body:
|
269
269
|
encoding: US-ASCII
|
270
270
|
string: ''
|
271
271
|
headers:
|
272
272
|
Cookie:
|
273
|
-
- GUID=
|
273
|
+
- GUID=DkniFnPASgHZu8O0ANij
|
274
274
|
response:
|
275
275
|
status:
|
276
276
|
code: 200
|
@@ -288,16 +288,16 @@ http_interactions:
|
|
288
288
|
encoding: US-ASCII
|
289
289
|
string: ! '{ }'
|
290
290
|
http_version:
|
291
|
-
recorded_at:
|
291
|
+
recorded_at: Wed, 26 Jun 2013 19:29:13 GMT
|
292
292
|
- request:
|
293
293
|
method: get
|
294
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
294
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=5Fl12q9X1VmKu6KC6R8MlXnUHu_OHxbkoroiMH-jfxyfCzpOvyU_YPFAy1EAAAAA
|
295
295
|
body:
|
296
296
|
encoding: US-ASCII
|
297
297
|
string: ''
|
298
298
|
headers:
|
299
299
|
Cookie:
|
300
|
-
- GUID=
|
300
|
+
- GUID=x4umWF4bIstqFYeBHMvB
|
301
301
|
response:
|
302
302
|
status:
|
303
303
|
code: 200
|
@@ -306,7 +306,7 @@ http_interactions:
|
|
306
306
|
Connection:
|
307
307
|
- keep-alive
|
308
308
|
Content-Length:
|
309
|
-
- '
|
309
|
+
- '253'
|
310
310
|
Content-Type:
|
311
311
|
- application/json; charset=utf-8
|
312
312
|
Cache-Control:
|
@@ -314,11 +314,11 @@ http_interactions:
|
|
314
314
|
body:
|
315
315
|
encoding: US-ASCII
|
316
316
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
317
|
-
[ ], "readonlysecret": "
|
318
|
-
"size": "
|
317
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
318
|
+
"size": "7.4 MB in 126 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
319
319
|
}'
|
320
320
|
http_version:
|
321
|
-
recorded_at:
|
321
|
+
recorded_at: Wed, 26 Jun 2013 19:29:13 GMT
|
322
322
|
- request:
|
323
323
|
method: get
|
324
324
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -338,23 +338,23 @@ http_interactions:
|
|
338
338
|
Content-Type:
|
339
339
|
- text/html
|
340
340
|
Set-Cookie:
|
341
|
-
- GUID=
|
341
|
+
- GUID=48MeJF2LeWeuZSOm8epL; path=/
|
342
342
|
Cache-Control:
|
343
343
|
- no-cache
|
344
344
|
body:
|
345
345
|
encoding: US-ASCII
|
346
|
-
string: <html><div id='token' style='display:none;'>
|
346
|
+
string: <html><div id='token' style='display:none;'>E00fvHhTz3JtjqJ20L1Iza8qFREgLpQy7fZUXjRxKBuKA4lCGu21YglBy1EAAAAA</div></html>
|
347
347
|
http_version:
|
348
|
-
recorded_at:
|
348
|
+
recorded_at: Wed, 26 Jun 2013 19:29:13 GMT
|
349
349
|
- request:
|
350
350
|
method: get
|
351
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
351
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=E00fvHhTz3JtjqJ20L1Iza8qFREgLpQy7fZUXjRxKBuKA4lCGu21YglBy1EAAAAA
|
352
352
|
body:
|
353
353
|
encoding: US-ASCII
|
354
354
|
string: ''
|
355
355
|
headers:
|
356
356
|
Cookie:
|
357
|
-
- GUID=
|
357
|
+
- GUID=48MeJF2LeWeuZSOm8epL
|
358
358
|
response:
|
359
359
|
status:
|
360
360
|
code: 200
|
@@ -363,7 +363,7 @@ http_interactions:
|
|
363
363
|
Connection:
|
364
364
|
- keep-alive
|
365
365
|
Content-Length:
|
366
|
-
- '
|
366
|
+
- '253'
|
367
367
|
Content-Type:
|
368
368
|
- application/json; charset=utf-8
|
369
369
|
Cache-Control:
|
@@ -371,9 +371,9 @@ http_interactions:
|
|
371
371
|
body:
|
372
372
|
encoding: US-ASCII
|
373
373
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
374
|
-
[ ], "readonlysecret": "
|
375
|
-
"size": "
|
374
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
375
|
+
"size": "7.4 MB in 126 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
376
376
|
}'
|
377
377
|
http_version:
|
378
|
-
recorded_at:
|
378
|
+
recorded_at: Wed, 26 Jun 2013 19:29:13 GMT
|
379
379
|
recorded_with: VCR 2.5.0
|