git-redmine-commit 0.2.0 → 0.3.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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.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.2.0"
8
+ s.version = "0.3.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"]
@@ -107,7 +107,7 @@ class GitRedmineCommit
107
107
  redmine_url = @options[:url]
108
108
  until redmine_url && !redmine_url.empty?
109
109
  print "Redmine url: "
110
- redmine_url = gets.chomp
110
+ redmine_url = STDIN.gets.chomp
111
111
  end
112
112
 
113
113
  GRC_CONFIG[redmine_url] ||= {}
@@ -115,7 +115,7 @@ class GitRedmineCommit
115
115
  api_key = @options[:key] || GRC_CONFIG[redmine_url][:key]
116
116
  until api_key && !api_key.empty?
117
117
  print "Redmine api key: "
118
- api_key = gets.chomp
118
+ api_key = STDIN.gets.chomp
119
119
  end
120
120
  {:url => redmine_url, :key => api_key}
121
121
  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: 23
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Robin Lu