gitlab-markup 2.2.0 → 2.2.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/.gitlab-ci.yml +4 -0
- data/CONTRIBUTING.md +26 -9
- data/HISTORY.md +4 -0
- data/lib/github-markup.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07fdbceaf3ac4c23eaf4e3b2ba3039d7128c442da418f70f5e46e37422ca692a
|
|
4
|
+
data.tar.gz: fc47174cd8dc2d3019acb9d9f1399b841d91b97818cb6040866a31dc8c5fbcf2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0092c11fe007ff5dd6a9b0d321a54d918499fab4da110b0e65240f5fe6a96095c7c1e791737f1a9bc0fab069102f893be798f1cf343b6ab9f02aee8f44f7151d'
|
|
7
|
+
data.tar.gz: 6ee1e0614dacffd66279f9f5d2f625c5f4afd94b0d0fa1861e015d3795d0e52d5e5d5f2ab2ee274d3dbc57141e873f1733bb2fe3d3b606d1673bbf41757531b3
|
data/.gitlab-ci.yml
CHANGED
|
@@ -2,6 +2,10 @@ include:
|
|
|
2
2
|
- template: SAST.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml
|
|
3
3
|
- template: Security/Dependency-Scanning.gitlab-ci.yml # https://docs.gitlab.com/ee/user/application_security/dependency_scanning/
|
|
4
4
|
- template: Security/Secret-Detection.gitlab-ci.yml # https://docs.gitlab.com/ee/user/application_security/secret_detection/
|
|
5
|
+
- component: gitlab.com/gitlab-org/components/gem-release/gem-release@~latest
|
|
6
|
+
inputs:
|
|
7
|
+
# The version is defined in lib/github-markup.rb, not the default lib/**/version.rb.
|
|
8
|
+
file_pattern_to_trigger_release: "lib/github-markup.rb"
|
|
5
9
|
|
|
6
10
|
variables:
|
|
7
11
|
LANG: "C.UTF-8"
|
data/CONTRIBUTING.md
CHANGED
|
@@ -72,16 +72,33 @@ If nothing complains, congratulations!
|
|
|
72
72
|
|
|
73
73
|
## Releasing a new version
|
|
74
74
|
|
|
75
|
+
Releases are automated by the
|
|
76
|
+
[`gem-release`](https://gitlab.com/gitlab-org/components/gem-release) CI/CD
|
|
77
|
+
component configured in `.gitlab-ci.yml`.
|
|
78
|
+
|
|
75
79
|
If you are the current maintainer of this gem:
|
|
76
80
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
1. Open a merge request that bumps `VERSION` in `lib/github-markup.rb`, adhering
|
|
82
|
+
to [Semantic Versioning](https://semver.org/). Update `HISTORY.md` in the same
|
|
83
|
+
merge request, and add a `Changelog:` trailer to the commit so the change
|
|
84
|
+
appears in the generated release notes.
|
|
85
|
+
2. Once the merge request is merged to `master`, the pipeline detects the change
|
|
86
|
+
to `lib/github-markup.rb` and runs the release jobs automatically: it builds
|
|
87
|
+
the gem, creates a GitLab release, and publishes the gem to RubyGems.
|
|
88
|
+
|
|
89
|
+
Notes:
|
|
90
|
+
|
|
91
|
+
- Only edit `lib/github-markup.rb` to bump `VERSION`. Any change to it on
|
|
92
|
+
`master` triggers the release jobs, so a non-version edit would start a release
|
|
93
|
+
for a version that is already published; the `gem push` then fails, which is
|
|
94
|
+
harmless (nothing is re-published) but produces a red pipeline.
|
|
95
|
+
- The release is tagged with the bare version (for example `2.3.0`). Tags created
|
|
96
|
+
before this automation was adopted used a `v` prefix (`v2.2.0`); older tags are
|
|
97
|
+
left as-is.
|
|
98
|
+
- Release notes are generated from `Changelog:` commit trailers via the GitLab
|
|
99
|
+
changelog API. Commits without that trailer produce empty notes.
|
|
100
|
+
- Publishing requires the `GEM_HOST_API_KEY` CI/CD variable (a RubyGems API key
|
|
101
|
+
with push access), restricted to protected branches. If you need push access to
|
|
102
|
+
RubyGems, contact one of the existing owners (`gem owners gitlab-markup`).
|
|
86
103
|
|
|
87
104
|
[1]: https://gitlab.com/gitlab-org/gitlab-markup/merge_requests
|
data/HISTORY.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# History
|
|
2
2
|
|
|
3
|
+
## 2.2.1 (2026-10-15)
|
|
4
|
+
|
|
5
|
+
* [Add automated gem release pipeline using the gem-release CI component](https://gitlab.com/gitlab-org/ruby/gems/gitlab-markup/-/merge_requests/63)
|
|
6
|
+
|
|
3
7
|
## 2.2.0 (2026-10-15)
|
|
4
8
|
|
|
5
9
|
* [Allow RDoc 8, require Ruby 3.2+](https://gitlab.com/gitlab-org/gitlab-markup/-/merge_requests/62)
|
data/lib/github-markup.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab-markup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Wanstrath
|
|
8
8
|
- GitLab Engineering Team
|
|
9
|
+
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
+
date: 2026-10-16 00:00:00.000000000 Z
|
|
12
13
|
dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
|
14
15
|
name: activesupport
|
|
@@ -279,6 +280,7 @@ metadata:
|
|
|
279
280
|
bug_tracker_uri: https://gitlab.com/gitlab-org/gitlab-markup/issues
|
|
280
281
|
changelog_uri: https://gitlab.com/gitlab-org/gitlab-markup/blob/master/HISTORY.md
|
|
281
282
|
source_code_uri: https://gitlab.com/gitlab-org/gitlab-markup
|
|
283
|
+
post_install_message:
|
|
282
284
|
rdoc_options: []
|
|
283
285
|
require_paths:
|
|
284
286
|
- lib
|
|
@@ -293,7 +295,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
293
295
|
- !ruby/object:Gem::Version
|
|
294
296
|
version: '0'
|
|
295
297
|
requirements: []
|
|
296
|
-
rubygems_version: 3.
|
|
298
|
+
rubygems_version: 3.5.22
|
|
299
|
+
signing_key:
|
|
297
300
|
specification_version: 4
|
|
298
301
|
summary: Fork from github-markup GitLab uses to render non markdown content
|
|
299
302
|
test_files:
|