chore: update to ameba 1.7.0 and adapt most of the code to it (#6082)

* chore: update to ameba 1.7.0 and adapt most of the code to it

* forgot to add this to build ameba into the ./bin directory for use, as ameba does not longer offer a postinstall script

* forgot to update ameba in the shards files

* remove leftover : in rescue

* Use ameba linter action instead of installing it with shards
This commit is contained in:
Fijxu
2026-10-13 06:14:16 -03:00
committed by GitHub
parent 7286c6dea4
commit 907fe54aab
78 changed files with 691 additions and 685 deletions

View File

@@ -123,7 +123,7 @@ Kemal.config.extra_options do |parser|
parser.on("-c THREADS", "--channel-threads=THREADS", "Number of threads for refreshing channels (default: #{CONFIG.channel_threads})") do |number|
begin
CONFIG.channel_threads = number.to_i
rescue ex
rescue
puts "THREADS must be integer"
exit
end
@@ -131,7 +131,7 @@ Kemal.config.extra_options do |parser|
parser.on("-f THREADS", "--feed-threads=THREADS", "Number of threads for refreshing feeds (default: #{CONFIG.feed_threads})") do |number|
begin
CONFIG.feed_threads = number.to_i
rescue ex
rescue
puts "THREADS must be integer"
exit
end