bugsnag-api 2.0.1 → 2.0.2

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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +2 -0
  3. data/.rubocop_todo.yml +271 -0
  4. data/.travis.yml +6 -3
  5. data/CHANGELOG.md +7 -0
  6. data/bugsnag-api.gemspec +1 -0
  7. data/lib/bugsnag/api/client.rb +12 -0
  8. data/lib/bugsnag/api/client/comments.rb +1 -1
  9. data/lib/bugsnag/api/client/errors.rb +3 -1
  10. data/lib/bugsnag/api/client/trends.rb +8 -4
  11. data/lib/bugsnag/api/configuration.rb +1 -1
  12. data/lib/bugsnag/api/version.rb +1 -1
  13. data/spec/bugsnag/api/client_spec.rb +69 -7
  14. data/spec/bugsnag/api_spec.rb +2 -0
  15. data/spec/cassettes/Bugsnag_Api_Client/_get/handles_query_params.yml +13 -21
  16. data/spec/cassettes/Bugsnag_Api_Client/_last_response/caches_the_last_agent_response.yml +13 -21
  17. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/_invitecollaborator/creates_and_returns_a_collaborator.yml +14 -26
  18. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/_invitecollaborator/invites_multiple_collaborators.yml +14 -26
  19. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborator/returns_a_collaborator.yml +29 -53
  20. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/returns_a_list_of_all_organization_collaborators.yml +30 -55
  21. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/returns_a_list_of_all_project_collaborators.yml +30 -55
  22. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/throws_an_argument_error_if_neither_org_id_or_project_id_are_provided.yml +14 -26
  23. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_delete_collaborator/deletes_a_collaborator.yml +14 -26
  24. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_update_collaborator_permissions/updates_and_returns_the_collaborator.yml +29 -53
  25. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_view_collaborator_projects/returns_a_list_of_projects_belonging_to_the_collaborator.yml +49 -55
  26. data/spec/cassettes/Bugsnag_Api_Client_Comments/_create_comment/creates_a_comment_on_the_error.yml +17 -29
  27. data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_comment/retrieves_the_comment_specified.yml +32 -56
  28. data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_comments/retrieves_all_comments_on_an_error.yml +33 -57
  29. data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_delete_comment/deletes_the_comment_and_returns_true.yml +17 -29
  30. data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_update_comment/updates_the_message_on_a_comment.yml +32 -56
  31. data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_organizations/when_using_auth_token/returns_the_organization_the_auth_token_belongs_to.yml +14 -27
  32. data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_organizations/when_using_user_credentials/returns_users_organizations.yml +17 -31
  33. data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_projects/when_using_auth_token/lists_current_user_s_projects_in_the_organization.yml +34 -28
  34. data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_projects/when_using_user_credentials/lists_current_user_s_projects_in_the_organization.yml +37 -32
  35. data/spec/cassettes/Bugsnag_Api_Client_Errors/_error/returns_a_single_error.yml +14 -28
  36. data/spec/cassettes/Bugsnag_Api_Client_Errors/_errors/returns_errors_on_the_project.yml +16 -30
  37. data/spec/cassettes/Bugsnag_Api_Client_Errors/_update_errors/updates_and_returns_the_updated_errors.yml +13 -25
  38. data/spec/cassettes/Bugsnag_Api_Client_Events/_error_events/lists_all_error_events.yml +19 -30
  39. data/spec/cassettes/Bugsnag_Api_Client_Events/_event/returns_the_specified_event.yml +16 -199
  40. data/spec/cassettes/Bugsnag_Api_Client_Events/_events/returns_the_a_list_of_project_errors.yml +19 -30
  41. data/spec/cassettes/Bugsnag_Api_Client_Events/_latest_event/returns_the_last_event_on_an_error.yml +16 -199
  42. data/spec/cassettes/Bugsnag_Api_Client_Organizations/_create_organization/creates_a_new_organization.yml +17 -30
  43. data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_delete_organization/deletes_the_organization.yml +32 -58
  44. data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_organization/returns_the_requested_organization.yml +35 -61
  45. data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_update_organization/updates_and_returns_the_organization.yml +35 -61
  46. data/spec/cassettes/Bugsnag_Api_Client_Projects/_create_project/creates_a_new_project.yml +14 -26
  47. data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_delete_project/deletes_the_project.yml +26 -50
  48. data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_project/returns_the_requested_project.yml +29 -53
  49. data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_regenerate_api_key/removes_the_current_api_key_and_replaces_it_with_a_new_api_key.yml +29 -53
  50. data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_update_project/updates_and_returns_the_project.yml +29 -53
  51. data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_buckets/returns_a_list_of_error_trends_in_bucket_form.yml +14 -26
  52. data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_buckets/returns_a_list_of_project_trends_in_bucket_form.yml +14 -26
  53. data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_resolution/returns_a_list_of_project_trends_in_resolution_form.yml +14 -26
  54. data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_resolution/returns_a_list_of_trends_in_resolution_form.yml +14 -26
  55. data/spec/spec_helper.rb +3 -3
  56. metadata +18 -2
