Module: PropelAuthentication

Defined in:
lib/generators/propel_authentication/templates/core/configuration_methods.rb,
lib/propel_authentication.rb,
lib/generators/propel_authentication/install_generator.rb

Overview

Module providing configuration detection and validation for PropelAuthentication generators

INDEPENDENCE ARCHITECTURE:

  • PropelAuthentication works completely standalone with sensible defaults

  • PropelApi integration is OPTIONAL - when both gems are present, PropelAuthentication adopts PropelApi’s namespace/version for consistency

  • Neither gem requires the other as a dependency

  • Graceful fallback ensures no errors when either gem is missing

STANDALONE DEFAULTS:

  • PropelAuthentication: Clean URLs (/login, /me, /signup) for simplicity

  • PropelApi: REST convention (/api/v1/resources) for standard API patterns

INTEGRATION BENEFITS:

  • When both gems are used together, authentication routes automatically align with API namespace structure for consistent developer experience

Defined Under Namespace

Modules: ConfigurationMethods Classes: InstallGenerator, UnpackGenerator

Constant Summary collapse

VERSION =
"0.3.4"