Sha256: c476a056394a2e9defc5a10010f1f0fe4808ed0332301c98ea88eecbc78ad015

Contents?: true

Size: 507 Bytes

Versions: 25

Compression:

Stored size: 507 Bytes

Contents

# frozen_string_literal: true

module RailsAppGenerator
  # Custom add-ons for RailsAppGenerator
  module AddOns
    # Add DeviseMasquerade to rails application
    class DeviseMasquerade < RailsAppGenerator::Addon
      depends_on :devise

      required_gem gem.version('devise_masquerade', '1.3.12', 'Devise extension that enables login as another user functionality')

      def apply
        # NOTE: update_routes_with_devise_controllers is being handled in devise.rb addon
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rails_app_generator-0.2.30 lib/rails_app_generator/addons/devise_masquerade.rb
rails_app_generator-0.2.29 lib/rails_app_generator/addons/devise_masquerade.rb
rails_app_generator-0.2.28 lib/rails_app_generator/addons/devise_masquerade.rb
rails_app_generator-0.2.27 lib/rails_app_generator/addons/devise_masquerade.rb
rails_app_generator-0.2.26 lib/rails_app_generator/addons/devise_masquerade.rb