bugsnag 6.9.0 → 6.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/Gemfile +0 -1
  4. data/VERSION +1 -1
  5. data/features/delayed_job.feature +9 -10
  6. data/features/fixtures/delayed_job/Dockerfile +2 -2
  7. data/features/fixtures/delayed_job/app/config/initializers/bugsnag.rb +12 -12
  8. data/features/fixtures/docker-compose.yml +118 -124
  9. data/features/fixtures/plain/Dockerfile +5 -6
  10. data/features/fixtures/plain/app/Gemfile +1 -1
  11. data/features/fixtures/plain/app/app.rb +19 -19
  12. data/features/fixtures/plain/app/configuration/api_key.rb +1 -1
  13. data/features/fixtures/plain/app/stack_frame_modification/initiators/handled_before_notify.rb +5 -1
  14. data/features/fixtures/rack1/Dockerfile +7 -6
  15. data/features/fixtures/rack1/Gemfile +1 -1
  16. data/features/fixtures/rack2/Dockerfile +7 -6
  17. data/features/fixtures/rack2/Gemfile +1 -1
  18. data/features/fixtures/rails3/Dockerfile +5 -6
  19. data/features/fixtures/rails3/app/Gemfile +1 -1
  20. data/features/fixtures/rails3/app/config/initializers/bugsnag.rb +12 -12
  21. data/features/fixtures/rails4/Dockerfile +7 -5
  22. data/features/fixtures/rails4/app/Gemfile +1 -1
  23. data/features/fixtures/rails4/app/config/initializers/bugsnag.rb +12 -12
  24. data/features/fixtures/rails5/Dockerfile +5 -6
  25. data/features/fixtures/rails5/app/Gemfile +1 -1
  26. data/features/fixtures/rails5/app/config/initializers/bugsnag.rb +12 -12
  27. data/features/fixtures/resque/Dockerfile +6 -5
  28. data/features/fixtures/resque/Gemfile +1 -1
  29. data/features/fixtures/sidekiq/Dockerfile +4 -2
  30. data/features/fixtures/sidekiq/app/Gemfile +3 -1
  31. data/features/fixtures/sidekiq/app/app.rb +4 -4
  32. data/features/fixtures/sinatra1/Dockerfile +6 -5
  33. data/features/fixtures/sinatra1/Gemfile +1 -1
  34. data/features/fixtures/sinatra2/Dockerfile +6 -5
  35. data/features/fixtures/sinatra2/Gemfile +1 -1
  36. data/features/plain_features/add_tab.feature +15 -17
  37. data/features/plain_features/api_key.feature +2 -3
  38. data/features/plain_features/app_type.feature +3 -5
  39. data/features/plain_features/app_version.feature +3 -5
  40. data/features/plain_features/auto_notify.feature +1 -3
  41. data/features/plain_features/delivery.feature +3 -5
  42. data/features/plain_features/exception_data.feature +4 -6
  43. data/features/plain_features/filters.feature +4 -6
  44. data/features/plain_features/handled_errors.feature +48 -30
  45. data/features/plain_features/ignore_classes.feature +0 -2
  46. data/features/plain_features/ignore_report.feature +0 -2
  47. data/features/plain_features/proxies.feature +4 -6
  48. data/features/plain_features/release_stages.feature +8 -10
  49. data/features/plain_features/report_api_key.feature +1 -3
  50. data/features/plain_features/report_severity.feature +3 -5
  51. data/features/plain_features/report_stack_frames.feature +54 -21
  52. data/features/plain_features/report_user.feature +10 -12
  53. data/features/plain_features/unhandled_errors.feature +4 -6
  54. data/features/rails_features/api_key.feature +3 -3
  55. data/features/rails_features/app_type.feature +4 -4
  56. data/features/rails_features/app_version.feature +2 -2
  57. data/features/rails_features/auto_capture_sessions.feature +4 -4
  58. data/features/rails_features/auto_notify.feature +5 -5
  59. data/features/rails_features/before_notify.feature +4 -4
  60. data/features/rails_features/handled.feature +6 -6
  61. data/features/rails_features/ignore_classes.feature +2 -2
  62. data/features/rails_features/meta_data_filters.feature +2 -2
  63. data/features/rails_features/project_root.feature +8 -8
  64. data/features/rails_features/release_stage.feature +2 -2
  65. data/features/rails_features/send_code.feature +2 -2
  66. data/features/rails_features/send_environment.feature +3 -3
  67. data/features/rails_features/unhandled.feature +4 -4
  68. data/features/rails_features/user_info.feature +4 -4
  69. data/features/sidekiq.feature +9 -10
  70. data/features/steps/ruby_notifier_steps.rb +6 -25
  71. data/features/support/env.rb +18 -9
  72. data/lib/bugsnag/configuration.rb +3 -3
  73. data/lib/bugsnag/integrations/mailman.rb +0 -1
  74. data/lib/bugsnag/integrations/shoryuken.rb +6 -8
  75. data/lib/bugsnag/integrations/sidekiq.rb +14 -11
  76. data/lib/bugsnag/stacktrace.rb +1 -2
  77. data/spec/configuration_spec.rb +1 -1
  78. data/spec/integrations/sidekiq_spec.rb +73 -7
  79. data/spec/report_spec.rb +62 -20
  80. data/spec/spec_helper.rb +1 -1
  81. data/spec/stacktrace_spec.rb +20 -16
  82. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 605acdc244d830e20748ce790d64b0f74b1fea4c33f7ba65df14d51e632ed035
