Sha256: 10e69e82cfd3f8804bc84f0cb2d17ea9752c908d20a90500a33e2ee85b9fb2d3

Contents?: true

Size: 378 Bytes

Versions: 19

Compression:

Stored size: 378 Bytes

Contents

require 'generators/authlogic'

module Authlogic
  module Generators
    class SessionGenerator < Base
      desc "Builds an Authlogic session model"
      
      check_class_collision
      
      def create_session_file
        template 'session.rb', File.join('app', 'models', class_path, "#{file_name}.rb")
      end
      
      hook_for :test_framework
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
rails3-generators-0.8.2 lib/generators/authlogic/session/session_generator.rb
jumpstart-0.1.0 jumpstart_templates/i0n_rails_3/lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.8.1 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.8.0 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.7.1 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.7.0 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.6.0 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.5.4 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.5.3 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.5.2 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.5.1 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.5.0 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.4.0 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.3.3 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.3.2 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.3.1 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.3.0 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.2.0 lib/generators/authlogic/session/session_generator.rb
rails3-generators-0.1.0 lib/generators/authlogic/session/session_generator.rb