File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 15
15
env :
16
16
SKIP_LUCKY_TASK_PRECOMPILATION : " 1"
17
17
steps :
18
- - uses : actions/checkout@v1
18
+ - uses : actions/checkout@v4
19
19
- uses : crystal-lang/install-crystal@v1
20
20
with :
21
21
crystal : latest
32
32
shard_file :
33
33
- shard.yml
34
34
crystal_version :
35
- - 1.9 .0
35
+ - 1.10 .0
36
36
- latest
37
37
experimental :
38
38
- false
48
48
env :
49
49
SKIP_LUCKY_TASK_PRECOMPILATION : " 1"
50
50
steps :
51
- - uses : actions/checkout@v2
51
+ - uses : actions/checkout@v4
52
52
- uses : crystal-lang/install-crystal@v1
53
53
with :
54
54
crystal : ${{matrix.crystal_version}}
Original file line number Diff line number Diff line change 8
8
deploy :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v4
12
12
with :
13
13
persist-credentials : false
14
14
- uses : crystal-lang/install-crystal@v1
19
19
- name : " Generate docs"
20
20
run : crystal docs
21
21
- name : Deploy to GitHub Pages
22
- uses : peaceiris/actions-gh-pages@v3
22
+ uses : peaceiris/actions-gh-pages@v4
23
23
with :
24
24
github_token : ${{ secrets.GITHUB_TOKEN }}
25
25
publish_dir : ./docs
Original file line number Diff line number Diff line change 1
1
name : lucky
2
2
version : 1.1.0
3
3
4
- crystal : " >=1.9 .0"
4
+ crystal : " >= 1.10 .0"
5
5
6
6
authors :
7
7
- Paul Smith <paulcsmith0218@gmail.com>
Original file line number Diff line number Diff line change @@ -88,11 +88,11 @@ module Lucky::Renderable
88
88
# enum for more available http status codes.
89
89
macro html_with_status (page_class , status , ** assigns)
90
90
{% if status.is_a?(SymbolLiteral ) % }
91
- html {{ page_class }}, _with_status_code: HTTP ::Status ::{{ status.upcase.id }}.value, {{ ** assigns }}
91
+ html {{ page_class }}, _with_status_code: HTTP ::Status ::{{ status.upcase.id }}.value, {{ assigns.double_splat }}
92
92
{% elsif status.is_a?(Path ) && status.names.join(" ::" ).starts_with?(" HTTP::Status::" ) % }
93
- html {{ page_class }}, _with_status_code: {{ status.resolve }}, {{ ** assigns }}
93
+ html {{ page_class }}, _with_status_code: {{ status.resolve }}, {{ assigns.double_splat }}
94
94
{% else % }
95
- html {{ page_class }}, _with_status_code: {{ status }}, {{ ** assigns }}
95
+ html {{ page_class }}, _with_status_code: {{ status }}, {{ assigns.double_splat }}
96
96
{% end % }
97
97
end
98
98
You can’t perform that action at this time.
0 commit comments