bugsnag-api 2.0.1 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +5 -5
  2. data/.buildkite/pipeline.yml +6 -0
  3. data/.github/ISSUE_TEMPLATE/A.md +14 -0
  4. data/.github/ISSUE_TEMPLATE/bug_report.md +47 -0
  5. data/.github/ISSUE_TEMPLATE/feature_request.md +24 -0
  6. data/.github/PULL_REQUEST_TEMPLATE.md +16 -0
  7. data/.github/support.md +19 -0
  8. data/.github/workflows/tests.yml +53 -0
  9. data/.rubocop.yml +4 -0
  10. data/.rubocop_todo.yml +271 -0
  11. data/CHANGELOG.md +34 -0
  12. data/CONTRIBUTING.md +1 -1
  13. data/Gemfile +9 -0
  14. data/README.md +77 -2
  15. data/bugsnag-api.gemspec +48 -6
  16. data/config/.gitignore +1 -0
  17. data/docker-compose.yml +9 -0
  18. data/dockerfiles/Dockerfile.audit +5 -0
  19. data/lib/bugsnag/api/client/collaborators.rb +1 -2
  20. data/lib/bugsnag/api/client/comments.rb +1 -1
  21. data/lib/bugsnag/api/client/currentuser.rb +0 -1
  22. data/lib/bugsnag/api/client/errors.rb +12 -11
  23. data/lib/bugsnag/api/client/eventfields.rb +1 -2
  24. data/lib/bugsnag/api/client/events.rb +1 -2
  25. data/lib/bugsnag/api/client/organizations.rb +1 -2
  26. data/lib/bugsnag/api/client/pivots.rb +1 -2
  27. data/lib/bugsnag/api/client/projects.rb +2 -3
  28. data/lib/bugsnag/api/client/releases.rb +38 -0
  29. data/lib/bugsnag/api/client/stability.rb +16 -0
  30. data/lib/bugsnag/api/client/trends.rb +8 -5
  31. data/lib/bugsnag/api/client.rb +23 -3
  32. data/lib/bugsnag/api/configuration.rb +1 -1
  33. data/lib/bugsnag/api/error.rb +1 -1
  34. data/lib/bugsnag/api/response/raise_error.rb +0 -2
  35. data/lib/bugsnag/api/version.rb +1 -1
  36. data/scripts/license_finder.sh +4 -0
  37. data/spec/bugsnag/api/client/releases_spec.rb +184 -0
  38. data/spec/bugsnag/api/client/stability_spec.rb +32 -0
  39. data/spec/bugsnag/api/client_spec.rb +69 -7
  40. data/spec/bugsnag/api_spec.rb +2 -0
  41. data/spec/cassettes/Bugsnag_Api_Client/_get/handles_query_params.yml +13 -21
  42. data/spec/cassettes/Bugsnag_Api_Client/_last_response/caches_the_last_agent_response.yml +13 -21
  43. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/_invitecollaborator/creates_and_returns_a_collaborator.yml +14 -26
  44. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/_invitecollaborator/invites_multiple_collaborators.yml +14 -26
  45. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborator/returns_a_collaborator.yml +29 -53
  46. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/returns_a_list_of_all_organization_collaborators.yml +30 -55
  47. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/returns_a_list_of_all_project_collaborators.yml +30 -55
  48. 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
  49. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_delete_collaborator/deletes_a_collaborator.yml +14 -26
  50. data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_update_collaborator_permissions/updates_and_returns_the_collaborator.yml +29 -53
  51. 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
  52. data/spec/cassettes/Bugsnag_Api_Client_Comments/_create_comment/creates_a_comment_on_the_error.yml +17 -29
  53. data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_comment/retrieves_the_comment_specified.yml +32 -56
  54. data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_comments/retrieves_all_comments_on_an_error.yml +33 -57
  55. data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_delete_comment/deletes_the_comment_and_returns_true.yml +17 -29
  56. data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_update_comment/updates_the_message_on_a_comment.yml +32 -56
  57. data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_organizations/when_using_auth_token/returns_the_organization_the_auth_token_belongs_to.yml +14 -27
  58. data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_organizations/when_using_user_credentials/returns_users_organizations.yml +17 -31
  59. data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_projects/when_using_auth_token/lists_current_user_s_projects_in_the_organization.yml +34 -28
  60. data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_projects/when_using_user_credentials/lists_current_user_s_projects_in_the_organization.yml +37 -32
  61. data/spec/cassettes/Bugsnag_Api_Client_Errors/_error/returns_a_single_error.yml +14 -28
  62. data/spec/cassettes/Bugsnag_Api_Client_Errors/_errors/returns_errors_on_the_project.yml +16 -30
  63. data/spec/cassettes/Bugsnag_Api_Client_Errors/_update_errors/updates_and_returns_the_updated_errors.yml +13 -25
  64. data/spec/cassettes/Bugsnag_Api_Client_Events/_error_events/lists_all_error_events.yml +19 -30
  65. data/spec/cassettes/Bugsnag_Api_Client_Events/_event/returns_the_specified_event.yml +16 -199
  66. data/spec/cassettes/Bugsnag_Api_Client_Events/_events/returns_the_a_list_of_project_errors.yml +19 -30
  67. data/spec/cassettes/Bugsnag_Api_Client_Events/_latest_event/returns_the_last_event_on_an_error.yml +16 -199
  68. data/spec/cassettes/Bugsnag_Api_Client_Organizations/_create_organization/creates_a_new_organization.yml +17 -30
  69. data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_delete_organization/deletes_the_organization.yml +32 -58
  70. data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_organization/returns_the_requested_organization.yml +35 -61
  71. data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_update_organization/updates_and_returns_the_organization.yml +35 -61
  72. data/spec/cassettes/Bugsnag_Api_Client_Projects/_create_project/creates_a_new_project.yml +14 -26
  73. data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_delete_project/deletes_the_project.yml +26 -50
  74. data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_project/returns_the_requested_project.yml +29 -53
  75. 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
  76. data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_update_project/updates_and_returns_the_project.yml +29 -53
  77. data/spec/cassettes/Bugsnag_Api_Client_Releases/_release/gets_a_single_release.yml +87 -0
  78. data/spec/cassettes/Bugsnag_Api_Client_Releases/_release_groups/accepts_parameters.yml +90 -0
  79. data/spec/cassettes/Bugsnag_Api_Client_Releases/_release_groups/gets_releases_in_a_release_group.yml +87 -0
  80. data/spec/cassettes/Bugsnag_Api_Client_Releases/_releases/accepts_parameters.yml +92 -0
  81. data/spec/cassettes/Bugsnag_Api_Client_Releases/_releases/gets_as_list_of_releases.yml +91 -0
  82. data/spec/cassettes/Bugsnag_Api_Client_Stability/_stability_trend/gets_the_stability_trend.yml +87 -0
  83. data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_buckets/returns_a_list_of_error_trends_in_bucket_form.yml +14 -26
  84. data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_buckets/returns_a_list_of_project_trends_in_bucket_form.yml +14 -26
  85. data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_resolution/returns_a_list_of_project_trends_in_resolution_form.yml +14 -26
  86. data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_resolution/returns_a_list_of_trends_in_resolution_form.yml +14 -26
  87. data/spec/spec_helper.rb +35 -7
  88. metadata +67 -24
  89. data/.travis.yml +0 -17
