Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
topical / lib / generators / topical / install / install_generator.rb
Size: Mime:
module Topical
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path("../templates", __FILE__)

    def copy_templates
      copy_file "initializer.rb", "config/initializers/topical.rb"
    end

    def install_migrations
      rake "railties:install:migrations FROM=topical"
    end
  end
end