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
|
+
- '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 15 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=uKItTdupVpnk9EIXPdaU; 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;'>Ed-IrETJIYU9LDOdIFcvZun3sm8U7spmjjinOOlytQ9q5P7YRiEzFvFAy1EAAAAA</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=Ed-IrETJIYU9LDOdIFcvZun3sm8U7spmjjinOOlytQ9q5P7YRiEzFvFAy1EAAAAA
|
64
65
|
body:
|
65
66
|
encoding: US-ASCII
|
66
67
|
string: ''
|
67
68
|
headers:
|
68
69
|
Cookie:
|
69
|
-
- GUID=
|
70
|
+
- GUID=uKItTdupVpnk9EIXPdaU
|
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.3 MB in 24 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=kOsO2wrVgQNq23sKZD6y; 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;'>W15D5jFVQ6PwgD5OfqJme1FtJisoETUiwthdzCdnJt0EdL7rUnPXKPFAy1EAAAAA</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=W15D5jFVQ6PwgD5OfqJme1FtJisoETUiwthdzCdnJt0EdL7rUnPXKPFAy1EAAAAA
|
122
124
|
body:
|
123
125
|
encoding: US-ASCII
|
124
126
|
string: ''
|
125
127
|
headers:
|
126
128
|
Cookie:
|
127
|
-
- GUID=
|
129
|
+
- GUID=kOsO2wrVgQNq23sKZD6y
|
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,10 +143,11 @@ 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.3 MB in 31 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
|
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=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
|
@@ -24,19 +24,19 @@ http_interactions:
|
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "rosecret": "
|
27
|
+
string: ! '{ "rosecret": "RBX6T7VDDNRK5HDDT5VQVRLAYP4NZHIIY", "secret": "QU2X7ECUC2JA7H2723S4A3HSF74ZKUB7"
|
28
28
|
}'
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 26 Jun 2013 19:28:48 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addsyncfolder&name=/tmp&output=json&secret=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addsyncfolder&name=/tmp&output=json&secret=QU2X7ECUC2JA7H2723S4A3HSF74ZKUB7&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
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,7 +54,7 @@ http_interactions:
|
|
54
54
|
encoding: US-ASCII
|
55
55
|
string: ! '{ "error": 0 }'
|
56
56
|
http_version:
|
57
|
-
recorded_at:
|
57
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
58
58
|
- request:
|
59
59
|
method: get
|
60
60
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -74,23 +74,23 @@ http_interactions:
|
|
74
74
|
Content-Type:
|
75
75
|
- text/html
|
76
76
|
Set-Cookie:
|
77
|
-
- GUID=
|
77
|
+
- GUID=jnnY4qwTkty4k4n5QxO2; path=/
|
78
78
|
Cache-Control:
|
79
79
|
- no-cache
|
80
80
|
body:
|
81
81
|
encoding: US-ASCII
|
82
|
-
string: <html><div id='token' style='display:none;'>
|
82
|
+
string: <html><div id='token' style='display:none;'>FqfPBMIKBTqTYV3jYF4vcF10I5aVv2KsndWw9Oq8eAOIF2QWHyonTvFAy1EAAAAA</div></html>
|
83
83
|
http_version:
|
84
|
-
recorded_at:
|
84
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
85
85
|
- request:
|
86
86
|
method: get
|
87
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
87
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=FqfPBMIKBTqTYV3jYF4vcF10I5aVv2KsndWw9Oq8eAOIF2QWHyonTvFAy1EAAAAA
|
88
88
|
body:
|
89
89
|
encoding: US-ASCII
|
90
90
|
string: ''
|
91
91
|
headers:
|
92
92
|
Cookie:
|
93
|
-
- GUID=
|
93
|
+
- GUID=jnnY4qwTkty4k4n5QxO2
|
94
94
|
response:
|
95
95
|
status:
|
96
96
|
code: 200
|
@@ -99,7 +99,7 @@ http_interactions:
|
|
99
99
|
Connection:
|
100
100
|
- keep-alive
|
101
101
|
Content-Length:
|
102
|
-
- '
|
102
|
+
- '446'
|
103
103
|
Content-Type:
|
104
104
|
- application/json; charset=utf-8
|
105
105
|
Cache-Control:
|
@@ -107,10 +107,11 @@ http_interactions:
|
|
107
107
|
body:
|
108
108
|
encoding: US-ASCII
|
109
109
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
110
|
-
[ ], "readonlysecret": "
|
111
|
-
"size": "
|
112
|
-
[ ], "readonlysecret": "
|
113
|
-
"size": "0 B in 0 files" } ], "speed":
|
110
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
111
|
+
"size": "7.3 MB in 12 files (Indexing...)" }, { "iswritable": 1, "name": "\/tmp",
|
112
|
+
"peers": [ ], "readonlysecret": "RBX6T7VDDNRK5HDDT5VQVRLAYP4NZHIIY", "secret":
|
113
|
+
"QU2X7ECUC2JA7H2723S4A3HSF74ZKUB7", "size": "0 B in 0 files" } ], "speed":
|
114
|
+
"0.0 kB\/s up, 0.0 kB\/s down" }'
|
114
115
|
http_version:
|
115
|
-
recorded_at:
|
116
|
+
recorded_at: Wed, 26 Jun 2013 19:28:49 GMT
|
116
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://admin:AdminPassword@localhost:8888/gui/?action=addknownhosts&addr=10.0.1.254&name=/home/vagrant&output=json&port=12345&secret=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addknownhosts&addr=10.0.1.254&name=/home/vagrant&output=json&port=12345&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,16 @@ 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
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getknownhosts&name=/home/vagrant&output=json&secret=
|
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
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -53,5 +53,5 @@ http_interactions:
|
|
53
53
|
encoding: US-ASCII
|
54
54
|
string: ! '{ "hosts": [ { "index": 0, "peer": "10.0.1.254:12345" } ] }'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Wed, 26 Jun 2013 19:29: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://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=1000&listeningport=63754&output=json&portmapping=0&token=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=1000&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
|
1000, "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
|
@@ -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=12345&output=json&portmapping=0&token=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=12345&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": 12345, "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
|
@@ -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=IceyEC-Virtual2&dlrate=0&listeningport=63754&output=json&portmapping=0&token=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=IceyEC-Virtual2&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": "IceyEC-Virtual2", "dlrate": 0, "listeningport":
|
83
83
|
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
|