bake-modernize 0.13.2 → 0.13.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbf86cb6271ebbf9ed15d1909a86717bbbf62e8841c418a6f969899bece3ca76
4
- data.tar.gz: 84836cfd97548092a8fe01144b94f7ffaff0c8aec0b81ecee02a8e23602c4d0c
3
+ metadata.gz: 2047cc401761b2a99b5e702ee54e45500f4b1dae3d01079754023c07797ea7ea
4
+ data.tar.gz: 73ead30a3b412d0010321ab7ce4a88abebc978e14ac912cb06375da1ddd4a457
5
5
  SHA512:
6
- metadata.gz: 1eb461c262b102a09ef679c786d2eb4aa219d4a1fd02f8c5c62ad6e28b405a8732322f08ee9276a95ec794a7afbba1ec48965d7407e93199385bfdee7664348c
7
- data.tar.gz: 17fcdc0fb3d60ab8c71858c8f9b98732562bcb18842495426304f4a31fd6b518db86c0d98a8fa221ac35224f20442afae5b412392d2af81c9d5ef214c08b0350
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.chomp.empty?
43
+ unless input.first&.chomp&.empty?
41
44
  output.push "\n"
42
45
  end
43
46
 
@@ -84,7 +84,7 @@ def update_source_file_authors(path, authors)
84
84
  end
85
85
 
86
86
  # Remove any empty lines:
87
- while input.first.chomp.empty?
87
+ while input.first&.chomp&.empty?
88
88
  input.shift
89
89
  end
90
90
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Bake
7
7
  module Modernize
8
- VERSION = "0.13.2"
8
+ VERSION = "0.13.5"
9
9
  end
10
10
  end
@@ -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: write
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
- deploy:
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: Deploy GitHub Pages
41
- run: bundle exec bake github:pages:commit --directory docs
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.2
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-25 00:00:00.000000000 Z
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