Sha256: 96a275bff53f4bb14337b2f56383d497113e5acb522bf20470582aa5b2830b0d

Contents?: true

Size: 479 Bytes

Versions: 15

Compression:

Stored size: 479 Bytes

Contents

require 'generators/essentials_base'

module SpreeEssentials
  module Generators
    class InstallGenerator < SpreeEssentials::Generators::EssentialsBase
      
      desc "Installs required migrations for spree_essentials"
      source_root File.expand_path("../../templates/db/migrate", __FILE__)
      
      def copy_migrations
        migration_template "add_attachment_file_size_to_assets.rb", "db/migrate/add_attachment_file_size_to_assets.rb"
      end

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spree_essentials-0.4.0.rc2 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.3.3 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.4.0.rc1 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.2.3 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.3.2 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.3.1 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.2.2 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.2.1 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.2.0 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.1.4 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.1.3 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.1.2 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.1.1 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.1.0 lib/generators/spree_essentials/install_generator.rb
spree_essentials-0.1.0.pre lib/generators/spree_essentials/install_generator.rb