Sha256: 6c9a6aebee72f12315f86e3caa8eab7eda2144e589ddd894939c1af3d1e681b0
Contents?: true
Size: 490 Bytes
Versions: 39
Compression:
Stored size: 490 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("warning", "GENERATING SUFIA USAGE STATS", :yellow) end def create_configuration_file copy_file 'config/analytics.yml', 'config/analytics.yml' end end
Version data entries
39 entries across 39 versions & 2 rubygems