@@ -8,13 +8,15 @@ http_interactions:
8
8
  string: '{"name":"testOrg"}'
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
- - Basic YWxleCt0ZXN0QGJ1Z3NuYWcuY29tOkNvc21vcG9saXRhblBlYXNlbnQ=
19
+ - Basic QlVHU05BR19VU0VSX0VNQUlMOkJVR1NOQUdfUEFTU1dPUkQ=
18
20
  Accept-Encoding:
19
21
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
22
  Accept:
@@ -24,35 +26,28 @@ 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:20:16 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Etag:
34
- - W/"90306d8a4f8fd3a64a09698514dd967f"
32
+ - W/"0f5910f39a2d2298b9baf2dfe3d3d654"
35
33
  Cache-Control:
36
34
  - max-age=0, private, must-revalidate
37
35
  Set-Cookie:
38
- - _bugsnag_session_2=OE1XeGR4eWZ4QnYxRFpubVJHa04wTFJJaGxHdllpRnp0YXBWMFQvdGhpK24yb3lqYlZpYmFkcmNRNVVmdFRNVnp1RDU2cHZXYUxZb2RKOHhzRklxb2pjbW9JTVdRcVhaQnVPei9yQ1F5M042dGY1c08wQXZMQ2ljVktTVUtJcm5hYjlaNGlCZitKbGZhbkxxRXpXekU0V0lmVVlDM1RqZ2hSUWpVV0o1YUVvQnlDSDNiM2JHdlY1VlpNb2RQYlpnc2NDdGR1N2VqNGdOY1dENW1MM1k1dz09LS03YTRYM05nUnpUY3lUckU4ZnZuYTR3PT0%3D--3708aa7a4bd61f08076303ea9cff69737a010248;
39
- domain=.bugsnag.com; path=/; expires=Tue, 09 Oct 2018 14:20:16 -0000; secure;
40
- HttpOnly; SameSite=Lax
36
+ - _bugsnag_session_2=WXRQU2dxc0pqTUNIMjR0cTlpYjAwOEpHN09WcFk3NFExSUl0TlRkTXFqdXJZVW16Zk1CcXBpMktUNXF5QmVjT01hUHdyb2M2QlFtYXA5dzRBV1hCR1gyMEEvcytZczJ3dllyVy9Ba1lNeHZrdzJSZndIbG9LQnZrMUthTmNWZk9zNEE1MG0wYXE4ekdrazJqM1IyL0hEdXA0SFEvWlNFNWptR2dGRkQzS0Z2dFhpSDRkbHdlUGhvZjFDbVR3Ykd5L0U1aEhNVjNTeEd4YUxwM2p0SENZdz09LS0ySkR0T1Z5ZVBtd3REbW1TNi9neEpRPT0%3D--a27a707ab80f275437b6a42ac6bceb15f776dea2;
37
+ path=/; expires=Wed, 12 Dec 2018 11:52:35 -0000; HttpOnly; SameSite=Lax
41
38
  X-Request-Id:
42
- - f621f4cc-3d54-4338-b7f4-509858c41f07
39
+ - 9db3985c-fb84-4679-8b9c-7352213fb457
43
40
  X-Runtime:
