bugherd_client 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +2 -1
- data/.travis.yml +4 -1
- data/README.md +23 -38
- data/Rakefile +6 -1
- data/bin/console +17 -0
- data/bugherd_client.gemspec +17 -13
- data/lib/bugherd_client.rb +19 -16
- data/lib/bugherd_client/client.rb +44 -18
- data/lib/bugherd_client/errors.rb +19 -5
- data/lib/bugherd_client/resources/v1/base.rb +2 -2
- data/lib/bugherd_client/resources/v1/comment.rb +1 -1
- data/lib/bugherd_client/resources/v1/project.rb +4 -4
- data/lib/bugherd_client/resources/v1/task.rb +11 -8
- data/lib/bugherd_client/resources/v2/attachment.rb +73 -0
- data/lib/bugherd_client/resources/v2/base.rb +24 -5
- data/lib/bugherd_client/resources/v2/comment.rb +2 -2
- data/lib/bugherd_client/resources/v2/organization.rb +5 -5
- data/lib/bugherd_client/resources/v2/project.rb +22 -13
- data/lib/bugherd_client/resources/v2/task.rb +34 -14
- data/lib/bugherd_client/resources/v2/webhook.rb +54 -0
- data/lib/bugherd_client/version.rb +1 -1
- data/spec/bugherd_client/client_spec.rb +63 -11
- data/spec/bugherd_client/v2/organization_spec.rb +21 -0
- data/spec/bugherd_client/v2/project_spec.rb +66 -0
- data/spec/bugherd_client/v2/task_spec.rb +46 -0
- data/spec/bugherd_client/v2/user_spec.rb +50 -0
- data/spec/bugherd_client/v2/webhook_spec.rb +20 -0
- data/spec/cassettes/guests_all.yml +64 -0
- data/spec/cassettes/members_all.yml +66 -0
- data/spec/cassettes/organizations_get.yml +62 -0
- data/spec/cassettes/projects_active.yml +65 -0
- data/spec/cassettes/projects_all.yml +65 -0
- data/spec/cassettes/projects_find_failure.yml +60 -0
- data/spec/cassettes/projects_find_success.yml +65 -0
- data/spec/cassettes/tasks_all.yml +87 -0
- data/spec/cassettes/tasks_find_success.yml +69 -0
- data/spec/cassettes/users_all.yml +66 -0
- data/spec/cassettes/webhooks_all.yml +64 -0
- data/spec/spec_helper.rb +23 -9
- data/spec/support/http_helper.rb +7 -0
- metadata +130 -23
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://testing:x@www.bugherd.com/api_v2/projects/active
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
X-Rack-Cache:
|
26
|
+
- miss
|
27
|
+
Cache-Control:
|
28
|
+
- must-revalidate, private, max-age=0
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Date:
|
32
|
+
- Tue, 16 Dec 2014 11:42:43 GMT
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Request-Id:
|
36
|
+
- bc9601ddcfd4b44679a94a464f4ef816
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Transfer-Encoding:
|
40
|
+
- chunked
|
41
|
+
X-Runtime:
|
42
|
+
- '0.029030'
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Etag:
|
46
|
+
- '"58419ca1a3a9f7cb3ceeea57f25af6b8"'
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
Set-Cookie:
|
50
|
+
- X-Mapping-fjhppofk=1E758C009836F053015B6438BA84600D; path=/
|
51
|
+
- landing=%7B%22utm_source%22%3Anull%2C%22utm_medium%22%3Anull%2C%22utm_campaign%22%3Anull%2C%22utm_term%22%3Anull%2C%22utm_content%22%3Anull%2C%22path%22%3A%22%2Fapi_v2%2Fprojects%2Factive%22%2C%22referer%22%3Anull%2C%22remote_ip%22%3A%2290.156.0.165%22%2C%22time%22%3A%222014-12-16T11%3A42%3A43%2B00%3A00%22%7D;
|
52
|
+
path=/; expires=Sat, 16-Dec-2034 11:42:43 GMT
|
53
|
+
X-Frame-Options:
|
54
|
+
- SAMEORIGIN
|
55
|
+
X-Ua-Compatible:
|
56
|
+
- IE=Edge,chrome=1
|
57
|
+
X-Powered-By:
|
58
|
+
- cloud66
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"projects":[{"id":40093,"name":"MyTestProject"},{"id":40420,"name":"how
|
62
|
+
to be cool"}],"meta":{"count":2}}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Tue, 16 Dec 2014 11:42:43 GMT
|
65
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://testing:x@www.bugherd.com/api_v2/projects
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
X-Rack-Cache:
|
26
|
+
- miss
|
27
|
+
Cache-Control:
|
28
|
+
- must-revalidate, private, max-age=0
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Date:
|
32
|
+
- Tue, 16 Dec 2014 10:25:45 GMT
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Request-Id:
|
36
|
+
- 0830f02bb7e9e391e0f17741cf2c3554
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Transfer-Encoding:
|
40
|
+
- chunked
|
41
|
+
X-Runtime:
|
42
|
+
- '0.049840'
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Etag:
|
46
|
+
- '"58419ca1a3a9f7cb3ceeea57f25af6b8"'
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
Set-Cookie:
|
50
|
+
- X-Mapping-fjhppofk=DD63644E825132555253BC41B9F2C6C0; path=/
|
51
|
+
- landing=%7B%22utm_source%22%3Anull%2C%22utm_medium%22%3Anull%2C%22utm_campaign%22%3Anull%2C%22utm_term%22%3Anull%2C%22utm_content%22%3Anull%2C%22path%22%3A%22%2Fapi_v2%2Fprojects%22%2C%22referer%22%3Anull%2C%22remote_ip%22%3A%2290.156.0.165%22%2C%22time%22%3A%222014-12-16T10%3A25%3A45%2B00%3A00%22%7D;
|
52
|
+
path=/; expires=Sat, 16-Dec-2034 10:25:45 GMT
|
53
|
+
X-Frame-Options:
|
54
|
+
- SAMEORIGIN
|
55
|
+
X-Ua-Compatible:
|
56
|
+
- IE=Edge,chrome=1
|
57
|
+
X-Powered-By:
|
58
|
+
- cloud66
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"projects":[{"id":40093,"name":"MyTestProject"},{"id":40420,"name":"how
|
62
|
+
to be cool"}],"meta":{"count":2}}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Tue, 16 Dec 2014 10:25:45 GMT
|
65
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,60 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://testing:x@www.bugherd.com/api_v2/projects/1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 404
|
21
|
+
message: Not Found
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
X-Rack-Cache:
|
26
|
+
- miss
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache, private
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Date:
|
32
|
+
- Tue, 16 Dec 2014 11:01:05 GMT
|
33
|
+
Status:
|
34
|
+
- 404 Not Found
|
35
|
+
X-Request-Id:
|
36
|
+
- 5ecb8bdc1b0dec75fdc12dd8e664dcdc
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Transfer-Encoding:
|
40
|
+
- chunked
|
41
|
+
X-Runtime:
|
42
|
+
- '0.021942'
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
Set-Cookie:
|
48
|
+
- X-Mapping-fjhppofk=F79505634CB879F90FD744F06F62BF75; path=/
|
49
|
+
- landing=%7B%22utm_source%22%3Anull%2C%22utm_medium%22%3Anull%2C%22utm_campaign%22%3Anull%2C%22utm_term%22%3Anull%2C%22utm_content%22%3Anull%2C%22path%22%3A%22%2Fapi_v2%2Fprojects%2F1%22%2C%22referer%22%3Anull%2C%22remote_ip%22%3A%2290.156.0.165%22%2C%22time%22%3A%222014-12-16T11%3A01%3A05%2B00%3A00%22%7D;
|
50
|
+
path=/; expires=Sat, 16-Dec-2034 11:01:05 GMT
|
51
|
+
X-Frame-Options:
|
52
|
+
- SAMEORIGIN
|
53
|
+
X-Ua-Compatible:
|
54
|
+
- IE=Edge,chrome=1
|
55
|
+
body:
|
56
|
+
encoding: UTF-8
|
57
|
+
string: '{"error":"not found"}'
|
58
|
+
http_version:
|
59
|
+
recorded_at: Tue, 16 Dec 2014 11:01:05 GMT
|
60
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://testing:x@www.bugherd.com/api_v2/projects/40093
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
X-Rack-Cache:
|
26
|
+
- miss
|
27
|
+
Cache-Control:
|
28
|
+
- must-revalidate, private, max-age=0
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Date:
|
32
|
+
- Tue, 16 Dec 2014 10:36:42 GMT
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Request-Id:
|
36
|
+
- 23609abf2633b0fb48c08f5bb0a32432
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Transfer-Encoding:
|
40
|
+
- chunked
|
41
|
+
X-Runtime:
|
42
|
+
- '0.051371'
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Etag:
|
46
|
+
- '"19c667e50da5ac62c12bdb27f387b022"'
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
Set-Cookie:
|
50
|
+
- X-Mapping-fjhppofk=DD63644E825132555253BC41B9F2C6C0; path=/
|
51
|
+
- landing=%7B%22utm_source%22%3Anull%2C%22utm_medium%22%3Anull%2C%22utm_campaign%22%3Anull%2C%22utm_term%22%3Anull%2C%22utm_content%22%3Anull%2C%22path%22%3A%22%2Fapi_v2%2Fprojects%2F40093%22%2C%22referer%22%3Anull%2C%22remote_ip%22%3A%2290.156.0.165%22%2C%22time%22%3A%222014-12-16T10%3A36%3A42%2B00%3A00%22%7D;
|
52
|
+
path=/; expires=Sat, 16-Dec-2034 10:36:42 GMT
|
53
|
+
X-Frame-Options:
|
54
|
+
- SAMEORIGIN
|
55
|
+
X-Ua-Compatible:
|
56
|
+
- IE=Edge,chrome=1
|
57
|
+
X-Powered-By:
|
58
|
+
- cloud66
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"project":{"id":40093,"name":"MyTestProject","devurl":"https://www.testcloud.de","api_key":"6oz4wx52erigdpckz5blag","is_active":true,"is_public":null,"members":[{"id":50190,"email":"john.faucett@testcloud.de","display_name":"John
|
62
|
+
Faucett","avatar_url":"https://www.bugherd.com/images/sidebar/avatar-generic.png"}],"guests":[{"id":50536,"email":"tilman.bahls@testcloud.de","display_name":"tilman.bahls@testcloud.de","avatar_url":"https://bugherd-attachments.s3.amazonaws.com/zpyio6vsupbtvt82ofjx6w%2Favatar.png"}]}}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Tue, 16 Dec 2014 10:36:42 GMT
|
65
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,87 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://testing:x@www.bugherd.com/api_v2/projects/40093/tasks
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
X-Rack-Cache:
|
26
|
+
- miss
|
27
|
+
Cache-Control:
|
28
|
+
- must-revalidate, private, max-age=0
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Date:
|
32
|
+
- Tue, 16 Dec 2014 11:55:14 GMT
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Request-Id:
|
36
|
+
- 68e46abe9931421a5a3b8d662ea6b5d8
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Transfer-Encoding:
|
40
|
+
- chunked
|
41
|
+
X-Runtime:
|
42
|
+
- '0.042415'
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Etag:
|
46
|
+
- '"32f12a08414d4c0e300d719c3f2805d7"'
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
Set-Cookie:
|
50
|
+
- X-Mapping-fjhppofk=F79505634CB879F90FD744F06F62BF75; path=/
|
51
|
+
- landing=%7B%22utm_source%22%3Anull%2C%22utm_medium%22%3Anull%2C%22utm_campaign%22%3Anull%2C%22utm_term%22%3Anull%2C%22utm_content%22%3Anull%2C%22path%22%3A%22%2Fapi_v2%2Fprojects%2F40093%2Ftasks%22%2C%22referer%22%3Anull%2C%22remote_ip%22%3A%2290.156.0.165%22%2C%22time%22%3A%222014-12-16T11%3A55%3A14%2B00%3A00%22%7D;
|
52
|
+
path=/; expires=Sat, 16-Dec-2034 11:55:14 GMT
|
53
|
+
X-Frame-Options:
|
54
|
+
- SAMEORIGIN
|
55
|
+
X-Ua-Compatible:
|
56
|
+
- IE=Edge,chrome=1
|
57
|
+
X-Powered-By:
|
58
|
+
- cloud66
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"tasks":[{"id":1035995,"created_at":"2014-05-08T07:53:00Z","updated_at":"2014-05-08T11:27:45Z","local_task_id":5,"priority_id":2,"assigned_to_id":null,"status_id":0,"description":"testCloud
|
62
|
+
ID: #10821\nApp Section: Produktdetailseite Vollbildansicht der Produkte\nURL:
|
63
|
+
www.testcloud.de/demobug\n\nDies ist ein Demo-Bug aus dem testCloud System.
|
64
|
+
Wenn Sie diesen Bug sehen, wurde die Export-Schnittstelle zu Ihrem Bugtracker
|
65
|
+
erfolgreich implementiert und ist einsatzbereit.\n\n* http://devuploads.testcloud.de:3000/uploads/bug_attachment/file/30642/cf54ff14-83e4-5a53-821b-b22a11a822c8.png\n\n","tag_names":[],"external_id":"testcloudClient","requester_id":null,"requester_email":null},{"id":1036643,"created_at":"2014-05-08T11:29:21Z","updated_at":"2014-05-08T11:29:25Z","local_task_id":9,"priority_id":1,"assigned_to_id":50190,"status_id":0,"description":"Here
|
66
|
+
is a comment","tag_names":["wierd tag"],"external_id":null,"requester_id":50190,"requester_email":"john.faucett@testcloud.de"},{"id":1037689,"created_at":"2014-05-08T15:29:58Z","updated_at":"2014-05-09T08:08:30Z","local_task_id":12,"priority_id":2,"assigned_to_id":null,"status_id":2,"description":"testcloud
|
67
|
+
Demobug\n\ntestCloud ID: #10821\nApp Section: Produktdetailseite Vollbildansicht
|
68
|
+
der Produkte\nURL: www.testcloud.de/demobug\n\nDies ist ein Demo-Bug aus dem
|
69
|
+
testCloud System. Wenn Sie diesen Bug sehen, wurde die Export-Schnittstelle
|
70
|
+
zu Ihrem Bugtracker erfolgreich implementiert und ist einsatzbereit.\n\n*
|
71
|
+
http://devuploads.testcloud.de:3000/uploads/bug_attachment/file/30642/cf54ff14-83e4-5a53-821b-b22a11a822c8.png\n\n\n","tag_names":["Demobug","default","Staging"],"external_id":"testcloudClient","requester_id":null,"requester_email":null},{"id":1037669,"created_at":"2014-05-08T15:25:26Z","updated_at":"2014-05-09T08:10:08Z","local_task_id":11,"priority_id":2,"assigned_to_id":null,"status_id":2,"description":"testCloud
|
72
|
+
ID: #10821\nApp Section: Produktdetailseite Vollbildansicht der Produkte\nURL:
|
73
|
+
www.testcloud.de/demobug\n\nDies ist ein Demo-Bug aus dem testCloud System.
|
74
|
+
Wenn Sie diesen Bug sehen, wurde die Export-Schnittstelle zu Ihrem Bugtracker
|
75
|
+
erfolgreich implementiert und ist einsatzbereit.\n\n* http://devuploads.testcloud.de:3000/uploads/bug_attachment/file/30642/cf54ff14-83e4-5a53-821b-b22a11a822c8.png\n\n","tag_names":["Demobug","default","Staging"],"external_id":"testcloudClient","requester_id":null,"requester_email":null},{"id":1036677,"created_at":"2014-05-08T11:34:58Z","updated_at":"2014-05-09T08:10:12Z","local_task_id":10,"priority_id":1,"assigned_to_id":null,"status_id":0,"description":"hello
|
76
|
+
world","tag_names":[],"external_id":null,"requester_id":null,"requester_email":null},{"id":1036021,"created_at":"2014-05-08T08:01:28Z","updated_at":"2014-05-09T08:10:15Z","local_task_id":6,"priority_id":2,"assigned_to_id":null,"status_id":0,"description":"testCloud
|
77
|
+
ID: #10821\nApp Section: Produktdetailseite Vollbildansicht der Produkte\nURL:
|
78
|
+
www.testcloud.de/demobug\n\nDies ist ein Demo-Bug aus dem testCloud System.
|
79
|
+
Wenn Sie diesen Bug sehen, wurde die Export-Schnittstelle zu Ihrem Bugtracker
|
80
|
+
erfolgreich implementiert und ist einsatzbereit.\n\n* http://devuploads.testcloud.de:3000/uploads/bug_attachment/file/30642/cf54ff14-83e4-5a53-821b-b22a11a822c8.png\n\n","tag_names":["Demobug"],"external_id":"testcloudClient","requester_id":null,"requester_email":null},{"id":1036294,"created_at":"2014-05-08T09:53:09Z","updated_at":"2014-05-09T08:10:16Z","local_task_id":7,"priority_id":2,"assigned_to_id":null,"status_id":0,"description":"testCloud
|
81
|
+
ID: #10821\nApp Bereich: Produktdetailseite Vollbildansicht der Produkte\nURL:
|
82
|
+
www.testcloud.de/demobug\n\nDies ist ein Demo-Bug aus dem testCloud System.
|
83
|
+
Wenn Sie diesen Bug sehen, wurde die Export-Schnittstelle zu Ihrem Bugtracker
|
84
|
+
erfolgreich implementiert und ist einsatzbereit.\n\n* https://uploads.testcloud.de/uploads/bug_attachment/file/30642/cf54ff14-83e4-5a53-821b-b22a11a822c8.png\n\n","tag_names":["Demobug"],"external_id":"testcloudClient","requester_id":null,"requester_email":null}],"meta":{"count":7}}'
|
85
|
+
http_version:
|
86
|
+
recorded_at: Tue, 16 Dec 2014 11:55:14 GMT
|
87
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,69 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://testing:x@www.bugherd.com/api_v2/projects/40093/tasks/1035995
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
X-Rack-Cache:
|
26
|
+
- miss
|
27
|
+
Cache-Control:
|
28
|
+
- must-revalidate, private, max-age=0
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Date:
|
32
|
+
- Tue, 16 Dec 2014 11:58:43 GMT
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Request-Id:
|
36
|
+
- f8a5060478c2981be83bebac37afb5f8
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Transfer-Encoding:
|
40
|
+
- chunked
|
41
|
+
X-Runtime:
|
42
|
+
- '0.044692'
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Etag:
|
46
|
+
- '"e6cdf3f4b86e1e60e63a779d0e38ac76"'
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
Set-Cookie:
|
50
|
+
- X-Mapping-fjhppofk=1E758C009836F053015B6438BA84600D; path=/
|
51
|
+
- landing=%7B%22utm_source%22%3Anull%2C%22utm_medium%22%3Anull%2C%22utm_campaign%22%3Anull%2C%22utm_term%22%3Anull%2C%22utm_content%22%3Anull%2C%22path%22%3A%22%2Fapi_v2%2Fprojects%2F40093%2Ftasks%2F1035995%22%2C%22referer%22%3Anull%2C%22remote_ip%22%3A%2290.156.0.165%22%2C%22time%22%3A%222014-12-16T11%3A58%3A43%2B00%3A00%22%7D;
|
52
|
+
path=/; expires=Sat, 16-Dec-2034 11:58:43 GMT
|
53
|
+
X-Frame-Options:
|
54
|
+
- SAMEORIGIN
|
55
|
+
X-Ua-Compatible:
|
56
|
+
- IE=Edge,chrome=1
|
57
|
+
X-Powered-By:
|
58
|
+
- cloud66
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"task":{"id":1035995,"project_id":40093,"created_at":"2014-05-08T07:53:00Z","updated_at":"2014-05-08T11:27:45Z","local_task_id":5,"priority_id":2,"status_id":0,"description":"testCloud
|
62
|
+
ID: #10821\nApp Section: Produktdetailseite Vollbildansicht der Produkte\nURL:
|
63
|
+
www.testcloud.de/demobug\n\nDies ist ein Demo-Bug aus dem testCloud System.
|
64
|
+
Wenn Sie diesen Bug sehen, wurde die Export-Schnittstelle zu Ihrem Bugtracker
|
65
|
+
erfolgreich implementiert und ist einsatzbereit.\n\n* http://devuploads.testcloud.de:3000/uploads/bug_attachment/file/30642/cf54ff14-83e4-5a53-821b-b22a11a822c8.png\n\n","tag_names":[],"external_id":"testcloudClient","requester_email":null,"attachments":[],"screenshot_url":null,"status":"backlog","priority":"important","closed_at":null,"secret_link":"http://www.bugherd.com/t/KGMMgQEZ9yzKOUucNXHjZQ","admin_link":"http://www.bugherd.com/projects/40093/tasks/5","deleted_at":null,"site":null,"url":null,"metadata":null,"screenshot_data":null,"requester_os":null,"requester_browser":null,"requester_browser_size":null,"requester_resolution":null,"selector_info":"{}","assigned_to":null,"requester":null,"updater":{"id":50190,"email":"john.faucett@testcloud.de","display_name":"John
|
66
|
+
Faucett","avatar_url":"https://www.bugherd.com/images/sidebar/avatar-generic.png"}}}'
|
67
|
+
http_version:
|
68
|
+
recorded_at: Tue, 16 Dec 2014 11:58:43 GMT
|
69
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,66 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://testing:x@www.bugherd.com/api_v2/users
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Server:
|
24
|
+
- nginx
|
25
|
+
X-Rack-Cache:
|
26
|
+
- miss
|
27
|
+
Cache-Control:
|
28
|
+
- must-revalidate, private, max-age=0
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Date:
|
32
|
+
- Tue, 16 Dec 2014 12:27:03 GMT
|
33
|
+
Status:
|
34
|
+
- 200 OK
|
35
|
+
X-Request-Id:
|
36
|
+
- 3443aec75f6453c1cf228cff65f61f49
|
37
|
+
X-Xss-Protection:
|
38
|
+
- 1; mode=block
|
39
|
+
Transfer-Encoding:
|
40
|
+
- chunked
|
41
|
+
X-Runtime:
|
42
|
+
- '0.039405'
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Etag:
|
46
|
+
- '"9e3b9b5ab9483bcf887eede2773cb61d"'
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
Set-Cookie:
|
50
|
+
- X-Mapping-fjhppofk=F79505634CB879F90FD744F06F62BF75; path=/
|
51
|
+
- landing=%7B%22utm_source%22%3Anull%2C%22utm_medium%22%3Anull%2C%22utm_campaign%22%3Anull%2C%22utm_term%22%3Anull%2C%22utm_content%22%3Anull%2C%22path%22%3A%22%2Fapi_v2%2Fusers%22%2C%22referer%22%3Anull%2C%22remote_ip%22%3A%2290.156.0.165%22%2C%22time%22%3A%222014-12-16T12%3A27%3A03%2B00%3A00%22%7D;
|
52
|
+
path=/; expires=Sat, 16-Dec-2034 12:27:03 GMT
|
53
|
+
X-Frame-Options:
|
54
|
+
- SAMEORIGIN
|
55
|
+
X-Ua-Compatible:
|
56
|
+
- IE=Edge,chrome=1
|
57
|
+
X-Powered-By:
|
58
|
+
- cloud66
|
59
|
+
body:
|
60
|
+
encoding: UTF-8
|
61
|
+
string: '{"users":[{"id":50194,"email":"jan.schwenzien@testcloud.de","display_name":"Jan
|
62
|
+
Schwenzien","avatar_url":"https://www.bugherd.com/images/sidebar/avatar-generic.png"},{"id":50190,"email":"john.faucett@testcloud.de","display_name":"John
|
63
|
+
Faucett","avatar_url":"https://www.bugherd.com/images/sidebar/avatar-generic.png"},{"id":50536,"email":"tilman.bahls@testcloud.de","display_name":"tilman.bahls@testcloud.de","avatar_url":"https://bugherd-attachments.s3.amazonaws.com/zpyio6vsupbtvt82ofjx6w%2Favatar.png"}],"meta":{"count":3}}'
|
64
|
+
http_version:
|
65
|
+
recorded_at: Tue, 16 Dec 2014 12:27:03 GMT
|
66
|
+
recorded_with: VCR 2.9.3
|