Sha256: fe8003b695ef61568067b9f484cddcc04a30589b94b8a6433c7eacf6a864703d

Contents?: true

Size: 719 Bytes

Versions: 8

Compression:

Stored size: 719 Bytes

Contents

require 'rails/generators'
module ShibbolethAuth
  class InstallGenerator < Rails::Generators::Base

    desc = "
    Description:
      Copy rspec files to your application."

    def self.source_root
      File.join(File.dirname(__FILE__), 'templates')
    end
    def install_auth
      copy_file(
        'app/views/shibboleth_auth/login/login_form.html.haml',
        'app/views/shibboleth_auth/login/login_form.html.haml'
      )
      copy_file(
        'app/views/shibboleth_auth/login/show.html.haml',
        'app/views/shibboleth_auth/login/show.html.haml'
      )
      copy_file(
        'config/initializers/shibboleth_auth.rb',
        'config/initializers/shibboleth_auth.rb'
      )
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shibboleth_auth-0.3.3 lib/generators/auth_generator.rb
shibboleth_auth-0.3.2 lib/generators/auth_generator.rb
shibboleth_auth-0.3.1 lib/generators/auth_generator.rb
shibboleth_auth-0.3.0 lib/generators/auth_generator.rb
shibboleth_auth-0.2.1 lib/generators/auth_generator.rb
shibboleth_auth-0.1.2 lib/generators/auth_generator.rb
shibboleth_auth-0.1.1 lib/generators/auth_generator.rb
shibboleth_auth-0.1.0 lib/generators/auth_generator.rb