Skip to content

Commit

Permalink
Remove deprecate Ruby gem options
Browse files Browse the repository at this point in the history
Remove these options in preparation of the Ruby gem 4 release.
  • Loading branch information
tombruijn committed Jul 23, 2024
1 parent 7acb6e7 commit 13d26a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 25 deletions.
4 changes: 2 additions & 2 deletions ruby/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PATH
remote: ../../../..
specs:
appsignal (3.9.2)
appsignal (3.12.0)
rack

GEM
remote: https://rubygems.org/
specs:
rack (3.1.5)
rack (3.1.7)

PLATFORMS
ruby
Expand Down
31 changes: 8 additions & 23 deletions spec/diagnose_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@
/ active: true \(Loaded from: system\)/,
/ activejob_report_errors: "all"/,
%r{ ca_file_path: ".+/appsignal[-/]ruby/resources/cacert.pem"},
/ debug: false/,
" dns_servers: []",
/ enable_allocation_tracking: true/,
/ enable_gvl_global_timer: true/,
Expand Down Expand Up @@ -416,7 +415,6 @@
/ send_params: true/,
/ send_session_data: true/,
/ sidekiq_report_errors: "all"/,
/ transaction_debug_mode: false/,
"",
/Configuration modifiers/,
/ APPSIGNAL_INACTIVE_ON_CONFIG_FILE_ERROR: ""/
Expand Down Expand Up @@ -508,8 +506,7 @@
/ send_environment_metadata: true/,
/ send_params: true/,
/ send_session_data: true/,
/ skip_session_data: false/,
/ transaction_debug_mode: false/
/ skip_session_data: false/
]
when :python
matchers += [
Expand Down Expand Up @@ -554,7 +551,6 @@
"active" => true,
"activejob_report_errors" => "all",
"ca_file_path" => matching(%r{.+/appsignal[-/]ruby/resources/cacert\.pem$}),
"debug" => false,
"dns_servers" => [],
"enable_allocation_tracking" => true,
"enable_gvl_global_timer" => true,
Expand Down Expand Up @@ -602,14 +598,12 @@
"send_environment_metadata" => true,
"send_params" => true,
"send_session_data" => true,
"sidekiq_report_errors" => "all",
"transaction_debug_mode" => false
"sidekiq_report_errors" => "all"
}
when :elixir
{
"active" => true,
"ca_file_path" => ending_with("priv/cacert.pem"),
"debug" => false,
"diagnose_endpoint" => ENV.fetch("APPSIGNAL_DIAGNOSE_ENDPOINT", nil),
"dns_servers" => [],
"enable_error_backend" => true,
Expand Down Expand Up @@ -649,8 +643,7 @@
"send_environment_metadata" => true,
"send_params" => true,
"send_session_data" => true,
"skip_session_data" => false,
"transaction_debug_mode" => false
"skip_session_data" => false
}
when :nodejs
{
Expand Down Expand Up @@ -740,7 +733,6 @@
"default" => {
"activejob_report_errors" => "all",
"ca_file_path" => matching(%r{.+/appsignal[-/]ruby/resources/cacert\.pem$}),
"debug" => false,
"dns_servers" => [],
"enable_allocation_tracking" => true,
"enable_gvl_global_timer" => true,
Expand Down Expand Up @@ -784,8 +776,8 @@
],
"send_environment_metadata" => true,
"send_params" => true,
"sidekiq_report_errors" => "all",
"transaction_debug_mode" => false
"send_session_data" => true,
"sidekiq_report_errors" => "all"
},
"env" => {
"endpoint" => ENV.fetch("APPSIGNAL_PUSH_API_ENDPOINT", nil),
Expand All @@ -801,16 +793,13 @@
"system" => {
"active" => true
},
"override" => {
"send_session_data" => true
}
"override" => {}
}
when :elixir
{
"default" => {
"active" => false,
"ca_file_path" => ending_with("priv/cacert.pem"),
"debug" => false,
"diagnose_endpoint" => "https://appsignal.com/diag",
"dns_servers" => [],
"enable_error_backend" => true,
Expand Down Expand Up @@ -846,8 +835,7 @@
"range"
],
"send_environment_metadata" => true,
"send_params" => true,
"transaction_debug_mode" => false
"send_params" => true
},
"env" => {
"endpoint" => ENV.fetch("APPSIGNAL_PUSH_API_ENDPOINT", nil),
Expand All @@ -861,10 +849,7 @@
"system" => {
"active" => true
},
"override" => {
"send_session_data" => true,
"skip_session_data" => false
}
"override" => {}
}
when :nodejs
{
Expand Down

0 comments on commit 13d26a7

Please sign in to comment.