Skip to content

Commit

Permalink
Add Ruby loader and DSL config sources
Browse files Browse the repository at this point in the history
The Ruby gem will report new config sources.
Also reorder the sources in the order of priority (highest last).
  • Loading branch information
tombruijn committed Aug 7, 2024
1 parent e012462 commit aad3162
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ruby/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../../../..
specs:
appsignal (3.12.0)
appsignal (3.12.6)
rack

GEM
Expand Down
20 changes: 11 additions & 9 deletions spec/diagnose_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -779,21 +779,23 @@
"send_session_data" => true,
"sidekiq_report_errors" => "all"
},
"env" => {
"endpoint" => ENV.fetch("APPSIGNAL_PUSH_API_ENDPOINT", nil),
"push_api_key" => "test"
"system" => {
"active" => true
},
"loaders" => {},
"initial" => {
"env" => "development"
},
"file" => {
"enable_minutely_probes" => false,
"name" => "DiagnoseTests"
},
"initial" => {
"env" => "development"
},
"system" => {
"active" => true
"env" => {
"endpoint" => ENV.fetch("APPSIGNAL_PUSH_API_ENDPOINT", nil),
"push_api_key" => "test"
},
"override" => {}
"override" => {},
"dsl" => {}
}
when :elixir
{
Expand Down

0 comments on commit aad3162

Please sign in to comment.