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

Version Path
sufia-5.0.0 sufia-models/lib/generators/sufia/models/usagestats_generator.rb
sufia-models-5.0.0 lib/generators/sufia/models/usagestats_generator.rb
sufia-models-6.0.0 lib/generators/sufia/models/usagestats_generator.rb
sufia-6.0.0 sufia-models/lib/generators/sufia/models/usagestats_generator.rb
sufia-6.0.0.rc4 sufia-models/lib/generators/sufia/models/usagestats_generator.rb
sufia-models-6.0.0.rc4 lib/generators/sufia/models/usagestats_generator.rb
sufia-6.0.0.rc3 sufia-models/lib/generators/sufia/models/usagestats_generator.rb
sufia-models-6.0.0.rc3 lib/generators/sufia/models/usagestats_generator.rb
sufia-5.0.0.rc1 sufia-models/lib/generators/sufia/models/usagestats_generator.rb
sufia-models-5.0.0.rc1 lib/generators/sufia/models/usagestats_generator.rb
sufia-6.0.0.rc2 sufia-models/lib/generators/sufia/models/usagestats_generator.rb
sufia-models-6.0.0.rc2 lib/generators/sufia/models/usagestats_generator.rb
sufia-6.0.0.rc1 sufia-models/lib/generators/sufia/models/usagestats_generator.rb
sufia-models-6.0.0.rc1 lib/generators/sufia/models/usagestats_generator.rb
sufia-4.3.1 sufia-models/lib/generators/sufia/models/usagestats_generator.rb
sufia-models-4.3.1 lib/generators/sufia/models/usagestats_generator.rb
sufia-6.0.0.beta1 sufia-models/lib/generators/sufia/models/usagestats_generator.rb
sufia-models-6.0.0.beta1 lib/generators/sufia/models/usagestats_generator.rb
sufia-models-5.0.0.beta1 lib/generators/sufia/models/usagestats_generator.rb
sufia-4.2.0 sufia-models/lib/generators/sufia/models/usagestats_generator.rb