BtSync 0.5.1 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +8 -8
  2. data/.gitignore +1 -0
  3. data/.travis.yml +1 -0
  4. data/Vagrantfile +31 -0
  5. data/cookbooks/apt/.gitignore +14 -0
  6. data/cookbooks/apt/.kitchen.yml +38 -0
  7. data/cookbooks/apt/Berksfile +8 -0
  8. data/cookbooks/apt/CHANGELOG.md +97 -0
  9. data/cookbooks/apt/CONTRIBUTING +29 -0
  10. data/cookbooks/apt/LICENSE +201 -0
  11. data/cookbooks/apt/README.md +243 -0
  12. data/cookbooks/apt/TESTING.md +25 -0
  13. data/cookbooks/apt/attributes/default.rb +4 -0
  14. data/cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
  15. data/cookbooks/apt/metadata.json +1 -0
  16. data/cookbooks/apt/metadata.rb +30 -0
  17. data/cookbooks/apt/providers/preference.rb +61 -0
  18. data/cookbooks/apt/providers/repository.rb +132 -0
  19. data/cookbooks/apt/recipes/cacher-client.rb +59 -0
  20. data/cookbooks/apt/recipes/cacher-ng.rb +40 -0
  21. data/cookbooks/apt/recipes/default.rb +68 -0
  22. data/cookbooks/apt/resources/preference.rb +30 -0
  23. data/cookbooks/apt/resources/repository.rb +40 -0
  24. data/cookbooks/apt/templates/debian-6.0/acng.conf.erb +174 -0
  25. data/cookbooks/apt/templates/default/01proxy.erb +2 -0
  26. data/cookbooks/apt/templates/default/acng.conf.erb +276 -0
  27. data/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +270 -0
  28. data/cookbooks/btsync/README.md +2 -0
  29. data/cookbooks/btsync/metadata.rb +14 -0
  30. data/cookbooks/btsync/recipes/default.rb +13 -0
  31. data/cookbooks/build-essential/.gitignore +4 -0
  32. data/cookbooks/build-essential/.kitchen.yml +42 -0
  33. data/cookbooks/build-essential/Berksfile +3 -0
  34. data/cookbooks/build-essential/CHANGELOG.md +42 -0
  35. data/cookbooks/build-essential/CONTRIBUTING +29 -0
  36. data/cookbooks/build-essential/LICENSE +201 -0
  37. data/cookbooks/build-essential/README.md +139 -0
  38. data/cookbooks/build-essential/TESTING.md +25 -0
  39. data/cookbooks/build-essential/attributes/default.rb +33 -0
  40. data/cookbooks/build-essential/metadata.json +44 -0
  41. data/cookbooks/build-essential/metadata.rb +16 -0
  42. data/cookbooks/build-essential/recipes/debian.rb +45 -0
  43. data/cookbooks/build-essential/recipes/default.rb +24 -0
  44. data/cookbooks/build-essential/recipes/fedora.rb +36 -0
  45. data/cookbooks/build-essential/recipes/mac_os_x.rb +40 -0
  46. data/cookbooks/build-essential/recipes/rhel.rb +43 -0
  47. data/cookbooks/build-essential/recipes/smartos.rb +36 -0
  48. data/cookbooks/build-essential/recipes/solaris2.rb +42 -0
  49. data/cookbooks/build-essential/recipes/suse.rb +36 -0
  50. data/lib/btsync.rb +13 -13
  51. data/lib/btsync/communicator.rb +14 -4
  52. data/lib/btsync/directory.rb +12 -12
  53. data/lib/btsync/version.rb +1 -1
  54. data/spec/BtSync/bt_sync_spec.rb +13 -9
  55. data/spec/BtSync/directory_spec.rb +13 -20
  56. data/spec/fixtures/cassettes/{get-known-hosts.yml → Remove-Default-Host.yml} +5 -5
  57. data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +289 -12
  58. data/spec/fixtures/cassettes/Setup-BtSync.yml +252 -0
  59. data/spec/fixtures/cassettes/Setup-Directory-Settings.yml +8 -38
  60. data/spec/fixtures/cassettes/add-folder-list.yml +32 -35
  61. data/spec/fixtures/cassettes/add-folder.yml +10 -94
  62. data/spec/fixtures/cassettes/add-known-host.yml +6 -6
  63. data/spec/fixtures/cassettes/change_download_limit.yml +15 -42
  64. data/spec/fixtures/cassettes/change_listening_port.yml +15 -42
  65. data/spec/fixtures/cassettes/change_name.yml +13 -40
  66. data/spec/fixtures/cassettes/change_upload_limit.yml +15 -42
  67. data/spec/fixtures/cassettes/get-folders.yml +54 -24
  68. data/spec/fixtures/cassettes/get-os-type.yml +3 -30
  69. data/spec/fixtures/cassettes/get-peers.yml +7 -8
  70. data/spec/fixtures/cassettes/get-preferences.yml +24 -24
  71. data/spec/fixtures/cassettes/get-settings.yml +6 -33
  72. data/spec/fixtures/cassettes/get-version.yml +3 -30
  73. data/spec/fixtures/cassettes/remove-folder-list.yml +18 -20
  74. data/spec/fixtures/cassettes/remove-folder.yml +35 -38
  75. data/spec/fixtures/cassettes/remove-known-host.yml +6 -6
  76. data/spec/fixtures/cassettes/reset_device_name.yml +13 -13
  77. data/spec/fixtures/cassettes/reset_download_limit.yml +15 -15
  78. data/spec/fixtures/cassettes/reset_listening_port.yml +15 -15
  79. data/spec/fixtures/cassettes/reset_upload_limit.yml +15 -15
  80. data/spec/fixtures/cassettes/set-preferences-delete.yml +11 -11
  81. data/spec/fixtures/cassettes/set-preferences-dht.yml +11 -11
  82. data/spec/fixtures/cassettes/set-preferences-hosts.yml +11 -11
  83. data/spec/fixtures/cassettes/set-preferences-lan.yml +11 -11
  84. data/spec/fixtures/cassettes/set-preferences-relay.yml +11 -11
  85. data/spec/fixtures/cassettes/set-preferences-tracker.yml +11 -11
  86. data/spec/fixtures/cassettes/view-folders.yml +5 -5
  87. metadata +52 -4
@@ -2,40 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
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=ApytqtfI91r4IdudjTIN; path=/
23
- Cache-Control:
24
- - no-cache
25
- body:
26
- encoding: US-ASCII
27
- string: <html><div id='token' style='display:none;'>L85OZizUmvgobKcrIincEGwEBxBrhyDZuz5OCKYefCakcYZs3SyviX-DtlEAAAAA</div></html>
28
- http_version:
29
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
30
- - request:
31
- method: get
32
- uri: http://localhost:8888/gui/?action=getostype&output=json&token=L85OZizUmvgobKcrIincEGwEBxBrhyDZuz5OCKYefCakcYZs3SyviX-DtlEAAAAA
5
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getostype&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
33
6
  body:
34
7
  encoding: US-ASCII
35
8
  string: ''
36
9
  headers:
37
10
  Cookie:
38
- - GUID=ApytqtfI91r4IdudjTIN
11
+ - GUID=7Sb1dvknwuyiiKy9xvYv
39
12
  response:
40
13
  status:
41
14
  code: 200
@@ -53,5 +26,5 @@ http_interactions:
53
26
  encoding: US-ASCII
54
27
  string: ! '{ "os": "linux" }'
55
28
  http_version:
56
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
29
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
57
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://localhost:8888/gui/?action=getsyncfolders&output=json&token=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
5
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Cookie:
11
- - GUID=SZGEavWRWlylZwpb4y1U
11
+ - GUID=TotE2NElyDGhazP4Fk3b
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
- - '270'
20
+ - '180'
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
- } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
27
+ string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
28
+ "XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" } ], "speed":
29
+ "0.0 kB\/s up, 0.0 kB\/s down" }'
31
30
  http_version:
32
- recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
31
+ recorded_at: Wed, 12 Jun 2013 18:42:12 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=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
5
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Cookie:
11
- - GUID=SZGEavWRWlylZwpb4y1U
11
+ - GUID=TotE2NElyDGhazP4Fk3b
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
- "RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
28
+ "R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
29
29
  1, "usehosts": 1, "usetracker": 1 } }'
30
30
  http_version:
31
- recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
31
+ recorded_at: Wed, 12 Jun 2013 18:42:13 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=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
34
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
35
35
  body:
36
36
  encoding: US-ASCII
37
37
  string: ''
38
38
  headers:
39
39
  Cookie:
40
- - GUID=SZGEavWRWlylZwpb4y1U
40
+ - GUID=TotE2NElyDGhazP4Fk3b
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
- "RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
57
+ "R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
58
58
  1, "usehosts": 1, "usetracker": 1 } }'
59
59
  http_version:
60
- recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
60
+ recorded_at: Wed, 12 Jun 2013 18:42:13 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=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
63
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
64
64
  body:
65
65
  encoding: US-ASCII
66
66
  string: ''
67
67
  headers:
68
68
  Cookie:
69
- - GUID=SZGEavWRWlylZwpb4y1U
69
+ - GUID=TotE2NElyDGhazP4Fk3b
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
- "RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
86
+ "R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
87
87
  1, "usehosts": 1, "usetracker": 1 } }'
88
88
  http_version:
89
- recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
89
+ recorded_at: Wed, 12 Jun 2013 18:42:13 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=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
92
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
93
93
  body:
94
94
  encoding: US-ASCII
95
95
  string: ''
96
96
  headers:
97
97
  Cookie:
98
- - GUID=SZGEavWRWlylZwpb4y1U
98
+ - GUID=TotE2NElyDGhazP4Fk3b
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
- "RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
115
+ "R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
116
116
  1, "usehosts": 1, "usetracker": 1 } }'
117
117
  http_version:
118
- recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
118
+ recorded_at: Wed, 12 Jun 2013 18:42:13 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=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
121
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
122
122
  body:
123
123
  encoding: US-ASCII
124
124
  string: ''
125
125
  headers:
126
126
  Cookie:
127
- - GUID=SZGEavWRWlylZwpb4y1U
127
+ - GUID=TotE2NElyDGhazP4Fk3b
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
- "RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
144
+ "R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
145
145
  1, "usehosts": 1, "usetracker": 1 } }'
146
146
  http_version:
147
- recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
147
+ recorded_at: Wed, 12 Jun 2013 18:42:13 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=cNJuLdTzhAVEgK83V3Ai3F9LGEGb2oDNWAwa1BWst7Dpo45MpwWH93-DtlEAAAAA
150
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
151
151
  body:
152
152
  encoding: US-ASCII
153
153
  string: ''
154
154
  headers:
155
155
  Cookie:
156
- - GUID=SZGEavWRWlylZwpb4y1U
156
+ - GUID=TotE2NElyDGhazP4Fk3b
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
- "RL5F2W34L7MRTS2S6JOXZHQM2QNTJUODS", "relay": 1, "searchdht": 0, "searchlan":
173
+ "R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
174
174
  1, "usehosts": 1, "usetracker": 1 } }'
175
175
  http_version:
176
- recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
176
+ recorded_at: Wed, 12 Jun 2013 18:42:13 GMT
177
177
  recorded_with: VCR 2.5.0
@@ -2,40 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
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=h7rsYhEBFJ4m65WcjuHL; path=/
23
- Cache-Control:
24
- - no-cache
25
- body:
26
- encoding: US-ASCII
27
- string: <html><div id='token' style='display:none;'>gGxWdAsiDAEXDTQnRHzKZRRO0SksuWhA7pDzg_G-n_h1NmZZfB9oCn-DtlEAAAAA</div></html>
28
- http_version:
29
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
30
- - request:
31
- method: get
32
- uri: http://localhost:8888/gui/?action=getsettings&output=json&token=gGxWdAsiDAEXDTQnRHzKZRRO0SksuWhA7pDzg_G-n_h1NmZZfB9oCn-DtlEAAAAA
5
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
33
6
  body:
34
7
  encoding: US-ASCII
35
8
  string: ''
36
9
  headers:
37
10
  Cookie:
38
- - GUID=h7rsYhEBFJ4m65WcjuHL
11
+ - GUID=7Sb1dvknwuyiiKy9xvYv
39
12
  response:
40
13
  status:
41
14
  code: 200
@@ -44,15 +17,15 @@ http_interactions:
44
17
  Connection:
45
18
  - keep-alive
46
19
  Content-Length:
47
- - '119'
20
+ - '132'
48
21
  Content-Type:
49
22
  - application/json; charset=utf-8
50
23
  Cache-Control:
51
24
  - no-cache
52
25
  body:
53
26
  encoding: US-ASCII
54
- string: ! '{ "settings": { "devicename": "IceyEC-Virtual1", "dlrate": 0, "listeningport":
55
- 63754, "portmapping": 1, "ulrate": 0 } }'
27
+ string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
28
+ 0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
56
29
  http_version:
57
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
30
+ recorded_at: Wed, 12 Jun 2013 18:42:11 GMT
58
31
  recorded_with: VCR 2.5.0
@@ -2,40 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
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=xGDzGTFz7RbifqrU0s0f; path=/
23
- Cache-Control:
24
- - no-cache
25
- body:
26
- encoding: US-ASCII
27
- string: <html><div id='token' style='display:none;'>uh-aIDG-fW5143nMd4xwweTpopw-LlhIsUgKwzE5HWe8JnJN676efH-DtlEAAAAA</div></html>
28
- http_version:
29
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
30
- - request:
31
- method: get
32
- uri: http://localhost:8888/gui/?action=getversion&output=json&token=uh-aIDG-fW5143nMd4xwweTpopw-LlhIsUgKwzE5HWe8JnJN676efH-DtlEAAAAA
5
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getversion&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
33
6
  body:
34
7
  encoding: US-ASCII
35
8
  string: ''
36
9
  headers:
37
10
  Cookie:
38
- - GUID=xGDzGTFz7RbifqrU0s0f
11
+ - GUID=7Sb1dvknwuyiiKy9xvYv
39
12
  response:
40
13
  status:
41
14
  code: 200
@@ -53,5 +26,5 @@ http_interactions:
53
26
  encoding: US-ASCII
54
27
  string: ! '{ "version": 16777350 }'
55
28
  http_version:
56
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
29
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
57
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://localhost:8888/gui/?action=getsyncfolders&output=json&token=0yGezY2QZeVy7GPzaV-TQ6SuOMns8TlPgbHND059Qv-NnsquBvqIln-DtlEAAAAA
5
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Cookie:
11
- - GUID=YvUwERzuA6KDtWx5gBqG
11
+ - GUID=7Sb1dvknwuyiiKy9xvYv
12
12
  response:
13
13
  status:
14
14
  code: 200
@@ -17,22 +17,21 @@ http_interactions:
17
17
  Connection:
18
18
  - keep-alive
19
19
  Content-Length:
20
- - '270'
20
+ - '180'
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
- } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
27
+ string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
28
+ "XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" } ], "speed":
29
+ "0.0 kB\/s up, 0.0 kB\/s down" }'
31
30
  http_version:
32
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
31
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
33
32
  - request:
34
33
  method: get
35
- uri: http://localhost:8888/gui/token.html?output=text
34
+ uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
36
35
  body:
37
36
  encoding: US-ASCII
38
37
  string: ''
@@ -49,23 +48,23 @@ http_interactions:
49
48
  Content-Type:
50
49
  - text/html
51
50
  Set-Cookie:
52
- - GUID=gzJ3QUMhgu6Ar87exf88; path=/
51
+ - GUID=3PRj0fQOziI7O4ABtid9; 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;'>B8XISDe9E7nDi2RefgjKq50dzX1VVx7tQqYN4dvnpk2nHbJey0Cx3n-DtlEAAAAA</div></html>
56
+ string: <html><div id='token' style='display:none;'>jSjEG96tQPMvTyEayd1atViwc-nzM-bnrsw022G3RiN6JneQwtlr9wTBuFEAAAAA</div></html>
58
57
  http_version:
59
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
58
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
60
59
  - request:
61
60
  method: get
62
- uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=B8XISDe9E7nDi2RefgjKq50dzX1VVx7tQqYN4dvnpk2nHbJey0Cx3n-DtlEAAAAA
61
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=jSjEG96tQPMvTyEayd1atViwc-nzM-bnrsw022G3RiN6JneQwtlr9wTBuFEAAAAA
63
62
  body:
64
63
  encoding: US-ASCII
65
64
  string: ''
66
65
  headers:
67
66
  Cookie:
68
- - GUID=gzJ3QUMhgu6Ar87exf88
67
+ - GUID=3PRj0fQOziI7O4ABtid9
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
- - '270'
76
+ - '180'
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
- "direct": 1, "name": "IceyEC Portable", "status": "Synced on 06\/05\/13 20:52:35"
86
- } ], "secret": "6PX74LIR2RA2FF2W3DC25MG2CF6SQDSJ", "size": "0 B in 0 files"
87
- } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
83
+ string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
84
+ "XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" } ], "speed":
85
+ "0.0 kB\/s up, 0.0 kB\/s down" }'
88
86
  http_version:
89
- recorded_at: Tue, 11 Jun 2013 01:55:14 GMT
87
+ recorded_at: Wed, 12 Jun 2013 18:42:12 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://localhost:8888/gui/?action=getsyncfolders&output=json&token=0yGezY2QZeVy7GPzaV-TQ6SuOMns8TlPgbHND059Qv-NnsquBvqIln-DtlEAAAAA
5
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Cookie:
11
- - GUID=YvUwERzuA6KDtWx5gBqG
11
+ - GUID=7Sb1dvknwuyiiKy9xvYv
12
12
  response:
13
13
  status:
14
14
  code: 200
@@ -17,23 +17,22 @@ http_interactions:
17
17
  Connection:
18
18
  - keep-alive
19
19
  Content-Length:
