Sha256: 760377a571a64f878d9d8d099a04dc5ad1eee523f52d8dcfc944edc646989374
Contents?: true
Size: 680 Bytes
Versions: 2
Compression:
Stored size: 680 Bytes
Contents
module Autowow module Commands module Gem def release be + ["rake", "release"] end def clean ["gem", "clean"] end def rubocop_parallel be + ["rubocop", "--parallel"] end def bump(version = nil) (["gem", "bump", "--no-commit"] + [version]).reject(&:nil?) end def rubocop_autocorrect(files) cmd = be + ["rubocop", "--auto-correct"] if files.kind_of?(Array) cmd + files else cmd + files.split(" ") end end def be ["bundle", "exec"] end include ReflectionUtils::CreateModuleFunctions end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
autowow-0.9.6 | lib/autowow/commands/gem.rb |
autowow-0.9.5 | lib/autowow/commands/gem.rb |