Sha256: 2a9c320ce72b1d6652a1f53290f7287381ee29cbcd0c1eb8b909e1d8725bae58
Contents?: true
Size: 456 Bytes
Versions: 1
Compression:
Stored size: 456 Bytes
Contents
require 'active_support/inflector' require_relative 'story' module GitFlower class Hotfix < Story def save! validate_environment_and_arguments! validate_git_repository! create_hotfix! end private def validate_git_repository! GitService. new(repository: GitFlower::GitRepository.new(Dir.pwd)). validate_for_hotfix! end def create_hotfix! create_story!("hotfix") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_flower-0.2.0 | lib/git_flower/hotfix.rb |