File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ group :development do
110110 gem "web-console" , "4.2.1"
111111
112112 gem "brakeman" , "6.1.2"
113+
114+ # Preview mail in the browser instead of sending.
115+ gem "letter_opener" , "1.10.0"
113116 gem "reek" , "6.3.0"
114117 # Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
115118 # gem "rack-mini-profiler"
@@ -121,11 +124,11 @@ end
121124group :test do
122125 # Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
123126 gem "capybara" , "3.40.0"
127+ gem "pundit-matchers" , "~> 4.0"
124128 gem "rspec-rails" , "6.0.3"
125129 gem "rspec-sidekiq" , "4.0.2"
126130 gem "selenium-webdriver" , "4.12.0"
127131 gem "shoulda-matchers" , "5.3.0"
128132 gem "simplecov" , "0.22.0" , require : false
129133 gem "spring-commands-rspec" , "1.0.4"
130- gem "pundit-matchers" , "~> 4.0"
131134end
Original file line number Diff line number Diff line change 136136 xpath (~> 3.2 )
137137 case_transform (0.2 )
138138 activesupport
139+ childprocess (5.1.0 )
140+ logger (~> 1.5 )
139141 coderay (1.1.3 )
140142 concurrent-ruby (1.3.3 )
141143 connection_pool (2.4.1 )
242244 kaminari-core (= 1.2.2 )
243245 kaminari-core (1.2.2 )
244246 language_server-protocol (3.17.0.3 )
247+ launchy (3.1.1 )
248+ addressable (~> 2.8 )
249+ childprocess (~> 5.0 )
250+ logger (~> 1.6 )
251+ letter_opener (1.10.0 )
252+ launchy (>= 2.2 , < 4 )
253+ logger (1.7.0 )
245254 loofah (2.22.0 )
246255 crass (~> 1.0.2 )
247256 nokogiri (>= 1.12.0 )
@@ -586,6 +595,7 @@ DEPENDENCIES
586595 importmap-rails (= 2.0.1 )
587596 jbuilder (= 2.11.5 )
588597 kaminari (= 1.2.2 )
598+ letter_opener (= 1.10.0 )
589599 money (= 6.16.0 )
590600 multi_json (= 1.15.0 )
591601 omniauth-github
Original file line number Diff line number Diff line change 7777 config . action_controller . raise_on_missing_callback_actions = true
7878
7979 config . action_mailer . default_url_options = { host : "localhost" , port : 3000 }
80+
81+ config . action_mailer . delivery_method = :letter_opener
82+ config . action_mailer . perform_deliveries = true
8083end
You can’t perform that action at this time.
0 commit comments