Sha256: 33017e6045b27d02fdef16c60f506ec2f9af961d7c8f93822d3be32b90a0315b

Contents?: true

Size: 489 Bytes

Versions: 25

Compression:

Stored size: 489 Bytes

Contents

require 'rails/generators/active_record/migration'
require 'generators/cms/base'

module CMS
  module Generators

    class ContentTypes < Base
      include Rails::Generators::Migration
      extend ActiveRecord::Generators::Migration
      class_option :except, type: :array, default: [],
                            desc: 'skip certain types.'

      class_option :only, type: :string, default: false,
                          desc: 'run a specific type generator.'
    end

  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
honey-cms-0.4.8 lib/generators/cms/content_types.rb
honey-cms-0.4.7 lib/generators/cms/content_types.rb
honey-cms-0.4.6 lib/generators/cms/content_types.rb
honey-cms-0.4.5 lib/generators/cms/content_types.rb
honey-cms-0.4.2 lib/generators/cms/content_types.rb
honey-cms-0.4.1 lib/generators/cms/content_types.rb
honey-cms-0.4.0 lib/generators/cms/content_types.rb
honey-cms-0.3.13 lib/generators/cms/content_types.rb
honey-cms-0.3.12 lib/generators/cms/content_types.rb
honey-cms-0.3.11 lib/generators/cms/content_types.rb
honey-cms-0.3.10 lib/generators/cms/content_types.rb
honey-cms-0.3.9 lib/generators/cms/content_types.rb
honey-cms-0.3.8 lib/generators/cms/content_types.rb
honey-cms-0.3.7 lib/generators/cms/content_types.rb
honey-cms-0.3.5 lib/generators/cms/content_types.rb
honey-cms-0.3.4 lib/generators/cms/content_types.rb
honey-cms-0.3.3 lib/generators/cms/content_types.rb
honey-cms-0.3.2 lib/generators/cms/content_types.rb
honey-cms-0.3.1 lib/generators/cms/content_types.rb
honey-cms-0.3.0 lib/generators/cms/content_types.rb