From ab344c4ccaa759a1c4d0ce5daf9e95839221a317 Mon Sep 17 00:00:00 2001 From: Jared White Date: Fri, 1 May 2020 09:55:28 -0700 Subject: [PATCH] Bump up min Ruby version requirement to 2.5 --- CHANGELOG.md | 4 ++++ bridgetown-core/bridgetown-core.gemspec | 6 +++--- bridgetown-core/lib/bridgetown-core/version.rb | 2 +- bridgetown/bridgetown.gemspec | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8cabe87d..1b0f1f8db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # master +# 0.12.1 / 2020-05-01 + +* Update the minimum Ruby version requirement to 2.5 + # 0.12.0 "Lovejoy" / 2020-04-27 * Add Concurrently and Browsersync for live reload, plus add new Yarn scripts [#21](https://github.com/bridgetownrb/bridgetown/pull/21) diff --git a/bridgetown-core/bridgetown-core.gemspec b/bridgetown-core/bridgetown-core.gemspec index c67a5bc15..d04d59246 100644 --- a/bridgetown-core/bridgetown-core.gemspec +++ b/bridgetown-core/bridgetown-core.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.description = "Bridgetown is a Webpack-aware, Ruby-powered static site generator for the modern Jamstack era" s.files = `git ls-files -z`.split("\x0").reject do |f| - f.match(%r{^(benchmark|features|script|test)/}) + f.match(%r!^(benchmark|features|script|test)/!) end s.executables = ["bridgetown"] s.bindir = "bin" @@ -26,9 +26,9 @@ Gem::Specification.new do |s| "homepage_uri" => s.homepage, } - s.rdoc_options = ["--charset=UTF-8"] + s.rdoc_options = ["--charset=UTF-8"] - s.required_ruby_version = ">= 2.4.0" + s.required_ruby_version = ">= 2.5.0" s.required_rubygems_version = ">= 2.7.0" s.add_runtime_dependency("addressable", "~> 2.4") diff --git a/bridgetown-core/lib/bridgetown-core/version.rb b/bridgetown-core/lib/bridgetown-core/version.rb index 9e9a11fd5..fc5fa8bfd 100644 --- a/bridgetown-core/lib/bridgetown-core/version.rb +++ b/bridgetown-core/lib/bridgetown-core/version.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true module Bridgetown - VERSION = "0.12.0" + VERSION = "0.12.1" CODE_NAME = "Lovejoy" end diff --git a/bridgetown/bridgetown.gemspec b/bridgetown/bridgetown.gemspec index 5f14d0fdd..cf9bd939b 100644 --- a/bridgetown/bridgetown.gemspec +++ b/bridgetown/bridgetown.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0") s.require_path = "lib" - s.required_ruby_version = ">= 2.4.0" + s.required_ruby_version = ">= 2.5.0" s.required_rubygems_version = ">= 2.7.0" s.add_dependency("bridgetown-core", Bridgetown::VERSION)