git-redmine-commit 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -2
- data/VERSION +1 -1
- data/git-redmine-commit.gemspec +1 -1
- data/lib/git-redmine-commit.rb +2 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -6,11 +6,11 @@ With this tool, you can do a git commit with a redmine issue id. The message of
|
|
6
6
|
|
7
7
|
== Install
|
8
8
|
|
9
|
-
gem install git-redmine-commit
|
9
|
+
gem install git-redmine-commit
|
10
10
|
|
11
11
|
== Usage
|
12
12
|
|
13
|
-
git-redmine-commit issue_id [options] -- [git-commit options]
|
13
|
+
git-redmine-commit issue_id [options] -- [git-commit options]
|
14
14
|
|
15
15
|
Specify the api key and url. You only need to do it once for each repo.
|
16
16
|
--redmine-api-key [key] The api access key to access redmine.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/git-redmine-commit.gemspec
CHANGED
data/lib/git-redmine-commit.rb
CHANGED
@@ -66,7 +66,8 @@ class GitRedmineCommit
|
|
66
66
|
GRC_CONFIG[redmine_url][:key] = api_key
|
67
67
|
GRC_CONFIG[redmine_url][:repos] ||= []
|
68
68
|
GRC_CONFIG[redmine_url][:repos] << repo
|
69
|
-
|
69
|
+
GRC_CONFIG[redmine_url][:repos].uniq!
|
70
|
+
|
70
71
|
File.open( REDMINECOMMIT_RC, 'w' ) do |out|
|
71
72
|
YAML.dump( GRC_CONFIG, out )
|
72
73
|
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: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Robin Lu
|