Sha256: 2f68b8318f0517202f93e4a6504e03d088e275d253c1b5b7a6a10aa4e4213788

Contents?: true

Size: 587 Bytes

Versions: 1

Compression:

Stored size: 587 Bytes

Contents

module CommitMessageHelper

  def example_commit_message(pattern_to_match)
    return <<-EXAMPLE
Got Jenny's number, gonna' make her mine!

#{pattern_to_match}
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch get_jennys_number_#8675309
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
# new file:   fake_file.rb
#

EXAMPLE
  end
end

module GitTracker
  class FakeFile
    attr_reader :content

    def write(content)
      @content = content
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git_tracker-0.0.1 spec/support/commit_message_helper.rb