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 CHANGED
@@ -1,7 +1,15 @@
1
- ---
2
- SHA512:
3
- data.tar.gz: 858a953a4d76d74508f0451700cb54c63c054d63e6d22436faddcd39013b8b48cb39d7f2de78470ffacafeb6748067066f72a190a5d3f4ebc6a3988357ad1883
4
- metadata.gz: bcf1707f4bb7fc8c8fbe34c6fb816505948d0e5e86cb079e52d619ee87e44e387906abc65a9f2418338002d5f57e8723c58f685dcc2561eb9745a8af9a80cd89
5
- SHA1:
6
- data.tar.gz: 984f9a9f9b992af0e24ffd051d5d0560c9286021
7
- metadata.gz: eb3df5b2bbb2ce0830c266544bd021bf0f7309fe
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZjhjNTQxZjA4ZjE2NzBmMjBjZTc2MWFiZDg1YjQ2MDdmN2E3MTY5Ng==
5
+ data.tar.gz: !binary |-
6
+ MGZiNjQ3MzY0NDVmNmYyNjM2YjJlOGZmNmQ1YThiMWMyNTA4ZDkyYg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YmMyYjY4ZTU3NWRhOTc4ZThmNTAwYTVmZDEyYjU4YWQyMTg4OTNlOTMzMjk5
10
+ MmVhNGQ2ZWI3OWJlZmM0ODI4NTFiODIyM2M1NzU5Y2YzM2U0YmVkZDhlYWFl
11
+ ZGM0NzE1YmY3OGFmZGQ3Y2IxYTVkMjdhZTdmZjIwYTMyZTZjNmY=
12
+ data.tar.gz: !binary |-
13
+ MGFkMWU3ZTAyNTk1MjMwODJiNTk4YWFjMWZiN2Y5OWRmY2Y2YzUyY2E5NTFj
14
+ MmM1N2YwOTQ0NDVlNDYzZmUwOTdhYjYzMjJhYWFjYTg4NThhZGNlOWFmNTI5
15
+ MjVhOWIxNmU1ZTZmYTMyNzEyNDhhYTY0MmRhNmExOWJjYWY3MzI=
@@ -29,7 +29,7 @@ module BtCommunicator
29
29
  end
30
30
  def request_token force = false
31
31
  @last_request ||= 0
32
- t = DateTime.now.strftime('%s')
32
+ t = DateTime.now.strftime('%s').to_i
33
33
  if @request_token.nil? || force || (@last_request + 600) < t
34
34
  @last_request = t
35
35
  @request_token = self.class.get("#{root_url}gui/token.html", :query => {:output => :text})
@@ -1,3 +1,3 @@
1
1
  module BtsyncVersion
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
@@ -10,6 +10,11 @@ describe 'BtSync::Directory' do
10
10
  @bt)
11
11
  end
12
12
  VCR.use_cassette('Setup-Directory-Settings') do
13
+ @bt = BtSync.new
14
+ @directory = BtSync::Directory.new(
15
+ '/home/chris/Documents',
16
+ '6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ',
17
+ @bt)
13
18
  @directory.send('default_settings')
14
19
  end
15
20
  end
@@ -28,7 +33,7 @@ describe 'BtSync::Directory' do
28
33
  VCR.use_cassette("get-peers") do
29
34
  @peers = @directory.peers
30
35
  end
31
- @peers.first["name"].should == "IceyEC Portable"
36
+ @peers.first.should == nil
32
37
  end
33
38
  it "can get see known hosts" do
34
39
  VCR.use_cassette("get-known-hosts") do
@@ -19,23 +19,23 @@ http_interactions:
19
19
  Content-Type:
20
20
  - text/html
21
21
  Set-Cookie:
22
- - GUID=viqdjPnu05Y1N0pnFKQ7; path=/
22
+ - GUID=E3lhmlycmFgf7ESFDvoZ; 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;'>iRasMRAah3u6ZZL5nDz7pcjSl9wT5iHuJPM3epeVqG6O57gXNwXWRYWGsFEAAAAA</div></html>
27
+ string: <html><div id='token' style='display:none;'>XkuWXu3e6UgIFlZ7Z-DRbgZRZKUuVp5HOH9Z5m1d4B_DS4YoEU_Tqy4fslEAAAAA</div></html>
28
28
  http_version:
