bake-modernize 0.13.2 → 0.13.5
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
- checksums.yaml.gz.sig +0 -0
- data/bake/modernize/frozen_string_literal.rb +4 -1
- data/bake/modernize/license.rb +1 -1
- data/lib/bake/modernize/version.rb +1 -1
- data/template/actions/.github/workflows/documentation.yaml +30 -10
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 2047cc401761b2a99b5e702ee54e45500f4b1dae3d01079754023c07797ea7ea
|
|
4
|
+
data.tar.gz: 73ead30a3b412d0010321ab7ce4a88abebc978e14ac912cb06375da1ddd4a457
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c628b25804a29175e23d2d9a34d8f2609eea158799d9a51b68f71f5327d463f050881b7a246c0b98422d17ed6aa7a90e8c68110ef9597425e94433cd49f572a8
|
|
7
|
+
data.tar.gz: 35ae365477c6f1c2d287771635870eb58132c651e73dfcc43741cb7b55933d71ab64a8d38b614b1cd33abb11db8ca29edc203809c7a0230f4ceeca9c55d00ab8
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Released under the MIT License.
|
|
4
|
+
# Copyright, 2022, by Samuel Williams.
|
|
5
|
+
|
|
3
6
|
def frozen_string_literal
|
|
4
7
|
update(root: Dir.pwd)
|
|
5
8
|
end
|
|
@@ -37,7 +40,7 @@ def update_source_file(path)
|
|
|
37
40
|
output.push "# #{key}: #{value}"
|
|
38
41
|
end
|
|
39
42
|
|
|
40
|
-
unless input.first
|
|
43
|
+
unless input.first&.chomp&.empty?
|
|
41
44
|
output.push "\n"
|
|
42
45
|
end
|
|
43
46
|
|
data/bake/modernize/license.rb
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
name: Documentation
|
|
2
2
|
|
|
3
|
-
permissions:
|
|
4
|
-
contents: write
|
|
5
|
-
|
|
6
3
|
on:
|
|
7
4
|
push:
|
|
8
5
|
branches:
|
|
9
6
|
- main
|
|
10
7
|
|
|
8
|
+
# Allows you to run this workflow manually from the Actions tab:
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages:
|
|
11
12
|
permissions:
|
|
12
|
-
contents:
|
|
13
|
+
contents: read
|
|
14
|
+
pages: write
|
|
15
|
+
id-token: write
|
|
16
|
+
|
|
17
|
+
# Allow one concurrent deployment:
|
|
18
|
+
concurrency:
|
|
19
|
+
group: "pages"
|
|
20
|
+
cancel-in-progress: true
|
|
13
21
|
|
|
14
22
|
env:
|
|
15
23
|
CONSOLE_OUTPUT: XTerm
|
|
16
24
|
BUNDLE_WITH: maintenance
|
|
17
25
|
|
|
18
26
|
jobs:
|
|
19
|
-
|
|
27
|
+
generate:
|
|
20
28
|
runs-on: ubuntu-latest
|
|
21
29
|
|
|
22
30
|
steps:
|
|
@@ -30,12 +38,24 @@ jobs:
|
|
|
30
38
|
- name: Installing packages
|
|
31
39
|
run: sudo apt-get install wget
|
|
32
40
|
|
|
33
|
-
- name: Prepare GitHub Pages
|
|
34
|
-
run: bundle exec bake github:pages:prepare --directory docs
|
|
35
|
-
|
|
36
41
|
- name: Generate documentation
|
|
37
42
|
timeout-minutes: 5
|
|
38
43
|
run: bundle exec bake utopia:project:static --force no
|
|
39
44
|
|
|
40
|
-
- name:
|
|
41
|
-
|
|
45
|
+
- name: Upload documentation artifact
|
|
46
|
+
uses: actions/upload-pages-artifact@v1
|
|
47
|
+
with:
|
|
48
|
+
path: docs
|
|
49
|
+
|
|
50
|
+
deploy:
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
|
|
53
|
+
environment:
|
|
54
|
+
name: github-pages
|
|
55
|
+
url: ${{steps.deployment.outputs.page_url}}
|
|
56
|
+
|
|
57
|
+
needs: generate
|
|
58
|
+
steps:
|
|
59
|
+
- name: Deploy to GitHub Pages
|
|
60
|
+
id: deployment
|
|
61
|
+
uses: actions/deploy-pages@v1
|
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.13.
|
|
4
|
+
version: 0.13.5
|
|
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: 2022-08-
|
|
41
|
+
date: 2022-08-27 00:00:00.000000000 Z
|
|
42
42
|
dependencies:
|
|
43
43
|
- !ruby/object:Gem::Dependency
|
|
44
44
|
name: async-http
|
metadata.gz.sig
CHANGED
|
Binary file
|