@@ -8,11 +8,13 @@ http_interactions:
8
8
  string: '{"project_ids":["BUGSNAG_PROJECT_ID"],"email":"BUGSNAG_COLLABORATOR_EMAIL"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Bugsnag API Ruby Gem 1.0.3
11
+ - Bugsnag API Ruby Gem 2.0.1
12
12
  Content-Type:
13
13
  - application/json
14
14
  X-Version:
15
15
  - '2'
16
+ X-Bugsnag-Api:
17
+ - 'true'
16
18
  Authorization:
17
19
  - token BUGSNAG_AUTH_TOKEN
18
20
  Accept-Encoding:
@@ -24,31 +26,25 @@ http_interactions:
24
26
  code: 200
25
27
  message: OK
26
28
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 09 Oct 2017 14:26:30 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Etag:
34
- - W/"eca67f6d4d1539baf9ad49d57ffbb90c"
32
+ - W/"255d0577e6c8680d496ee762c76194b3"
35
33
  Cache-Control:
36
34
  - max-age=0, private, must-revalidate
37
35
  X-Request-Id:
38
- - f5c41818-b934-4a45-be69-fcfa53aea023
36
+ - 985ba5c3-a953-49c2-bc9f-f0c64a46c1e1
39
37
  X-Runtime:
40
- - '0.515723'
38
+ - '0.410299'
41
39
  Vary:
42
40
  - Origin
43
- X-Ratelimit-Limit:
44
- - '10'
45
- X-Ratelimit-Remaining:
46
- - '5'
41
+ X-Rack-Cors:
42
+ - miss; no-origin
47
43
  Content-Security-Policy:
48
44
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
49
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
50
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
51
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
45
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
46
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
47
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
52
48
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
53
49
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
54
50
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -62,21 +58,13 @@ http_interactions:
62
58
  - none
63
59
  X-Xss-Protection:
64
60
  - 1; mode=block
65
- X-Robots-Tag:
66
- - noindex, nofollow
67
- Strict-Transport-Security:
68
- - max-age=31536000
69
- Via:
70
- - 1.1 google
71
- Alt-Svc:
72
- - clear
73
61
  Transfer-Encoding:
74
62
  - chunked
75
63
  body:
76
- encoding: ASCII-8BIT
77
- string: '{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}'
64
+ encoding: UTF-8
65
+ string: '{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}'
78
66
  http_version:
79
- recorded_at: Mon, 09 Oct 2017 14:26:29 GMT
67
+ recorded_at: Tue, 12 Dec 2017 11:54:42 GMT
80
68
  - request:
81
69
  method: get
82
70
  uri: https://api.bugsnag.com/organizations/BUGSNAG_ORG_ID/collaborators
@@ -85,11 +73,13 @@ http_interactions:
85
73
  string: ''
