Sha256: a9e6f984774999bb9ddc71331060ef94ebc4e5a25a9c243f7c739c996d6d52f8

Contents?: true

Size: 749 Bytes

Versions: 47

Compression:

Stored size: 749 Bytes

Contents

module Ubiquo
  # -- UBIQUO_PLUGINS should be controlled by profile
  # -- appname must be provided by opts[:app_name]
  # TODO: exception_recipient must be provided by ? (default?)
  # TODO: sender_adress must be provided by ? (default?)
  # -- choosen_adapter must be provided by opts[:database] (sqlite is sqlite3 in tpls)
  # -- PROBLEM: routes only profile plugins should add to routes.
  # TODO: IMPROVEMENT RAILS_GEM_VERSION could be set in options
  # -- :branch parameter in add_plugins should be set using opts[:template]
  class Generator
    class << self
      def build_template(opts, skeleton)
        @opts = opts
        template = ERB.new(File.read(skeleton), 0, "%<>")
        template.result(binding)
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
ubiquo-0.9.0.b9 lib/ubiquo/generator.rb
ubiquo-0.9.0.b8 lib/ubiquo/generator.rb
ubiquo-0.9.0.b6 lib/ubiquo/generator.rb
ubiquo-0.9.0.b5 lib/ubiquo/generator.rb
ubiquo-0.9.0.b4 lib/ubiquo/generator.rb
ubiquo-0.9.0.b3 lib/ubiquo/generator.rb
ubiquo-0.9.0.b2 lib/ubiquo/generator.rb
ubiquo-0.9.0.b1 lib/ubiquo/generator.rb
ubiquo-0.6.3 lib/ubiquo/generator.rb
ubiquo-0.5.5 lib/ubiquo/generator.rb
ubiquo-0.5.4 lib/ubiquo/generator.rb
ubiquo-0.5.3 lib/ubiquo/generator.rb
ubiquo-0.5.2 lib/ubiquo/generator.rb
ubiquo-0.5.0 lib/ubiquo/generator.rb
ubiquo-0.4.10 lib/ubiquo/generator.rb
ubiquo-0.4.9 lib/ubiquo/generator.rb
ubiquo-0.4.8 lib/ubiquo/generator.rb
ubiquo-0.4.7 lib/ubiquo/generator.rb
ubiquo-0.4.6 lib/ubiquo/generator.rb
ubiquo-0.4.5 lib/ubiquo/generator.rb