4
- data.tar.gz: eda01aab79404d506323aca686fdcaa808a285162c15e860e27d4ba61ca845b2
3
+ metadata.gz: ce226017ad134f5f882d4c5cd347871e04daac3270d032db298de2b23a5abc97
4
+ data.tar.gz: a5b2a379fafe7bd51b8d2d8ca762ccda6f19ac5beb1b9d6ac607fd85e8768a2f
5
5
  SHA512:
6
- metadata.gz: 0ab2e74a4cd3d7add6be58a22c2eefc366d6ee97791bf8a81c4cba32e847dd4bf6397704322264861d64c745a1c0b52aab2adc4964814ccc33e943d153776066
7
- data.tar.gz: 2941712b666e84a6c93dcbaa5ddb38d433d57138af6f06eac7ba6500e3d5a6cce989e1560a9780b6a222cf41b2b5d7c30777381060458ed5632ed95b7a5e5c6c
6
+ metadata.gz: f94232a1d4f0c98df012d75ff19b02bfaf0133b3cc93b4e0b0285e9455ce52e40bb94b5f7cd1742841777f24ccfb0a7a01cc7756e618a4693675bad8e5dc378d
7
+ data.tar.gz: d9840980489c43a139d92e9573be4eb5ba36c34d1a4b79874fc96176d1d1ab20ba4d1fd2c179d92ae08645276543a899b41e9ce3e62520d9ca7a0292c140ab17
@@ -1,6 +1,22 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## 6.10.0 (05 Dec 2018)
5
+
6
+ ### Enhancements
7
+
8
+ * Add SignalException to our default ignored classes
9
+ | [#479](https://github.com/bugsnag/bugsnag-ruby/pull/479)
10
+ | [Toby Hsieh](https://github.com/tobyhs)
11
+
12
+ * Include Bugsnag frames, marked out of project
13
+ | [#497](https://github.com/bugsnag/bugsnag-ruby/pull/497)
14
+
15
+ ### Fixes
16
+
17
+ * Ensure Sidekiq request data is always attached to notifications
18
+ | [#495](https://github.com/bugsnag/bugsnag-ruby/pull/495)
19
+
4
20
  ## 6.9.0 (12 Nov 2018)
5
21
 
6
22
  ### Enhancements
data/Gemfile CHANGED
@@ -30,7 +30,6 @@ end
30
30
 
31
31
  group :maze, optional: true do
32
32
  gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner' if RUBY_VERSION >= '2.0.0'
33
- gem 'os'
34
33
  end
35
34
 
36
35
  gemspec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.9.0
1
+ 6.10.0
@@ -2,7 +2,6 @@ Feature: Bugsnag detects errors in Delayed job workers
2
2
 
3
3
  Background:
4
4
  Given I set environment variable "BUGSNAG_API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
5
- And I set environment variable "MAZE_API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
6
5
  And I configure the bugsnag endpoint
7
6
 
8
7
  Scenario: An unhandled RuntimeError sends a report with arguments
@@ -11,14 +10,14 @@ Scenario: An unhandled RuntimeError sends a report with arguments
11
10
  And I run the command "bundle exec rails runner 'TestModel.delay.fail_with_args(\"Test\")'" on the service "delayed_job"
12
11
  And I wait for 5 seconds
13
12
  Then I should receive a request
14
- And the request used the Ruby notifier
13
+ And the request used the "Ruby Bugsnag Notifier" notifier
15
14
  And the request used payload v4 headers
16
15
  And the request contained the api key "a35a2a72bd230ac0aa0f52715bbdc6aa"
17
16
  And the event "unhandled" is true
18
- And the event "severity" is "error"
19
- And the event "context" is "TestModel.fail_with_args"
20
- And the event "severityReason.type" is "unhandledExceptionMiddleware"
21
- And the event "severityReason.attributes.framework" is "DelayedJob"
17
+ And the event "severity" equals "error"
18
+ And the event "context" equals "TestModel.fail_with_args"
19
+ And the event "severityReason.type" equals "unhandledExceptionMiddleware"
20
+ And the event "severityReason.attributes.framework" equals "DelayedJob"
22
21
  And the exception "errorClass" equals "RuntimeError"
23
22
  And the event "metaData.job.class" equals "Delayed::Backend::ActiveRecord::Job"
24
23
  And the event "metaData.job.id" is not null
@@ -35,13 +34,13 @@ Scenario: A handled exception sends a report
35
34
  And I run the command "bundle exec rails runner 'TestModel.delay.notify_with_args(\"Test\")'" on the service "delayed_job"
36
35
  And I wait for 5 seconds
37
36
  Then I should receive a request
38
- And the request used the Ruby notifier
37
+ And the request used the "Ruby Bugsnag Notifier" notifier
39
38
  And the request used payload v4 headers
40
39
  And the request contained the api key "a35a2a72bd230ac0aa0f52715bbdc6aa"
41
40
  And the event "unhandled" is false
42
- And the event "severity" is "warning"
43
- And the event "context" is "TestModel.notify_with_args"
44
- And the event "severityReason.type" is "handledException"
41
+ And the event "severity" equals "warning"
42
+ And the event "context" equals "TestModel.notify_with_args"
43
+ And the event "severityReason.type" equals "handledException"
45
44
  And the exception "errorClass" equals "RuntimeError"
46
45
  And the event "metaData.job.class" equals "Delayed::Backend::ActiveRecord::Job"
47
46
  And the event "metaData.job.id" is not null
@@ -1,5 +1,5 @@
1
- ARG ruby_version
2
- FROM ruby:$ruby_version
1
+ ARG RUBY_VERSION
2
+ FROM ruby:$RUBY_VERSION
3
3
 
4
4
  WORKDIR /bugsnag
5
5
  COPY temp-bugsnag-lib ./
@@ -1,14 +1,14 @@
1
1
  Bugsnag.configure do |config|
2
- config.api_key = ENV["BUGSNAG_API_KEY"] || ENV["MAZE_API_KEY"]
3
- config.endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["MAZE_ENDPOINT"]
4
- config.session_endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["MAZE_ENDPOINT"]
5
- config.app_type = ENV["MAZE_APP_TYPE"] if ENV.include? "MAZE_APP_TYPE"
6
- config.app_version = ENV["MAZE_APP_VERSION"] if ENV.include? "MAZE_APP_VERSION"
7
- config.auto_notify = ENV["MAZE_AUTO_NOTIFY"] != "false"
8
- config.project_root = ENV["MAZE_PROJECT_ROOT"] if ENV.include? "MAZE_PROJECT_ROOT"
9
- config.ignore_classes << lambda { |ex| ex.class.to_s == ENV["MAZE_IGNORE_CLASS"] } if ENV.include? "MAZE_IGNORE_CLASS"
10
- config.auto_capture_sessions = ENV["MAZE_AUTO_CAPTURE_SESSIONS"] == "true"
11
- config.release_stage = ENV["MAZE_RELEASE_STAGE"] if ENV.include? "MAZE_RELEASE_STAGE"
12
- config.send_code = ENV["MAZE_SEND_CODE"] != "false"
13
- config.send_environment = ENV["MAZE_SEND_ENVIRONMENT"] == "true"
2
+ config.api_key = ENV["BUGSNAG_API_KEY"] || ENV["BUGSNAG_API_KEY"]
3
+ config.endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["BUGSNAG_ENDPOINT"]
4
+ config.session_endpoint = ENV["BUGSNAG_ENDPOINT"] || ENV["BUGSNAG_ENDPOINT"]
5
+ config.app_type = ENV["BUGSNAG_APP_TYPE"] if ENV.include? "BUGSNAG_APP_TYPE"
6
+ config.app_version = ENV["BUGSNAG_APP_VERSION"] if ENV.include? "BUGSNAG_APP_VERSION"
7
+ config.auto_notify = ENV["BUGSNAG_AUTO_NOTIFY"] != "false"
8
+ config.project_root = ENV["BUGSNAG_PROJECT_ROOT"] if ENV.include? "BUGSNAG_PROJECT_ROOT"
9
+ config.ignore_classes << lambda { |ex| ex.class.to_s == ENV["BUGSNAG_IGNORE_CLASS"] } if ENV.include? "BUGSNAG_IGNORE_CLASS"
10
+ config.auto_capture_sessions = ENV["BUGSNAG_AUTO_CAPTURE_SESSIONS"] == "true"
11
+ config.release_stage = ENV["BUGSNAG_RELEASE_STAGE"] if ENV.include? "BUGSNAG_RELEASE_STAGE"
12
+ config.send_code = ENV["BUGSNAG_SEND_CODE"] != "false"
13
+ config.send_environment = ENV["BUGSNAG_SEND_ENVIRONMENT"] == "true"
14
14
  end
@@ -14,26 +14,25 @@ services:
14
14
  - BUGSNAG_API_KEY
15
15
  - http_proxy
16
16
  - https_proxy
17
- - MAZE_API_KEY
18
- - MAZE_APP_TYPE
19
- - MAZE_APP_VERSION
20
- - MAZE_AUTO_CAPTURE_SESSIONS
21
- - MAZE_AUTO_NOTIFY
22
- - MAZE_ENDPOINT
23
- - MAZE_IGNORE_CLASS
24
- - MAZE_IGNORE_MESSAGE
25
- - MAZE_META_DATA_FILTERS
26
- - MAZE_NOTIFY_RELEASE_STAGE
27
- - MAZE_PROJECT_ROOT
28
- - MAZE_PROXY_HOST
29
- - MAZE_PROXY_PASSWORD
30
- - MAZE_PROXY_PORT
31
- - MAZE_PROXY_USER
32
- - MAZE_RELEASE_STAGE
33
- - MAZE_SEND_CODE
34
- - MAZE_SEND_ENVIRONMENT
35
- - MAZE_SESSION_ENDPOINT
36
- - MAZE_TIMEOUT
17
+ - BUGSNAG_APP_TYPE
18
+ - BUGSNAG_APP_VERSION
19
+ - BUGSNAG_AUTO_CAPTURE_SESSIONS
20
+ - BUGSNAG_AUTO_NOTIFY
21
+ - BUGSNAG_ENDPOINT
22
+ - BUGSNAG_IGNORE_CLASS
23
+ - BUGSNAG_IGNORE_MESSAGE
24
+ - BUGSNAG_META_DATA_FILTERS
25
+ - BUGSNAG_NOTIFY_RELEASE_STAGE
26
+ - BUGSNAG_PROJECT_ROOT
27
+ - BUGSNAG_PROXY_HOST
28
+ - BUGSNAG_PROXY_PASSWORD
29
+ - BUGSNAG_PROXY_PORT
30
+ - BUGSNAG_PROXY_USER
31
+ - BUGSNAG_RELEASE_STAGE
32
+ - BUGSNAG_SEND_CODE
33
+ - BUGSNAG_SEND_ENVIRONMENT
34
+ - BUGSNAG_SESSION_ENDPOINT
35
+ - BUGSNAG_TIMEOUT
37
36
  - CALLBACK_INITIATOR
38
37
  restart: "no"
39
38
 
@@ -41,30 +40,29 @@ services:
41
40
  build:
42
41
  context: delayed_job
43
42
  args:
44
- ruby_version: 2.5
43
+ RUBY_VERSION: 2.5
45
44
  environment:
46
45
  - BUGSNAG_API_KEY
47
46
  - http_proxy
48
- - MAZE_API_KEY
49
- - MAZE_APP_TYPE
50
- - MAZE_APP_VERSION
51
- - MAZE_AUTO_CAPTURE_SESSIONS
52
- - MAZE_AUTO_NOTIFY
47
+ - BUGSNAG_APP_TYPE
48
+ - BUGSNAG_APP_VERSION
49
+ - BUGSNAG_AUTO_CAPTURE_SESSIONS
50
+ - BUGSNAG_AUTO_NOTIFY
53
51
  - BUGSNAG_ENDPOINT
54
- - MAZE_IGNORE_CLASS
55
- - MAZE_IGNORE_MESSAGE
56
- - MAZE_META_DATA_FILTERS
57
- - MAZE_NOTIFY_RELEASE_STAGE
58
- - MAZE_PROJECT_ROOT
59
- - MAZE_PROXY_HOST
60
- - MAZE_PROXY_PASSWORD
61
- - MAZE_PROXY_PORT
62
- - MAZE_PROXY_USER
63
- - MAZE_RELEASE_STAGE
64
- - MAZE_SEND_CODE
65
- - MAZE_SEND_ENVIRONMENT
66
- - MAZE_SESSION_ENDPOINT
67
- - MAZE_TIMEOUT
52
+ - BUGSNAG_IGNORE_CLASS
53
+ - BUGSNAG_IGNORE_MESSAGE
54
+ - BUGSNAG_META_DATA_FILTERS
55
+ - BUGSNAG_NOTIFY_RELEASE_STAGE
56
+ - BUGSNAG_PROJECT_ROOT
57
+ - BUGSNAG_PROXY_HOST
58
+ - BUGSNAG_PROXY_PASSWORD
59
+ - BUGSNAG_PROXY_PORT
60
+ - BUGSNAG_PROXY_USER
61
+ - BUGSNAG_RELEASE_STAGE
62
+ - BUGSNAG_SEND_CODE
63
+ - BUGSNAG_SEND_ENVIRONMENT
64
+ - BUGSNAG_SESSION_ENDPOINT
65
+ - BUGSNAG_TIMEOUT
68
66
  - CALLBACK_INITIATOR
69
67
  restart: "no"
70
68
 
@@ -72,7 +70,7 @@ services:
72
70
  build:
73
71
  context: rack1
74
72
  args:
75
- - ruby_version
73
+ - RUBY_VERSION
76
74
  environment:
77
75
  - endpoint
78
76
  ports:
@@ -82,7 +80,7 @@ services:
82
80
  build:
83
81
  context: rack2
84
82
  args:
85
- - ruby_version
83
+ - RUBY_VERSION
86
84
  environment:
87
85
  - endpoint
88
86
  ports:
@@ -99,26 +97,25 @@ services:
99
97
  - BUGSNAG_API_KEY
100
98
  - http_proxy
101
99
  - RAILS_ENV
102
- - MAZE_API_KEY
103
- - MAZE_APP_TYPE
104
- - MAZE_APP_VERSION
105
- - MAZE_AUTO_CAPTURE_SESSIONS
106
- - MAZE_AUTO_NOTIFY
107
- - MAZE_ENDPOINT
108
- - MAZE_IGNORE_CLASS
109
- - MAZE_IGNORE_MESSAGE
110
- - MAZE_META_DATA_FILTERS
111
- - MAZE_NOTIFY_RELEASE_STAGE
112
- - MAZE_PROJECT_ROOT
113
- - MAZE_PROXY_HOST
114
- - MAZE_PROXY_PASSWORD
115
- - MAZE_PROXY_PORT
116
- - MAZE_PROXY_USER
117
- - MAZE_RELEASE_STAGE
118
- - MAZE_SEND_CODE
119
- - MAZE_SEND_ENVIRONMENT
120
- - MAZE_SESSION_ENDPOINT
121
- - MAZE_TIMEOUT
100
+ - BUGSNAG_APP_TYPE
101
+ - BUGSNAG_APP_VERSION
102
+ - BUGSNAG_AUTO_CAPTURE_SESSIONS
103
+ - BUGSNAG_AUTO_NOTIFY
104
+ - BUGSNAG_ENDPOINT
105
+ - BUGSNAG_IGNORE_CLASS
106
+ - BUGSNAG_IGNORE_MESSAGE
107
+ - BUGSNAG_META_DATA_FILTERS
108
+ - BUGSNAG_NOTIFY_RELEASE_STAGE
109
+ - BUGSNAG_PROJECT_ROOT
110
+ - BUGSNAG_PROXY_HOST
111
+ - BUGSNAG_PROXY_PASSWORD
112
+ - BUGSNAG_PROXY_PORT
113
+ - BUGSNAG_PROXY_USER
114
+ - BUGSNAG_RELEASE_STAGE
115
+ - BUGSNAG_SEND_CODE
116
+ - BUGSNAG_SEND_ENVIRONMENT
117
+ - BUGSNAG_SESSION_ENDPOINT
118
+ - BUGSNAG_TIMEOUT
122
119
  - CALLBACK_INITIATOR
123
120
  ports:
124
121
  - target: 3000
@@ -135,26 +132,25 @@ services:
135
132
  - BUGSNAG_API_KEY
136
133
  - http_proxy
137
134
  - RAILS_ENV
138
- - MAZE_API_KEY
139
- - MAZE_APP_TYPE
140
- - MAZE_APP_VERSION
141
- - MAZE_AUTO_CAPTURE_SESSIONS
142
- - MAZE_AUTO_NOTIFY
143
- - MAZE_ENDPOINT
144
- - MAZE_IGNORE_CLASS
145
- - MAZE_IGNORE_MESSAGE
146
- - MAZE_META_DATA_FILTERS
147
- - MAZE_NOTIFY_RELEASE_STAGE
148
- - MAZE_PROJECT_ROOT
149
- - MAZE_PROXY_HOST
150
- - MAZE_PROXY_PASSWORD
151
- - MAZE_PROXY_PORT
152
- - MAZE_PROXY_USER
153
- - MAZE_RELEASE_STAGE
154
- - MAZE_SEND_CODE
155
- - MAZE_SEND_ENVIRONMENT
156
- - MAZE_SESSION_ENDPOINT
157
- - MAZE_TIMEOUT
135
+ - BUGSNAG_APP_TYPE
136
+ - BUGSNAG_APP_VERSION
137
+ - BUGSNAG_AUTO_CAPTURE_SESSIONS
138
+ - BUGSNAG_AUTO_NOTIFY
139
+ - BUGSNAG_ENDPOINT
140
+ - BUGSNAG_IGNORE_CLASS
141
+ - BUGSNAG_IGNORE_MESSAGE
142
+ - BUGSNAG_META_DATA_FILTERS
143
+ - BUGSNAG_NOTIFY_RELEASE_STAGE
144
+ - BUGSNAG_PROJECT_ROOT
145
+ - BUGSNAG_PROXY_HOST
146
+ - BUGSNAG_PROXY_PASSWORD
147
+ - BUGSNAG_PROXY_PORT
148
+ - BUGSNAG_PROXY_USER
149
+ - BUGSNAG_RELEASE_STAGE
150
+ - BUGSNAG_SEND_CODE
151
+ - BUGSNAG_SEND_ENVIRONMENT
152
+ - BUGSNAG_SESSION_ENDPOINT
153
+ - BUGSNAG_TIMEOUT
158
154
  - CALLBACK_INITIATOR
159
155
  ports:
160
156
  - target: 3000
@@ -171,26 +167,25 @@ services:
171
167
  - BUGSNAG_API_KEY
172
168
  - http_proxy
173
169
  - RAILS_ENV
174
- - MAZE_API_KEY
175
- - MAZE_APP_TYPE
176
- - MAZE_APP_VERSION
177
- - MAZE_AUTO_CAPTURE_SESSIONS
178
- - MAZE_AUTO_NOTIFY
179
- - MAZE_ENDPOINT
180
- - MAZE_IGNORE_CLASS
181
- - MAZE_IGNORE_MESSAGE
182
- - MAZE_META_DATA_FILTERS
183
- - MAZE_NOTIFY_RELEASE_STAGE
184
- - MAZE_PROJECT_ROOT
185
- - MAZE_PROXY_HOST
186
- - MAZE_PROXY_PASSWORD
187
- - MAZE_PROXY_PORT
188
- - MAZE_PROXY_USER
189
- - MAZE_RELEASE_STAGE
190
- - MAZE_SEND_CODE
191
- - MAZE_SEND_ENVIRONMENT
192
- - MAZE_SESSION_ENDPOINT
193
- - MAZE_TIMEOUT
170
+ - BUGSNAG_APP_TYPE
171
+ - BUGSNAG_APP_VERSION
172
+ - BUGSNAG_AUTO_CAPTURE_SESSIONS
173
+ - BUGSNAG_AUTO_NOTIFY
174
+ - BUGSNAG_ENDPOINT
175
+ - BUGSNAG_IGNORE_CLASS
176
+ - BUGSNAG_IGNORE_MESSAGE
177
+ - BUGSNAG_META_DATA_FILTERS
178
+ - BUGSNAG_NOTIFY_RELEASE_STAGE
179
+ - BUGSNAG_PROJECT_ROOT
180
+ - BUGSNAG_PROXY_HOST
181
+ - BUGSNAG_PROXY_PASSWORD
182
+ - BUGSNAG_PROXY_PORT
183
+ - BUGSNAG_PROXY_USER
184
+ - BUGSNAG_RELEASE_STAGE
185
+ - BUGSNAG_SEND_CODE
186
+ - BUGSNAG_SEND_ENVIRONMENT
187
+ - BUGSNAG_SESSION_ENDPOINT
188
+ - BUGSNAG_TIMEOUT
194
189
  - CALLBACK_INITIATOR
195
190
  ports:
196
191
  - target: 3000
@@ -221,26 +216,25 @@ services:
221
216
  environment:
222
217
  - BUGSNAG_API_KEY
223
218
  - http_proxy
224
- - MAZE_API_KEY
225
- - MAZE_APP_TYPE
226
- - MAZE_APP_VERSION
227
- - MAZE_AUTO_CAPTURE_SESSIONS
228
- - MAZE_AUTO_NOTIFY
229
- - MAZE_ENDPOINT
230
- - MAZE_IGNORE_CLASS
231
- - MAZE_IGNORE_MESSAGE
232
- - MAZE_META_DATA_FILTERS
233
- - MAZE_NOTIFY_RELEASE_STAGE
234
- - MAZE_PROJECT_ROOT
235
- - MAZE_PROXY_HOST
236
- - MAZE_PROXY_PASSWORD
237
- - MAZE_PROXY_PORT
238
- - MAZE_PROXY_USER
239
- - MAZE_RELEASE_STAGE
240
- - MAZE_SEND_CODE
241
- - MAZE_SEND_ENVIRONMENT
242
- - MAZE_SESSION_ENDPOINT
243
- - MAZE_TIMEOUT
219
+ - BUGSNAG_APP_TYPE
220
+ - BUGSNAG_APP_VERSION
221
+ - BUGSNAG_AUTO_CAPTURE_SESSIONS
222
+ - BUGSNAG_AUTO_NOTIFY
223
+ - BUGSNAG_ENDPOINT
224
+ - BUGSNAG_IGNORE_CLASS
225
+ - BUGSNAG_IGNORE_MESSAGE
226
+ - BUGSNAG_META_DATA_FILTERS
227
+ - BUGSNAG_NOTIFY_RELEASE_STAGE
228
+ - BUGSNAG_PROJECT_ROOT
229
+ - BUGSNAG_PROXY_HOST
230
+ - BUGSNAG_PROXY_PASSWORD
231
+ - BUGSNAG_PROXY_PORT
232
+ - BUGSNAG_PROXY_USER
233
+ - BUGSNAG_RELEASE_STAGE
234
+ - BUGSNAG_SEND_CODE
235
+ - BUGSNAG_SEND_ENVIRONMENT
236
+ - BUGSNAG_SESSION_ENDPOINT
237
+ - BUGSNAG_TIMEOUT
244
238
  - CALLBACK_INITIATOR
245
239
  restart: "no"
246
240
 
@@ -248,7 +242,7 @@ services:
248
242
  build:
249
243
  context: sinatra1
250
244
  args:
251
- - ruby_version
245
+ - RUBY_VERSION
252
246
  environment:
253
247
  - endpoint
254
248
  ports:
@@ -259,7 +253,7 @@ services:
259
253
  build:
260
254
  context: sinatra2
261
255
  args:
262
- - ruby_version
256
+ - RUBY_VERSION
263
257
  environment:
264
258
  - endpoint
265
259
  ports:
@@ -1,12 +1,11 @@
1
1
  ARG RUBY_VERSION
2
2
  FROM ruby:$RUBY_VERSION
3
3
 
4
- ARG APP_PATH
4
+ WORKDIR /bugsnag
5
+ COPY temp-bugsnag-lib ./
5
6
 
6
- RUN mkdir -p $APP_PATH
7
- WORKDIR $APP_PATH
8
-
9
- COPY app/Gemfile $APP_PATH
7
+ WORKDIR /usr/src/app
8
+ COPY app/Gemfile /usr/src/app/
10
9
  RUN bundle install
11
10
 
12
- COPY app $APP_PATH
11
+ COPY app/ /usr/src/app