gh_issues 0.4.1 → 0.4.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 282d35026c5807140e755bfde58f24fb2e20f219
4
- data.tar.gz: 683990357a5488baf07fb2cb05489cd011b89701
3
+ metadata.gz: 96ab8f14adbb02035f2efadbe0e99d0474846105
4
+ data.tar.gz: 93a7f5282e3d85d3c5c8e3bc1bc6dfe7adcefcac
5
5
  SHA512:
6
- metadata.gz: bc14538af73b1f6a7f98f61a04e9cf278fafcf46ea4cfdf4d5b901fcfa42f6cfd1b09a05589e0f8356821b9f0b49a6ce4569ebed21b9ce9997f0b011047b0c94
7
- data.tar.gz: e7d5ae6ba64050a587e3745c03518c9b3a70b1112c7ade8256b32ef8f3d66ded1bbdeeb0d175563c9fb78fa5f8d2b27b6a7b8917ed88849324b364492aabd28f
6
+ metadata.gz: 1020914f4026e54c49874866304984ba0ed449dc014fe3c403c13ec3ac8b16696e8edc4fa8737ceb979d486a0faaae8599d4af688553324273d1ae30c762270d
7
+ data.tar.gz: 3ba34ec88613ec8fbab82c9faee5c274c25eec25eb81f409ae53382842bee4271027a1ae3ab9aae9086368f2fced919fb2bf61a623c44ff428a9b41ac3c4496d
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.1-yellow.svg)
2
+ ![Version](https://img.shields.io/badge/version-0.4.2-yellow.svg)
3
3
 
4
4
  # GitHub Issues
5
5
 
data/lib/gh_issues/cli.rb CHANGED
@@ -102,7 +102,7 @@ module GhIssues
102
102
  in_github_repo = true if origin_url.split(':')[0] =~ /github.com/
103
103
  end
104
104
 
105
- current_repo = origin_url.split(':')[1].split('.')[0] if in_github_repo
105
+ current_repo = origin_url.split(':')[1].split('.git')[0] if in_github_repo
106
106
 
107
107
  unless repo
108
108
  repo = current_repo if current_repo
@@ -1,3 +1,3 @@
1
1
  module GhIssues
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh_issues
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uğur Özyılmazel