diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 16ecf62..3fb6d69 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.64.1. +# using RuboCop version 1.66.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -144,7 +144,6 @@ Style/GuardClause: - 'lib/hawk/model/association.rb' - 'lib/hawk/model/lookup.rb' - 'lib/hawk/model/schema.rb' - - 'lib/hawk/polyfills.rb' - 'lib/hawk/rake/default_task.rb' # This cop supports safe autocorrection (--autocorrect). diff --git a/lib/hawk/polyfills.rb b/lib/hawk/polyfills.rb deleted file mode 100644 index 397c887..0000000 --- a/lib/hawk/polyfills.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module Hawk - module Polyfills - def self.polyfill(klass, method, &impl) - unless klass.instance_methods.include?(method) - refine(klass) do - module_eval(&impl) - end - end - end - - require 'hawk/polyfills/string' - require 'hawk/polyfills/module' - require 'hawk/polyfills/hash' - end -end