44
- - '1.181246'
41
+ - '0.687476'
45
42
  Vary:
46
43
  - Origin
47
- X-Ratelimit-Limit:
48
- - '10'
49
- X-Ratelimit-Remaining:
50
- - '3'
44
+ X-Rack-Cors:
45
+ - miss; no-origin
51
46
  Content-Security-Policy:
52
47
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
53
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
54
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
55
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
48
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
49
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
50
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
56
51
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
57
52
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
58
53
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -66,36 +61,30 @@ http_interactions:
66
61
  - none
67
62
  X-Xss-Protection:
68
63
  - 1; mode=block
69
- X-Robots-Tag:
70
- - noindex, nofollow
71
- Strict-Transport-Security:
72
- - max-age=31536000
73
- Via:
74
- - 1.1 google
75
- Alt-Svc:
76
- - clear
77
64
  Transfer-Encoding:
78
65
  - chunked
79
66
  body:
80
- encoding: ASCII-8BIT
81
- string: '{"id":"59db85a0901da000201ed575","name":"testOrg","slug":"testorg-28","creator":{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-10-09T14:20:16.064Z","updated_at":"2017-10-09T14:20:16.173Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-28/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","billing_emails":["BUGSNAG_USER_EMAIL"]}'
67
+ encoding: UTF-8
68
+ string: '{"id":"5a2fc302d1befa002881d599","name":"testOrg","slug":"testorg-8","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-12-12T11:52:34.802Z","updated_at":"2017-12-12T11:52:34.912Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-8/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}'
82
69
  http_version:
83
- recorded_at: Mon, 09 Oct 2017 14:20:16 GMT
70
+ recorded_at: Tue, 12 Dec 2017 11:52:24 GMT
84
71
  - request:
85
72
  method: delete
86
- uri: https://api.bugsnag.com/organizations/59db85a0901da000201ed575
73
+ uri: https://api.bugsnag.com/organizations/5a2fc302d1befa002881d599
87
74
  body:
88
75
  encoding: UTF-8
89
76
  string: "{}"
90
77
  headers:
91
78
  User-Agent:
92
- - Bugsnag API Ruby Gem 1.0.3
79
+ - Bugsnag API Ruby Gem 2.0.1
93
80
  Content-Type:
94
81
  - application/json
95
82
  X-Version:
96
83
  - '2'
84
+ X-Bugsnag-Api:
85
+ - 'true'
97
86
  Authorization:
98
- - Basic YWxleCt0ZXN0QGJ1Z3NuYWcuY29tOkNvc21vcG9saXRhblBlYXNlbnQ=
87
+ - Basic QlVHU05BR19VU0VSX0VNQUlMOkJVR1NOQUdfUEFTU1dPUkQ=
99
88
  Accept-Encoding:
100
89
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
101
90
  Accept:
@@ -105,31 +94,24 @@ http_interactions:
105
94
  code: 204
106
95
  message: No Content
107
96
  headers:
108
- Server:
109
- - nginx
110
- Date:
111
- - Mon, 09 Oct 2017 14:20:17 GMT
112
97
  Cache-Control:
113
98
  - no-cache
114
99
  Set-Cookie:
115
- - _bugsnag_session_2=L1luZCt6S0NtV3Ixb01HNEI1bnozc0pkSk9xK2FpY2RScld2QW1xbmFuR0JXVG1xVlowdkx3eGc3eXJPV05zOWVhK0hnaGxRaSs3TnFXU3RHRDRHVFVDbnMzd0EyTm9HVkRCN00vQ29vYytsak51NG1OcDZ1ckFwSDRURWQzZXR0OHR0Nk1Bd0VuQWpub0duL2Y1ZnZUNExJOThRSHc2dlNvWEpHVWJESGRQd1pKWWd2dHRLMDAwL2hhREdaRkVQOHYrcGh4S0RVeXM0cjVEQi90eHZoZz09LS1zejhiY3pHb1k5eWdqcFV3ekVTSi9BPT0%3D--0ac36e30bf4802a7c3421ca1bd4241b47280095c;
116
- domain=.bugsnag.com; path=/; expires=Tue, 09 Oct 2018 14:20:17 -0000; secure;
117
- HttpOnly; SameSite=Lax
100
+ - _bugsnag_session_2=OGx3a1lXdnpzMXhZUUs5eWtQWmNPZ0VVb1lsWVdKSE5SNDlwQlU1clhEdUhabG5CWUF6aHdLdmx6WlJUVkUrcXhVSHlwd3NYZkdCRytmeFpiNUE2RHpYdStaMFhHTFVqc3h4Z2RaUytyY0E1dll4RjU2cmZVSjJodXcvZ3JYcVl3OC9MU0tUY29JdE4vKzI1a29ndG81Z1hHWlRGbTBOS1BHcUxvNExIWkFUVmpSSmpxV2RPb2RzZXpCcHIyQlFjeWpsWjNBbWN6aFhsQW5TTllzNGxJUT09LS05L0xHQ1FKbklTbXZOYjNIUmQ1ZnZnPT0%3D--07a05f6d5b4a4224cb3e4cc76ff7b1242299b9f5;
101
+ path=/; expires=Wed, 12 Dec 2018 11:52:35 -0000; HttpOnly; SameSite=Lax
118
102
  X-Request-Id:
