From 57afc34ba5714a13b800c142f9d435fd99bd2060 Mon Sep 17 00:00:00 2001 From: JDutil Date: Tue, 18 Jun 2024 13:17:21 -0600 Subject: [PATCH] Address manual rubocop fixes --- .rubocop.yml | 2 +- lib/contentful_lite/base_array.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 20785b5..3bf40a9 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ # Relaxed.Ruby.Style ## Version 2.1 AllCops: - TargetRubyVersion: 2.7.5 + TargetRubyVersion: 3.0.0 Gemspec/OrderedDependencies: Enabled: false diff --git a/lib/contentful_lite/base_array.rb b/lib/contentful_lite/base_array.rb index 3477bd3..9a0c038 100644 --- a/lib/contentful_lite/base_array.rb +++ b/lib/contentful_lite/base_array.rb @@ -10,6 +10,7 @@ class BaseArray < Delegator # @param raw [Hash] raw response from Contentful API # @api private def initialize(raw) + super @total = raw['total'] @skip = raw['skip'] @limit = raw['limit']