Sha256: d5234595b5886d5e07b64ef3c5ba099f6b5469e611ee3df77a308d0bd6638248

Contents?: true

Size: 526 Bytes

Versions: 5

Compression:

Stored size: 526 Bytes

Contents

module Ropenlayer
  module Generators
    class InstallGenerator < Rails::Generators::Base
    
      source_root File.expand_path('../templates', __FILE__)  
      
      def install
          copy_file  "config/initializers/ropenlayer.rb"
          
          get        "http://openlayers.org/api/OpenLayers.js", "public/javascripts/OpenLayers.js"
          copy_file  "public/stylesheets/ropenlayer.css"
          directory  "public/images/ropenlayer"

          readme "../INSTALL"
    
      end
      
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ropenlayer-0.3.5 lib/generators/ropenlayer/install/install_generator.rb
ropenlayer-0.3.4 lib/generators/ropenlayer/install/install_generator.rb
ropenlayer-0.3.3 lib/generators/ropenlayer/install/install_generator.rb
ropenlayer-0.3.1 lib/generators/ropenlayer/install/install_generator.rb
ropenlayer-0.3.0 lib/generators/ropenlayer/install/install_generator.rb