yard-nowpunk 0.2.30 → 0.2.31

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 CHANGED
@@ -1 +1 @@
1
- 0.2.30
1
+ 0.2.31
@@ -7,9 +7,9 @@ class YARD::Nowpunk
7
7
  def parse_github_url_from_git_config
8
8
  remote_origin = Git.open(Dir.pwd).config["remote.origin.url"]
9
9
  @url ||= if remote_origin =~ /@/
10
- gsub("git@", "").gsub(":", "/")
10
+ remote_origin.gsub("git@", "").gsub(":", "/")
11
11
  else
12
- gsub("git://", "")
12
+ remote_origin.gsub("git://", "")
13
13
  end
14
14
  end
15
15
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "yard-nowpunk"
8
- s.version = "0.2.30"
8
+ s.version = "0.2.31"
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.30
4
+ version: 0.2.31
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: -1121642479664482451
118
+ hash: -1345394407477837201
119
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  none: false
121
121
  requirements: