Sha256: b554b7cebb57eecb7b6d1b55a0cc6af5e29cf8700251b9d2a7683ae81201d63a

Contents?: true

Size: 523 Bytes

Versions: 6

Compression:

Stored size: 523 Bytes

Contents

module Lono::Bundler
  class Config
    extend Memoist
    include Singleton

    def config
      config = ActiveSupport::OrderedOptions.new
      config.base_clone_url = "https://github.com/"
      config.export_to = ENV['LB_EXPORT_TO'] || "vendor"
      config.export_purge = ENV['LB_EXPORT_PRUNE'] == '0' ? false : true
      config.lonofile = ENV['LB_LONOFILE'] || "Lonofile"
      config.lockfile = "#{config.lonofile}.lock"
      config.logger = Lono.config.logger
      config
    end
    memoize :config
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lono-8.0.0.pre.rc6 lib/lono/bundler/config.rb
lono-8.0.0.pre.rc5 lib/lono/bundler/config.rb
lono-8.0.0.pre.rc4 lib/lono/bundler/config.rb
lono-8.0.0.pre.rc3 lib/lono/bundler/config.rb
lono-8.0.0.pre.rc2 lib/lono/bundler/config.rb
lono-8.0.0.pre.rc1 lib/lono/bundler/config.rb