86
74
  headers:
87
75
  User-Agent:
88
- - Bugsnag API Ruby Gem 1.0.3
76
+ - Bugsnag API Ruby Gem 2.0.1
89
77
  Content-Type:
90
78
  - application/json
91
79
  X-Version:
92
80
  - '2'
81
+ X-Bugsnag-Api:
82
+ - 'true'
93
83
  Authorization:
94
84
  - token BUGSNAG_AUTH_TOKEN
95
85
  Accept-Encoding:
@@ -101,33 +91,27 @@ http_interactions:
101
91
  code: 200
102
92
  message: OK
103
93
  headers:
104
- Server:
105
- - nginx
106
- Date:
107
- - Mon, 09 Oct 2017 14:26:30 GMT
94
+ X-Total-Count:
95
+ - '2'
108
96
  Content-Type:
109
97
  - application/json; charset=utf-8
110
- X-Total-Count:
111
- - '5'
112
98
  Etag:
113
- - W/"9d1c9062ca10c2258abcdf8bae16ddae"
99
+ - W/"bfe89576927ebd84c4d4cecfb37b4795"
114
100
  Cache-Control:
115
101
  - max-age=0, private, must-revalidate
116
102
  X-Request-Id:
117
- - f53241de-9c93-47ab-881b-3d02854235a0
103
+ - eacbd942-60cb-4900-8905-84918358e536
118
104
  X-Runtime:
119
- - '0.257913'
105
+ - '0.336250'
120
106
  Vary:
121
107
  - Origin
122
- X-Ratelimit-Limit:
123
- - '10'
124
- X-Ratelimit-Remaining:
125
- - '4'
108
+ X-Rack-Cors:
109
+ - miss; no-origin
126
110
  Content-Security-Policy:
127
111
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
128
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
129
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
130
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
112
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
113
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
114
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
131
115
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
132
116
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
133
117
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -141,20 +125,11 @@ http_interactions:
141
125
  - none
142
126
  X-Xss-Protection:
143
127
  - 1; mode=block
144
- X-Robots-Tag:
145
- - noindex, nofollow
146
- Strict-Transport-Security:
147
- - max-age=31536000
148
- Via:
149
- - 1.1 google
150
- Alt-Svc:
151
- - clear
152
128
  Transfer-Encoding:
153
129
  - chunked
154
130
  body:
155
- encoding: ASCII-8BIT
156
- string: '[{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false},{"id":"59afb2e65710a800203768ab","name":null,"email":"\u003cbugsnag_collabortator_email\u003e","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T08:33:42.545Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afb2e65710a800203768ab/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":false,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID"],"paid_for":false},{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-05T09:04:10.936Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59ae67b68a0558001a351bcb/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-10-09T14:26:30.635Z","project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false},{"id":"59ad646a010e2a001bd7e72f","name":null,"email":"alex.moinet@yahoo.co.uk","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-04T14:34:18.388Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59ad646a010e2a001bd7e72f/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":false,"pending_invitation":true,"last_request_at":null,"project_ids":[],"paid_for":false},{"id":"59844ed2a2ebdd0022a938d3","name":"Alexander
157
- Moinet","email":"alex@bugsnag.com","two_factor_enabled":true,"two_factor_enabled_on":"2017-09-05T08:56:21.730Z","password_updated_on":"2017-08-14T10:12:26.692Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59844ed2a2ebdd0022a938d3/projects","heroku":false,"recovery_codes_remaining":5,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-10-09T14:18:45.021Z","project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}]'
131
+ encoding: UTF-8
132
+ string: '[{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false},{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-06T16:40:04.011Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a1589f0d1befa47553ffd5f/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-12-12T11:54:53.966Z","project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}]'
158
133
  http_version:
159
- recorded_at: Mon, 09 Oct 2017 14:26:29 GMT
134
+ recorded_at: Tue, 12 Dec 2017 11:54:42 GMT
160
135
  recorded_with: VCR 2.9.3