29
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
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=iRasMRAah3u6ZZL5nDz7pcjSl9wT5iHuJPM3epeVqG6O57gXNwXWRYWGsFEAAAAA
32
+ uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=XkuWXu3e6UgIFlZ7Z-DRbgZRZKUuVp5HOH9Z5m1d4B_DS4YoEU_Tqy4fslEAAAAA
33
33
  body:
34
34
  encoding: US-ASCII
35
35
  string: ''
36
36
  headers:
37
37
  Cookie:
38
- - GUID=viqdjPnu05Y1N0pnFKQ7
38
+ - GUID=E3lhmlycmFgf7ESFDvoZ
39
39
  response:
40
40
  status:
41
41
  code: 200
@@ -44,17 +44,16 @@ http_interactions:
44
44
  Connection:
45
45
  - keep-alive
46
46
  Content-Length:
47
- - '270'
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
- "direct": 1, "name": "IceyEC Portable", "status": "Synced on 06\/05\/13 20:52:35"
56
- } ], "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files"
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: Thu, 06 Jun 2013 12:54:29 GMT
58
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
60
59
  recorded_with: VCR 2.5.0
@@ -2,13 +2,69 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&name=/home/chris/Documents&output=json&relay=1&searchdht=0&searchlan=1&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=iRasMRAah3u6ZZL5nDz7pcjSl9wT5iHuJPM3epeVqG6O57gXNwXWRYWGsFEAAAAA&usehosts=1&usetracker=1
5
+ uri: http://localhost:8888/gui/token.html?output=text
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Connection:
16
+ - keep-alive
17
+ Content-Length:
18
+ - '121'
19
+ Content-Type:
20
+ - text/html
21
+ Set-Cookie:
22
+ - GUID=BuR9HOy5Q7UR5Kg4zToj; path=/
23
+ Cache-Control:
24
+ - no-cache
25
+ body:
26
+ encoding: US-ASCII
27
+ string: <html><div id='token' style='display:none;'>5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA</div></html>
28
+ http_version:
29
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
30
+ - request:
31
+ method: get
32
+ uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA
33
+ body:
34
+ encoding: US-ASCII
35
+ string: ''
36
+ headers:
37
+ Cookie:
38
+ - GUID=BuR9HOy5Q7UR5Kg4zToj
39
+ response:
40
+ status:
41
+ code: 200
42
+ message: OK
43
+ headers:
44
+ Connection:
45
+ - keep-alive
46
+ Content-Length:
47
+ - '185'
48
+ Content-Type:
49
+ - application/json; charset=utf-8
50
+ Cache-Control:
51
+ - no-cache
52
+ body:
53
+ encoding: US-ASCII
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" }'
57
+ http_version:
58
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
59
+ - request:
60
+ method: get
61
+ uri: http://localhost:8888/gui/?action=setfolderpref&deletetotrash=1&name=/home/chris/Documents&output=json&relay=1&searchdht=0&searchlan=1&secret=6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ&token=5K85aW3p3a6w1SYpvmcT2b8wfIf78_IiXbhF8rWcC89R0jqH44Zm3C4fslEAAAAA&usehosts=1&usetracker=1
6
62
  body:
7
63
  encoding: US-ASCII
8
64
  string: ''
9
65
  headers:
10
66
  Cookie:
11
- - GUID=viqdjPnu05Y1N0pnFKQ7
67
+ - GUID=BuR9HOy5Q7UR5Kg4zToj
12
68
  response:
13
69
  status:
14
70
  code: 200
@@ -26,5 +82,5 @@ http_interactions:
26
82
  encoding: US-ASCII
27
83
  string: ! '{ }'
28
84
  http_version:
29
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
85
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
30
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://localhost:8888/gui/?action=getsyncfolders&output=json&token=ELqA5tqCug_yMJadh1_vvAaD-OVAF4IyyFMIhNEPnRGj6WXyk5v9IIWGsFEAAAAA
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=Pn3ujVFV4TcQhRiJLLDQ
11
+ - GUID=ONEG0039oAQKNtLjyOBm
12
12
  response:
13
13
  status:
14
14
  code: 200
@@ -17,20 +17,19 @@ http_interactions:
17
17
  Connection:
