Sha256: 01e49d51b4f39443224982ba3c6aed0b38986c4e7ef479fcd3bf65ddde398202

Contents?: true

Size: 395 Bytes

Versions: 22

Compression:

Stored size: 395 Bytes

Contents

module Mongoid
  module Generators
    class OauthConsumerGenerator < Rails::Generators::Base
      source_root File.expand_path('../oauth_consumer_templates', __FILE__)

      def check_class_collisions
        class_collisions '', %w(ConsumerToken)
      end

      def copy_models
        template 'consumer_token.rb', File.join('app/models', 'consumer_token.rb')
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 6 rubygems

Version Path
houston-oauth-plugin-0.5.1 lib/generators/mongoid/oauth_consumer_generator.rb
oauth_consumer-0.1.3 lib/generators/mongoid/oauth_consumer_generator.rb
panjiva-oauth-plugin-0.4.1 lib/generators/mongoid/oauth_consumer_generator.rb
oauth_consumer-0.1.2 lib/generators/mongoid/oauth_consumer_generator.rb
oauth_consumer-0.1.1 lib/generators/mongoid/oauth_consumer_generator.rb
oauth_consumer-0.1.0 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.5.1 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.5.0 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.4.1 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.4.0 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.4.0.rc2 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.4.0.rc1 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre7 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre6 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre5 lib/generators/mongoid/oauth_consumer_generator.rb
insrc-oauth-plugin-0.4.0.pre6 lib/generators/mongoid/oauth_consumer_generator.rb
insrc-oauth-plugin-0.4.0.pre5 lib/generators/mongoid/oauth_consumer_generator.rb
le1t0-oauth-plugin-0.4.0.pre4.001 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre4 lib/generators/mongoid/oauth_consumer_generator.rb
oauth-plugin-0.4.0.pre3 lib/generators/mongoid/oauth_consumer_generator.rb