Module: Maquina

Defined in:
lib/maquina.rb,
lib/maquina/engine.rb,
lib/maquina/version.rb,
app/views/maquina/form.rb,
app/models/maquina/plan.rb,
app/models/maquina/user.rb,
app/models/maquina/current.rb,
app/models/maquina/invitation.rb,
app/models/maquina/membership.rb,
app/views/maquina/navbar/menu.rb,
app/views/maquina/navbar/title.rb,
app/models/maquina/organization.rb,
app/views/maquina/sessions/form.rb,
app/helpers/maquina/views_helper.rb,
app/jobs/maquina/application_job.rb,
app/models/maquina/used_password.rb,
app/policies/maquina/plan_policy.rb,
app/policies/maquina/user_policy.rb,
app/views/maquina/navbar/profile.rb,
app/models/maquina/active_session.rb,
app/views/maquina/application/new.rb,
app/views/maquina/dashboard/stats.rb,
app/views/maquina/dashboard/tasks.rb,
app/views/maquina/first_runs/form.rb,
app/views/maquina/application/edit.rb,
app/views/maquina/application/form.rb,
app/views/maquina/application_view.rb,
app/views/maquina/application/alert.rb,
app/controllers/concerns/maquina/new.rb,
app/views/maquina/application/search.rb,
app/views/maquina/navbar/mobile_menu.rb,
app/controllers/concerns/maquina/edit.rb,
app/controllers/concerns/maquina/show.rb,
app/models/maquina/application_record.rb,
app/policies/maquina/dashboard_policy.rb,
app/views/maquina/application/filters.rb,
app/views/maquina/navbar/notification.rb,
app/views/maquina/navbar/profile_menu.rb,
app/controllers/concerns/maquina/index.rb,
app/helpers/maquina/application_helper.rb,
app/helpers/maquina/navbar_menu_helper.rb,
app/mailers/maquina/application_mailer.rb,
app/models/concerns/maquina/blockeable.rb,
app/policies/maquina/invitation_policy.rb,
app/policies/maquina/navigation_policy.rb,
app/views/maquina/navbar/mobile_button.rb,
app/controllers/concerns/maquina/create.rb,
app/controllers/concerns/maquina/update.rb,
app/models/concerns/maquina/multifactor.rb,
app/models/concerns/maquina/user_scoped.rb,
app/policies/maquina/application_policy.rb,
app/views/maquina/navbar/menu_item_link.rb,
app/views/maquina/navbar/profile_button.rb,
app/controllers/concerns/maquina/destroy.rb,
app/controllers/maquina/plans_controller.rb,
app/controllers/maquina/users_controller.rb,
lib/generators/maquina/install_generator.rb,
app/models/concerns/maquina/sqlite_search.rb,
app/views/maquina/application/index_modal.rb,
app/views/maquina/application/index_table.rb,
app/views/maquina/application/index_tools.rb,
app/views/maquina/application/index_header.rb,
app/controllers/maquina/sessions_controller.rb,
app/controllers/concerns/maquina/resourceful.rb,
app/controllers/maquina/dashboard_controller.rb,
app/models/concerns/maquina/retain_passwords.rb,
app/controllers/concerns/maquina/authenticate.rb,
app/controllers/maquina/first_runs_controller.rb,
app/mailers/maquina/user_notifications_mailer.rb,
app/views/maquina/accept_invitations/new_view.rb,
app/views/maquina/application/sessions_header.rb,
app/controllers/maquina/application_controller.rb,
app/controllers/maquina/invitations_controller.rb,
app/controllers/maquina/unauthorized_controller.rb,
app/models/concerns/maquina/organization_scoped.rb,
app/views/maquina/navbar/profile_menu_item_link.rb,
app/controllers/maquina/accept_invitations_controller.rb,
app/views/maquina/application/components/component_base.rb,
app/views/maquina/application/components/date_component.rb,
app/views/maquina/application/components/file_component.rb,
app/views/maquina/application/components/input_component.rb,
app/views/maquina/application/components/select_component.rb,
app/views/maquina/application/components/checkbox_component.rb,
app/views/maquina/application/components/text_area_component.rb,
app/views/maquina/application/components/action_text_component.rb,
lib/generators/maquina/tailwind_config/tailwind_config_generator.rb,
lib/generators/maquina/install_stimulus_controllers/install_stimulus_controllers_generator.rb

Defined Under Namespace

Modules: AcceptInvitations, Application, ApplicationHelper, ApplicationView, Authenticate, Blockeable, Create, Dashboard, Destroy, Edit, FirstRuns, Form, Generators, Index, Multifactor, Navbar, NavbarMenuHelper, New, OrganizationScoped, Resourceful, RetainPasswords, Sessions, Show, SqliteSearch, Update, UserScoped, ViewsHelper Classes: AcceptInvitationsController, ActiveSession, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationPolicy, ApplicationRecord, Configuration, Current, DashboardController, DashboardPolicy, Engine, FirstRunsController, InstallGenerator, Invitation, InvitationPolicy, InvitationsController, Membership, NavigationPolicy, Organization, Plan, PlanPolicy, PlansController, SessionsController, TailwindConfigGenerator, UnauthorizedController, UsedPassword, User, UserNotificationsMailer, UserPolicy, UsersController

Constant Summary collapse

VERSION =
"0.7.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



12
13
14
# File 'lib/maquina.rb', line 12

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



42
43
44
45
# File 'lib/maquina.rb', line 42

def self.configure
  init_config
  yield(configuration)
end

.init_configObject



38
39
40
# File 'lib/maquina.rb', line 38

def self.init_config
  self.configuration ||= Configuration.new
end