BtSync 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -7
- data/lib/btsync/communicator.rb +1 -1
- data/lib/btsync/version.rb +1 -1
- data/spec/BtSync/directory_spec.rb +6 -1
- data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +10 -11
- data/spec/fixtures/cassettes/Setup-Directory-Settings.yml +59 -3
- data/spec/fixtures/cassettes/add-folder-list.yml +27 -30
- data/spec/fixtures/cassettes/add-folder.yml +20 -21
- data/spec/fixtures/cassettes/get-folders.yml +20 -22
- data/spec/fixtures/cassettes/get-known-hosts.yml +3 -3
- data/spec/fixtures/cassettes/get-os-type.yml +6 -6
- data/spec/fixtures/cassettes/get-peers.yml +7 -8
- data/spec/fixtures/cassettes/get-preferences.yml +18 -18
- data/spec/fixtures/cassettes/get-settings.yml +6 -6
- data/spec/fixtures/cassettes/get-version.yml +6 -6
- data/spec/fixtures/cassettes/remove-folder-list.yml +17 -19
- data/spec/fixtures/cassettes/remove-folder.yml +30 -33
- data/spec/fixtures/cassettes/set-preferences-delete.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-dht.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-hosts.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-lan.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-relay.yml +9 -9
- data/spec/fixtures/cassettes/set-preferences-tracker.yml +9 -9
- data/spec/fixtures/cassettes/view-folders.yml +3 -3
- metadata +118 -77
@@ -19,23 +19,23 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/html
|
21
21
|
Set-Cookie:
|
22
|
-
- GUID=
|
22
|
+
- GUID=o3h6NjwTCAtooaFRH6bY; path=/
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>
|
27
|
+
string: <html><div id='token' style='display:none;'>Vv6gVI92Fme6SMIvZE4h7Tfn1SIPCEFRpHGGbPUkgF20k_w9mHGe7S4fslEAAAAA</div></html>
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
32
|
+
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=Vv6gVI92Fme6SMIvZE4h7Tfn1SIPCEFRpHGGbPUkgF20k_w9mHGe7S4fslEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=o3h6NjwTCAtooaFRH6bY
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -44,19 +44,18 @@ http_interactions:
|
|
44
44
|
Connection:
|
45
45
|
- keep-alive
|
46
46
|
Content-Length:
|
47
|
-
- '
|
47
|
+
- '185'
|
48
48
|
Content-Type:
|
49
49
|
- application/json; charset=utf-8
|
50
50
|
Cache-Control:
|
51
51
|
- no-cache
|
52
52
|
body:
|
53
53
|
encoding: US-ASCII
|
54
|
-
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [
|
55
|
-
"
|
56
|
-
|
57
|
-
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
54
|
+
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ ],
|
55
|
+
"secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" } ],
|
56
|
+
"speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
58
57
|
http_version:
|
59
|
-
recorded_at:
|
58
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
60
59
|
- request:
|
61
60
|
method: get
|
62
61
|
uri: http://localhost:8888/gui/token.html?output=text
|
@@ -76,23 +75,23 @@ http_interactions:
|
|
76
75
|
Content-Type:
|
77
76
|
- text/html
|
78
77
|
Set-Cookie:
|
79
|
-
- GUID=
|
78
|
+
- GUID=ACkmXhebZzj2tulyrP6E; path=/
|
80
79
|
Cache-Control:
|
81
80
|
- no-cache
|
82
81
|
body:
|
83
82
|
encoding: US-ASCII
|
84
|
-
string: <html><div id='token' style='display:none;'>
|
83
|
+
string: <html><div id='token' style='display:none;'>P6eIYaVeBdl2a88u3u6s9enbVwJ1mxxsvCZyTX4gfNZ0GS-28oRnty4fslEAAAAA</div></html>
|
85
84
|
http_version:
|
86
|
-
recorded_at:
|
85
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
87
86
|
- request:
|
88
87
|
method: get
|
89
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
88
|
+
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=P6eIYaVeBdl2a88u3u6s9enbVwJ1mxxsvCZyTX4gfNZ0GS-28oRnty4fslEAAAAA
|
90
89
|
body:
|
91
90
|
encoding: US-ASCII
|
92
91
|
string: ''
|
93
92
|
headers:
|
94
93
|
Cookie:
|
95
|
-
- GUID=
|
94
|
+
- GUID=ACkmXhebZzj2tulyrP6E
|
96
95
|
response:
|
97
96
|
status:
|
98
97
|
code: 200
|
@@ -101,17 +100,16 @@ http_interactions:
|
|
101
100
|
Connection:
|
102
101
|
- keep-alive
|
103
102
|
Content-Length:
|
104
|
-
- '
|
103
|
+
- '185'
|
105
104
|
Content-Type:
|
106
105
|
- application/json; charset=utf-8
|
107
106
|
Cache-Control:
|
108
107
|
- no-cache
|
109
108
|
body:
|
110
109
|
encoding: US-ASCII
|
111
|
-
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [
|
112
|
-
"
|
113
|
-
|
114
|
-
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
110
|
+
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ ],
|
111
|
+
"secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" } ],
|
112
|
+
"speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
115
113
|
http_version:
|
116
|
-
recorded_at:
|
114
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
117
115
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getknownhosts&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getknownhosts&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=BuR9HOy5Q7UR5Kg4zToj
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -26,5 +26,5 @@ http_interactions:
|
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "hosts": [ { "index": 0, "peer": "192.168.1.5:45685" } ] }'
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
30
30
|
recorded_with: VCR 2.5.0
|
@@ -19,23 +19,23 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/html
|
21
21
|
Set-Cookie:
|
22
|
-
- GUID=
|
22
|
+
- GUID=n7XODETwa0IMP0rG4E9A; path=/
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>
|
27
|
+
string: <html><div id='token' style='display:none;'>dVwA-28UmwekZk4MiHSezwRRQud-YpC--_5jLqi1ZepsLKLBanUWRy4fslEAAAAA</div></html>
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getostype&output=json&token=
|
32
|
+
uri: http://localhost:8888/gui/?action=getostype&output=json&token=dVwA-28UmwekZk4MiHSezwRRQud-YpC--_5jLqi1ZepsLKLBanUWRy4fslEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=n7XODETwa0IMP0rG4E9A
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -53,5 +53,5 @@ http_interactions:
|
|
53
53
|
encoding: US-ASCII
|
54
54
|
string: ! '{ "os": "linux" }'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
57
57
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=BuR9HOy5Q7UR5Kg4zToj
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,17 +17,16 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '185'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [
|
28
|
-
"
|
29
|
-
|
30
|
-
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
27
|
+
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ ],
|
28
|
+
"secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" } ],
|
29
|
+
"speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
31
30
|
http_version:
|
32
|
-
recorded_at:
|
31
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
33
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://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=BuR9HOy5Q7UR5Kg4zToj
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -28,16 +28,16 @@ http_interactions:
|
|
28
28
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
29
29
|
1, "usehosts": 1, "usetracker": 1 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
32
32
|
- request:
|
33
33
|
method: get
|
34
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
34
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
38
38
|
headers:
|
39
39
|
Cookie:
|
40
|
-
- GUID=
|
40
|
+
- GUID=BuR9HOy5Q7UR5Kg4zToj
|
41
41
|
response:
|
42
42
|
status:
|
43
43
|
code: 200
|
@@ -57,16 +57,16 @@ http_interactions:
|
|
57
57
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
58
58
|
1, "usehosts": 1, "usetracker": 1 } }'
|
59
59
|
http_version:
|
60
|
-
recorded_at:
|
60
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
61
61
|
- request:
|
62
62
|
method: get
|
63
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
63
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
|
64
64
|
body:
|
65
65
|
encoding: US-ASCII
|
66
66
|
string: ''
|
67
67
|
headers:
|
68
68
|
Cookie:
|
69
|
-
- GUID=
|
69
|
+
- GUID=BuR9HOy5Q7UR5Kg4zToj
|
70
70
|
response:
|
71
71
|
status:
|
72
72
|
code: 200
|
@@ -86,16 +86,16 @@ http_interactions:
|
|
86
86
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
87
87
|
1, "usehosts": 1, "usetracker": 1 } }'
|
88
88
|
http_version:
|
89
|
-
recorded_at:
|
89
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
90
90
|
- request:
|
91
91
|
method: get
|
92
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
92
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
|
93
93
|
body:
|
94
94
|
encoding: US-ASCII
|
95
95
|
string: ''
|
96
96
|
headers:
|
97
97
|
Cookie:
|
98
|
-
- GUID=
|
98
|
+
- GUID=BuR9HOy5Q7UR5Kg4zToj
|
99
99
|
response:
|
100
100
|
status:
|
101
101
|
code: 200
|
@@ -115,16 +115,16 @@ http_interactions:
|
|
115
115
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
116
116
|
1, "usehosts": 1, "usetracker": 1 } }'
|
117
117
|
http_version:
|
118
|
-
recorded_at:
|
118
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
119
119
|
- request:
|
120
120
|
method: get
|
121
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
121
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
125
125
|
headers:
|
126
126
|
Cookie:
|
127
|
-
- GUID=
|
127
|
+
- GUID=BuR9HOy5Q7UR5Kg4zToj
|
128
128
|
response:
|
129
129
|
status:
|
130
130
|
code: 200
|
@@ -144,16 +144,16 @@ http_interactions:
|
|
144
144
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
145
145
|
1, "usehosts": 1, "usetracker": 1 } }'
|
146
146
|
http_version:
|
147
|
-
recorded_at:
|
147
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
148
148
|
- request:
|
149
149
|
method: get
|
150
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=
|
150
|
+
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/chris/Documents&output=json&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
|
151
151
|
body:
|
152
152
|
encoding: US-ASCII
|
153
153
|
string: ''
|
154
154
|
headers:
|
155
155
|
Cookie:
|
156
|
-
- GUID=
|
156
|
+
- GUID=BuR9HOy5Q7UR5Kg4zToj
|
157
157
|
response:
|
158
158
|
status:
|
159
159
|
code: 200
|
@@ -173,5 +173,5 @@ http_interactions:
|
|
173
173
|
"RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
|
174
174
|
1, "usehosts": 1, "usetracker": 1 } }'
|
175
175
|
http_version:
|
176
|
-
recorded_at:
|
176
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
177
177
|
recorded_with: VCR 2.5.0
|
@@ -19,23 +19,23 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/html
|
21
21
|
Set-Cookie:
|
22
|
-
- GUID=
|
22
|
+
- GUID=8iAyclB2xmnYn6umHWz5; path=/
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>
|
27
|
+
string: <html><div id='token' style='display:none;'>TJJWqImEOnnrud5oNnluBg-cJVGztlWnjZ7Krt6QQF4OtXvyW2XNJC4fslEAAAAA</div></html>
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=
|
32
|
+
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=TJJWqImEOnnrud5oNnluBg-cJVGztlWnjZ7Krt6QQF4OtXvyW2XNJC4fslEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=8iAyclB2xmnYn6umHWz5
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -54,5 +54,5 @@ http_interactions:
|
|
54
54
|
string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
|
55
55
|
63754, "portmapping": 1, "ulrate": 0 } }'
|
56
56
|
http_version:
|
57
|
-
recorded_at:
|
57
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
58
58
|
recorded_with: VCR 2.5.0
|
@@ -19,23 +19,23 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/html
|
21
21
|
Set-Cookie:
|
22
|
-
- GUID=
|
22
|
+
- GUID=IEzRTkXGvwjwVG2PCdQi; path=/
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>
|
27
|
+
string: <html><div id='token' style='display:none;'>1awhyGmgr5acq3rZW5J45XAaMfWDaBL8WBJ7_qK1pFVnWpmw3fmJbi4fslEAAAAA</div></html>
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getversion&output=json&token=
|
32
|
+
uri: http://localhost:8888/gui/?action=getversion&output=json&token=1awhyGmgr5acq3rZW5J45XAaMfWDaBL8WBJ7_qK1pFVnWpmw3fmJbi4fslEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=IEzRTkXGvwjwVG2PCdQi
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -53,5 +53,5 @@ http_interactions:
|
|
53
53
|
encoding: US-ASCII
|
54
54
|
string: ! '{ "version": 16777350 }'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
57
57
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
5
|
+
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=7cFoPQ5VvJbcU25vUUYeQSl9uIa5_NkKsdM3lRLFyhjTp7_f9OnU8S4fslEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=ONEG0039oAQKNtLjyOBm
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,19 +17,18 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '185'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [
|
28
|
-
"
|
29
|
-
|
30
|
-
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
27
|
+
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ ],
|
28
|
+
"secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" } ],
|
29
|
+
"speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
31
30
|
http_version:
|
32
|
-
recorded_at:
|
31
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
33
32
|
- request:
|
34
33
|
method: get
|
35
34
|
uri: http://localhost:8888/gui/token.html?output=text
|
@@ -49,23 +48,23 @@ http_interactions:
|
|
49
48
|
Content-Type:
|
50
49
|
- text/html
|
51
50
|
Set-Cookie:
|
52
|
-
- GUID=
|
51
|
+
- GUID=cuamjnSRtoUis6uLxgoA; 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;'>YxeegGU-Esu-tSUN2OQ98Z2WTzabgyscY0PW6uS6asbBB1JOOtucIS4fslEAAAAA</div></html>
|
58
57
|
http_version:
|
59
|
-
recorded_at:
|
58
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
60
59
|
- request:
|
61
60
|
method: get
|
62
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token
|
61
|
+
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=YxeegGU-Esu-tSUN2OQ98Z2WTzabgyscY0PW6uS6asbBB1JOOtucIS4fslEAAAAA
|
63
62
|
body:
|
64
63
|
encoding: US-ASCII
|
65
64
|
string: ''
|
66
65
|
headers:
|
67
66
|
Cookie:
|
68
|
-
- GUID=
|
67
|
+
- GUID=cuamjnSRtoUis6uLxgoA
|
69
68
|
response:
|
70
69
|
status:
|
71
70
|
code: 200
|
@@ -74,17 +73,16 @@ http_interactions:
|
|
74
73
|
Connection:
|
75
74
|
- keep-alive
|
76
75
|
Content-Length:
|
77
|
-
- '
|
76
|
+
- '185'
|
78
77
|
Content-Type:
|
79
78
|
- application/json; charset=utf-8
|
80
79
|
Cache-Control:
|
81
80
|
- no-cache
|
82
81
|
body:
|
83
82
|
encoding: US-ASCII
|
84
|
-
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [
|
85
|
-
"
|
86
|
-
|
87
|
-
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
83
|
+
string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ ],
|
84
|
+
"secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" } ],
|
85
|
+
"speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
88
86
|
http_version:
|
89
|
-
recorded_at:
|
87
|
+
recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
|
90
88
|
recorded_with: VCR 2.5.0
|