Sha256: de350c69d83fe326403303e0f511c354de8d00cd185e4691f63ba59729abfeba
Contents?: true
Size: 295 Bytes
Versions: 2
Compression:
Stored size: 295 Bytes
Contents
module S3Repo ## # Package object, represents a single package tarball class Package < Base private def info lines = `tar xOf #{@options[:file]} .PKGINFO`.split("\n") lines.reject! { |x| x.match(/^#/) } lines.map { |x| x.split(' = ', 2) }.to_h end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
s3repo-0.0.2 | lib/s3repo/package.rb |
s3repo-0.0.1 | lib/s3repo/package.rb |