119
- - 75741f24-0241-4ef1-a428-edb3939612a3
103
+ - c8c68d31-daab-41ff-a8a7-ed312ca8e3f7
120
104
  X-Runtime:
121
- - '0.311295'
105
+ - '0.423748'
122
106
  Vary:
123
107
  - Origin
124
- X-Ratelimit-Limit:
125
- - '10'
126
- X-Ratelimit-Remaining:
127
- - '2'
108
+ X-Rack-Cors:
109
+ - miss; no-origin
128
110
  Content-Security-Policy:
129
111
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
130
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
131
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
132
- ''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;
133
115
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
134
116
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
135
117
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -143,17 +125,9 @@ http_interactions:
143
125
  - none
144
126
  X-Xss-Protection:
145
127
  - 1; mode=block
146
- X-Robots-Tag:
147
- - noindex, nofollow
148
- Strict-Transport-Security:
149
- - max-age=31536000
150
- Via:
151
- - 1.1 google
152
- Alt-Svc:
153
- - clear
154
128
  body:
155
129
  encoding: UTF-8
156
130
  string: ''
157
131
  http_version:
158
- recorded_at: Mon, 09 Oct 2017 14:20:16 GMT
132
+ recorded_at: Tue, 12 Dec 2017 11:52:24 GMT
159
133
  recorded_with: VCR 2.9.3
@@ -8,13 +8,15 @@ http_interactions:
8
8
  string: '{"name":"testOrg"}'
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
- - Basic YWxleCt0ZXN0QGJ1Z3NuYWcuY29tOkNvc21vcG9saXRhblBlYXNlbnQ=
19
+ - Basic QlVHU05BR19VU0VSX0VNQUlMOkJVR1NOQUdfUEFTU1dPUkQ=
18
20
  Accept-Encoding:
19
21
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
22
  Accept:
@@ -24,35 +26,28 @@ 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:20:14 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Etag:
34
- - W/"3f464d130e63840630bbb4521e74b7f1"
32
+ - W/"867f8f8f0d6fbcfa38d9c11d3a027875"
35
33
  Cache-Control:
36
34
  - max-age=0, private, must-revalidate
37
35
  Set-Cookie:
38
- - _bugsnag_session_2=VEUvWHU0dVdUYmpra2Exdjh1K3owOFNWY3BxdUlzRjY4cER0RWo4cFNRR3RaSmdGdlZyd2kwSHBReHZ5bysxcUVLQkVvTU5yTkJiNUxVSE9ESng0RnRoVERmSDdUQUxvTE1VbHFtZ3pGdGFWWUFQUElybVUwR1o4c0Jmemt6Y0hkaGkwMWRDRWNLWEJ2QjNHdnFWdXpPd0M1K3BXazd4bExLUVJ5clJqaFZuTkUyODYxaGpQK2Z1a3lPbkRldVJ2UUowVDQweExZUWdiRWkrbjd5ZEk2QT09LS1qZk8zVDdDb1lXOHBrTlF2a09qajJ3PT0%3D--4948f914359e75c8a82ea5dcb4eea1dc774b2add;
39
- domain=.bugsnag.com; path=/; expires=Tue, 09 Oct 2018 14:20:14 -0000; secure;
40
- HttpOnly; SameSite=Lax
36
+ - _bugsnag_session_2=QkVaREh6ckR0NUZMeDJGVnJCa2JCZWt4SXJhQk5WVGdzL1hlUTN6ZjBWQk1qc2h2bStFYU9YRisvNklEa0lEcCt6MkQ5eEgwSmhHY1ZJOEJDY3VLaXU4YkEvUWtWbk83WVQ4NDhKYythbExkNkNKQ21wYW5ickFESUhmYlI2TmYyenZyZ1prWStka2RxbXlJZkk5aWVmekxGYnpEZUhONWdnS2xxSXVTcjR3dEZBSWlwc2lnd0dlQ2VUNzh4bzRybXczM0ZwZ0VIUE5TT3dOcXBRR3JKZz09LS02aGd2Q3NtTTlod1BiajVzTGNqTDBRPT0%3D--6a987dea0bf51b8d2a46b49c8d732d7ece5b5147;
37
+ path=/; expires=Wed, 12 Dec 2018 11:52:36 -0000; HttpOnly; SameSite=Lax
41
38
  X-Request-Id:
42
- - ba378990-54b2-462c-8d17-4b30c87b0563
39
+ - 9ce59338-0963-4022-b95f-fd6f926b141d
43
40
  X-Runtime:
44
- - '1.166667'
41
+ - '1.001746'
45
42
  Vary:
46
43
  - Origin
47
- X-Ratelimit-Limit:
48
- - '10'
49
- X-Ratelimit-Remaining:
50
- - '5'
44
+ X-Rack-Cors:
45
+ - miss; no-origin
51
46
  Content-Security-Policy:
52
47
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
53
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
54
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
55
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
48
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
49
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
50
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
56
51
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
57
52
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
58
53
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -66,36 +61,30 @@ http_interactions:
66
61
  - none
67
62
  X-Xss-Protection:
68
63
  - 1; mode=block
