Skip to content

Commit da919d9

Browse files
authored
[crystal|lucky] Fix build (#9060)
1 parent e4c4715 commit da919d9

File tree

4 files changed

+33
-24
lines changed

4 files changed

+33
-24
lines changed

frameworks/Crystal/lucky/lucky.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM crystallang/crystal:1.1.0
1+
FROM crystallang/crystal:1.12.1
22

33
WORKDIR /lucky
44
COPY shard.lock shard.lock

frameworks/Crystal/lucky/shard.lock

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,65 +2,73 @@ version: 2.0
22
shards:
33
avram:
44
git: https://github.com/luckyframework/avram.git
5-
version: 0.21.0
5+
version: 1.2.0
66

77
backtracer:
88
git: https://github.com/sija/backtracer.cr.git
9-
version: 1.2.1
9+
version: 1.2.2
10+
11+
cadmium_transliterator:
12+
git: https://github.com/cadmiumcr/transliterator.git
13+
version: 0.1.0+git.commit.46c4c14594057dbcfaf27e7e7c8c164d3f0ce3f1
1014

1115
cry:
1216
git: https://github.com/luckyframework/cry.git
1317
version: 0.4.3
1418

1519
db:
1620
git: https://github.com/crystal-lang/crystal-db.git
17-
version: 0.10.1
21+
version: 0.13.1
1822

1923
dexter:
2024
git: https://github.com/luckyframework/dexter.git
21-
version: 0.3.3
25+
version: 0.3.4
2226

2327
exception_page:
2428
git: https://github.com/crystal-loot/exception_page.git
25-
version: 0.2.0
26-
27-
future:
28-
git: https://github.com/crystal-community/future.cr.git
29-
version: 1.0.0+git.commit.9fe168418c6884cb3552c13b004763eb4815ceb9
29+
version: 0.4.1
3030

3131
habitat:
3232
git: https://github.com/luckyframework/habitat.git
33-
version: 0.4.7
33+
version: 0.4.8
3434

3535
lucky:
3636
git: https://github.com/luckyframework/lucky.git
37-
version: 0.28.0
37+
version: 1.2.0
38+
39+
lucky_cache:
40+
git: https://github.com/luckyframework/lucky_cache.git
41+
version: 0.1.1
3842

3943
lucky_router:
4044
git: https://github.com/luckyframework/lucky_router.git
41-
version: 0.5.0
45+
version: 0.5.2
4246

4347
lucky_task:
4448
git: https://github.com/luckyframework/lucky_task.git
45-
version: 0.1.0
49+
version: 0.3.0
50+
51+
lucky_template:
52+
git: https://github.com/luckyframework/lucky_template.git
53+
version: 0.2.0
4654

4755
pg:
4856
git: https://github.com/will/crystal-pg.git
49-
version: 0.24.0
57+
version: 0.28.0
5058

5159
pulsar:
5260
git: https://github.com/luckyframework/pulsar.git
53-
version: 0.2.2
61+
version: 0.2.3
5462

5563
shell-table:
5664
git: https://github.com/luckyframework/shell-table.cr.git
57-
version: 0.9.3+git.commit.fefbc8b19d18630660b2653de755217597808b1b
65+
version: 0.9.3
5866

59-
teeplate:
60-
git: https://github.com/luckyframework/teeplate.git
61-
version: 0.8.3
67+
splay_tree_map:
68+
git: https://github.com/wyhaines/splay_tree_map.cr.git
69+
version: 0.2.2
6270

6371
wordsmith:
6472
git: https://github.com/luckyframework/wordsmith.git
65-
version: 0.3.0
73+
version: 0.4.0
6674

frameworks/Crystal/lucky/shard.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ targets:
88
bench:
99
main: src/bench.cr
1010

11-
crystal: ">= 1.0.0"
11+
crystal: ">= 1.12.1"
1212

1313
dependencies:
14+
avram:
15+
github: luckyframework/avram
1416
lucky:
1517
github: luckyframework/lucky
16-
version: ~> 0.28.0
18+
version: ~> 1.2.0

frameworks/Crystal/lucky/src/actions/mixins/add_required_headers.cr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ module AddRequiredHeaders
55

66
def add_required_headers
77
response.headers["Server"] = "Lucky"
8-
response.headers["Date"] = HTTP.format_time(Time.local)
98
continue
109
end
1110
end

0 commit comments

Comments
 (0)