18
18
  - keep-alive
19
19
  Content-Length:
20
- - '395'
20
+ - '310'
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
- "direct": 1, "name": "IceyEC Portable", "status": "Synced on 06\/05\/13 20:52:35"
29
- } ], "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files"
30
- }, { "name": "\/home\/chris\/bt_test", "peers": [ ], "secret": "RZC3I57RLP3TMSCD6YWEEGX3E2T2KXVT",
27
+ string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ ],
28
+ "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" },
29
+ { "name": "\/home\/chris\/bt_test", "peers": [ ], "secret": "SXBX73B6OSTJ3P3AEUKGGPK6EKLO5L4K",
31
30
  "size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
32
31
  http_version:
33
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
32
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
34
33
  - request:
35
34
  method: get
36
35
  uri: http://localhost:8888/gui/token.html?output=text
@@ -50,23 +49,23 @@ http_interactions:
50
49
  Content-Type:
51
50
  - text/html
52
51
  Set-Cookie:
53
- - GUID=QQrZDXImF2Bv2nCkSILq; path=/
52
+ - GUID=jlXfE6H2JiIC9fxgLaBP; path=/
54
53
  Cache-Control:
55
54
  - no-cache
56
55
  body:
57
56
  encoding: US-ASCII
58
- string: <html><div id='token' style='display:none;'>FxcuZf2Z63X6TRu4p4g6Sr7Wek0ys3TJK1nzf-OgIBmj9HqlOwqBuYWGsFEAAAAA</div></html>
57
+ string: <html><div id='token' style='display:none;'>N5D8txAkMcW3ObY8moLCoGcM_YnI-O9Wik1iTXirs846mayy0WsnnC4fslEAAAAA</div></html>
59
58
  http_version:
60
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
59
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
61
60
  - request:
62
61
  method: get
63
- uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=FxcuZf2Z63X6TRu4p4g6Sr7Wek0ys3TJK1nzf-OgIBmj9HqlOwqBuYWGsFEAAAAA
62
+ uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=N5D8txAkMcW3ObY8moLCoGcM_YnI-O9Wik1iTXirs846mayy0WsnnC4fslEAAAAA
64
63
  body:
65
64
  encoding: US-ASCII
66
65
  string: ''
67
66
  headers:
68
67
  Cookie:
69
- - GUID=QQrZDXImF2Bv2nCkSILq
68
+ - GUID=jlXfE6H2JiIC9fxgLaBP
70
69
  response:
71
70
  status:
72
71
  code: 200
@@ -75,20 +74,19 @@ http_interactions:
75
74
  Connection:
76
75
  - keep-alive
77
76
  Content-Length:
78
- - '395'
77
+ - '310'
79
78
  Content-Type:
80
79
  - application/json; charset=utf-8
81
80
  Cache-Control:
82
81
  - no-cache
83
82
  body:
84
83
  encoding: US-ASCII
85
- string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ {
86
- "direct": 1, "name": "IceyEC Portable", "status": "Synced on 06\/05\/13 20:52:35"
87
- } ], "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files"
88
- }, { "name": "\/home\/chris\/bt_test", "peers": [ ], "secret": "RZC3I57RLP3TMSCD6YWEEGX3E2T2KXVT",
84
+ string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ ],
85
+ "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" },
86
+ { "name": "\/home\/chris\/bt_test", "peers": [ ], "secret": "SXBX73B6OSTJ3P3AEUKGGPK6EKLO5L4K",
89
87
  "size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
90
88
  http_version:
91
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
89
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
92
90
  - request:
93
91
  method: get
94
92
  uri: http://localhost:8888/gui/token.html?output=text
@@ -108,23 +106,23 @@ http_interactions:
108
106
  Content-Type:
109
107
  - text/html
110
108
  Set-Cookie:
111
- - GUID=9zvSQrBuKictwdZ0C1lB; path=/
109
+ - GUID=NTxZnDWPqRo7MpZ0QSdl; path=/
112
110
  Cache-Control:
113
111
  - no-cache
114
112
  body:
115
113
  encoding: US-ASCII
116
- string: <html><div id='token' style='display:none;'>HNoGiD4wDC-EpYD-3cXK-xFeOR10_IuoCZvU5ElvuJXfhnQb_J-LR4WGsFEAAAAA</div></html>
114
+ string: <html><div id='token' style='display:none;'>-Ic-huNGlb8K_-Pg1klrdCIgKD9efaYWpx2yXli-v83JfZ46-P26lC4fslEAAAAA</div></html>
117
115
  http_version:
118
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
116
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
119
117
  - request:
120
118
  method: get
121
- uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=HNoGiD4wDC-EpYD-3cXK-xFeOR10_IuoCZvU5ElvuJXfhnQb_J-LR4WGsFEAAAAA
119
+ uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=-Ic-huNGlb8K_-Pg1klrdCIgKD9efaYWpx2yXli-v83JfZ46-P26lC4fslEAAAAA
122
120
  body:
123
121
  encoding: US-ASCII
124
122
  string: ''
125
123
  headers:
126
124
  Cookie:
127
- - GUID=9zvSQrBuKictwdZ0C1lB
125
+ - GUID=NTxZnDWPqRo7MpZ0QSdl
128
126
  response:
129
127
  status:
130
128
  code: 200
@@ -133,18 +131,17 @@ http_interactions:
133
131
  Connection:
134
132
  - keep-alive
135
133
  Content-Length:
136
- - '395'
134
+ - '310'
137
135
  Content-Type:
138
136
  - application/json; charset=utf-8
139
137
  Cache-Control:
140
138
  - no-cache
141
139
  body:
142
140
  encoding: US-ASCII
143
- string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ {
144
- "direct": 1, "name": "IceyEC Portable", "status": "Synced on 06\/05\/13 20:52:35"
145
- } ], "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files"
146
- }, { "name": "\/home\/chris\/bt_test", "peers": [ ], "secret": "RZC3I57RLP3TMSCD6YWEEGX3E2T2KXVT",
141
+ string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ ],
142
+ "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" },
143
+ { "name": "\/home\/chris\/bt_test", "peers": [ ], "secret": "SXBX73B6OSTJ3P3AEUKGGPK6EKLO5L4K",
147
144
  "size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
148
145
  http_version:
149
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
146
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
150
147
  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=Pn3ujVFV4TcQhRiJLLDQ; path=/
22
+ - GUID=ONEG0039oAQKNtLjyOBm; 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;'>ELqA5tqCug_yMJadh1_vvAaD-OVAF4IyyFMIhNEPnRGj6WXyk5v9IIWGsFEAAAAA</div></html>
27
+ string: <html><div id='token' style='display:none;'>7cFoPQ5VvJbcU25vUUYeQSl9uIa5_NkKsdM3lRLFyhjTp7_f9OnU8S4fslEAAAAA</div></html>
28
28
  http_version:
29
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
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=generatesecret&output=json&token=ELqA5tqCug_yMJadh1_vvAaD-OVAF4IyyFMIhNEPnRGj6WXyk5v9IIWGsFEAAAAA
32
+ uri: http://localhost:8888/gui/?action=generatesecret&output=json&token=7cFoPQ5VvJbcU25vUUYeQSl9uIa5_NkKsdM3lRLFyhjTp7_f9OnU8S4fslEAAAAA
33
33
  body:
34
34
  encoding: US-ASCII
35
35
  string: ''
36
36
  headers:
37
37
  Cookie:
38
- - GUID=Pn3ujVFV4TcQhRiJLLDQ
38
+ - GUID=ONEG0039oAQKNtLjyOBm
39
39
  response:
40
40
  status:
41
41
  code: 200
@@ -51,19 +51,19 @@ http_interactions:
51
51
  - no-cache
52
52
  body:
53
53
  encoding: US-ASCII
54
- string: ! '{ "rosecret": "R27DA72HK2M6A2PCK46QXSR3UY5KISG3V", "secret": "RZC3I57RLP3TMSCD6YWEEGX3E2T2KXVT"
54
+ string: ! '{ "rosecret": "RSQ44DB333L4KBJS7Y5VI2YK73SXZO42Y", "secret": "SXBX73B6OSTJ3P3AEUKGGPK6EKLO5L4K"
55
55
  }'
