bake-modernize 0.24.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bake/modernize/actions.rb +9 -0
- data/bake/modernize/contributing.rb +2 -2
- data/lib/bake/modernize/version.rb +1 -1
- data/readme.md +1 -1
- data/template/actions/.github/workflows/documentation-coverage.yaml +25 -0
- data/template/actions/.github/workflows/{coverage.yaml → test-coverage.yaml} +1 -1
- data/template/readme/readme.md +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b063c18df4117afec874a3a0f0e9106bdca3e69923ce98c33c3448b85adddb5e
|
4
|
+
data.tar.gz: 0402ed8c9a85757e062a4aa8854b89dd7b8bc0540ac0270a0859cb41b6c239de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fbf5a8c8d5c00ce7ad5aa26c9e55bde642225196a0c2e92679a67eaca4237db28f9f773b42fa07e3ed51774097d26e0f20d2136847bfa26c103abf44833ed8c
|
7
|
+
data.tar.gz: 0faeb70b47297e1fa94889f57c423784e59489c48290941ab582f60a9b5177a9e42645bca0313ea9616509ea8806aaaabff645dc8e8b0b89b704d8bd29d8e31f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/modernize/actions.rb
CHANGED
@@ -29,6 +29,8 @@ def update(root:)
|
|
29
29
|
if readme_path
|
30
30
|
update_badges(readme_path, repository_url(root))
|
31
31
|
end
|
32
|
+
|
33
|
+
system("bundle", "add", "--group", "documentation", "decode", chdir: root)
|
32
34
|
end
|
33
35
|
|
34
36
|
private
|
@@ -49,6 +51,13 @@ def update_filenames(root)
|
|
49
51
|
if development_path.exist?
|
50
52
|
FileUtils::Verbose.mv(development_path, test_path)
|
51
53
|
end
|
54
|
+
|
55
|
+
# Move coverage.yaml to test-coverage.yaml
|
56
|
+
coverage_path = actions_root + "coverage.yaml"
|
57
|
+
test_coverage_path = actions_root + "test-coverage.yaml"
|
58
|
+
if coverage_path.exist?
|
59
|
+
FileUtils::Verbose.mv(coverage_path, test_coverage_path)
|
60
|
+
end
|
52
61
|
end
|
53
62
|
|
54
63
|
def repository_url(root)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright, 2023, by Samuel Williams.
|
4
|
+
# Copyright, 2023-2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require 'bake/modernize'
|
7
7
|
require 'markly'
|
@@ -29,7 +29,7 @@ We welcome contributions to this project.
|
|
29
29
|
|
30
30
|
### Developer Certificate of Origin
|
31
31
|
|
32
|
-
In order to protect users of this project, we require all
|
32
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
33
33
|
|
34
34
|
### Community Guidelines
|
35
35
|
|
data/readme.md
CHANGED
@@ -26,7 +26,7 @@ We welcome contributions to this project.
|
|
26
26
|
|
27
27
|
### Developer Certificate of Origin
|
28
28
|
|
29
|
-
In order to protect users of this project, we require all
|
29
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
30
30
|
|
31
31
|
### Community Guidelines
|
32
32
|
|
@@ -0,0 +1,25 @@
|
|
1
|
+
name: Documentation Coverage
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
permissions:
|
6
|
+
contents: read
|
7
|
+
|
8
|
+
env:
|
9
|
+
CONSOLE_OUTPUT: XTerm
|
10
|
+
COVERAGE: PartialSummary
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
validate:
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v4
|
18
|
+
- uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: "3.3"
|
21
|
+
bundler-cache: true
|
22
|
+
|
23
|
+
- name: Validate coverage
|
24
|
+
timeout-minutes: 5
|
25
|
+
run: bundle exec bake decode:index:coverage lib
|
data/template/readme/readme.md
CHANGED
@@ -24,7 +24,7 @@ We welcome contributions to this project.
|
|
24
24
|
|
25
25
|
### Developer Certificate of Origin
|
26
26
|
|
27
|
-
In order to protect users of this project, we require all
|
27
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
28
28
|
|
29
29
|
### Community Guidelines
|
30
30
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-modernize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -38,7 +38,7 @@ cert_chain:
|
|
38
38
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
39
39
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
40
40
|
-----END CERTIFICATE-----
|
41
|
-
date: 2024-
|
41
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
42
42
|
dependencies:
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: async-http
|
@@ -133,8 +133,9 @@ files:
|
|
133
133
|
- lib/bake/modernize/version.rb
|
134
134
|
- license.md
|
135
135
|
- readme.md
|
136
|
-
- template/actions/.github/workflows/coverage.yaml
|
136
|
+
- template/actions/.github/workflows/documentation-coverage.yaml
|
137
137
|
- template/actions/.github/workflows/documentation.yaml
|
138
|
+
- template/actions/.github/workflows/test-coverage.yaml
|
138
139
|
- template/actions/.github/workflows/test-external.yaml
|
139
140
|
- template/actions/.github/workflows/test.yaml
|
140
141
|
- template/editorconfig/.editorconfig
|
@@ -162,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
163
|
- !ruby/object:Gem::Version
|
163
164
|
version: '0'
|
164
165
|
requirements: []
|
165
|
-
rubygems_version: 3.5.
|
166
|
+
rubygems_version: 3.5.9
|
166
167
|
signing_key:
|
167
168
|
specification_version: 4
|
168
169
|
summary: Automatically modernize parts of your project/gem.
|
metadata.gz.sig
CHANGED
Binary file
|