Browse Source

[crystal|lucky] Fix build (#9060)

Petrik de Heus 1 year ago
parent
commit
da919d93e4

+ 1 - 1
frameworks/Crystal/lucky/lucky.dockerfile

@@ -1,4 +1,4 @@
-FROM crystallang/crystal:1.1.0
+FROM crystallang/crystal:1.12.1
 
 WORKDIR /lucky
 COPY shard.lock shard.lock

+ 28 - 20
frameworks/Crystal/lucky/shard.lock

@@ -2,11 +2,15 @@ version: 2.0
 shards:
   avram:
     git: https://github.com/luckyframework/avram.git
-    version: 0.21.0
+    version: 1.2.0
 
   backtracer:
     git: https://github.com/sija/backtracer.cr.git
-    version: 1.2.1
+    version: 1.2.2
+
+  cadmium_transliterator:
+    git: https://github.com/cadmiumcr/transliterator.git
+    version: 0.1.0+git.commit.46c4c14594057dbcfaf27e7e7c8c164d3f0ce3f1
 
   cry:
     git: https://github.com/luckyframework/cry.git
@@ -14,53 +18,57 @@ shards:
 
   db:
     git: https://github.com/crystal-lang/crystal-db.git
-    version: 0.10.1
+    version: 0.13.1
 
   dexter:
     git: https://github.com/luckyframework/dexter.git
-    version: 0.3.3
+    version: 0.3.4
 
   exception_page:
     git: https://github.com/crystal-loot/exception_page.git
-    version: 0.2.0
-
-  future:
-    git: https://github.com/crystal-community/future.cr.git
-    version: 1.0.0+git.commit.9fe168418c6884cb3552c13b004763eb4815ceb9
+    version: 0.4.1
 
   habitat:
     git: https://github.com/luckyframework/habitat.git
-    version: 0.4.7
+    version: 0.4.8
 
   lucky:
     git: https://github.com/luckyframework/lucky.git
-    version: 0.28.0
+    version: 1.2.0
+
+  lucky_cache:
+    git: https://github.com/luckyframework/lucky_cache.git
+    version: 0.1.1
 
   lucky_router:
     git: https://github.com/luckyframework/lucky_router.git
-    version: 0.5.0
+    version: 0.5.2
 
   lucky_task:
     git: https://github.com/luckyframework/lucky_task.git
-    version: 0.1.0
+    version: 0.3.0
+
+  lucky_template:
+    git: https://github.com/luckyframework/lucky_template.git
+    version: 0.2.0
 
   pg:
     git: https://github.com/will/crystal-pg.git
-    version: 0.24.0
+    version: 0.28.0
 
   pulsar:
     git: https://github.com/luckyframework/pulsar.git
-    version: 0.2.2
+    version: 0.2.3
 
   shell-table:
     git: https://github.com/luckyframework/shell-table.cr.git
-    version: 0.9.3+git.commit.fefbc8b19d18630660b2653de755217597808b1b
+    version: 0.9.3
 
-  teeplate:
-    git: https://github.com/luckyframework/teeplate.git
-    version: 0.8.3
+  splay_tree_map:
+    git: https://github.com/wyhaines/splay_tree_map.cr.git
+    version: 0.2.2
 
   wordsmith:
     git: https://github.com/luckyframework/wordsmith.git
-    version: 0.3.0
+    version: 0.4.0
 

+ 4 - 2
frameworks/Crystal/lucky/shard.yml

@@ -8,9 +8,11 @@ targets:
   bench:
     main: src/bench.cr
 
-crystal: ">= 1.0.0"
+crystal: ">= 1.12.1"
 
 dependencies:
+  avram:
+    github: luckyframework/avram
   lucky:
     github: luckyframework/lucky
-    version: ~> 0.28.0
+    version: ~> 1.2.0

+ 0 - 1
frameworks/Crystal/lucky/src/actions/mixins/add_required_headers.cr

@@ -5,7 +5,6 @@ module AddRequiredHeaders
 
   def add_required_headers
     response.headers["Server"] = "Lucky"
-    response.headers["Date"] = HTTP.format_time(Time.local)
     continue
   end
 end