20
- - '395'
20
+ - '294'
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": "FEEBRD6KX6NFZYJRVVN6WKGONI467MZE",
31
- "size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
27
+ string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
28
+ "XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" }, { "name":
29
+ "\/tmp", "peers": [ ], "secret": "P34SXCT2FYOBCEALZJIHEMBUO745JRNT", "size":
30
+ "114.8 kB in 48 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
32
31
  http_version:
33
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
32
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
34
33
  - request:
35
34
  method: get
36
- uri: http://localhost:8888/gui/token.html?output=text
35
+ uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
37
36
  body:
38
37
  encoding: US-ASCII
39
38
  string: ''
@@ -50,23 +49,23 @@ http_interactions:
50
49
  Content-Type:
51
50
  - text/html
52
51
  Set-Cookie:
53
- - GUID=xWO3s9sRAOd4SbTEUor6; path=/
52
+ - GUID=SORGIxoc3NQ209rBGvgP; 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;'>4sPSOh8zYfF6HWZbmnwc1KfcdDk-VDQXm1gs31Ycwcna1gDttLOpnH-DtlEAAAAA</div></html>
57
+ string: <html><div id='token' style='display:none;'>xpMlQnCr-BqmXtiRjAGmluzRPtsSg6TTYRnZYsvI6G3Zw0DnJHiUcwTBuFEAAAAA</div></html>
59
58
  http_version:
60
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
59
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
61
60
  - request:
62
61
  method: get
63
- uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=4sPSOh8zYfF6HWZbmnwc1KfcdDk-VDQXm1gs31Ycwcna1gDttLOpnH-DtlEAAAAA
62
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=xpMlQnCr-BqmXtiRjAGmluzRPtsSg6TTYRnZYsvI6G3Zw0DnJHiUcwTBuFEAAAAA
64
63
  body:
65
64
  encoding: US-ASCII
66
65
  string: ''
67
66
  headers:
68
67
  Cookie:
69
- - GUID=xWO3s9sRAOd4SbTEUor6
68
+ - GUID=SORGIxoc3NQ209rBGvgP
70
69
  response:
71
70
  status:
72
71
  code: 200
@@ -75,23 +74,22 @@ http_interactions:
75
74
  Connection:
76
75
  - keep-alive
77
76
  Content-Length:
78
- - '395'
77
+ - '294'
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": "FEEBRD6KX6NFZYJRVVN6WKGONI467MZE",
89
- "size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
84
+ string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
85
+ "XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" }, { "name":
86
+ "\/tmp", "peers": [ ], "secret": "P34SXCT2FYOBCEALZJIHEMBUO745JRNT", "size":
87
+ "114.8 kB in 48 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
90
88
  http_version:
91
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
89
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
92
90
  - request:
93
91
  method: get
94
- uri: http://localhost:8888/gui/token.html?output=text
92
+ uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
95
93
  body:
96
94
  encoding: US-ASCII
97
95
  string: ''
@@ -108,23 +106,23 @@ http_interactions:
108
106
  Content-Type:
109
107
  - text/html
110
108
  Set-Cookie:
111
- - GUID=2b2SyebYTvQ9IayA1WPg; path=/
109
+ - GUID=4SPMbwyczj5QpnN4TVgK; 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;'>SZ_iXN0euttfIXQiYB9NAVJGyNy69pQHdN_Nyt8YkeuKTWJNTVzpeX-DtlEAAAAA</div></html>
114
+ string: <html><div id='token' style='display:none;'>M4LKuYC_h5XARDXKM65wqI-j-h50q4rEvToC5a6cyE6zdfyoiT5-TwTBuFEAAAAA</div></html>
117
115
  http_version:
118
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
116
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
119
117
  - request:
120
118
  method: get
121
- uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=SZ_iXN0euttfIXQiYB9NAVJGyNy69pQHdN_Nyt8YkeuKTWJNTVzpeX-DtlEAAAAA
119
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=M4LKuYC_h5XARDXKM65wqI-j-h50q4rEvToC5a6cyE6zdfyoiT5-TwTBuFEAAAAA
122
120
  body:
123
121
  encoding: US-ASCII
124
122
  string: ''
125
123
  headers:
126
124
  Cookie:
127
- - GUID=2b2SyebYTvQ9IayA1WPg
125
+ - GUID=4SPMbwyczj5QpnN4TVgK
128
126
  response:
129
127
  status:
130
128
  code: 200
@@ -133,29 +131,28 @@ http_interactions:
133
131
  Connection:
134
132
  - keep-alive
135
133
  Content-Length:
136
- - '395'
134
+ - '294'
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": "FEEBRD6KX6NFZYJRVVN6WKGONI467MZE",
147
- "size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
141
+ string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
142
+ "XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" }, { "name":
143
+ "\/tmp", "peers": [ ], "secret": "P34SXCT2FYOBCEALZJIHEMBUO745JRNT", "size":
144
+ "114.8 kB in 48 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
148
145
  http_version:
149
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
146
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
150
147
  - request:
151
148
  method: get
152
- uri: http://localhost:8888/gui/?action=removefolder&name=/home/chris/bt_test&output=json&secret=FEEBRD6KX6NFZYJRVVN6WKGONI467MZE&token=0yGezY2QZeVy7GPzaV-TQ6SuOMns8TlPgbHND059Qv-NnsquBvqIln-DtlEAAAAA
149
+ uri: http://admin:AdminPassword@localhost:8888/gui/?action=removefolder&name=/tmp&output=json&secret=P34SXCT2FYOBCEALZJIHEMBUO745JRNT&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
153
150
  body:
154
151
  encoding: US-ASCII
155
152
  string: ''
156
153
  headers:
157
154
  Cookie:
158
- - GUID=YvUwERzuA6KDtWx5gBqG
155
+ - GUID=7Sb1dvknwuyiiKy9xvYv
159
156
  response:
160
157
  status:
161
158
  code: 200
@@ -173,5 +170,5 @@ http_interactions:
173
170
  encoding: US-ASCII
174
171
  string: ! '{ }'
175
172
  http_version:
176
- recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
173
+ recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
177
174
  recorded_with: VCR 2.5.0