Sha256: e047c65355f77c8bb52f45884716b4249bc30cfe8d3292cc2b582b3536ba94b1
Contents?: true
Size: 267 Bytes
Versions: 6
Compression:
Stored size: 267 Bytes
Contents
require 'git' module PKGWizard class GitRPM def self.fetch(giturl, path) # We pull if clone exists if File.directory?(path + '/.git') c = Git.open(path) c.pull else Git.clone giturl, path end end end end
Version data entries
6 entries across 6 versions & 1 rubygems