69
- X-Robots-Tag:
70
- - noindex, nofollow
71
- Strict-Transport-Security:
72
- - max-age=31536000
73
- Via:
74
- - 1.1 google
75
- Alt-Svc:
76
- - clear
77
64
  Transfer-Encoding:
78
65
  - chunked
79
66
  body:
80
- encoding: ASCII-8BIT
81
- string: '{"id":"59db859ec1951b0026d5a31c","name":"testOrg","slug":"testorg-27","creator":{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-10-09T14:20:14.089Z","updated_at":"2017-10-09T14:20:14.187Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-27/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","billing_emails":["BUGSNAG_USER_EMAIL"]}'
67
+ encoding: UTF-8
68
+ string: '{"id":"5a2fc304d1befa003981d5a5","name":"testOrg","slug":"testorg-9","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-12-12T11:52:36.052Z","updated_at":"2017-12-12T11:52:36.164Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-9/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}'
82
69
  http_version:
83
- recorded_at: Mon, 09 Oct 2017 14:20:14 GMT
70
+ recorded_at: Tue, 12 Dec 2017 11:52:25 GMT
84
71
  - request:
85
72
  method: get
86
- uri: https://api.bugsnag.com/organizations/59db859ec1951b0026d5a31c
73
+ uri: https://api.bugsnag.com/organizations/5a2fc304d1befa003981d5a5
87
74
  body:
88
75
  encoding: US-ASCII
89
76
  string: ''
90
77
  headers:
91
78
  User-Agent:
92
- - Bugsnag API Ruby Gem 1.0.3
79
+ - Bugsnag API Ruby Gem 2.0.1
93
80
  Content-Type:
94
81
  - application/json
95
82
  X-Version:
96
83
  - '2'
84
+ X-Bugsnag-Api:
85
+ - 'true'
97
86
  Authorization:
98
- - Basic YWxleCt0ZXN0QGJ1Z3NuYWcuY29tOkNvc21vcG9saXRhblBlYXNlbnQ=
87
+ - Basic QlVHU05BR19VU0VSX0VNQUlMOkJVR1NOQUdfUEFTU1dPUkQ=
99
88
  Accept-Encoding:
100
89
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
101
90
  Accept:
@@ -105,35 +94,28 @@ http_interactions:
105
94
  code: 200
106
95
  message: OK
107
96
  headers:
108
- Server:
109
- - nginx
110
- Date:
111
- - Mon, 09 Oct 2017 14:20:15 GMT
112
97
  Content-Type:
113
98
  - application/json; charset=utf-8
114
99
  Etag:
115
- - W/"3f464d130e63840630bbb4521e74b7f1"
100
+ - W/"867f8f8f0d6fbcfa38d9c11d3a027875"
116
101
  Cache-Control:
117
102
  - max-age=0, private, must-revalidate
118
103
  Set-Cookie:
119
- - _bugsnag_session_2=VXBEMnRuOGpFdTAzL0JLUnp5TVF0L1JCT2k0YmEybjJqdk12QkhyU3F2cDBWUUFVZkthWnpGRXNYQi9la0RRYW9TZHVhUk80MGFLdDNWb3dpOG53NDM3RStCS01FV2krK3J4US9jK0Q2QW5sWHViMkRDMzZWb2R5aGtrNFZsbnQ4Rmw4TWo3Vnh1VTBtelU1NVZuWXFYNnpWTWpCWnJIc3NtOERCUjVXandWVzNxZE9pN2FXbXJaaXlVOVZScFJlamVjNmxienB3dENYREZFUWRNZ3pzUT09LS1OUW9lTFc2YXowK1ZaOTByUkVNRUxnPT0%3D--d8acc37630fc8955d1e230f2c02bc52796090b51;
120
- domain=.bugsnag.com; path=/; expires=Tue, 09 Oct 2018 14:20:15 -0000; secure;
121
- HttpOnly; SameSite=Lax
104
+ - _bugsnag_session_2=aU1BaTlDUnBtRTNMaWtnQnpYK1FEZEo0dTR3N0V1WElEOHVudTJzUHEzSkZ0S3NLNFlOSmRhbEVSZlZuaFpJU3BseFQ2TTJqUVoxdzNCckZjZG5ndmdGR0hQMWdaMmJ6TmJiWTViME5CNXBiQng4eDBKUEdKV1NkSGl5K2hUa3RkcThUN01JNEdLTDNvVFJQKzY0eWtZTDVpYkFzS3hleVpRR2ZvaEZYYVpweml4a005eWpaZFpuUTgrZHVpeTJ3VFEwUEF3TE5uNldSd0hQb1h3YmJiUT09LS1walZCNG1PRGdIeFZIeDFCTXZOWWtnPT0%3D--a6f0a8fd19fe93972da8f4e19212f5e88599979a;
105
+ path=/; expires=Wed, 12 Dec 2018 11:52:36 -0000; HttpOnly; SameSite=Lax
122
106
  X-Request-Id:
123
- - 54bdd096-ce64-405f-babc-9f612c33ecec
107
+ - 93ccdbcf-20a9-4b69-81bc-2d2e824addb5
124
108
  X-Runtime:
125
- - '0.286369'
109
+ - '0.386262'
126
110
  Vary:
