From 32f24e350f94d30498148c864320fdc4fa5728f2 Mon Sep 17 00:00:00 2001 From: martoon Date: Mon, 6 Sep 2021 17:55:20 +0300 Subject: [PATCH] Bump constraint on `ruby` version Problem: when I use the package with system-installed ruby (2.5.1) version, `collection.rows` call fails for me, which happens because `Array.filter` method is available only in Ruby 2.6.3. Solution: increase the version restriction in gemfile. --- Gemfile | 2 +- notion.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index b874786..6bf702f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,2 +1,2 @@ source 'https://rubygems.org' -gemspec # dependencies specified in notion_cli.gemspec \ No newline at end of file +gemspec # dependencies specified in notion_cli.gemspec diff --git a/notion.gemspec b/notion.gemspec index afe74cc..7c01c7a 100644 --- a/notion.gemspec +++ b/notion.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |spec| "README.md", ] - spec.required_ruby_version = ">= 2.5" + spec.required_ruby_version = ">= 2.6.3" spec.add_runtime_dependency('httparty', '~> 0.17') spec.add_runtime_dependency('json', '~> 2.2')