From f5b5f069e1c6c7cd270b215486b14673a7749a47 Mon Sep 17 00:00:00 2001 From: Alexis Reigel Date: Sun, 8 Sep 2019 10:44:04 +0200 Subject: [PATCH] fixes the breaking change introduced by 0.30.0 ``` Error: abstract `def Enumerable(T)#each(&block)` must be implemented by Callback::ResultSet(T) ``` this fixes a transient dependency of optarg which is not compatible with 0.30.0. we use the fork until https://github.com/mosop/callback/pull/3 has been merged and optarg has been updated to that version. --- shard.lock | 2 +- shard.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/shard.lock b/shard.lock index 0be434a..f0ad87c 100644 --- a/shard.lock +++ b/shard.lock @@ -5,7 +5,7 @@ shards: version: 0.10.0 callback: - github: mosop/callback + github: drujensen/callback version: 0.6.3 cli: diff --git a/shard.yml b/shard.yml index 28d498e..570a6bc 100644 --- a/shard.yml +++ b/shard.yml @@ -8,6 +8,12 @@ description: | Simple CLI to ask the internet if it's worth watching this movie. dependencies: + # FIXME: Fixes the breaking change introduced by 0.30.0: + # Error: abstract `def Enumerable(T)#each(&block)` must be implemented by Callback::ResultSet(T) + # Use the fork until https://github.com/mosop/callback/pull/3 has been merged + # and optarg has been updated to that version. + callback: + github: drujensen/callback myhtml: github: kostya/myhtml crest: