Sha256: e75cb71a4ceae8b24967e3ddebb31c08a764ca8b22a278ddddb936159d016097
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module Milestoner # A lightweight Git wrapper. class Git def supported? File.exist? File.join(Dir.pwd, ".git") end def commits? system "git log > /dev/null 2>&1" end def remote? system "git config remote.origin.url" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
milestoner-4.0.0 | lib/milestoner/git.rb |
milestoner-3.0.0 | lib/milestoner/git.rb |