Sha256: b4b424e0556b77b920662e36dcca1f92670f948c78592458c7bb9cd033b9b2bc
Contents?: true
Size: 295 Bytes
Versions: 23
Compression:
Stored size: 295 Bytes
Contents
require_relative('./push.rb') require_relative('./environment.rb') class Push < CommandArray def update if(Environment.scm=='git' && `git config --list`.include?('user.name=')) if(`git diff @{u}`.include?('diff')) self.add "<%`git push 2>&1`%>" end end end end
Version data entries
23 entries across 23 versions & 1 rubygems