git-issue 0.7.2 → 0.7.3

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.7.2
1
+ 0.7.3
data/git-issue.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{git-issue}
8
- s.version = "0.7.2"
8
+ s.version = "0.7.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tomohito Ozaki"]
@@ -15,7 +15,7 @@ class GitIssue::Github < GitIssue::Base
15
15
  @user = options[:user] || configured_value('user')
16
16
  @user = global_configured_value('github.user') if @user.blank?
17
17
  configure_error('user', "git config issue.user yuroyoro") if @user.blank?
18
- @sslNoVerify = options[:sslNoVerify] || configured_value('apikey') ? 1 : 0
18
+ @sslNoVerify = @options[:sslNoVerify] && RUBY_VERSION < '1.9.0'
19
19
  end
20
20
 
21
21
  def commands
@@ -357,7 +357,7 @@ class GitIssue::Github < GitIssue::Base
357
357
  opts.on("--since=VALUE", "Query of listing issue, (Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ)"){|v| @options[:since] = v }
358
358
 
359
359
  opts.on("--password=VALUE", "For Authorizaion of create/update issue. Github API v3 does'nt supports API token base authorization for now. then, use Basic Authorizaion instead token." ){|v| @options[:password]}
360
- opts.on("--sslnoverify", "don't verify SSL"){ @options[:sslNoVerify] = true}
360
+ opts.on("--sslnoverify", "don't verify SSL"){|v| @options[:sslNoVerify] = true}
361
361
  opts
362
362
  end
363
363
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-issue
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 2
10
- version: 0.7.2
9
+ - 3
10
+ version: 0.7.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tomohito Ozaki