56
56
  http_version:
57
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
57
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
58
58
  - request:
59
59
  method: get
60
- uri: http://localhost:8888/gui/?action=addsyncfolder&name=/home/chris/bt_test&output=json&secret=RZC3I57RLP3TMSCD6YWEEGX3E2T2KXVT&token=ELqA5tqCug_yMJadh1_vvAaD-OVAF4IyyFMIhNEPnRGj6WXyk5v9IIWGsFEAAAAA
60
+ uri: http://localhost:8888/gui/?action=addsyncfolder&name=/home/chris/bt_test&output=json&secret=SXBX73B6OSTJ3P3AEUKGGPK6EKLO5L4K&token=7cFoPQ5VvJbcU25vUUYeQSl9uIa5_NkKsdM3lRLFyhjTp7_f9OnU8S4fslEAAAAA
61
61
  body:
62
62
  encoding: US-ASCII
63
63
  string: ''
64
64
  headers:
65
65
  Cookie:
66
- - GUID=Pn3ujVFV4TcQhRiJLLDQ
66
+ - GUID=ONEG0039oAQKNtLjyOBm
67
67
  response:
68
68
  status:
69
69
  code: 200
@@ -81,7 +81,7 @@ http_interactions:
81
81
  encoding: US-ASCII
82
82
  string: ! '{ "error": 0 }'
