From 38d06d07ba2a4e135c35cd61519f1c6f948e9d6d Mon Sep 17 00:00:00 2001 From: Brandur Leach Date: Fri, 3 May 2024 07:20:11 +0200 Subject: [PATCH] Remove directory for gem type signatures (#16) A small follow up to #14 in which I forgot to remove the directory for gem-related type signatures, which is no longer needed now that the project is back down to zero dependencies. --- Steepfile | 1 - sig_gem/fnv-hash/fnv.rbs | 21 --------------------- 2 files changed, 22 deletions(-) delete mode 100644 sig_gem/fnv-hash/fnv.rbs diff --git a/Steepfile b/Steepfile index 65146c1..656fe44 100644 --- a/Steepfile +++ b/Steepfile @@ -7,7 +7,6 @@ target :lib do library "time" signature "sig" - signature "sig_gem" configure_code_diagnostics(D::Ruby.strict) end diff --git a/sig_gem/fnv-hash/fnv.rbs b/sig_gem/fnv-hash/fnv.rbs deleted file mode 100644 index 2963be6..0000000 --- a/sig_gem/fnv-hash/fnv.rbs +++ /dev/null @@ -1,21 +0,0 @@ -module Fnv - class Hash - # Calculates the FNV-1 hash for the given - # item value - # - # @param item The item to hash - # @param size [Integer] the size of the resulting hash - # - # @return [Integer] the calculated hash value - def self.fnv_1: (Object, size: Integer) -> Integer - - # Calculates the FNV-1a hash for the given - # item value - # - # @param item The item to hash - # @param size [Integer] the size of the resulting hash - # - # @return [Integer] the calculated hash value - def self.fnv_1a: (Object, size: Integer) -> Integer - end -end \ No newline at end of file