git-redmine-commit 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +10 -0
- data/VERSION +1 -1
- data/git-redmine-commit.gemspec +1 -1
- data/lib/git-redmine-commit.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
|
@@ -21,6 +21,16 @@ Specify the api key and url. You only need to do it once for each repo.
|
|
|
21
21
|
Example:
|
|
22
22
|
git-redmine-commit 3125 -- -a
|
|
23
23
|
|
|
24
|
+
=== Message Template
|
|
25
|
+
|
|
26
|
+
You can put your own mssage template file under $HOME as
|
|
27
|
+
$HOME/.redmine_commit_template
|
|
28
|
+
|
|
29
|
+
The format of the template file is ERB.
|
|
30
|
+
|
|
31
|
+
The default template file is like:
|
|
32
|
+
"#<%= issue_id %>:<%= issue_subject %>\n"
|
|
33
|
+
|
|
24
34
|
== Copyright
|
|
25
35
|
|
|
26
36
|
(The MIT License)
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.
|
|
1
|
+
0.8.1
|
data/git-redmine-commit.gemspec
CHANGED
data/lib/git-redmine-commit.rb
CHANGED
|
@@ -80,7 +80,7 @@ class GitRedmineCommit
|
|
|
80
80
|
template_src = if File.file?(REDMINECOMMIT_TEMPLATE)
|
|
81
81
|
open(REDMINECOMMIT_TEMPLATE) {|f| f.read}
|
|
82
82
|
else
|
|
83
|
-
"#<%= issue_id %>:<%= issue_subject %>\n"
|
|
83
|
+
" #<%= issue_id %>:<%= issue_subject %>\n"
|
|
84
84
|
end
|
|
85
85
|
ERB.new template_src
|
|
86
86
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: git-redmine-commit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 61
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
version: 0.8.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.8.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Robin Lu
|