git-fyncy 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,8 +41,8 @@ module GitFyncy
41
41
  md ? md[1] : str
42
42
  end
43
43
 
44
- SSH_URL_REGEX = %r{ssh://(\w+@)?([\w\.]+)(:\d+)?([/\w\.]*)$}.freeze
45
- SCP_REGEX = /^(\w+@)?([\.\w]+):(.*)$/.freeze
44
+ SSH_URL_REGEX = %r{ssh://(\w+@)?([-_\w\.]+)(:\d+)?([/\w\.]*)$}.freeze
45
+ SCP_REGEX = /^(\w+@)?([-_\.\w]+):(.*)$/.freeze
46
46
 
47
47
  def self.host_and_path_from_url(url)
48
48
  md = SSH_URL_REGEX.match url
@@ -1,3 +1,3 @@
1
1
  module GitFyncy
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-fyncy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-01 00:00:00.000000000 Z
12
+ date: 2015-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: listen
16
- requirement: &7275640 !ruby/object:Gem::Requirement
16
+ requirement: &15747200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *7275640
24
+ version_requirements: *15747200
25
25
  description: The funky git aware syncer.
26
26
  email:
27
27
  - ryan@ryanmcg.com