gh_issues 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b0d505fac7a1bb75bbf295f9e16a0d0db61ce5f
4
- data.tar.gz: f5b56d9e41e7854f5e284e38a218c14fb87b82e3
3
+ metadata.gz: 8c578503c83aa0a90aea201a2ebac7fbf46b0986
4
+ data.tar.gz: 25a780328df0185ae1a9beae27b3ab8af4a58aa9
5
5
  SHA512:
6
- metadata.gz: 7cbf52e813eb6a6782de9c20d7ef07867f676f75bb20d47a75f17ff653ace4d8c55b336c4d9bf60f947da70555c2a0e4f1f4158405b6294689136056b0bc1127
7
- data.tar.gz: ada4c8d0a0efaa8d822ee6575d961ba6f7b0b1d006fdf5e33e8dd0fe61d2b811cba6097bb74e370fb5bccd1306355a253180171f4054eafe46fd115f8daa57d3
6
+ metadata.gz: 6d1e523cf778a10f18acfff0aa270d942c6b929e9cb5da0b9f2debbedd1ab9318b98f2d674a8d8ac84f0dd7ce7388d1bc36d4dff1fe99766b6ff0ea6143d0039
7
+ data.tar.gz: e07e0f86b37078dcfd72cca450c9f51e9e419ab1ce0914579247d6f46a70661fbf9d2d2fb00e19c085600aa695c30474bb6c745e23546c6a77c6a3a650b01b86
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Build Status](https://travis-ci.org/vigo/gh-issues.svg?branch=master)](https://travis-ci.org/vigo/gh-issues)
2
- ![Version](https://img.shields.io/badge/version-0.4.2-yellow.svg)
2
+ ![Version](https://img.shields.io/badge/version-0.4.4-yellow.svg)
3
3
 
4
4
  # GitHub Issues
5
5
 
data/lib/gh_issues/cli.rb CHANGED
@@ -100,7 +100,7 @@ module GhIssues
100
100
  if GhIssues.in_github_repo?(origin_url)
101
101
  current_repo = GhIssues.get_repo_name(origin_url)
102
102
  end
103
-
103
+
104
104
  unless repo
105
105
  repo = current_repo if current_repo
106
106
  else
@@ -1,3 +1,3 @@
1
1
  module GhIssues
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
data/lib/gh_issues.rb CHANGED
@@ -121,7 +121,7 @@ module GhIssues
121
121
  return nil unless ::GhIssues.in_github_repo?(url)
122
122
  https_matches = /https?\:\/\/github\.com\/(.[^\.]+)\/(.[^\.]+)/.match(url)
123
123
  return "#{https_matches[1]}/#{https_matches[2]}" if https_matches
124
- ssh_matches = /git\@github\.com\:(.[^\.]+)\/(.[^\.]+)/.match(url)
124
+ ssh_matches = /git\@github\.com\:(.[^\.]+)\/(.+).git/.match(url)
125
125
  return "#{ssh_matches[1]}/#{ssh_matches[2]}" if ssh_matches
126
126
  return nil
127
127
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh_issues
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uğur Özyılmazel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-15 00:00:00.000000000 Z
11
+ date: 2017-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler