From 4a85efe5b42c44eed256579e5a24915ce2e7095c Mon Sep 17 00:00:00 2001
From: Domizio Demichelis
Date: Fri, 5 Mar 2021 15:08:05 +0700
Subject: [PATCH] updated gemfile and gemspec for pagy 4
---
Gemfile.lock | 6 +++---
pagy.gemspec | 2 +-
test/test_helper.rb | 2 ++
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/Gemfile.lock b/Gemfile.lock
index 6f68aed9c..c6b054c80 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- pagy (3.11.0)
+ pagy (4.0.0)
GEM
remote: https://rubygems.org/
@@ -71,7 +71,7 @@ GEM
unicode-display_width (1.7.0)
PLATFORMS
- ruby
+ x86_64-linux
DEPENDENCIES
codecov
@@ -90,4 +90,4 @@ DEPENDENCIES
sinatra-contrib
BUNDLED WITH
- 2.1.4
+ 2.2.3
diff --git a/pagy.gemspec b/pagy.gemspec
index c215b67dc..51a2c3d29 100644
--- a/pagy.gemspec
+++ b/pagy.gemspec
@@ -12,5 +12,5 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/ddnexus/pagy'
s.license = 'MIT'
s.files = `git ls-files -z`.split("\x0").select{|f| f.start_with?('lib', 'pagy.gemspec', 'LICENSE') }
- s.required_ruby_version = ['>= 1.9', '< 3.0']
+ s.required_ruby_version = '>= 3.0'
end
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 6931ab600..3068e9864 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,6 +1,8 @@
# encoding: utf-8
# frozen_string_literal: true
+$VERBOSE = nil
+
require 'bundler/setup'
require 'simplecov' if ENV['RUN_SIMPLECOV'] == 'true'