127
111
  - Origin
128
- X-Ratelimit-Limit:
129
- - '10'
130
- X-Ratelimit-Remaining:
131
- - '4'
112
+ X-Rack-Cors:
113
+ - miss; no-origin
132
114
  Content-Security-Policy:
133
115
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
134
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
135
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
136
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
116
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
117
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
118
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
137
119
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
138
120
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
139
121
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -147,19 +129,11 @@ http_interactions:
147
129
  - none
148
130
  X-Xss-Protection:
149
131
  - 1; mode=block
150
- X-Robots-Tag:
151
- - noindex, nofollow
152
- Strict-Transport-Security:
153
- - max-age=31536000
154
- Via:
155
- - 1.1 google
156
- Alt-Svc:
157
- - clear
158
132
  Transfer-Encoding:
159
133
  - chunked
160
134
  body:
161
- encoding: ASCII-8BIT
162
- string: '{"id":"59db859ec1951b0026d5a31c","name":"testOrg","slug":"testorg-27","creator":{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-10-09T14:20:14.089Z","updated_at":"2017-10-09T14:20:14.187Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-27/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","billing_emails":["BUGSNAG_USER_EMAIL"]}'
135
+ encoding: UTF-8
136
+ string: '{"id":"5a2fc304d1befa003981d5a5","name":"testOrg","slug":"testorg-9","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-12-12T11:52:36.052Z","updated_at":"2017-12-12T11:52:36.164Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-9/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}'
163
137
  http_version:
164
- recorded_at: Mon, 09 Oct 2017 14:20:14 GMT
138
+ recorded_at: Tue, 12 Dec 2017 11:52:25 GMT
165
139
  recorded_with: VCR 2.9.3
@@ -8,13 +8,15 @@ http_interactions:
8
8
  string: '{"name":"testOrg"}'
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
- - Basic YWxleCt0ZXN0QGJ1Z3NuYWcuY29tOkNvc21vcG9saXRhblBlYXNlbnQ=
19
+ - Basic QlVHU05BR19VU0VSX0VNQUlMOkJVR1NOQUdfUEFTU1dPUkQ=
18
20
  Accept-Encoding:
19
21
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
22
  Accept:
@@ -24,35 +26,28 @@ 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:20:12 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Etag:
34
- - W/"17b9414eb1d84ddffa5eedeff3b3cd81"
32
+ - W/"09dc8d899eb7b4a53ed48923d5d0be37"
35
33
  Cache-Control:
36
34
  - max-age=0, private, must-revalidate
37
35
  Set-Cookie:
38
- - _bugsnag_session_2=Z2VkTncyb2k4RnJMTnBLWmxoMDREU2xnUXdFU085bmdnUUVML1VwVkxaSHo1SFpUSGZLYTFsN1NFajNCVEFDeFZjelRBdDFHbGVldzYyd3BMd0dXTzdUTUNpRlN1WTVvV1BuMUVIZjJQRVdLbnM5dWZvUGpTczJYNGNoa05iSE5pTDIvUkpFZHNUZytjWG5RMDh4cjdFaEdHOXlsQnlEZE9aNnlhbnVWaDlKSHFLRXBxak56emFya2xnVjVBZE9vYitLdFd4RFoxenlFRGQ0djlXMXlSUT09LS1aQnNlS3BOcnpjNnoyekg4WllvREdRPT0%3D--bbfebe0ea64e1eb7d946390823ab623709b9ae8c;
39
- domain=.bugsnag.com; path=/; expires=Tue, 09 Oct 2018 14:20:12 -0000; secure;
40
- HttpOnly; SameSite=Lax
36
+ - _bugsnag_session_2=L1FGcWEwS0wvbVc5aDRLMmpZaVNWRk5CSE92ZkRzRG40bXU1SUFRVHd1Y1JJempDVTdRbDRXRkxMVzhMaHpJTGprQVNhUjFnL3VwSlJmeUVkTHJQV3RXbXhtWktoR3NXQXp4bm1rVmxJNWxzV3NLSTZqV3NJalNoMkFLdU1GbXhJUUNpZDZSTmpaRGYrcDZSbXdvMEZmNjk4NkVrOWhHZ25HMlZxd1E2bFcrdkVaMWJtVlZMWjk5NnRPUGU3ZGdFTzYzcEplQlNsQnVncHRuRCtlckxLQT09LS1mdnVKZVd3NkdPSmVwM1c5eitLUUxBPT0%3D--9e2f57b9429db45998568681122126be171731d0;
37
+ path=/; expires=Wed, 12 Dec 2018 11:52:37 -0000; HttpOnly; SameSite=Lax
41
38
  X-Request-Id:
42
- - 527e0bd2-ac21-420a-8059-3e6f34ebed7d
39
+ - 7da2978a-e5de-41d5-ab93-aa02e4359f5f
43
40
  X-Runtime:
44
- - '1.101822'
41
+ - '0.674558'
45
42
  Vary:
46
43
  - Origin
47
- X-Ratelimit-Limit:
48
- - '10'
49
- X-Ratelimit-Remaining:
50
- - '7'
44
+ X-Rack-Cors:
45
+ - miss; no-origin
51
46
  Content-Security-Policy:
52
47
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
53
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
54
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
55
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
48
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
49
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
50
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
56
51
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
57
52
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
58
53
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -66,36 +61,30 @@ http_interactions:
66
61
  - none
67
62
  X-Xss-Protection:
68
63
  - 1; mode=block
69
- X-Robots-Tag:
70
- - noindex, nofollow
71
- Strict-Transport-Security:
72
- - max-age=31536000
73
- Via:
74
- - 1.1 google
75
- Alt-Svc:
76
- - clear
77
64
  Transfer-Encoding:
78
65
  - chunked
79
66
  body:
80
- encoding: ASCII-8BIT
81
- string: '{"id":"59db859cc1951b0021d5ddc8","name":"testOrg","slug":"testorg-26","creator":{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-10-09T14:20:12.051Z","updated_at":"2017-10-09T14:20:12.149Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-26/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","billing_emails":["BUGSNAG_USER_EMAIL"]}'
67
+ encoding: UTF-8
68
+ string: '{"id":"5a2fc305d1befa003981d5a9","name":"testOrg","slug":"testorg-10","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-12-12T11:52:37.340Z","updated_at":"2017-12-12T11:52:37.425Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-10/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}'
82
69
  http_version:
83
- recorded_at: Mon, 09 Oct 2017 14:20:12 GMT
70
+ recorded_at: Tue, 12 Dec 2017 11:52:26 GMT
84
71
  - request:
85
72
  method: patch
86
- uri: https://api.bugsnag.com/organizations/59db859cc1951b0021d5ddc8
73
+ uri: https://api.bugsnag.com/organizations/5a2fc305d1befa003981d5a9
87
74
  body:
88
75
  encoding: UTF-8
89
76
  string: '{"invoice_address":"test_string","name":"updated_name","auto_upgrade":false}'
90
77
  headers:
91
78
  User-Agent:
92
- - Bugsnag API Ruby Gem 1.0.3
79
+ - Bugsnag API Ruby Gem 2.0.1
93
80
  Content-Type:
94
81
  - application/json
95
82
  X-Version:
96
83
  - '2'
84
+ X-Bugsnag-Api:
85
+ - 'true'
97
86
  Authorization:
98
- - Basic YWxleCt0ZXN0QGJ1Z3NuYWcuY29tOkNvc21vcG9saXRhblBlYXNlbnQ=
87
+ - Basic QlVHU05BR19VU0VSX0VNQUlMOkJVR1NOQUdfUEFTU1dPUkQ=
99
88
  Accept-Encoding:
100
89
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
101
90
  Accept:
@@ -105,35 +94,28 @@ http_interactions:
105
94
  code: 200
106
95
  message: OK
107
96
  headers:
108
- Server:
109
- - nginx
110
- Date:
111
- - Mon, 09 Oct 2017 14:20:13 GMT
112
97
  Content-Type:
113
98
  - application/json; charset=utf-8
114
99
  Etag:
115
- - W/"b6da0f25289ba17971be692b9c264ef5"
100
+ - W/"1cd8c681b73b3b4ce6da6626cb7a11f7"
116
101
  Cache-Control:
117
102
  - max-age=0, private, must-revalidate
118
103
  Set-Cookie:
119
- - _bugsnag_session_2=VnAwZ2dHbit1ZWhwODdLRW1tZzhSNWRNSHM4TTlYSXdwN0VKU1M5TGNJTDNxUnFLaVlhQkdNdlBwQnlZaG5GSVJtcnhZdEduZUh6T3U0OHZrenNYWklpVEdTNXRiWUI3NVh1NmswbHNHOFZxSk5XRUhXWEZFMzcxR1ljZW1aMGR5QXIvOUowVzVEM3ZVTzhlbm5oODJJTXJYZGtydFlaVXI1eU5XclE5WTNKRFd5Z1ZnUXFkcTRzNUQzaHNFUm1TU1J5T3RiOEdUWHJrTE13Ujc2b1c4Zz09LS1lNFNDNWtzQkJ5SnpLdW9pb25Yd0dBPT0%3D--84fa37bd36f2812d3ac6789809743db0b4976c98;
120
- domain=.bugsnag.com; path=/; expires=Tue, 09 Oct 2018 14:20:13 -0000; secure;
121
- HttpOnly; SameSite=Lax
104
+ - _bugsnag_session_2=ZUFnYXNxTkVFb3V2YXVleHBhbTFpZ3NVUnJqc3VsZFhad3ZySlBYTXZxWnByNVpqWXV3TXFuRjRzeldMSGtkeERxekJJN0Z2ZHV6R3BqcHdUeElUenREc0xJdHBNOXhkNjlVamVNaGVmVmJ5ZTRGWXNYTU9SV0JHRGpmSDBJT2xaZzB0UmdDcW5VZlV4TGdJT2xJbXRYRDBPYTFKSEp3eXkvNDNuV0xLMVkxQjVkdm55WmVRanNGS2VGaXI3dFQvNCtoS3JTbkpYaTlZNlJwYXRYVW5vZz09LS12MEt3ZFZuSkRCTGZFRmV4NEw5SFRnPT0%3D--64d22dbfcc3b89974156205693744a62f861f432;
105
+ path=/; expires=Wed, 12 Dec 2018 11:52:38 -0000; HttpOnly; SameSite=Lax
122
106
  X-Request-Id:
123
- - ad380df2-35a8-4115-8805-2409b21ca93a
107
+ - 420ba7c0-a9e7-4e14-a1d3-7b3d6832108c
124
108
  X-Runtime:
125
- - '0.298303'
109
+ - '0.381432'
126
110
  Vary:
127
111
  - Origin
128
- X-Ratelimit-Limit:
129
- - '10'
130
- X-Ratelimit-Remaining:
131
- - '6'
112
+ X-Rack-Cors:
113
+ - miss; no-origin
132
114
  Content-Security-Policy:
133
115
  - 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
134
- connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
135
- https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
136
- ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
116
+ connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
117
+ https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
118
+ img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
137
119
  script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
138
120
  https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
139
121
  https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
@@ -147,19 +129,11 @@ http_interactions:
147
129
  - none
148
130
  X-Xss-Protection:
149
131
  - 1; mode=block
150
- X-Robots-Tag:
151
- - noindex, nofollow
152
- Strict-Transport-Security:
153
- - max-age=31536000
154
- Via:
155
- - 1.1 google
156
- Alt-Svc:
157
- - clear
158
132
  Transfer-Encoding:
159
133
  - chunked
160
134
  body:
161
- encoding: ASCII-8BIT
162
- string: '{"id":"59db859cc1951b0021d5ddc8","name":"updated_name","slug":"updated-name-4","creator":{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-10-09T14:20:12.051Z","updated_at":"2017-10-09T14:20:13.476Z","auto_upgrade":false,"upgrade_url":"https://api.bugsnag.com/settings/updated-name-4/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","billing_emails":["BUGSNAG_USER_EMAIL"]}'
135
+ encoding: UTF-8
136
+ string: '{"id":"5a2fc305d1befa003981d5a9","name":"updated_name","slug":"updated-name-2","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-12-12T11:52:37.340Z","updated_at":"2017-12-12T11:52:38.042Z","auto_upgrade":false,"upgrade_url":"https://api.bugsnag.com/settings/updated-name-2/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}'
163
137
  http_version:
164
- recorded_at: Mon, 09 Oct 2017 14:20:12 GMT
138
+ recorded_at: Tue, 12 Dec 2017 11:52:27 GMT
165
139
  recorded_with: VCR 2.9.3
@@ -8,11 +8,13 @@ http_interactions:
8
8
  string: '{"name":"testProject","type":"other"}'
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:20:04 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Etag:
34
- - W/"4052e7a4703ed04772f8d329b333d2e5"
32
+ - W/"66efaa324eda86c1b0b02ed772ddac86"
35
33
  Cache-Control:
36
34
  - max-age=0, private, must-revalidate
37
35
  X-Request-Id:
38
- - e8c0eba8-fcf0-4b04-ae32-4e1073b8b74d
36
+ - 947a9730-ccc2-403f-8639-fcb6cdf94e89
39
37
  X-Runtime:
40
- - '0.498425'
38
+ - '0.402736'
41
39
  Vary:
42
40
  - Origin
43
- X-Ratelimit-Limit:
44
- - '10'
45
- X-Ratelimit-Remaining:
46
- - '3'
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":"59db8594562ced002210765c","slug":"testproject-21","name":"testProject","api_key":"384434dd535d5358f7386e399ec2007f","type":"other","is_full_view":true,"release_stages":[],"language":null,"created_at":"2017-10-09T14:20:04.766Z","updated_at":"2017-10-09T14:20:04.766Z","errors_url":"https://api.bugsnag.com/projects/59db8594562ced002210765c/errors","events_url":"https://api.bugsnag.com/projects/59db8594562ced002210765c/events","url":"https://api.bugsnag.com/projects/59db8594562ced002210765c","html_url":"https://app.bugsnag.com/testorg-6/testproject-21","open_error_count":0,"collaborators_count":3,"global_grouping":[],"location_grouping":[],"discarded_app_versions":[],"discarded_errors":[],"custom_event_fields_used":0,"resolve_on_deploy":false}'
64
+ encoding: UTF-8
65
+ string: '{"id":"5a2fc37fd1befa003981d5b9","slug":"testproject-9","name":"testProject","api_key":"8d884c18c157b78db019266b277daf9e","type":"other","is_full_view":true,"release_stages":[],"language":null,"created_at":"2017-12-12T11:54:39.227Z","updated_at":"2017-12-12T11:54:39.227Z","errors_url":"https://api.bugsnag.com/projects/5a2fc37fd1befa003981d5b9/errors","events_url":"https://api.bugsnag.com/projects/5a2fc37fd1befa003981d5b9/events","url":"https://api.bugsnag.com/projects/5a2fc37fd1befa003981d5b9","html_url":"https://api.bugsnag.com/bugsnag/testproject-9","open_error_count":0,"collaborators_count":2,"global_grouping":[],"location_grouping":[],"discarded_app_versions":[],"discarded_errors":[],"custom_event_fields_used":0,"resolve_on_deploy":false}'
78
66
  http_version:
79
- recorded_at: Mon, 09 Oct 2017 14:20:04 GMT
67
+ recorded_at: Tue, 12 Dec 2017 11:54:28 GMT
80
68
  recorded_with: VCR 2.9.3