hoe-markdown 1.5.0 → 1.5.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/hoe/markdown/util.rb +0 -6
- data/lib/hoe/markdown/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cc0106e2ca0ff4a9737428397092d41934babb0c2be0fe7036046bffb3b7ccf
|
4
|
+
data.tar.gz: a5e2956195654d9fe6a011ad00893b4cf6d5f70603c5ed8aa7b90250e01d65e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 948b02eb6dac577a5c8e9a5425aefae6d78070743aa023c9cdf0c6ef5ede50aee88449d4e08bdcc455f472ecffbe7ec7886e098790db27fb91090890e7faa1bc
|
7
|
+
data.tar.gz: 9052832cfebca7e3664f87e234332f3fbca03fecf129340572ce825bc75362c1477d1b384b98d1a88f1392cdf9df1e119a5ed531fe9fc0bd7c46d4ba3b7c3be8
|
data/CHANGELOG.md
CHANGED
data/lib/hoe/markdown/util.rb
CHANGED
@@ -27,8 +27,6 @@ class Hoe
|
|
27
27
|
(?![[[:alnum:]]-])
|
28
28
|
}x
|
29
29
|
|
30
|
-
GIT_SHA1_REGEX = %{\b[0-9a-f]{5,40}\b}
|
31
|
-
|
32
30
|
def self.linkify_github_issues(markdown, issues_uri)
|
33
31
|
if issues_uri.nil? || issues_uri.empty?
|
34
32
|
raise "#{__FILE__}:#{__method__}: URI for bugs cannot be empty\n"
|
@@ -64,10 +62,6 @@ class Hoe
|
|
64
62
|
def self.linkify_github_usernames(markdown)
|
65
63
|
markdown.gsub(GITHUB_USER_REGEX, "[@\\1](https://github.com/\\1)")
|
66
64
|
end
|
67
|
-
|
68
|
-
def self.linkify_git_commits(markdown)
|
69
|
-
markdown.gsub(GITHUB_SHA1_REGEX, "[`\\1`](https://)") # TODO YOU WERE HERE
|
70
|
-
end
|
71
65
|
end
|
72
66
|
end
|
73
67
|
end
|
data/lib/hoe/markdown/version.rb
CHANGED