@@ -8,11 +8,13 @@ http_interactions:
8
8
  string: '{"project_ids":["BUGSNAG_PROJECT_ID"],"email":"BUGSNAG_COLLABORATOR_EMAIL"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Bugsnag API Ruby Gem 1.0.3
11
+ - Bugsnag API Ruby Gem 2.0.1
12
12
  Content-Type:
13
13
  - application/json
14
14
  X-Version:
15
15
  - '2'
16
+ X-Bugsnag-Api:
17
+ - 'true'
16
18
  Authorization:
17
19
  - token BUGSNAG_AUTH_TOKEN
18
20
  Accept-Encoding:
@@ -24,31 +26,25 @@ http_interactions:
24
26
  code: 200
25
27
  message: OK
26
28
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 09 Oct 2017 14:26:28 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Etag:
34
- - W/"eca67f6d4d1539baf9ad49d57ffbb90c"
32
+ - W/"255d0577e6c8680d496ee762c76194b3"
35
33
  Cache-Control:
36
34
  - max-age=0, private, must-revalidate
37
35
  X-Request-Id:
38
- - 25abea88-6898-4afd-88f9-3211bf80097b
36
+ - 5b50846f-ad71-4d82-8207-0a1255772377
39
37
  X-Runtime:
40
- - '0.432554'
38
+ - '0.399186'
41
39
  Vary:
42
40
  - Origin
43
- X-Ratelimit-Limit:
44
- - '10'
45
- X-Ratelimit-Remaining:
46
- - '7'
41
+ X-Rack-Cors:
42
+ - miss; no-origin
47
43
  Content-Security-Policy:
48
44
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
49
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
50
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
51
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
45
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
46
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
47
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
52
48
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
53
49
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
54
50
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -62,21 +58,13 @@ http_interactions:
62
58
  - none
63
59
  X-Xss-Protection:
64
60
  - 1; mode=block
65
- X-Robots-Tag:
66
- - noindex, nofollow
67
- Strict-Transport-Security:
68
- - max-age=31536000
69
- Via:
70
- - 1.1 google
71
- Alt-Svc:
72
- - clear
73
61
  Transfer-Encoding:
74
62
  - chunked
75
63
  body:
76
- encoding: ASCII-8BIT
77
- string: '{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}'
64
+ encoding: UTF-8
65
+ string: '{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}'
78
66
  http_version:
79
- recorded_at: Mon, 09 Oct 2017 14:26:27 GMT
67
+ recorded_at: Tue, 12 Dec 2017 11:54:43 GMT
80
68
  - request:
81
69
  method: get
82
70
  uri: https://api.bugsnag.com/projects/BUGSNAG_PROJECT_ID/collaborators
@@ -85,11 +73,13 @@ http_interactions:
85
73
  string: ''
86
74
  headers:
87
75
  User-Agent:
88
- - Bugsnag API Ruby Gem 1.0.3
76
+ - Bugsnag API Ruby Gem 2.0.1
89
77
  Content-Type:
90
78
  - application/json
91
79
  X-Version:
92
80
  - '2'
81
+ X-Bugsnag-Api:
82
+ - 'true'
93
83
  Authorization:
94
84
  - token BUGSNAG_AUTH_TOKEN
95
85
  Accept-Encoding:
@@ -101,33 +91,27 @@ http_interactions:
101
91
  code: 200
102
92
  message: OK
103
93
  headers:
104
- Server:
105
- - nginx
106
- Date:
107
- - Mon, 09 Oct 2017 14:26:29 GMT
94
+ X-Total-Count:
95
+ - '2'
108
96
  Content-Type:
109
97
  - application/json; charset=utf-8
110
- X-Total-Count:
111
- - '4'
112
98
  Etag:
113
- - W/"7505bd5ca5daa26778d42ef1ba2a5643"
99
+ - W/"58b05bc1afa8c8906a7a740cfdc9770e"
114
100
  Cache-Control:
115
101
  - max-age=0, private, must-revalidate
116
102
  X-Request-Id:
117
- - d9c26df7-6a53-4eda-9181-679809e766ab
103
+ - ae97ea91-fc1c-4148-8d73-6dc4064697b6
118
104
  X-Runtime:
119
- - '0.318867'
105
+ - '0.396167'
120
106
  Vary:
121
107
  - Origin
122
- X-Ratelimit-Limit:
123
- - '10'
124
- X-Ratelimit-Remaining:
125
- - '6'
108
+ X-Rack-Cors:
109
+ - miss; no-origin
126
110
  Content-Security-Policy:
127
111
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
128
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
129
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
130
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
112
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
113
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
114
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
131
115
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
132
116
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
133
117
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -141,20 +125,11 @@ http_interactions:
141
125
  - none
142
126
  X-Xss-Protection:
143
127
  - 1; mode=block
144
- X-Robots-Tag:
145
- - noindex, nofollow
146
- Strict-Transport-Security:
147
- - max-age=31536000
148
- Via:
149
- - 1.1 google
150
- Alt-Svc:
151
- - clear
152
128
  Transfer-Encoding:
153
129
  - chunked
154
130
  body:
155
- encoding: ASCII-8BIT
156
- string: '[{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false},{"id":"59afb2e65710a800203768ab","name":null,"email":"\u003cbugsnag_collabortator_email\u003e","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T08:33:42.545Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afb2e65710a800203768ab/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":false,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID"],"paid_for":false},{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-05T09:04:10.936Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59ae67b68a0558001a351bcb/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-10-09T14:26:29.269Z","project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false},{"id":"59844ed2a2ebdd0022a938d3","name":"Alexander
157
- Moinet","email":"alex@bugsnag.com","two_factor_enabled":true,"two_factor_enabled_on":"2017-09-05T08:56:21.730Z","password_updated_on":"2017-08-14T10:12:26.692Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59844ed2a2ebdd0022a938d3/projects","heroku":false,"recovery_codes_remaining":5,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-10-09T14:18:45.021Z","project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}]'
131
+ encoding: UTF-8
132
+ string: '[{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false},{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-06T16:40:04.011Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a1589f0d1befa47553ffd5f/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-12-12T11:54:54.783Z","project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}]'
158
133
  http_version:
159
- recorded_at: Mon, 09 Oct 2017 14:26:28 GMT
134
+ recorded_at: Tue, 12 Dec 2017 11:54:43 GMT
160
135
  recorded_with: VCR 2.9.3
@@ -8,11 +8,13 @@ http_interactions:
8
8
  string: '{"project_ids":["BUGSNAG_PROJECT_ID"],"email":"BUGSNAG_COLLABORATOR_EMAIL"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Bugsnag API Ruby Gem 1.0.3
11
+ - Bugsnag API Ruby Gem 2.0.1
12
12
  Content-Type:
13
13
  - application/json
14
14
  X-Version:
15
15
  - '2'
16
+ X-Bugsnag-Api:
17
+ - 'true'
16
18
  Authorization:
17
19
  - token BUGSNAG_AUTH_TOKEN
18
20
  Accept-Encoding:
@@ -24,31 +26,25 @@ http_interactions:
24
26
  code: 200
25
27
  message: OK
26
28
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 09 Oct 2017 14:26:28 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Etag:
34
- - W/"eca67f6d4d1539baf9ad49d57ffbb90c"
32
+ - W/"255d0577e6c8680d496ee762c76194b3"
35
33
  Cache-Control:
36
34
  - max-age=0, private, must-revalidate
37
35
  X-Request-Id:
38
- - 2b7d8153-a26e-41a0-b889-53005bd8119a
36
+ - f04a3ff4-424f-40fa-a39e-1cabf2327ce4
39
37
  X-Runtime:
40
- - '0.464096'
38
+ - '0.637921'
41
39
  Vary:
42
40
  - Origin
