Sha256: 0871f636519b63e7b9f30871630c1962b7e6830c6dfe218cecfe2655ec76145a
Contents?: true
Size: 485 Bytes
Versions: 8
Compression:
Stored size: 485 Bytes
Contents
# -*- encoding : utf-8 -*- require 'rails/generators' class Sufia::Models::UsagestatsGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc """ This generator makes the following changes to your application: 1. Generates usage stats config """ def banner say_status("info", "GENERATING SUFIA USAGE STATS", :blue) end def create_configuration_file copy_file 'config/analytics.yml', 'config/analytics.yml' end end
Version data entries
8 entries across 8 versions & 1 rubygems