83
83
  http_version:
84
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
84
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
85
85
  - request:
86
86
  method: get
87
87
  uri: http://localhost:8888/gui/token.html?output=text
@@ -101,23 +101,23 @@ http_interactions:
101
101
  Content-Type:
102
102
  - text/html
103
103
  Set-Cookie:
104
- - GUID=ybwvZ7HNb6lKK0Bw1cAO; path=/
104
+ - GUID=vQA4HwwpaXwF0ZUoRRce; path=/
105
105
  Cache-Control:
106
106
  - no-cache
107
107
  body:
108
108
  encoding: US-ASCII
109
- string: <html><div id='token' style='display:none;'>me0KSa5j3JleJKMog6oZTsjHRuWamFP6Z7E2aqi7PyR7CEwa_2Q3iYWGsFEAAAAA</div></html>
109
+ string: <html><div id='token' style='display:none;'>x5ZBSU_UGmMbxLFqqOehcq_tBbP69fav2tYA7Ysala8OasWirGMwby4fslEAAAAA</div></html>
110
110
  http_version:
111
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
111
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
112
112
  - request:
113
113
  method: get
114
- uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=me0KSa5j3JleJKMog6oZTsjHRuWamFP6Z7E2aqi7PyR7CEwa_2Q3iYWGsFEAAAAA
114
+ uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=x5ZBSU_UGmMbxLFqqOehcq_tBbP69fav2tYA7Ysala8OasWirGMwby4fslEAAAAA
115
115
  body:
116
116
  encoding: US-ASCII
117
117
  string: ''
118
118
  headers:
119
119
  Cookie:
120
- - GUID=ybwvZ7HNb6lKK0Bw1cAO
120
+ - GUID=vQA4HwwpaXwF0ZUoRRce
121
121
  response:
122
122
  status:
123
123
  code: 200
@@ -126,18 +126,17 @@ http_interactions:
126
126
  Connection:
127
127
  - keep-alive
128
128
  Content-Length:
129
- - '395'
129
+ - '310'
130
130
  Content-Type:
131
131
  - application/json; charset=utf-8
132
132
  Cache-Control:
133
133
  - no-cache
134
134
  body:
135
135
  encoding: US-ASCII
136
- string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ {
137
- "direct": 1, "name": "IceyEC Portable", "status": "Synced on 06\/05\/13 20:52:35"
138
- } ], "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files"
139
- }, { "name": "\/home\/chris\/bt_test", "peers": [ ], "secret": "RZC3I57RLP3TMSCD6YWEEGX3E2T2KXVT",
136
+ string: ! '{ "folders": [ { "name": "\/home\/chris\/Documents", "peers": [ ],
137
+ "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files" },
138
+ { "name": "\/home\/chris\/bt_test", "peers": [ ], "secret": "SXBX73B6OSTJ3P3AEUKGGPK6EKLO5L4K",
140
139
  "size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
141
140
  http_version:
142
- recorded_at: Thu, 06 Jun 2013 12:54:29 GMT
141
+ recorded_at: Fri, 07 Jun 2013 17:58:06 GMT
143
142
  recorded_with: VCR 2.5.0