sbfaulkner-astrovan 0.5.3 → 0.5.4

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.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 5
4
- :patch: 3
4
+ :patch: 4
@@ -52,14 +52,17 @@ module Astrovan
52
52
  symlink "#{shared_path}/#{path}", options.merge(:to => "#{release_path}/#{path}")
53
53
  end
54
54
 
55
- protected
55
+ private
56
+ #:stopdoc:
57
+ GIT_URI_REGEXP = %r'^(?:(\w+)@)?((?:\w+.)*\w+):([/~]?[^/].+)$'
58
+ #:startdoc:
59
+
56
60
  def parse_repository_uri(uri)
57
61
  # [user@]host.xz:/path/to/repo.git/
58
62
  # [user@]host.xz:~user/path/to/repo.git/
59
63
  # [user@]host.xz:path/to/repo.git
60
- GIT_REGEXP = %r'^(?:(\w+)@)?((?:\w+.)*\w+):([/~]?[^/].+)$'
61
64
 
62
- if uri =~ GIT_REGEXP
65
+ if uri =~ GIT_URI_REGEXP
63
66
  URI::Generic.new(nil, $1, $2, nil, nil, $3, nil, nil, nil)
64
67
  else
65
68
  URI.parse(uri)
@@ -48,7 +48,6 @@ module Astrovan
48
48
  session.close if session
49
49
  end
50
50
 
51
- protected
52
51
  def environment # :nodoc:
53
52
  @environment
54
53
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbfaulkner-astrovan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - S. Brent Faulkner