File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,17 +48,16 @@ group :development do
4848end
4949
5050group :production do
51+ gem "appsignal"
5152 gem "aws-sdk-s3" , require : false
5253 gem 'fog-aws'
5354 # security fix for excon gem, which is a fog-aws dependency
5455 gem 'excon' , '>= 0.71.0'
5556 gem 'dalli'
5657 gem 'sendgrid-ruby'
5758 gem 'lograge'
58- gem 'sentry-raven'
5959 gem 'sidekiq'
6060 gem 'rails_autoscale_agent'
61- gem 'scout_apm'
6261 gem 'rexml'
6362 gem "whenever" , require : false
6463end
Original file line number Diff line number Diff line change 8484 public_suffix (>= 2.0.2 , < 7.0 )
8585 airbrussh (1.5.3 )
8686 sshkit (>= 1.6.1 , != 1.7.0 )
87+ appsignal (4.7.0 )
88+ logger
89+ rack (>= 2.0.0 )
8790 ast (2.4.3 )
8891 aws-eventstream (1.4.0 )
8992 aws-partitions (1.1172.0 )
931934 google-protobuf (~> 4.31 )
932935 sass-embedded (1.94.2-x86_64-linux-musl )
933936 google-protobuf (~> 4.31 )
934- scout_apm (5.7.1 )
935- parser
936937 securerandom (0.4.1 )
937938 selenium-webdriver (4.38.0 )
938939 base64 (~> 0.2 )
943944 semantic_range (3.1.0 )
944945 sendgrid-ruby (6.7.0 )
945946 ruby_http_client (~> 3.4 )
946- sentry-raven (3.1.2 )
947- faraday (>= 1.0 )
948947 shakapacker (8.3.0 )
949948 activesupport (>= 5.2 )
950949 package_json
@@ -1062,6 +1061,7 @@ PLATFORMS
10621061 x86_64-linux-musl
10631062
10641063DEPENDENCIES
1064+ appsignal
10651065 aws-sdk-s3
10661066 barnes
10671067 byebug
@@ -1092,9 +1092,7 @@ DEPENDENCIES
10921092 redis (~> 4.7.0 )
10931093 rexml
10941094 rspec-rails
1095- scout_apm
10961095 sendgrid-ruby
1097- sentry-raven
10981096 sidekiq
10991097 web-console
11001098 whenever
Original file line number Diff line number Diff line change 22# entry point, but you can change what controller it inherits from
33# so you can customize some methods.
44class DecidimController < ApplicationController
5- before_action :set_raven_context
6-
7- private
8-
9- def set_raven_context
10- return unless Rails . env . production?
11-
12- Raven . user_context ( { id : try ( :current_user ) . try ( :id ) } . merge ( session ) )
13- Raven . extra_context ( params : params . to_unsafe_h , url : request . url )
14- end
155end
You can’t perform that action at this time.
0 commit comments