Sha256: fe30b06fb1dc9d94baa14cdf4090e02ac0e9c2a2ec508817ce2c035642233e60

Contents?: true

Size: 461 Bytes

Versions: 6

Compression:

Stored size: 461 Bytes

Contents

module Goma
  module Generators
    module Model
      class OAuthGenerator < Rails::Generators::NamedBase
        @namespace      = 'goma:model:oauth'
        @generator_name = 'oauth'


        include Rails::Generators::ResourceHelpers

        desc "Generates a model with the given NAME (if one does not exist) with goma " +
             "oauth configuration and a migration file"

        hook_for :orm, in: 'goma:model:oauth'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
goma-0.0.1.rc3 lib/generators/goma/model/oauth/oauth_generator.rb
goma-0.0.1.rc2 lib/generators/goma/model/oauth/oauth_generator.rb
goma-0.0.1.rc1 lib/generators/goma/model/oauth/oauth_generator.rb
goma-0.0.1.gamma lib/generators/goma/model/oauth/oauth_generator.rb
goma-0.0.1.beta lib/generators/goma/model/oauth/oauth_generator.rb
goma-0.0.1.alpha lib/generators/goma/model/oauth_generator.rb