Sha256: b3397025d8d10e704a2c594edac5f53f98cf983c63b6ea97aa04fd5e0ab1605e

Contents?: true

Size: 484 Bytes

Versions: 11

Compression:

Stored size: 484 Bytes

Contents

module GmapCoordinatesPicker
  module Generators
    class ConfigGenerator < Rails::Generators::Base
      source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))

      desc <<DESC
Description:
    Copies GmapCoordinatesPicker configuration file to your application's initializer directory.
DESC

      def copy_config_file
        template 'gmap_coordinates_picker_config.rb', 'config/initializers/gmap_coordinates_picker_config.rb'
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gmap_coordinates_picker-0.1.2 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.0.13 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.0.12 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.0.11 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.0.10 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.0.9 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.0.8 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.0.7 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.1.0 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.0.6 lib/generators/gmap_coordinates_picker/config_generator.rb
gmap_coordinates_picker-0.0.5 lib/generators/gmap_coordinates_picker/config_generator.rb