git-redmine-commit 0.1.0 → 0.2.0

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 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
1
+ 0.2.0
@@ -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.1.0"
8
+ s.version = "0.2.0"
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"]
@@ -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: 27
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Robin Lu