francois-gip 0.2.0 → 0.2.1

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/gip.gemspec +1 -1
  3. data/lib/gip.rb +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/gip.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{gip}
5
- s.version = "0.2.0"
5
+ s.version = "0.2.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Fran\303\247ois Beausoleil"]
data/lib/gip.rb CHANGED
@@ -24,7 +24,7 @@ DESC
24
24
  uri = begin
25
25
  URI.parse(repository_url)
26
26
  rescue URI::InvalidURIError
27
- URI.parse("git://" + repository_url.split("@", 2).last)
27
+ URI.parse("git://" + repository_url.split("@", 2).last.split(":", 2).join("/"))
28
28
  end
29
29
  path = File.basename(uri.path).sub(File.extname(uri.path), "") unless path
30
30
  name = options[:remote]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: francois-gip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Fran\xC3\xA7ois Beausoleil"