troo 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -2
- data/Gemfile.lock +40 -32
- data/Guardfile +9 -1
- data/README.md +15 -10
- data/bin/troo +22 -2
- data/config/en.yml +11 -1
- data/config/help +16 -0
- data/{.trooconf.example → config/trooconf.yml} +4 -2
- data/features/add/card.feature +1 -1
- data/features/add/comment.feature +1 -1
- data/features/add/list.feature +1 -1
- data/features/default/board.feature +1 -1
- data/features/default/card.feature +1 -1
- data/features/default/list.feature +1 -1
- data/features/move/card.feature +5 -5
- data/features/refresh/board.feature +1 -1
- data/features/refresh/card.feature +1 -1
- data/features/refresh/list.feature +1 -1
- data/features/show/board.feature +11 -3
- data/features/show/boards.feature +1 -0
- data/features/show/card.feature +7 -7
- data/features/show/comment.feature +15 -6
- data/features/show/list.feature +3 -1
- data/features/status.feature +2 -2
- data/features/step_definitions/fabrication_steps.rb +11 -11
- data/features/step_definitions/troo_steps.rb +1 -1
- data/features/support/cassettes/200_board_by_id.yml +56 -0
- data/features/support/cassettes/200_card_by_id.yml +77 -0
- data/features/support/cassettes/200_create_board.yml +186 -0
- data/features/support/cassettes/200_create_card.yml +86 -0
- data/features/support/cassettes/200_create_comment.yml +73 -0
- data/features/support/cassettes/200_create_list.yml +53 -0
- data/{test/cassettes/list_by_id.yml → features/support/cassettes/200_list_by_id.yml} +6 -6
- data/features/support/cassettes/200_move_card_200_board.yml +86 -0
- data/features/support/cassettes/200_move_card_200_list.yml +86 -0
- data/features/support/cassettes/200_move_card_400_list.yml +46 -0
- data/{test/cassettes/lists_by_board_id.yml → features/support/cassettes/400_board_by_id.yml} +10 -10
- data/features/support/cassettes/400_card_by_id.yml +46 -0
- data/features/support/cassettes/400_create_card.yml +46 -0
- data/features/support/cassettes/400_create_comment.yml +46 -0
- data/features/support/cassettes/400_create_list.yml +46 -0
- data/features/support/cassettes/400_list_by_id.yml +46 -0
- data/features/support/cassettes/400_move_card_200_list.yml +46 -0
- data/features/support/cassettes/400_move_card_400_board.yml +46 -0
- data/features/support/cassettes/boards_all.yml +286 -0
- data/features/support/env.rb +1 -2
- data/lib/troo/cli/commands/refresh/all.rb +2 -0
- data/lib/troo/cli/main.rb +2 -23
- data/lib/troo/configuration.rb +5 -0
- data/lib/troo/database.rb +29 -0
- data/lib/troo/decorators/resource.rb +24 -10
- data/lib/troo/helpers/model_helpers.rb +3 -2
- data/lib/troo/models/board.rb +1 -1
- data/lib/troo/models/card.rb +1 -1
- data/lib/troo/models/comment.rb +0 -4
- data/lib/troo/models/list.rb +1 -1
- data/lib/troo/presentation/formatter.rb +99 -4
- data/lib/troo/presentation/template.rb +8 -9
- data/lib/troo/presenters/board.rb +24 -26
- data/lib/troo/presenters/card.rb +3 -1
- data/lib/troo/presenters/list.rb +30 -17
- data/lib/troo/presenters/resource.rb +90 -0
- data/lib/troo/retrieval/local.rb +5 -1
- data/lib/troo/troo.rb +2 -0
- data/lib/troo/version.rb +1 -1
- data/lib/troo.rb +7 -4
- data/test/cassettes/create_board.yml +15 -9
- data/test/cassettes/create_card.yml +10 -10
- data/test/cassettes/create_comment.yml +9 -9
- data/test/cassettes/create_list.yml +5 -5
- data/test/cassettes/move_card_board.yml +11 -11
- data/test/cassettes/move_card_list.yml +11 -11
- data/test/lib/troo/api/endpoints_test.rb +2 -2
- data/test/lib/troo/cli/commands/add_test.rb +2 -2
- data/test/lib/troo/cli/commands/refresh/all_test.rb +4 -9
- data/test/lib/troo/cli/main_test.rb +0 -25
- data/test/lib/troo/configuration_test.rb +18 -13
- data/test/lib/troo/decorators/member_test.rb +0 -27
- data/test/lib/troo/decorators/resource_test.rb +0 -32
- data/test/lib/troo/helpers/model_helpers_test.rb +15 -3
- data/test/lib/troo/models/board_test.rb +45 -1
- data/test/lib/troo/models/card_test.rb +60 -6
- data/test/lib/troo/models/comment_test.rb +44 -4
- data/test/lib/troo/models/database_test.rb +19 -0
- data/test/lib/troo/models/list_test.rb +46 -2
- data/test/lib/troo/models/member_test.rb +51 -1
- data/test/lib/troo/presentation/formatter_test.rb +54 -2
- data/test/lib/troo/presentation/template_test.rb +4 -4
- data/test/lib/troo/presenters/board_test.rb +4 -3
- data/test/lib/troo/presenters/list_test.rb +3 -3
- data/test/lib/troo/presenters/member_test.rb +1 -1
- data/test/lib/troo/presenters/resource_test.rb +79 -0
- data/test/lib/troo/remote/board_test.rb +5 -8
- data/test/lib/troo/remote/card_test.rb +7 -11
- data/test/lib/troo/remote/comment_test.rb +10 -14
- data/test/lib/troo/remote/list_test.rb +5 -9
- data/test/lib/troo/remote/member_test.rb +5 -9
- data/test/lib/troo/remote/persistence/card_test.rb +1 -1
- data/test/lib/troo/remote/persistence/comment_test.rb +1 -1
- data/test/lib/troo/remote/persistence/list_test.rb +1 -1
- data/test/lib/troo/remote/persistence/move_card_test.rb +3 -3
- data/test/lib/troo/retrieval/local_test.rb +13 -1
- data/test/lib/troo/retrieval/remote_test.rb +1 -1
- data/test/support/fabrication.rb +12 -12
- data/test/support/fake_trello/fake_response.rb +18 -1
- data/test/support/fake_trello/server.rb +2 -0
- data/test/support/remotes/all_boards.json +103 -4
- data/test/support/remotes/{board.json → all_boards_200.json} +13 -13
- data/test/support/remotes/board_200.json +140 -0
- data/test/support/remotes/board_by_id.json +9 -9
- data/test/support/remotes/board_by_id_200.json +75 -0
- data/test/support/remotes/card.json +4 -4
- data/test/support/remotes/card_200.json +40 -0
- data/test/support/remotes/card_by_card_id.json +64 -64
- data/test/support/remotes/card_by_card_id_200.json +302 -0
- data/test/support/remotes/comment.json +6 -6
- data/test/support/remotes/comment_200.json +27 -0
- data/test/support/remotes/create_board.json +1 -1
- data/test/support/remotes/create_board_200.json +38 -0
- data/test/support/remotes/list.json +2 -2
- data/test/support/remotes/list_200.json +7 -0
- data/test/support/remotes/member.json +4 -4
- data/test/support/remotes/member_200.json +50 -0
- data/test/test_helper.rb +9 -2
- data/troo.gemspec +4 -3
- metadata +92 -41
- data/test/cassettes/board_by_id.yml +0 -50
- data/test/cassettes/boards_all.yml +0 -50
- data/test/cassettes/card_by_id.yml +0 -49
- data/test/cassettes/cards_by_board_id.yml +0 -49
- data/test/cassettes/cards_by_list_id.yml +0 -49
- data/test/cassettes/comments_by_board_id.yml +0 -49
- data/test/cassettes/comments_by_card_id.yml +0 -49
- data/test/cassettes/member_by_id.yml +0 -48
- data/test/cassettes/members_by_board_id.yml +0 -48
- data/test/lib/troo/decorators/card_test.rb +0 -113
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://api.trello.com/1/cards/20020/idBoard
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: idList=20040&value=20010
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '24'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: 'OK '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '786'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:36 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: |
|
44
|
+
{
|
45
|
+
"id": "20020",
|
46
|
+
"badges": {
|
47
|
+
"votes": 0,
|
48
|
+
"viewingMemberVoted": false,
|
49
|
+
"subscribed": false,
|
50
|
+
"fogbugz": "",
|
51
|
+
"checkItems": 0,
|
52
|
+
"checkItemsChecked": 0,
|
53
|
+
"comments": 10,
|
54
|
+
"attachments": 0,
|
55
|
+
"description": false,
|
56
|
+
"due": null
|
57
|
+
},
|
58
|
+
"checkItemStates": [],
|
59
|
+
"closed": false,
|
60
|
+
"dateLastActivity": "2014-02-13T20:12:46.612Z",
|
61
|
+
"desc": "some description",
|
62
|
+
"descData": null,
|
63
|
+
"due": null,
|
64
|
+
"idBoard": "20010",
|
65
|
+
"idChecklists": [],
|
66
|
+
"idList": "20040",
|
67
|
+
"idMembers": [
|
68
|
+
"20050"
|
69
|
+
],
|
70
|
+
"idShort": 67,
|
71
|
+
"idAttachmentCover": null,
|
72
|
+
"manualCoverAttachment": false,
|
73
|
+
"labels": [
|
74
|
+
{
|
75
|
+
"color": "green",
|
76
|
+
"name": "Ready to Pull"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "My Test Card",
|
80
|
+
"pos": 589823,
|
81
|
+
"shortUrl": "<Trello URL>",
|
82
|
+
"url": "<Trello URL>"
|
83
|
+
}
|
84
|
+
http_version:
|
85
|
+
recorded_at: Tue, 11 Mar 2014 21:34:36 GMT
|
86
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,86 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://api.trello.com/1/cards/20020/idList
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: value=20040
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '11'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: 'OK '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '786'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:36 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: |
|
44
|
+
{
|
45
|
+
"id": "20020",
|
46
|
+
"badges": {
|
47
|
+
"votes": 0,
|
48
|
+
"viewingMemberVoted": false,
|
49
|
+
"subscribed": false,
|
50
|
+
"fogbugz": "",
|
51
|
+
"checkItems": 0,
|
52
|
+
"checkItemsChecked": 0,
|
53
|
+
"comments": 10,
|
54
|
+
"attachments": 0,
|
55
|
+
"description": false,
|
56
|
+
"due": null
|
57
|
+
},
|
58
|
+
"checkItemStates": [],
|
59
|
+
"closed": false,
|
60
|
+
"dateLastActivity": "2014-02-13T20:12:46.612Z",
|
61
|
+
"desc": "some description",
|
62
|
+
"descData": null,
|
63
|
+
"due": null,
|
64
|
+
"idBoard": "20010",
|
65
|
+
"idChecklists": [],
|
66
|
+
"idList": "20040",
|
67
|
+
"idMembers": [
|
68
|
+
"20050"
|
69
|
+
],
|
70
|
+
"idShort": 67,
|
71
|
+
"idAttachmentCover": null,
|
72
|
+
"manualCoverAttachment": false,
|
73
|
+
"labels": [
|
74
|
+
{
|
75
|
+
"color": "green",
|
76
|
+
"name": "Ready to Pull"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "My Test Card",
|
80
|
+
"pos": 589823,
|
81
|
+
"shortUrl": "<Trello URL>",
|
82
|
+
"url": "<Trello URL>"
|
83
|
+
}
|
84
|
+
http_version:
|
85
|
+
recorded_at: Tue, 11 Mar 2014 21:34:36 GMT
|
86
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/lists/400
|
6
|
+
body:
|
7
|
+
encoding: ASCII-8BIT
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '0'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 400
|
23
|
+
message: 'Bad Request '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '11'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:36 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: Bad Request
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 11 Mar 2014 21:34:36 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|
data/{test/cassettes/lists_by_board_id.yml → features/support/cassettes/400_board_by_id.yml}
RENAMED
@@ -2,10 +2,10 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.trello.com/1/boards/
|
5
|
+
uri: https://api.trello.com/1/boards/400
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: cards=open&lists=open&members=all
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- "*/*; q=0.5, application/xml"
|
@@ -14,18 +14,18 @@ http_interactions:
|
|
14
14
|
Authorization:
|
15
15
|
- "<OAuth Credentials>"
|
16
16
|
Content-Length:
|
17
|
-
- '
|
17
|
+
- '33'
|
18
18
|
User-Agent:
|
19
19
|
- Ruby
|
20
20
|
response:
|
21
21
|
status:
|
22
|
-
code:
|
23
|
-
message: '
|
22
|
+
code: 400
|
23
|
+
message: 'Bad Request '
|
24
24
|
headers:
|
25
25
|
Content-Type:
|
26
26
|
- text/html;charset=utf-8
|
27
27
|
Content-Length:
|
28
|
-
- '
|
28
|
+
- '11'
|
29
29
|
X-Xss-Protection:
|
30
30
|
- 1; mode=block
|
31
31
|
X-Content-Type-Options:
|
@@ -33,14 +33,14 @@ http_interactions:
|
|
33
33
|
X-Frame-Options:
|
34
34
|
- SAMEORIGIN
|
35
35
|
Server:
|
36
|
-
- WEBrick/1.3.1 (Ruby/2.1.
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
37
|
Date:
|
38
|
-
-
|
38
|
+
- Tue, 11 Mar 2014 21:34:35 GMT
|
39
39
|
Connection:
|
40
40
|
- Keep-Alive
|
41
41
|
body:
|
42
42
|
encoding: UTF-8
|
43
|
-
string:
|
43
|
+
string: Bad Request
|
44
44
|
http_version:
|
45
|
-
recorded_at:
|
45
|
+
recorded_at: Tue, 11 Mar 2014 21:34:35 GMT
|
46
46
|
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/cards/400
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: actions=commentCard
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '19'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 400
|
23
|
+
message: 'Bad Request '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '11'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:36 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: Bad Request
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 11 Mar 2014 21:34:36 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/lists/400
|
6
|
+
body:
|
7
|
+
encoding: ASCII-8BIT
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '0'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 400
|
23
|
+
message: 'Bad Request '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '11'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:35 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: Bad Request
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 11 Mar 2014 21:34:35 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/cards/400
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: actions=commentCard
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '19'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 400
|
23
|
+
message: 'Bad Request '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '11'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:35 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: Bad Request
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 11 Mar 2014 21:34:35 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/boards/400
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: cards=open&lists=open&members=all
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '33'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 400
|
23
|
+
message: 'Bad Request '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '11'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:35 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: Bad Request
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 11 Mar 2014 21:34:35 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/lists/400
|
6
|
+
body:
|
7
|
+
encoding: ASCII-8BIT
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '0'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 400
|
23
|
+
message: 'Bad Request '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '11'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:36 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: Bad Request
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 11 Mar 2014 21:34:36 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/cards/400
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: actions=commentCard
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '19'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 400
|
23
|
+
message: 'Bad Request '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '11'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:36 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: Bad Request
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 11 Mar 2014 21:34:36 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.trello.com/1/boards/400
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: cards=open&lists=open&members=all
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*; q=0.5, application/xml"
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- "<OAuth Credentials>"
|
16
|
+
Content-Length:
|
17
|
+
- '33'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 400
|
23
|
+
message: 'Bad Request '
|
24
|
+
headers:
|
25
|
+
Content-Type:
|
26
|
+
- text/html;charset=utf-8
|
27
|
+
Content-Length:
|
28
|
+
- '11'
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
Server:
|
36
|
+
- WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1f
|
37
|
+
Date:
|
38
|
+
- Tue, 11 Mar 2014 21:34:36 GMT
|
39
|
+
Connection:
|
40
|
+
- Keep-Alive
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: Bad Request
|
44
|
+
http_version:
|
45
|
+
recorded_at: Tue, 11 Mar 2014 21:34:36 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|