Production Build Working
CI / scan_ruby (push) Failing after 37s
CI / lint (push) Failing after 39s

This commit is contained in:
Jason Jordan
2026-09-16 12:41:44 -04:00
parent 9853d58469
commit 1c80e642f5
51 changed files with 648 additions and 440 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ module RailsApiAuthTemplate
# Please, add to the `ignore` list any other `lib` subdirectories that do
# not contain `.rb` files, or that should not be reloaded or eager loaded.
# Common ones are `templates`, `generators`, or `middleware`, for example.
config.autoload_lib(ignore: %w[assets tasks])
config.autoload_lib(ignore: %w[assets tasks generators])
# Configuration for the application, engines, and railties goes here.
#
+1 -1
View File
@@ -40,7 +40,7 @@ Rails.application.configure do
# caching is enabled.
config.action_mailer.perform_caching = false
config.action_mailer.default_url_options = { host: "localhost", port: 3000 }
config.action_mailer.default_url_options = { host: "localhost", port: 3002 }
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
+1 -1
View File
@@ -42,7 +42,7 @@ Rails.application.configure do
# config.assume_ssl = true
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
config.force_ssl = true
config.force_ssl = false
# Skip http-to-https redirect for the default health check endpoint.
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
+2 -2
View File
@@ -19,10 +19,10 @@ Devise.setup do |config|
config.jwt do |jwt|
jwt.secret = ENV['DEVISE_JWT_SECRET_KEY'] # Or Rails.application.credentials.devise_jwt_secret_key!
jwt.dispatch_requests = [
['POST', %r{^/login$}]
['POST', %r{^/signin$}]
]
jwt.revocation_requests = [
['DELETE', %r{^/logout$}]
['DELETE', %r{^/signout$}]
]
jwt.expiration_time = 30.minutes.to_i
end
+1 -1
View File
@@ -23,7 +23,7 @@ class Rack::Attack
end
# why not tell them politely if they try too much
self.throttled_response = lambda do |_env|
self.throttled_responder = lambda do |_env|
[
429,
{ "Content-Type" => "application/json" },
+1 -1
View File
@@ -24,7 +24,7 @@ threads_count = ENV.fetch("RAILS_MAX_THREADS", 3)
threads threads_count, threads_count
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
port ENV.fetch("PORT", 3000)
port ENV.fetch("PORT", 3005)
# Allow puma to be restarted by `bin/rails restart` command.
plugin :tmp_restart
+23 -2
View File
@@ -6,11 +6,13 @@ Rails.application.routes.draw do
path_names: {
sign_in: 'signin',
sign_out: 'signout',
registration: 'signup'
registration: 'signup',
password: 'forgot_password'
},
controllers: {
sessions: 'users/sessions',
registrations: 'users/registrations'
registrations: 'users/registrations',
passwords: 'users/passwords'
}
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
@@ -44,6 +46,7 @@ Rails.application.routes.draw do
get 'initialize_dashboard'
get 'id_card/:layout', to: 'members#id_card'
get 'claims'
get 'plan_benefits'
end
end
resources :employers do
@@ -51,6 +54,9 @@ Rails.application.routes.draw do
get 'initialize_dashboard'
get 'id_cards'
get 'members_list'
get 'coverage'
get 'available_document_categories'
get 'documents/:category_id', to: 'employers#documents'
end
end
resources :brokers do
@@ -58,6 +64,21 @@ Rails.application.routes.draw do
get 'employers_list'
end
end
resources :carriers do
member do
get 'employers_list'
end
end
resources :providers do
member do
get 'claims/:pb_entity_key', to: 'providers#claims'
end
end
resources :public do
collection do
get 'search_eligibility'
end
end
end
end
end