hoe-markdown 1.4.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +28 -0
- data/CHANGELOG.md +12 -0
- data/lib/hoe/markdown/standalone.rb +1 -1
- data/lib/hoe/markdown/util.rb +0 -6
- data/lib/hoe/markdown/version.rb +1 -1
- metadata +4 -3
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
|
@@ -0,0 +1,28 @@
|
|
1
|
+
name: ci
|
2
|
+
concurrency:
|
3
|
+
group: "${{github.workflow}}-${{github.ref}}"
|
4
|
+
cancel-in-progress: true
|
5
|
+
on:
|
6
|
+
workflow_dispatch:
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- main
|
10
|
+
pull_request:
|
11
|
+
types: [opened, synchronize]
|
12
|
+
branches:
|
13
|
+
- '*'
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
build:
|
17
|
+
strategy:
|
18
|
+
fail-fast: false
|
19
|
+
matrix:
|
20
|
+
ruby: ["2.7", "3.0", "3.1", "3.2", "head"]
|
21
|
+
runs-on: ubuntu-latest
|
22
|
+
steps:
|
23
|
+
- uses: actions/checkout@v4
|
24
|
+
- uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: ${{matrix.ruby}}
|
27
|
+
bundler-cache: true
|
28
|
+
- run: bundle exec rake
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Hoe::Markdown CHANGELOG
|
2
2
|
|
3
|
+
## v1.5.1 / 2023-10-10
|
4
|
+
|
5
|
+
Remove experimental code that was accidentally included in v1.5.0.
|
6
|
+
|
7
|
+
|
8
|
+
## v1.5.0 / 2023-10-10
|
9
|
+
|
10
|
+
Feature:
|
11
|
+
|
12
|
+
- use `Bundler.load_gemspec` instead of `eval`, to support Ruby 3.3
|
13
|
+
|
14
|
+
|
3
15
|
## v1.4.0 / 2021-01-18
|
4
16
|
|
5
17
|
Feature:
|
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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -32,6 +32,7 @@ executables: []
|
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
|
+
- ".github/workflows/ci.yml"
|
35
36
|
- ".gitignore"
|
36
37
|
- ".rspec"
|
37
38
|
- ".travis.yml"
|
@@ -68,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
69
|
- !ruby/object:Gem::Version
|
69
70
|
version: '0'
|
70
71
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.5.0.dev
|
72
73
|
signing_key:
|
73
74
|
specification_version: 4
|
74
75
|
summary: Hoe plugin with helpers for markdown documentation files.
|