Sha256: a516deed80713b9eabf3ebdf9916800337cbeb3b105ae57319acdcbfc96022b6
Contents?: true
Size: 762 Bytes
Versions: 2
Compression:
Stored size: 762 Bytes
Contents
require 'cms/module_installation' class BcmsSpree::InstallGenerator < Cms::ModuleInstallation add_migrations_directory_to_source_root __FILE__ # Uncomment to add module specific seed data to a project. #def copy_migrations #rake 'bcms_browserspree:install:migrations' #end # Uncomment to add module specific seed data to a project. def add_seed_data_to_project copy_file "../bcms_spree.seeds.rb", "db/bcms_spree.seeds.rb" append_to_file "db/seeds.rb", "load File.expand_path('../bcms_spree.seeds.rb', __FILE__)\n" end #def add_gems #append_to_file "Gemfile.rb", 'gem :spree_gateway, :git => "https://github.com/spree/spree_gateway.git", :branch => "2-2-stable"' #run 'bundle install', :capture => true #end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bcms_spree-0.0.2 | lib/generators/bcms_spree/install/install_generator.rb |
bcms_spree-0.0.1 | lib/generators/bcms_spree/install/install_generator.rb |