Sha256: a02657d3e57acf0b2fe9e08a7e3a9c7e3062098f58e0fda01482d5a0107b83ba

Contents?: true

Size: 335 Bytes

Versions: 7

Compression:

Stored size: 335 Bytes

Contents

require "fileutils"

module AndParcel
	def self.version
		"0.1"
	end
	
	def self.home
		File.join(Dir.chdir {Dir.pwd}, '.andparcel')
	end
	
	def self.init
		FileUtils.mkdir_p home
		CatalogSet.new(home).add('andparcel.com', 'http://pub.andparcel.com/andparcel.json')
	end
	
	def self.catalogs
		init
		
		CatalogSet.new(home)
	end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
andparcel-0.4.1 lib/andparcel/base.rb
andparcel-0.4.0 lib/andparcel/base.rb
andparcel-0.3.2 lib/andparcel/base.rb
andparcel-0.3.0 lib/andparcel/base.rb
andparcel-0.2.1 lib/andparcel/base.rb
andparcel-0.2.0 lib/andparcel/base.rb
andparcel-0.1.0 lib/andparcel/base.rb