git-diff-prs 0.0.1 → 0.0.2

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: 371a4f1e2c5841d1b945f4162e611b272eab1394
4
- data.tar.gz: 0d2f67520497d9be7c5d5106cbe625d91308d03a
3
+ metadata.gz: 7d073ac69353222361563102ce4659c31c5e2aa5
4
+ data.tar.gz: 63093b4811ee3c569b303d4a57136c494bb00d20
5
5
  SHA512:
6
- metadata.gz: 0f5f9db8284f5eded8e5ee991d5b50ad3aea9e98e90a3966010977c135ee1e368684cf741c3ed5e6bd35c84d439ed5b91ca2f1dcd264b091b60b7a93cbdf43ac
7
- data.tar.gz: 94c83124d9b970ddc5f60e7eda62a73c200c0b90d27582a406df2cbb917bdff4b3367eb3e0706704071ce8c39562777cbd9ff7ea211139cf7a19fd8c2a40a0fb
6
+ metadata.gz: a74ee43a39f813b162ff3fd4f2bdc3d9b53ce63bd777bbb44ce5541533bf820e44659bacb7b9d77bf93fea396f4d8fb0caa0da1375dcc7caed9f13cf75ad8055
7
+ data.tar.gz: 57208eeb84a4322c51d5e7e04db7ce645ec785b8174698ad4834fb4868490940dd730a08815db0c5be7b4f491cacd36ba6775a1f6569bd00694956510c859bc2
data/README.md CHANGED
@@ -3,6 +3,6 @@ A tool to list all the PRs between commits
3
3
 
4
4
  ## Usage
5
5
  ```bash
6
- $ gem install -g git-diff-prs
6
+ $ gem install git-diff-prs
7
7
  $ GITHUB_DIFF_PRS_TOKEN=<token> git-diff-prs v1.0.0..v2.0.0
8
8
  ```
@@ -45,6 +45,7 @@ def repository
45
45
  @repository ||= begin
46
46
  remote = git(:config, 'remote.origin.url').first.chomp
47
47
 
48
+ remote = "ssh://#{remote.sub(':', '/')}" unless remote == %r{^\w+://}
48
49
  remote_url = URI.parse(remote)
49
50
  remote_url.path.sub(%r{^/}, '').sub(/\.git$/, '')
50
51
  end
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'git-diff-prs'
8
- spec.version = '0.0.1'
8
+ spec.version = '0.0.2'
9
9
  spec.authors = ['hkurokawa']
10
10
  spec.email = ['hirosh.kurokawa@gmail.com']
11
11
  spec.summary = 'List up pull requests between the commits'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-diff-prs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - hkurokawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-24 00:00:00.000000000 Z
11
+ date: 2019-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit