Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/oc-id/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ group :development, :test do
gem 'rspec-rails', '~> 6.0'
gem 'rails-controller-testing'
gem 'pry-byebug'
gem 'mailcatcher'
gem 'letter_opener', '~> 1.10'
end

group :development do
Expand Down
52 changes: 11 additions & 41 deletions src/oc-id/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ GEM
unf_ext (~> 0.0.8)
uuidtools (~> 2.1)
webrick
childprocess (5.1.0)
logger (~> 1.5)
coderay (1.1.3)
coffee-rails (5.0.0)
coffee-script (>= 2.2.0)
Expand All @@ -248,7 +250,6 @@ GEM
corefoundation (0.3.13)
ffi (>= 1.15.0)
crass (1.0.6)
daemons (1.4.1)
date (3.4.1)
debug_inspector (1.2.0)
deep_merge (1.2.2)
Expand Down Expand Up @@ -296,7 +297,6 @@ GEM
cgi (>= 0.3.3)
erubi (1.13.1)
erubis (2.7.0)
eventmachine (1.2.7)
execjs (2.10.0)
factory_bot (6.5.5)
activesupport (>= 6.1.0)
Expand All @@ -321,10 +321,6 @@ GEM
activesupport (>= 6.1)
gssapi (1.3.1)
ffi (>= 1.0.1)
haml (6.3.0)
temple (>= 0.8.2)
thor
tilt
hashie (5.0.0)
http-accept (1.7.0)
http-cookie (1.0.8)
Expand Down Expand Up @@ -377,6 +373,12 @@ GEM
base64
kgio (2.11.4)
language_server-protocol (3.17.0.5)
launchy (3.1.1)
addressable (~> 2.8)
childprocess (~> 5.0)
logger (~> 1.6)
letter_opener (1.10.0)
launchy (>= 2.2, < 4)
libyajl2 (2.1.0)
license-acceptance (2.1.13)
pastel (~> 0.7)
Expand All @@ -397,16 +399,6 @@ GEM
net-imap
net-pop
net-smtp
mailcatcher (0.2.4)
eventmachine
haml
i18n
json
mail
sinatra
skinny (>= 0.1.2)
sqlite3-ruby
thin
marcel (1.0.4)
matrix (0.4.3)
method_source (1.1.0)
Expand All @@ -428,8 +420,6 @@ GEM
chef-utils
multi_json (1.17.0)
multipart-post (2.4.1)
mustermann (3.0.4)
ruby2_keywords (~> 0.0.1)
mutex_m (0.3.0)
net-ftp (0.3.8)
net-protocol
Expand Down Expand Up @@ -605,7 +595,6 @@ GEM
parser (>= 3.3.7.2)
prism (~> 1.4)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
rubyntlm (0.6.5)
base64
rubyzip (2.4.1)
Expand All @@ -626,16 +615,6 @@ GEM
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
semverse (3.0.2)
sinatra (4.1.1)
logger (>= 1.6.0)
mustermann (~> 3.0)
rack (>= 3.0.0, < 4)
rack-protection (= 4.1.1)
rack-session (>= 2.0.0, < 3)
tilt (~> 2.0)
skinny (0.2.2)
eventmachine (~> 1.0)
thin
spring (4.4.0)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
Expand All @@ -647,10 +626,6 @@ GEM
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
sqlite3 (2.7.3-arm64-darwin)
sqlite3 (2.7.3-x86_64-linux-gnu)
sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3)
sslshake (1.3.1)
stringio (3.1.7)
strings (0.2.1)
Expand All @@ -659,12 +634,6 @@ GEM
unicode_utils (~> 1.4)
strings-ansi (0.2.0)
syslog-logger (1.6.8)
temple (0.10.4)
thin (2.0.1)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
logger
rack (>= 1, < 4)
thor (1.4.0)
tilt (2.6.1)
time (0.4.1)
Expand Down Expand Up @@ -738,6 +707,7 @@ GEM

PLATFORMS
arm64-darwin-21
arm64-darwin-23
arm64-darwin-24
x86_64-linux

Expand All @@ -754,7 +724,7 @@ DEPENDENCIES
jbuilder (~> 2.11)
jquery-rails
jwt
mailcatcher
letter_opener (~> 1.10)
mixlib-authentication (>= 2.1, < 4)
nokogiri (= 1.18.9)
omniauth-chef (~> 0.4.1)!
Expand All @@ -781,4 +751,4 @@ DEPENDENCIES
veil (~> 0.3.11)!

BUNDLED WITH
2.3.27
2.3.27
6 changes: 3 additions & 3 deletions src/oc-id/config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
# number of complex assets.
config.assets.debug = true

# MailCatcher for SMTP
# Letter Opener for email preview in development
if Rails.const_defined?(:Server)
config.action_mailer.default_url_options = {
:host => "localhost:#{Rails::Server.new.options[:Port]}",
:protocol => Settings.protocol,
}
end

config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 }
config.action_mailer.delivery_method = :letter_opener
config.action_mailer.perform_deliveries = true
end
Loading