git-redmine-commit 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
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.0
1
+ 0.8.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{git-redmine-commit}
8
- s.version = "0.8.0"
8
+ s.version = "0.8.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Robin Lu"]
@@ -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: 63
4
+ hash: 61
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 0
10
- version: 0.8.0
9
+ - 1
10
+ version: 0.8.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Robin Lu