bake-modernize 0.24.0 → 0.26.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 918e8229075ed1c3038f12ff59f49762edb2d812c4b0ec6ff4e5eb56bcd45aa3
4
- data.tar.gz: d5f795cd46f4fe5007c1206846c09fd86c35e596ab6c68a3356216a3bf179d03
3
+ metadata.gz: b063c18df4117afec874a3a0f0e9106bdca3e69923ce98c33c3448b85adddb5e
4
+ data.tar.gz: 0402ed8c9a85757e062a4aa8854b89dd7b8bc0540ac0270a0859cb41b6c239de
5
5
  SHA512:
6
- metadata.gz: 6342bd76c9f5029c17595130d84d7ce7b19769b97c90ef89858fc9af7dc163496fbeb444f8dc204907f85c4e14a2414820b9bbf7a2bfc3fb25005d8cc80960d0
7
- data.tar.gz: 9013c140cad220614a28b74ddb0c1201f0aadda084f3b44eb104f6378e1be139a51b38629157a44f9fa2886d267d709883690052b555dd4e505f5cbe4d1b4c63
6
+ metadata.gz: 2fbf5a8c8d5c00ce7ad5aa26c9e55bde642225196a0c2e92679a67eaca4237db28f9f773b42fa07e3ed51774097d26e0f20d2136847bfa26c103abf44833ed8c
7
+ data.tar.gz: 0faeb70b47297e1fa94889f57c423784e59489c48290941ab582f60a9b5177a9e42645bca0313ea9616509ea8806aaaabff645dc8e8b0b89b704d8bd29d8e31f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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 contributions to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed. All contributors must agree to this document for their contributions to be accepted.
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
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Bake
7
7
  module Modernize
8
- VERSION = "0.24.0"
8
+ VERSION = "0.26.0"
9
9
  end
10
10
  end
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 contributions to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed. All contributors must agree to this document for their contributions to be accepted.
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
@@ -1,4 +1,4 @@
1
- name: Coverage
1
+ name: Test Coverage
2
2
 
3
3
  on: [push, pull_request]
4
4
 
@@ -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 contributions to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed. All contributors must agree to this document for their contributions to be accepted.
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.24.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-06-28 00:00:00.000000000 Z
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.11
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