git-commit-story 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/git-commit-story.gemspec +2 -2
- data/lib/git-commit-story.rb +1 -1
- data/spec/lib/git-commit-story_spec.rb +2 -2
- metadata +2 -2
data/git-commit-story.gemspec
CHANGED
@@ -2,8 +2,8 @@ Gem::Specification.new do |s|
|
|
2
2
|
s.name = "git-commit-story"
|
3
3
|
s.executables << "git-commit-story"
|
4
4
|
s.executables << "git-cs"
|
5
|
-
s.version = "0.1.
|
6
|
-
s.date = "2013-05-
|
5
|
+
s.version = "0.1.5"
|
6
|
+
s.date = "2013-05-11"
|
7
7
|
s.summary = "StreamSend git commit wrapper"
|
8
8
|
s.description = "Thin wrapper around git commit that adds a story id to commit messages"
|
9
9
|
s.authors = ["Jeff Roush"]
|
data/lib/git-commit-story.rb
CHANGED
@@ -80,7 +80,7 @@ describe GitCommitStory do
|
|
80
80
|
it "adds the story id to the commit message" do
|
81
81
|
commit_message = "the 'commit' message"
|
82
82
|
gcs = GitCommitStory.new(commit_message: commit_message, story_id: "whatever")
|
83
|
-
message = "#{commit_message}\n\
|
83
|
+
message = "#{commit_message}\n\nStory: whatever"
|
84
84
|
gcs.final_commit_message.should == message
|
85
85
|
end
|
86
86
|
end
|
@@ -90,7 +90,7 @@ describe GitCommitStory do
|
|
90
90
|
$stdout.should_receive(:print).with("Enter a commit message: ")
|
91
91
|
$stdin.should_receive(:gets).and_return("new commit message\n")
|
92
92
|
gcs = GitCommitStory.new(story_id: "whatever")
|
93
|
-
gcs.final_commit_message.should == "new commit message\n\
|
93
|
+
gcs.final_commit_message.should == "new commit message\n\nStory: whatever"
|
94
94
|
end
|
95
95
|
end
|
96
96
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-commit-story
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|