Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .ameba.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This configuration file was generated by `ameba --gen-config`
# on 2026-10-24 06:33:51 UTC using Ameba version 1.7.0.
#
# The point is for the user to remove these configuration records
# one by one as the reported problems are removed from the code base.
#
# For more details on any individual rule, run
# `ameba --ignore-config --only RuleName`.

Version: "1.7.0"

Lint/SpecFilename:
Enabled: false

Naming/BlockParameterName:
Enabled: false

Style/HeredocEscape:
Enabled: false

Style/HeredocIndent:
Enabled: false

Style/PercentLiteralDelimiters:
Enabled: false
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
run: shards install
- name: Format
run: crystal tool format --check
- name: Build Ameba
run: crystal build -o bin/ameba lib/ameba/bin/ameba.cr
- name: Lint
run: ./bin/ameba
specs:
Expand Down
6 changes: 3 additions & 3 deletions shard.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.0
shards:
ameba:
git: https://github.com/crystal-ameba/ameba.git
version: 1.5.0
version: 1.7.0

awscr-s3:
git: https://github.com/taylorfinnell/awscr-s3.git
Expand Down Expand Up @@ -78,7 +78,7 @@ shards:

lucky_router:
git: https://github.com/luckyframework/lucky_router.git
version: 0.6.1
version: 0.6.2

lucky_task:
git: https://github.com/luckyframework/lucky_task.git
Expand Down Expand Up @@ -106,7 +106,7 @@ shards:

splay_tree_map:
git: https://github.com/wyhaines/splay_tree_map.cr.git
version: 0.3.0
version: 0.4.0

webdrivers:
git: https://github.com/crystal-loot/webdrivers.cr.git
Expand Down
1 change: 0 additions & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ development_dependencies:
version: ~> 0.10.0
ameba:
github: crystal-ameba/ameba
version: ~> 1.5.0
2 changes: 1 addition & 1 deletion src/start_server.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Habitat.raise_if_missing_settings!

app_server = AppServer.new

Signal::INT.trap do
Process.on_terminate do
app_server.close
end

Expand Down
4 changes: 2 additions & 2 deletions tasks/generate_team_images.cr
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ require "http/client"
class GenerateTeamImages < LuckyTask::Task
summary "generate team images"

property(members : Array(::Members::Member)) {
property(members : Array(::Members::Member)) do
[::Members.creator] + ::Members.team_members
}
end

def call
members.each do |member|
Expand Down
Loading