43
- X-Ratelimit-Limit:
44
- - '10'
45
- X-Ratelimit-Remaining:
46
- - '8'
41
+ X-Rack-Cors:
42
+ - miss; no-origin
47
43
  Content-Security-Policy:
48
44
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
49
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
50
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
51
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
45
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
46
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
47
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
52
48
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
53
49
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
54
50
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -62,19 +58,11 @@ http_interactions:
62
58
  - none
63
59
  X-Xss-Protection:
64
60
  - 1; mode=block
65
- X-Robots-Tag:
66
- - noindex, nofollow
67
- Strict-Transport-Security:
68
- - max-age=31536000
69
- Via:
70
- - 1.1 google
71
- Alt-Svc:
72
- - clear
73
61
  Transfer-Encoding:
74
62
  - chunked
75
63
  body:
76
- encoding: ASCII-8BIT
77
- string: '{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}'
64
+ encoding: UTF-8
65
+ string: '{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}'
78
66
  http_version:
79
- recorded_at: Mon, 09 Oct 2017 14:26:27 GMT
67
+ recorded_at: Tue, 12 Dec 2017 11:54:44 GMT
80
68
  recorded_with: VCR 2.9.3
@@ -8,11 +8,13 @@ http_interactions:
8
8
  string: '{"project_ids":["BUGSNAG_PROJECT_ID"],"email":"BUGSNAG_COLLABORATOR_EMAIL"}'
9
9
  headers:
10
10
  User-Agent:
11
- - Bugsnag API Ruby Gem 1.0.3
11
+ - Bugsnag API Ruby Gem 2.0.1
12
12
  Content-Type:
13
13
  - application/json
14
14
  X-Version:
15
15
  - '2'
16
+ X-Bugsnag-Api:
17
+ - 'true'
16
18
  Authorization:
17
19
  - token BUGSNAG_AUTH_TOKEN
18
20
  Accept-Encoding:
@@ -24,31 +26,25 @@ http_interactions:
24
26
  code: 200
25
27
  message: OK
26
28
  headers:
27
- Server:
28
- - nginx
29
- Date:
30
- - Mon, 09 Oct 2017 14:25:27 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Etag:
34
- - W/"eca67f6d4d1539baf9ad49d57ffbb90c"
32
+ - W/"255d0577e6c8680d496ee762c76194b3"
35
33
  Cache-Control:
36
34
  - max-age=0, private, must-revalidate
37
35
  X-Request-Id:
38
- - 4255f418-3db3-4af8-be0f-7aa4974aba61
36
+ - 64a454c6-4ae9-4504-b90b-58e75638fd9d
39
37
  X-Runtime:
40
- - '0.567130'
38
+ - '0.385710'
41
39
  Vary:
42
40
  - Origin
43
- X-Ratelimit-Limit:
44
- - '10'
45
- X-Ratelimit-Remaining:
46
- - '6'
41
+ X-Rack-Cors:
42
+ - miss; no-origin
47
43
  Content-Security-Policy:
48
44
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
49
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
50
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
51
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
45
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
46
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
47
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
52
48
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
53
49
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
54
50
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -62,19 +58,11 @@ http_interactions:
62
58
  - none
63
59
  X-Xss-Protection:
64
60
  - 1; mode=block
65
- X-Robots-Tag:
66
- - noindex, nofollow
67
- Strict-Transport-Security:
68
- - max-age=31536000
69
- Via:
70
- - 1.1 google
71
- Alt-Svc:
72
- - clear
73
61
  Transfer-Encoding:
74
62
  - chunked
75
63
  body:
76
- encoding: ASCII-8BIT
77
- string: '{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}'
64
+ encoding: UTF-8
65
+ string: '{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}'
78
66
  http_version:
79
- recorded_at: Mon, 09 Oct 2017 14:25:26 GMT
67
+ recorded_at: Tue, 12 Dec 2017 11:54:42 GMT
80
68
  recorded_with: VCR 2.9.3