From 17bea6bf6fd7d96fba55d605845654ea04ee0709 Mon Sep 17 00:00:00 2001 From: Dmitry Vorotilin Date: Sun, 31 Dec 2023 16:32:58 +0300 Subject: [PATCH] Min Ruby 2.7 --- .rubocop.yml | 2 +- CHANGELOG.md | 1 + ferrum.gemspec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 94ca05c8..871557eb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ AllCops: - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 NewCops: enable SuggestExtensions: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 61b2bc77..c0f49d9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ### Changed - `Ferrum::Page#screeshot` accepts :area option [#410] - Resizing page on creation is gone and moved to Cuprite [#427] +- Min Ruby version is 2.7 ### Fixed diff --git a/ferrum.gemspec b/ferrum.gemspec index 28969083..ed7f0a71 100644 --- a/ferrum.gemspec +++ b/ferrum.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |s| "rubygems_mfa_required" => "true" } - s.required_ruby_version = ">= 2.6.0" + s.required_ruby_version = ">= 2.7.0" s.add_runtime_dependency "addressable", "~> 2.5" s.add_runtime_dependency "concurrent-ruby", "~> 1.1"