BtSync 0.5.1 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/Vagrantfile +31 -0
- data/cookbooks/apt/.gitignore +14 -0
- data/cookbooks/apt/.kitchen.yml +38 -0
- data/cookbooks/apt/Berksfile +8 -0
- data/cookbooks/apt/CHANGELOG.md +97 -0
- data/cookbooks/apt/CONTRIBUTING +29 -0
- data/cookbooks/apt/LICENSE +201 -0
- data/cookbooks/apt/README.md +243 -0
- data/cookbooks/apt/TESTING.md +25 -0
- data/cookbooks/apt/attributes/default.rb +4 -0
- data/cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
- data/cookbooks/apt/metadata.json +1 -0
- data/cookbooks/apt/metadata.rb +30 -0
- data/cookbooks/apt/providers/preference.rb +61 -0
- data/cookbooks/apt/providers/repository.rb +132 -0
- data/cookbooks/apt/recipes/cacher-client.rb +59 -0
- data/cookbooks/apt/recipes/cacher-ng.rb +40 -0
- data/cookbooks/apt/recipes/default.rb +68 -0
- data/cookbooks/apt/resources/preference.rb +30 -0
- data/cookbooks/apt/resources/repository.rb +40 -0
- data/cookbooks/apt/templates/debian-6.0/acng.conf.erb +174 -0
- data/cookbooks/apt/templates/default/01proxy.erb +2 -0
- data/cookbooks/apt/templates/default/acng.conf.erb +276 -0
- data/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +270 -0
- data/cookbooks/btsync/README.md +2 -0
- data/cookbooks/btsync/metadata.rb +14 -0
- data/cookbooks/btsync/recipes/default.rb +13 -0
- data/cookbooks/build-essential/.gitignore +4 -0
- data/cookbooks/build-essential/.kitchen.yml +42 -0
- data/cookbooks/build-essential/Berksfile +3 -0
- data/cookbooks/build-essential/CHANGELOG.md +42 -0
- data/cookbooks/build-essential/CONTRIBUTING +29 -0
- data/cookbooks/build-essential/LICENSE +201 -0
- data/cookbooks/build-essential/README.md +139 -0
- data/cookbooks/build-essential/TESTING.md +25 -0
- data/cookbooks/build-essential/attributes/default.rb +33 -0
- data/cookbooks/build-essential/metadata.json +44 -0
- data/cookbooks/build-essential/metadata.rb +16 -0
- data/cookbooks/build-essential/recipes/debian.rb +45 -0
- data/cookbooks/build-essential/recipes/default.rb +24 -0
- data/cookbooks/build-essential/recipes/fedora.rb +36 -0
- data/cookbooks/build-essential/recipes/mac_os_x.rb +40 -0
- data/cookbooks/build-essential/recipes/rhel.rb +43 -0
- data/cookbooks/build-essential/recipes/smartos.rb +36 -0
- data/cookbooks/build-essential/recipes/solaris2.rb +42 -0
- data/cookbooks/build-essential/recipes/suse.rb +36 -0
- data/lib/btsync.rb +13 -13
- data/lib/btsync/communicator.rb +14 -4
- data/lib/btsync/directory.rb +12 -12
- data/lib/btsync/version.rb +1 -1
- data/spec/BtSync/bt_sync_spec.rb +13 -9
- data/spec/BtSync/directory_spec.rb +13 -20
- data/spec/fixtures/cassettes/{get-known-hosts.yml → Remove-Default-Host.yml} +5 -5
- data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +289 -12
- data/spec/fixtures/cassettes/Setup-BtSync.yml +252 -0
- data/spec/fixtures/cassettes/Setup-Directory-Settings.yml +8 -38
- data/spec/fixtures/cassettes/add-folder-list.yml +32 -35
- data/spec/fixtures/cassettes/add-folder.yml +10 -94
- data/spec/fixtures/cassettes/add-known-host.yml +6 -6
- data/spec/fixtures/cassettes/change_download_limit.yml +15 -42
- data/spec/fixtures/cassettes/change_listening_port.yml +15 -42
- data/spec/fixtures/cassettes/change_name.yml +13 -40
- data/spec/fixtures/cassettes/change_upload_limit.yml +15 -42
- data/spec/fixtures/cassettes/get-folders.yml +54 -24
- data/spec/fixtures/cassettes/get-os-type.yml +3 -30
- data/spec/fixtures/cassettes/get-peers.yml +7 -8
- data/spec/fixtures/cassettes/get-preferences.yml +24 -24
- data/spec/fixtures/cassettes/get-settings.yml +6 -33
- data/spec/fixtures/cassettes/get-version.yml +3 -30
- data/spec/fixtures/cassettes/remove-folder-list.yml +18 -20
- data/spec/fixtures/cassettes/remove-folder.yml +35 -38
- data/spec/fixtures/cassettes/remove-known-host.yml +6 -6
- data/spec/fixtures/cassettes/reset_device_name.yml +13 -13
- data/spec/fixtures/cassettes/reset_download_limit.yml +15 -15
- data/spec/fixtures/cassettes/reset_listening_port.yml +15 -15
- data/spec/fixtures/cassettes/reset_upload_limit.yml +15 -15
- 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 +5 -5
- metadata +52 -4
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=removeknownhosts&index=1&name=/home/
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removeknownhosts&index=1&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=
|
11
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
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, 12 Jun 2013 18:42:13 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getknownhosts&name=/home/
|
32
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getknownhosts&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
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": "192.168.1.5:45685" } ] }'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Wed, 12 Jun 2013 18:42: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://localhost:8888/gui/?action=getsettings&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&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=
|
11
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -25,18 +25,18 @@ http_interactions:
|
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "settings": { "devicename": "IceyEC-Virtual2", "dlrate": 0, "listeningport":
|
28
|
-
63754, "portmapping":
|
28
|
+
63754, "portmapping": 0, "ulrate": 0 } }'
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 12 Jun 2013 18:42:11 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: http://localhost:8888/gui/?action=setsettings&devicename=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA&ulrate=0
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
Cookie:
|
39
|
-
- GUID=
|
39
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
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, 12 Jun 2013 18:42:11 GMT
|
58
58
|
- request:
|
59
59
|
method: get
|
60
|
-
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=
|
60
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
61
61
|
body:
|
62
62
|
encoding: US-ASCII
|
63
63
|
string: ''
|
64
64
|
headers:
|
65
65
|
Cookie:
|
66
|
-
- GUID=
|
66
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
67
67
|
response:
|
68
68
|
status:
|
69
69
|
code: 200
|
@@ -72,15 +72,15 @@ http_interactions:
|
|
72
72
|
Connection:
|
73
73
|
- keep-alive
|
74
74
|
Content-Length:
|
75
|
-
- '
|
75
|
+
- '132'
|
76
76
|
Content-Type:
|
77
77
|
- application/json; charset=utf-8
|
78
78
|
Cache-Control:
|
79
79
|
- no-cache
|
80
80
|
body:
|
81
81
|
encoding: US-ASCII
|
82
|
-
string: ! '{ "settings": { "devicename": "
|
83
|
-
63754, "portmapping":
|
82
|
+
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
83
|
+
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Wed, 12 Jun 2013 18:42:11 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://localhost:8888/gui/?action=getsettings&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&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=
|
11
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,26 +17,26 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '135'
|
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: ! '{ "settings": { "devicename": "
|
28
|
-
"listeningport": 63754, "portmapping":
|
27
|
+
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
28
|
+
1000, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: http://localhost:8888/gui/?action=setsettings&devicename=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA&ulrate=0
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
Cookie:
|
39
|
-
- GUID=
|
39
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
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, 12 Jun 2013 18:42:12 GMT
|
58
58
|
- request:
|
59
59
|
method: get
|
60
|
-
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=
|
60
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
61
61
|
body:
|
62
62
|
encoding: US-ASCII
|
63
63
|
string: ''
|
64
64
|
headers:
|
65
65
|
Cookie:
|
66
|
-
- GUID=
|
66
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
67
67
|
response:
|
68
68
|
status:
|
69
69
|
code: 200
|
@@ -72,15 +72,15 @@ http_interactions:
|
|
72
72
|
Connection:
|
73
73
|
- keep-alive
|
74
74
|
Content-Length:
|
75
|
-
- '
|
75
|
+
- '132'
|
76
76
|
Content-Type:
|
77
77
|
- application/json; charset=utf-8
|
78
78
|
Cache-Control:
|
79
79
|
- no-cache
|
80
80
|
body:
|
81
81
|
encoding: US-ASCII
|
82
|
-
string: ! '{ "settings": { "devicename": "
|
83
|
-
63754, "portmapping":
|
82
|
+
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
83
|
+
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 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://localhost:8888/gui/?action=getsettings&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&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=
|
11
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,26 +17,26 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '132'
|
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: ! '{ "settings": { "devicename": "
|
28
|
-
12345, "portmapping":
|
27
|
+
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
28
|
+
0, "listeningport": 12345, "portmapping": 0, "ulrate": 0 } }'
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: http://localhost:8888/gui/?action=setsettings&devicename=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA&ulrate=0
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
Cookie:
|
39
|
-
- GUID=
|
39
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
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, 12 Jun 2013 18:42:12 GMT
|
58
58
|
- request:
|
59
59
|
method: get
|
60
|
-
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=
|
60
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
61
61
|
body:
|
62
62
|
encoding: US-ASCII
|
63
63
|
string: ''
|
64
64
|
headers:
|
65
65
|
Cookie:
|
66
|
-
- GUID=
|
66
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
67
67
|
response:
|
68
68
|
status:
|
69
69
|
code: 200
|
@@ -72,15 +72,15 @@ http_interactions:
|
|
72
72
|
Connection:
|
73
73
|
- keep-alive
|
74
74
|
Content-Length:
|
75
|
-
- '
|
75
|
+
- '132'
|
76
76
|
Content-Type:
|
77
77
|
- application/json; charset=utf-8
|
78
78
|
Cache-Control:
|
79
79
|
- no-cache
|
80
80
|
body:
|
81
81
|
encoding: US-ASCII
|
82
|
-
string: ! '{ "settings": { "devicename": "
|
83
|
-
63754, "portmapping":
|
82
|
+
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
83
|
+
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 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://localhost:8888/gui/?action=getsettings&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&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=
|
11
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,26 +17,26 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '135'
|
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: ! '{ "settings": { "devicename": "
|
28
|
-
63754, "portmapping":
|
27
|
+
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
28
|
+
0, "listeningport": 63754, "portmapping": 0, "ulrate": 1000 } }'
|
29
29
|
http_version:
|
30
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
31
31
|
- request:
|
32
32
|
method: get
|
33
|
-
uri: http://localhost:8888/gui/?action=setsettings&devicename=
|
33
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA&ulrate=0
|
34
34
|
body:
|
35
35
|
encoding: US-ASCII
|
36
36
|
string: ''
|
37
37
|
headers:
|
38
38
|
Cookie:
|
39
|
-
- GUID=
|
39
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
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, 12 Jun 2013 18:42:12 GMT
|
58
58
|
- request:
|
59
59
|
method: get
|
60
|
-
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=
|
60
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
61
61
|
body:
|
62
62
|
encoding: US-ASCII
|
63
63
|
string: ''
|
64
64
|
headers:
|
65
65
|
Cookie:
|
66
|
-
- GUID=
|
66
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
67
67
|
response:
|
68
68
|
status:
|
69
69
|
code: 200
|
@@ -72,15 +72,15 @@ http_interactions:
|
|
72
72
|
Connection:
|
73
73
|
- keep-alive
|
74
74
|
Content-Length:
|
75
|
-
- '
|
75
|
+
- '132'
|
76
76
|
Content-Type:
|
77
77
|
- application/json; charset=utf-8
|
78
78
|
Cache-Control:
|
79
79
|
- no-cache
|
80
80
|
body:
|
81
81
|
encoding: US-ASCII
|
82
|
-
string: ! '{ "settings": { "devicename": "
|
83
|
-
63754, "portmapping":
|
82
|
+
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
83
|
+
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
84
84
|
http_version:
|
85
|
-
recorded_at:
|
85
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 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://localhost:8888/gui/?action=getfolderpref&name=/home/
|
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=
|
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
|
-
"
|
28
|
+
"R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 0, "searchdht": 1, "searchlan":
|
29
29
|
0, "usehosts": 0, "usetracker": 0 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
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=setfolderpref&deletetotrash=0&iswritable=1&name=/home/
|
34
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setfolderpref&deletetotrash=0&iswritable=1&name=/home/vagrant&output=json&relay=0&searchdht=1&searchlan=0&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA&usehosts=0&usetracker=0
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
38
38
|
headers:
|
39
39
|
Cookie:
|
40
|
-
- GUID=
|
40
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
41
41
|
response:
|
42
42
|
status:
|
43
43
|
code: 200
|
@@ -55,16 +55,16 @@ http_interactions:
|
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ! '{ }'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 12 Jun 2013 18:42:13 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/
|
61
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
|
62
62
|
body:
|
63
63
|
encoding: US-ASCII
|
64
64
|
string: ''
|
65
65
|
headers:
|
66
66
|
Cookie:
|
67
|
-
- GUID=
|
67
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
68
68
|
response:
|
69
69
|
status:
|
70
70
|
code: 200
|
@@ -81,8 +81,8 @@ http_interactions:
|
|
81
81
|
body:
|
82
82
|
encoding: US-ASCII
|
83
83
|
string: ! '{ "folderpref": { "deletetotrash": 0, "iswritable": 1, "readonlysecret":
|
84
|
-
"
|
84
|
+
"R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 0, "searchdht": 1, "searchlan":
|
85
85
|
0, "usehosts": 0, "usetracker": 0 } }'
|
86
86
|
http_version:
|
87
|
-
recorded_at:
|
87
|
+
recorded_at: Wed, 12 Jun 2013 18:42:13 GMT
|
88
88
|
recorded_with: VCR 2.5.0
|