yard-nowpunk 0.2.27 → 0.2.28

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.27
1
+ 0.2.28
data/lib/yard-nowpunk.rb CHANGED
@@ -4,7 +4,12 @@
4
4
  class YARD::Nowpunk
5
5
  class << self
6
6
  def parse_github_url_from_git_config
7
- Git.open(Dir.pwd).config["remote.origin.url"].gsub("git://", "").gsub("git@", "")
7
+ remote_origin = Git.open(Dir.pwd).config["remote.origin.url"]
8
+ @url ||= if remote_origin =~ /@/
9
+ gsub("git@", "").gsub(":", "/")
10
+ else
11
+ gsub("git://", "")
12
+ end
8
13
  end
9
14
 
10
15
  def project_name
data/yard-nowpunk.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "yard-nowpunk"
8
- s.version = "0.2.27"
8
+ s.version = "0.2.28"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Farley Knight"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard-nowpunk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.27
4
+ version: 0.2.28
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -115,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
115
  version: '0'
116
116
  segments:
117
117
  - 0
118
- hash: 667567213909708679
118
+ hash: 3794035557847937272
119
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  none: false
121
121
  requirements: