Sha256: f658e843aa5566d87b4673eb24261c929c56213076ced6e407a07fbb714f15f1

Contents?: true

Size: 425 Bytes

Versions: 28

Compression:

Stored size: 425 Bytes

Contents

require 'rails/generators'

module Maxipago
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Copy Maxipago initializer file"
      source_root File.expand_path('../templates',__FILES__)

      def copy_maxipago_config_file
        puts "copy maxipago.rb in /config/initializers"
        copy_file "maxipago_config_template.rb", "config/initializers/maxipago.rb"
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
maxipago-0.1.30 lib/generators/maxipago/install_generator.rb
maxipago-0.1.29 lib/generators/maxipago/install_generator.rb
maxipago-0.1.28 lib/generators/maxipago/install_generator.rb
maxipago-0.1.27 lib/generators/maxipago/install_generator.rb
maxipago-0.1.26 lib/generators/maxipago/install_generator.rb
maxipago-0.1.25 lib/generators/maxipago/install_generator.rb
maxipago-0.1.24 lib/generators/maxipago/install_generator.rb
maxipago-0.1.23 lib/generators/maxipago/install_generator.rb
maxipago-0.1.22 lib/generators/maxipago/install_generator.rb
maxipago-0.1.21 lib/generators/maxipago/install_generator.rb
maxipago-0.1.20 lib/generators/maxipago/install_generator.rb
maxipago-0.1.19 lib/generators/maxipago/install_generator.rb
maxipago-0.1.18 lib/generators/maxipago/install_generator.rb
maxipago-0.1.17 lib/generators/maxipago/install_generator.rb
maxipago-0.1.16 lib/generators/maxipago/install_generator.rb
maxipago-0.1.15 lib/generators/maxipago/install_generator.rb
maxipago-0.1.14 lib/generators/maxipago/install_generator.rb
maxipago-0.1.13 lib/generators/maxipago/install_generator.rb
maxipago-0.1.12 lib/generators/maxipago/install_generator.rb
maxipago-0.1.11 lib/generators/maxipago/install_generator.rb