Sha256: 26d7e3f49b3d6fa3dead3e42da541b3392bc721c85802c1cd3cd47a2ceebba07
Contents?: true
Size: 776 Bytes
Versions: 2
Compression:
Stored size: 776 Bytes
Contents
require 'libgems' module LibGems def self.default_sources %w[https://sproutcutter.heroku.com/] end def self.host @host ||= "https://sproutcutter.heroku.com" end def self.default_dir File.join LibGems.user_home, Spade::SPADE_DIR end def self.user_dir File.join LibGems.user_home, Spade::SPADE_DIR end def self.config_file File.join LibGems.user_home, '.spaderc' end def self.path @gem_path ||= nil unless @gem_path then paths = [ENV['SPADE_PATH'] || LibGems.configuration.path || default_path] set_paths paths.compact.join(File::PATH_SEPARATOR) end @gem_path end def self.dir set_home(ENV['SPADE_HOME'] || LibGems.configuration.home || default_dir) unless @gem_home @gem_home end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spade-packager-0.1.0.1 | lib/libgems_ext/libgems.rb |
spade-packager-0.1.0 | lib/libgems_ext/libgems.rb |