Skip to content

Commit

Permalink
update ameba to 1.4
Browse files Browse the repository at this point in the history
fixes mac build issue because of a dependency on libcrypto (crystal-ameba/ameba#285)
  • Loading branch information
rjnienaber committed Feb 17, 2023
1 parent 7733efc commit 62c5062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ development_dependencies:
branch: master
ameba:
github: crystal-ameba/ameba
version: ~> 1.0.0
version: ~> 1.4.0

license: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion src/core/config.cr
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module Amazonite::Core
url
end

def user_agent(&builder) : String
def user_agent(&) : String
unless @user_agent.nil?
Log.debug { "using user_agent from constructor: #{@user_agent}" }
return @user_agent.as(String)
Expand Down

0 comments on commit 62c5062

Please sign in to comment.