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=getversion&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getversion&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": 16842767 }'
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 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=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
|
+
- '266'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
@@ -25,11 +25,11 @@ 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 73 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
|
- request:
|
34
34
|
method: get
|
35
35
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -49,23 +49,23 @@ http_interactions:
|
|
49
49
|
Content-Type:
|
50
50
|
- text/html
|
51
51
|
Set-Cookie:
|
52
|
-
- GUID=
|
52
|
+
- GUID=ocgf3aw1le9jEWSqwlir; path=/
|
53
53
|
Cache-Control:
|
54
54
|
- no-cache
|
55
55
|
body:
|
56
56
|
encoding: US-ASCII
|
57
|
-
string: <html><div id='token' style='display:none;'>
|
57
|
+
string: <html><div id='token' style='display:none;'>CGVW18vnY-LfBwe_ZVaKRr6hXUiWW94-H7VJwytnoY3j8s90RGgxf_FAy1EAAAAA</div></html>
|
58
58
|
http_version:
|
59
|
-
recorded_at:
|
59
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
60
60
|
- request:
|
61
61
|
method: get
|
62
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
62
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=CGVW18vnY-LfBwe_ZVaKRr6hXUiWW94-H7VJwytnoY3j8s90RGgxf_FAy1EAAAAA
|
63
63
|
body:
|
64
64
|
encoding: US-ASCII
|
65
65
|
string: ''
|
66
66
|
headers:
|
67
67
|
Cookie:
|
68
|
-
- GUID=
|
68
|
+
- GUID=ocgf3aw1le9jEWSqwlir
|
69
69
|
response:
|
70
70
|
status:
|
71
71
|
code: 200
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
Connection:
|
75
75
|
- keep-alive
|
76
76
|
Content-Length:
|
77
|
-
- '
|
77
|
+
- '266'
|
78
78
|
Content-Type:
|
79
79
|
- application/json; charset=utf-8
|
80
80
|
Cache-Control:
|
@@ -82,9 +82,9 @@ http_interactions:
|
|
82
82
|
body:
|
83
83
|
encoding: US-ASCII
|
84
84
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
85
|
-
[ ], "readonlysecret": "
|
86
|
-
"size": "
|
87
|
-
}'
|
85
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
86
|
+
"size": "7.4 MB in 83 files (Indexing...)" } ], "speed": "0.0 kB\/s up, 0.0
|
87
|
+
kB\/s down" }'
|
88
88
|
http_version:
|
89
|
-
recorded_at:
|
89
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
90
90
|
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
|
+
- '446'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
@@ -25,12 +25,13 @@ 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
|
-
[ ], "readonlysecret": "
|
31
|
-
"size": "0 B in 0 files" } ], "speed":
|
28
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
29
|
+
"size": "7.3 MB in 39 files (Indexing...)" }, { "iswritable": 1, "name": "\/tmp",
|
30
|
+
"peers": [ ], "readonlysecret": "RBX6T7VDDNRK5HDDT5VQVRLAYP4NZHIIY", "secret":
|
31
|
+
"QU2X7ECUC2JA7H2723S4A3HSF74ZKUB7", "size": "0 B in 0 files" } ], "speed":
|
32
|
+
"0.0 kB\/s up, 0.0 kB\/s down" }'
|
32
33
|
http_version:
|
33
|
-
recorded_at:
|
34
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
34
35
|
- request:
|
35
36
|
method: get
|
36
37
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -50,23 +51,23 @@ http_interactions:
|
|
50
51
|
Content-Type:
|
51
52
|
- text/html
|
52
53
|
Set-Cookie:
|
53
|
-
- GUID=
|
54
|
+
- GUID=7CXSVr322eTOXbMatvjX; path=/
|
54
55
|
Cache-Control:
|
55
56
|
- no-cache
|
56
57
|
body:
|
57
58
|
encoding: US-ASCII
|
58
|
-
string: <html><div id='token' style='display:none;'>
|
59
|
+
string: <html><div id='token' style='display:none;'>i-c3I-F1VZuWA_huW4_fevCkuCSHFastYCaFVLSEXZMAYTZgTTErAfFAy1EAAAAA</div></html>
|
59
60
|
http_version:
|
60
|
-
recorded_at:
|
61
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
61
62
|
- request:
|
62
63
|
method: get
|
63
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
64
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=i-c3I-F1VZuWA_huW4_fevCkuCSHFastYCaFVLSEXZMAYTZgTTErAfFAy1EAAAAA
|
64
65
|
body:
|
65
66
|
encoding: US-ASCII
|
66
67
|
string: ''
|
67
68
|
headers:
|
68
69
|
Cookie:
|
69
|
-
- GUID=
|
70
|
+
- GUID=7CXSVr322eTOXbMatvjX
|
70
71
|
response:
|
71
72
|
status:
|
72
73
|
code: 200
|
@@ -75,7 +76,7 @@ http_interactions:
|
|
75
76
|
Connection:
|
76
77
|
- keep-alive
|
77
78
|
Content-Length:
|
78
|
-
- '
|
79
|
+
- '446'
|
79
80
|
Content-Type:
|
80
81
|
- application/json; charset=utf-8
|
81
82
|
Cache-Control:
|
@@ -83,12 +84,13 @@ http_interactions:
|
|
83
84
|
body:
|
84
85
|
encoding: US-ASCII
|
85
86
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
86
|
-
[ ], "readonlysecret": "
|
87
|
-
"size": "
|
88
|
-
[ ], "readonlysecret": "
|
89
|
-
"size": "0 B in 0 files" } ], "speed":
|
87
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
88
|
+
"size": "7.4 MB in 53 files (Indexing...)" }, { "iswritable": 1, "name": "\/tmp",
|
89
|
+
"peers": [ ], "readonlysecret": "RBX6T7VDDNRK5HDDT5VQVRLAYP4NZHIIY", "secret":
|
90
|
+
"QU2X7ECUC2JA7H2723S4A3HSF74ZKUB7", "size": "0 B in 0 files" } ], "speed":
|
91
|
+
"0.0 kB\/s up, 0.0 kB\/s down" }'
|
90
92
|
http_version:
|
91
|
-
recorded_at:
|
93
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
92
94
|
- request:
|
93
95
|
method: get
|
94
96
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -108,23 +110,23 @@ http_interactions:
|
|
108
110
|
Content-Type:
|
109
111
|
- text/html
|
110
112
|
Set-Cookie:
|
111
|
-
- GUID=
|
113
|
+
- GUID=RiL5j2S6gByYh3OsZcKN; path=/
|
112
114
|
Cache-Control:
|
113
115
|
- no-cache
|
114
116
|
body:
|
115
117
|
encoding: US-ASCII
|
116
|
-
string: <html><div id='token' style='display:none;'>
|
118
|
+
string: <html><div id='token' style='display:none;'>T_JUzzWw2A_JAc73jC6uiUiGSc1PAFuKXYGcN2HTOhIn8OeT5GPjJfFAy1EAAAAA</div></html>
|
117
119
|
http_version:
|
118
|
-
recorded_at:
|
120
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
119
121
|
- request:
|
120
122
|
method: get
|
121
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
123
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=T_JUzzWw2A_JAc73jC6uiUiGSc1PAFuKXYGcN2HTOhIn8OeT5GPjJfFAy1EAAAAA
|
122
124
|
body:
|
123
125
|
encoding: US-ASCII
|
124
126
|
string: ''
|
125
127
|
headers:
|
126
128
|
Cookie:
|
127
|
-
- GUID=
|
129
|
+
- GUID=RiL5j2S6gByYh3OsZcKN
|
128
130
|
response:
|
129
131
|
status:
|
130
132
|
code: 200
|
@@ -133,7 +135,7 @@ http_interactions:
|
|
133
135
|
Connection:
|
134
136
|
- keep-alive
|
135
137
|
Content-Length:
|
136
|
-
- '
|
138
|
+
- '446'
|
137
139
|
Content-Type:
|
138
140
|
- application/json; charset=utf-8
|
139
141
|
Cache-Control:
|
@@ -141,21 +143,22 @@ http_interactions:
|
|
141
143
|
body:
|
142
144
|
encoding: US-ASCII
|
143
145
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
144
|
-
[ ], "readonlysecret": "
|
145
|
-
"size": "
|
146
|
-
[ ], "readonlysecret": "
|
147
|
-
"size": "0 B in 0 files" } ], "speed":
|
146
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
147
|
+
"size": "7.4 MB in 57 files (Indexing...)" }, { "iswritable": 1, "name": "\/tmp",
|
148
|
+
"peers": [ ], "readonlysecret": "RBX6T7VDDNRK5HDDT5VQVRLAYP4NZHIIY", "secret":
|
149
|
+
"QU2X7ECUC2JA7H2723S4A3HSF74ZKUB7", "size": "0 B in 0 files" } ], "speed":
|
150
|
+
"0.0 kB\/s up, 0.0 kB\/s down" }'
|
148
151
|
http_version:
|
149
|
-
recorded_at:
|
152
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
150
153
|
- request:
|
151
154
|
method: get
|
152
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removefolder&name=/tmp&output=json&secret=
|
155
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removefolder&name=/tmp&output=json&secret=QU2X7ECUC2JA7H2723S4A3HSF74ZKUB7&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
153
156
|
body:
|
154
157
|
encoding: US-ASCII
|
155
158
|
string: ''
|
156
159
|
headers:
|
157
160
|
Cookie:
|
158
|
-
- GUID=
|
161
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
159
162
|
response:
|
160
163
|
status:
|
161
164
|
code: 200
|
@@ -173,5 +176,5 @@ http_interactions:
|
|
173
176
|
encoding: US-ASCII
|
174
177
|
string: ! '{ }'
|
175
178
|
http_version:
|
176
|
-
recorded_at:
|
179
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
177
180
|
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=getknownhosts&name=/home/vagrant&output=json&secret=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getknownhosts&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
|
@@ -26,16 +26,43 @@ http_interactions:
|
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "hosts": [ { "index": 0, "peer": "10.0.1.254:12345" } ] }'
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Wed, 26 Jun 2013 19:29:13 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=
|
32
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getknownhosts&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
39
|
+
response:
|
40
|
+
status:
|
41
|
+
code: 200
|
42
|
+
message: OK
|
43
|
+
headers:
|
44
|
+
Connection:
|
45
|
+
- keep-alive
|
46
|
+
Content-Length:
|
47
|
+
- '59'
|
48
|
+
Content-Type:
|
49
|
+
- application/json; charset=utf-8
|
50
|
+
Cache-Control:
|
51
|
+
- no-cache
|
52
|
+
body:
|
53
|
+
encoding: US-ASCII
|
54
|
+
string: ! '{ "hosts": [ { "index": 0, "peer": "10.0.1.254:12345" } ] }'
|
55
|
+
http_version:
|
56
|
+
recorded_at: Wed, 26 Jun 2013 19:29:13 GMT
|
57
|
+
- request:
|
58
|
+
method: get
|
59
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removeknownhosts&index=0&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
60
|
+
body:
|
61
|
+
encoding: US-ASCII
|
62
|
+
string: ''
|
63
|
+
headers:
|
64
|
+
Cookie:
|
65
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
39
66
|
response:
|
40
67
|
status:
|
41
68
|
code: 200
|
@@ -53,16 +80,43 @@ http_interactions:
|
|
53
80
|
encoding: US-ASCII
|
54
81
|
string: ! '{ }'
|
55
82
|
http_version:
|
56
|
-
recorded_at:
|
83
|
+
recorded_at: Wed, 26 Jun 2013 19:29:13 GMT
|
84
|
+
- request:
|
85
|
+
method: get
|
86
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getknownhosts&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
87
|
+
body:
|
88
|
+
encoding: US-ASCII
|
89
|
+
string: ''
|
90
|
+
headers:
|
91
|
+
Cookie:
|
92
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
93
|
+
response:
|
94
|
+
status:
|
95
|
+
code: 200
|
96
|
+
message: OK
|
97
|
+
headers:
|
98
|
+
Connection:
|
99
|
+
- keep-alive
|
100
|
+
Content-Length:
|
101
|
+
- '17'
|
102
|
+
Content-Type:
|
103
|
+
- application/json; charset=utf-8
|
104
|
+
Cache-Control:
|
105
|
+
- no-cache
|
106
|
+
body:
|
107
|
+
encoding: US-ASCII
|
108
|
+
string: ! '{ "hosts": [ ] }'
|
109
|
+
http_version:
|
110
|
+
recorded_at: Wed, 26 Jun 2013 19:29:14 GMT
|
57
111
|
- request:
|
58
112
|
method: get
|
59
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getknownhosts&name=/home/vagrant&output=json&secret=
|
113
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getknownhosts&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
60
114
|
body:
|
61
115
|
encoding: US-ASCII
|
62
116
|
string: ''
|
63
117
|
headers:
|
64
118
|
Cookie:
|
65
|
-
- GUID=
|
119
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
66
120
|
response:
|
67
121
|
status:
|
68
122
|
code: 200
|
@@ -80,5 +134,5 @@ http_interactions:
|
|
80
134
|
encoding: US-ASCII
|
81
135
|
string: ! '{ "hosts": [ ] }'
|
82
136
|
http_version:
|
83
|
-
recorded_at:
|
137
|
+
recorded_at: Wed, 26 Jun 2013 19:29:14 GMT
|
84
138
|
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": "IceyEC-Virtual2", "dlrate": 0, "listeningport":
|
28
28
|
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=0
|
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": 0 } }'
|
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
|