Sha256: c9e5405c6994a4beab54f289f87f0c66dd4998c75716a6e18b57643d9f7fb56f

Contents?: true

Size: 372 Bytes

Versions: 13

Compression:

Stored size: 372 Bytes

Contents

require 'rails/generators/base'

module JwtKeeper
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../../../templates', __FILE__)

    # Copies the default config
    #
    # @example Install
    #   rails generate keeper:install
    def copy_files
      copy_file 'jwt_keeper.rb', 'config/initializers/jwt_keeper.rb'
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
jwt_keeper-6.1.3 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-6.1.2 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-6.1.1 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-6.1.0 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-6.0.0 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-5.0.1 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-5.0.0 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-4.0.1 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-4.0.0 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-3.3.0 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-3.2.0 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-3.1.0 lib/generators/jwt_keeper/install/install_generator.rb
jwt_keeper-3.0.1 lib/generators/jwt_keeper/install/install_generator.rb