git-utils 0.5.6 → 0.5.7

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: a43f114ec165025c034be49143b7011de656ce7b
4
- data.tar.gz: d3d0cae4085724c9d4b7bd1600c2e922296eb503
3
+ metadata.gz: 81b88abd3d3658dc2e511f7d74e5d0539cb92b47
4
+ data.tar.gz: 71eee7e0a6e6d8bc8fa43ea71ca0a30c4ac107c5
5
5
  SHA512:
6
- metadata.gz: add8335343266d2ed2b881b18244f3fd5d75a66b18c2ea51eb50933f2cf0928de5c8034983b03818680ba312a294011ed2f65317478425e53d9b1aab488bb812
7
- data.tar.gz: 01b57e89b717b0188493b859ade26a9159165fb93afe5e75b47203e76cd0f5655f72f33424b28c2459e27634f2c3ab9c33f899cc5ab0d8db92b82862af8bc490
6
+ metadata.gz: 985a5cedcc942611374cf5c64100ebc038d237d61f4c970458ac5b90923e61bbbb61569d28c643f4a3feb4764a48be46b21bf531a4f4295ebf2be17128d1340e
7
+ data.tar.gz: ff4a7ce714a1dbf0a4f4f9615e15b0c91aa66ae96631a2fd7255a8760f39b560923a6ab4aacf0a6008b6334a0c55def2e23dc03e464f4febc8ab7218b6e2b0cd
@@ -23,10 +23,10 @@ class Open < Command
23
23
  current_branch
24
24
  elsif protocol == 'ssh'
25
25
  pattern = /(.*)@(.*):(.*)\.git/
26
- replacement = 'https://\2/\3/'
26
+ replacement = 'https://\2/\3'
27
27
  elsif protocol == 'http'
28
28
  pattern = /https?\:\/\/(([^@]*)@)?(.*)\.git/
29
- replacement = 'https://\3/'
29
+ replacement = 'https://\3'
30
30
  end
31
31
  origin_url.sub(pattern, replacement)
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  module Utils
3
- VERSION = "0.5.6"
3
+ VERSION = "0.5.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hartl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-22 00:00:00.000000000 Z
11
+ date: 2013-07-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Add some Git utilities
14
14
  email: