Sha256: ee3e5a8ee788314302e93d79bd5b207fa2174e069285e758fee543dc7273fc85

Contents?: true

Size: 608 Bytes

Versions: 10

Compression:

Stored size: 608 Bytes

Contents

require 'securerandom'
require 'rails/generators'
require 'rails/generators/migration'

module Gmpoint
  module Generators
    class InstallGenerator < Rails::Generators::Base
      include Rails::Generators::Migration

      source_root File.expand_path("../../templates", __FILE__)
      desc "Creates a Config file and copy locate files to your application."
      class_option :orm
      
      def copy_jsfile
        ["locations.js.coffee"].each do |file|
          copy_file "../../../app/assets/javascripts/#{file}", "app/assets/javascripts/#{file}"
        end
      end    
      
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gmpoint-0.1.3 lib/generators/gmpoint/install_generator.rb
gmpoint-0.1.0 lib/generators/gmpoint/install_generator.rb
gmpoint-0.0.9 lib/generators/gmpoint/install_generator.rb
gmpoint-0.0.8 lib/generators/gmpoint/install_generator.rb
gmpoint-0.0.7 lib/generators/gmpoint/install_generator.rb
gmpoint-0.0.6 lib/generators/gmpoint/install_generator.rb
gmpoint-0.0.5 lib/generators/gmpoint/install_generator.rb
gmpoint-0.0.4 lib/generators/gmpoint/install_generator.rb
gmpoint-0.0.3 lib/generators/gmpoint/install_generator.rb
gmpoint-0.0.2 lib/generators/gmpoint/install_generator.rb