Sha256: d6212b6e35959d4dde44e517bd384e3f8165d326a8cdab5384925461a86158a2

Contents?: true

Size: 662 Bytes

Versions: 13

Compression:

Stored size: 662 Bytes

Contents

require 'generators/helpers/file_helper'

module HttpUtilities
  module Generators
    class HttpUtilitiesGenerator < Rails::Generators::Base
      include HttpUtilities::Generators::FileHelper
      namespace "http_utilities"
      source_root File.expand_path("../../templates", __FILE__)
      
      class_option :orm
      hook_for :orm
            
      desc "Copies an initializer, a .yml-file containing user-agents as well as a proxy model."
      
      #def copy_initializer
      #  template "http_utilities.rb", "config/initializers/http_utilities.rb" unless file_exists?("config/initializers/http_utilities.rb")
      #end
      
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
http_utilities-1.4.3 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.4.2 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.4.1 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.4.0 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.3.9 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.3.8 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.3.7 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.3.6 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.3.5 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.3.4 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.3.3 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.3.2 lib/generators/http_utilities/http_utilities_generator.rb
http_utilities-1.3.1 lib/generators/http_utilities/http_utilities_generator.rb