Sha256: 495b2415d1936864f66ed05cdf2368436d1d8c6fb77714e6201c757963682bbe
Contents?: true
Size: 674 Bytes
Versions: 2
Compression:
Stored size: 674 Bytes
Contents
module Spree module Auth module Generators class InstallGenerator < Rails::Generators::Base def self.source_paths paths = self.superclass.source_paths paths << File.expand_path('../templates', __FILE__) paths.flatten end def generate_devise_key return if ENV['CI'] template 'config/initializers/devise.rb', 'config/initializers/devise.rb' end def add_migrations run 'bundle exec rake railties:install:migrations FROM=spree_auth_devise' end def run_migrations run 'bundle exec rake db:migrate' end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_auth_devise-3.0.6 | lib/generators/spree/auth/install/install_generator.rb |
spree_auth_devise-3.0.5 | lib/generators/spree/auth/install/install_generator.rb |