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=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
|
+
- '248'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
@@ -25,11 +25,10 @@ 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": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
31
30
|
http_version:
|
32
|
-
recorded_at:
|
31
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
33
32
|
- request:
|
34
33
|
method: get
|
35
34
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -49,23 +48,23 @@ http_interactions:
|
|
49
48
|
Content-Type:
|
50
49
|
- text/html
|
51
50
|
Set-Cookie:
|
52
|
-
- GUID=
|
51
|
+
- GUID=w3njMfgoQLCsKdOK3e9w; path=/
|
53
52
|
Cache-Control:
|
54
53
|
- no-cache
|
55
54
|
body:
|
56
55
|
encoding: US-ASCII
|
57
|
-
string: <html><div id='token' style='display:none;'>
|
56
|
+
string: <html><div id='token' style='display:none;'>5AAigAJQss1YWa8PVsRL-ytvHaXcCPhM4AVRMOk5wGkGNym3sTH45e5Ay1EAAAAA</div></html>
|
58
57
|
http_version:
|
59
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
60
59
|
- request:
|
61
60
|
method: get
|
62
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
61
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=5AAigAJQss1YWa8PVsRL-ytvHaXcCPhM4AVRMOk5wGkGNym3sTH45e5Ay1EAAAAA
|
63
62
|
body:
|
64
63
|
encoding: US-ASCII
|
65
64
|
string: ''
|
66
65
|
headers:
|
67
66
|
Cookie:
|
68
|
-
- GUID=
|
67
|
+
- GUID=w3njMfgoQLCsKdOK3e9w
|
69
68
|
response:
|
70
69
|
status:
|
71
70
|
code: 200
|
@@ -74,7 +73,7 @@ http_interactions:
|
|
74
73
|
Connection:
|
75
74
|
- keep-alive
|
76
75
|
Content-Length:
|
77
|
-
- '
|
76
|
+
- '248'
|
78
77
|
Content-Type:
|
79
78
|
- application/json; charset=utf-8
|
80
79
|
Cache-Control:
|
@@ -82,9 +81,8 @@ http_interactions:
|
|
82
81
|
body:
|
83
82
|
encoding: US-ASCII
|
84
83
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
85
|
-
[ ], "readonlysecret": "
|
86
|
-
"size": "
|
87
|
-
}'
|
84
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
85
|
+
"size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
88
86
|
http_version:
|
89
|
-
recorded_at:
|
87
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
90
88
|
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=getostype&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getostype&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: ! '{ "os": "linux" }'
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Wed, 26 Jun 2013 19:28:48 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=getsyncfolders&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&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
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '253'
|
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": "
|
28
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
29
|
+
"size": "7.4 MB in 126 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
30
30
|
}'
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 26 Jun 2013 19:29:13 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=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,19 +25,19 @@ http_interactions:
|
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
28
|
-
"
|
28
|
+
"RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "relay": 1, "searchdht": 0, "searchlan":
|
29
29
|
1, "usehosts": 1, "usetracker": 1 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Wed, 26 Jun 2013 19:29:14 GMT
|
32
32
|
- request:
|
33
33
|
method: get
|
34
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=
|
34
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
38
38
|
headers:
|
39
39
|
Cookie:
|
40
|
-
- GUID=
|
40
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
41
41
|
response:
|
42
42
|
status:
|
43
43
|
code: 200
|
@@ -54,19 +54,19 @@ http_interactions:
|
|
54
54
|
body:
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
57
|
-
"
|
57
|
+
"RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "relay": 1, "searchdht": 0, "searchlan":
|
58
58
|
1, "usehosts": 1, "usetracker": 1 } }'
|
59
59
|
http_version:
|
60
|
-
recorded_at:
|
60
|
+
recorded_at: Wed, 26 Jun 2013 19:29:14 GMT
|
61
61
|
- request:
|
62
62
|
method: get
|
63
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=
|
63
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
64
64
|
body:
|
65
65
|
encoding: US-ASCII
|
66
66
|
string: ''
|
67
67
|
headers:
|
68
68
|
Cookie:
|
69
|
-
- GUID=
|
69
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
70
70
|
response:
|
71
71
|
status:
|
72
72
|
code: 200
|
@@ -83,19 +83,19 @@ http_interactions:
|
|
83
83
|
body:
|
84
84
|
encoding: US-ASCII
|
85
85
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
86
|
-
"
|
86
|
+
"RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "relay": 1, "searchdht": 0, "searchlan":
|
87
87
|
1, "usehosts": 1, "usetracker": 1 } }'
|
88
88
|
http_version:
|
89
|
-
recorded_at:
|
89
|
+
recorded_at: Wed, 26 Jun 2013 19:29:14 GMT
|
90
90
|
- request:
|
91
91
|
method: get
|
92
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=
|
92
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
93
93
|
body:
|
94
94
|
encoding: US-ASCII
|
95
95
|
string: ''
|
96
96
|
headers:
|
97
97
|
Cookie:
|
98
|
-
- GUID=
|
98
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
99
99
|
response:
|
100
100
|
status:
|
101
101
|
code: 200
|
@@ -112,19 +112,19 @@ http_interactions:
|
|
112
112
|
body:
|
113
113
|
encoding: US-ASCII
|
114
114
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
115
|
-
"
|
115
|
+
"RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "relay": 1, "searchdht": 0, "searchlan":
|
116
116
|
1, "usehosts": 1, "usetracker": 1 } }'
|
117
117
|
http_version:
|
118
|
-
recorded_at:
|
118
|
+
recorded_at: Wed, 26 Jun 2013 19:29:14 GMT
|
119
119
|
- request:
|
120
120
|
method: get
|
121
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=
|
121
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
125
125
|
headers:
|
126
126
|
Cookie:
|
127
|
-
- GUID=
|
127
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
128
128
|
response:
|
129
129
|
status:
|
130
130
|
code: 200
|
@@ -141,19 +141,19 @@ http_interactions:
|
|
141
141
|
body:
|
142
142
|
encoding: US-ASCII
|
143
143
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
144
|
-
"
|
144
|
+
"RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "relay": 1, "searchdht": 0, "searchlan":
|
145
145
|
1, "usehosts": 1, "usetracker": 1 } }'
|
146
146
|
http_version:
|
147
|
-
recorded_at:
|
147
|
+
recorded_at: Wed, 26 Jun 2013 19:29:14 GMT
|
148
148
|
- request:
|
149
149
|
method: get
|
150
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=
|
150
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
151
151
|
body:
|
152
152
|
encoding: US-ASCII
|
153
153
|
string: ''
|
154
154
|
headers:
|
155
155
|
Cookie:
|
156
|
-
- GUID=
|
156
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
157
157
|
response:
|
158
158
|
status:
|
159
159
|
code: 200
|
@@ -170,8 +170,8 @@ http_interactions:
|
|
170
170
|
body:
|
171
171
|
encoding: US-ASCII
|
172
172
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
173
|
-
"
|
173
|
+
"RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "relay": 1, "searchdht": 0, "searchlan":
|
174
174
|
1, "usehosts": 1, "usetracker": 1 } }'
|
175
175
|
http_version:
|
176
|
-
recorded_at:
|
176
|
+
recorded_at: Wed, 26 Jun 2013 19:29:14 GMT
|
177
177
|
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,5 +27,5 @@ 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:46 GMT
|
31
31
|
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=getdir&dir=/&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getdir&dir=/&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
|
+
- '283'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
@@ -25,20 +25,20 @@ http_interactions:
|
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "folders": [ "\/\/bin", "\/\/boot", "\/\/dev", "\/\/etc", "\/\/home",
|
28
|
-
"\/\/lib", "\/\/lost+found", "\/\/media", "\/\/mnt", "\/\/opt",
|
29
|
-
"\/\/root", "\/\/run", "\/\/sbin", "\/\/selinux", "\/\/srv", "\/\/sys",
|
30
|
-
"\/\/usr", "\/\/vagrant", "\/\/var" ] }'
|
28
|
+
"\/\/lib", "\/\/lib64", "\/\/lost+found", "\/\/media", "\/\/mnt", "\/\/opt",
|
29
|
+
"\/\/proc", "\/\/root", "\/\/run", "\/\/sbin", "\/\/selinux", "\/\/srv", "\/\/sys",
|
30
|
+
"\/\/tmp", "\/\/usr", "\/\/vagrant", "\/\/var" ] }'
|
31
31
|
http_version:
|
32
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
33
33
|
- request:
|
34
34
|
method: get
|
35
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getdir&dir=/&output=json&token=
|
35
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getdir&dir=/&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
36
36
|
body:
|
37
37
|
encoding: US-ASCII
|
38
38
|
string: ''
|
39
39
|
headers:
|
40
40
|
Cookie:
|
41
|
-
- GUID=
|
41
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
42
42
|
response:
|
43
43
|
status:
|
44
44
|
code: 200
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
Connection:
|
48
48
|
- keep-alive
|
49
49
|
Content-Length:
|
50
|
-
- '
|
50
|
+
- '283'
|
51
51
|
Content-Type:
|
52
52
|
- application/json; charset=utf-8
|
53
53
|
Cache-Control:
|
@@ -55,20 +55,20 @@ http_interactions:
|
|
55
55
|
body:
|
56
56
|
encoding: US-ASCII
|
57
57
|
string: ! '{ "folders": [ "\/\/bin", "\/\/boot", "\/\/dev", "\/\/etc", "\/\/home",
|
58
|
-
"\/\/lib", "\/\/lost+found", "\/\/media", "\/\/mnt", "\/\/opt",
|
59
|
-
"\/\/root", "\/\/run", "\/\/sbin", "\/\/selinux", "\/\/srv", "\/\/sys",
|
60
|
-
"\/\/usr", "\/\/vagrant", "\/\/var" ] }'
|
58
|
+
"\/\/lib", "\/\/lib64", "\/\/lost+found", "\/\/media", "\/\/mnt", "\/\/opt",
|
59
|
+
"\/\/proc", "\/\/root", "\/\/run", "\/\/sbin", "\/\/selinux", "\/\/srv", "\/\/sys",
|
60
|
+
"\/\/tmp", "\/\/usr", "\/\/vagrant", "\/\/var" ] }'
|
61
61
|
http_version:
|
62
|
-
recorded_at:
|
62
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
63
63
|
- request:
|
64
64
|
method: get
|
65
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getdir&dir=/&output=json&token=
|
65
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getdir&dir=/&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
66
66
|
body:
|
67
67
|
encoding: US-ASCII
|
68
68
|
string: ''
|
69
69
|
headers:
|
70
70
|
Cookie:
|
71
|
-
- GUID=
|
71
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
72
72
|
response:
|
73
73
|
status:
|
74
74
|
code: 200
|
@@ -77,7 +77,7 @@ http_interactions:
|
|
77
77
|
Connection:
|
78
78
|
- keep-alive
|
79
79
|
Content-Length:
|
80
|
-
- '
|
80
|
+
- '283'
|
81
81
|
Content-Type:
|
82
82
|
- application/json; charset=utf-8
|
83
83
|
Cache-Control:
|
@@ -85,9 +85,9 @@ http_interactions:
|
|
85
85
|
body:
|
86
86
|
encoding: US-ASCII
|
87
87
|
string: ! '{ "folders": [ "\/\/bin", "\/\/boot", "\/\/dev", "\/\/etc", "\/\/home",
|
88
|
-
"\/\/lib", "\/\/lost+found", "\/\/media", "\/\/mnt", "\/\/opt",
|
89
|
-
"\/\/root", "\/\/run", "\/\/sbin", "\/\/selinux", "\/\/srv", "\/\/sys",
|
90
|
-
"\/\/usr", "\/\/vagrant", "\/\/var" ] }'
|
88
|
+
"\/\/lib", "\/\/lib64", "\/\/lost+found", "\/\/media", "\/\/mnt", "\/\/opt",
|
89
|
+
"\/\/proc", "\/\/root", "\/\/run", "\/\/sbin", "\/\/selinux", "\/\/srv", "\/\/sys",
|
90
|
+
"\/\/tmp", "\/\/usr", "\/\/vagrant", "\/\/var" ] }'
|
91
91
|
http_version:
|
92
|
-
recorded_at:
|
92
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
93
93
|
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
|