From 50c068b493042179e4ae5203d678b4f1e3ca09c8 Mon Sep 17 00:00:00 2001 From: Didier Lafforgue Date: Fri, 20 Sep 2024 23:23:19 +0200 Subject: [PATCH] set a minimal Ruby version (3.2) --- .github/workflows/continuous_integration.yml | 2 +- Gemfile | 4 +--- Gemfile.lock | 4 +--- locomotivecms_steam.gemspec | 3 ++- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index f50886d7..c273531b 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -32,7 +32,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1.4 + ruby-version: 3.3.5 bundler-cache: true cache-version: 1 diff --git a/Gemfile b/Gemfile index 5fff49ef..9b5f48f5 100644 --- a/Gemfile +++ b/Gemfile @@ -2,8 +2,6 @@ source 'https://rubygems.org' gemspec -gem 'parser' - group :development do # gem 'locomotivecms_common', github: 'locomotivecms/common', ref: '4d1bd56' # gem 'locomotivecms_common', path: '../common' @@ -34,5 +32,5 @@ group :test do gem 'rack-test', '~> 2.1.0' - gem 'simplecov', '~> 0.22.0', require: false + gem 'simplecov', '~> 0.22.0', require: false end diff --git a/Gemfile.lock b/Gemfile.lock index b5cd0b3a..7101d0f5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,6 +18,7 @@ PATH morphine (~> 0.1.1) multi_json (~> 1.15.0) nokogiri (~> 1.15.6) + parser (~> 3.3) pony (~> 1.12) rack-cache (>= 1.7, < 2) rack-rewrite (~> 1.5.1) @@ -121,8 +122,6 @@ GEM nokogiri (1.15.6) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.15.6-x86_64-darwin) - racc (~> 1.4) origin (2.3.1) parser (3.3.5.0) ast (~> 2.4.1) @@ -194,7 +193,6 @@ DEPENDENCIES memory_profiler mongo (~> 2.18.2) origin (~> 2.3.1) - parser puma (~> 6.4.0) rack (~> 3.0) rack-mini-profiler (~> 0.10.1) diff --git a/locomotivecms_steam.gemspec b/locomotivecms_steam.gemspec index 9f948dfa..37c82e54 100644 --- a/locomotivecms_steam.gemspec +++ b/locomotivecms_steam.gemspec @@ -42,8 +42,9 @@ Gem::Specification.new do |spec| spec.add_dependency 'mime-types', '~> 3.5.0' spec.add_dependency 'duktape', '~> 2.0.1.1' spec.add_dependency 'pony', '~> 1.12' + spec.add_dependency 'parser', '~> 3.3' spec.add_dependency 'locomotivecms_common', '~> 0.6.0.alpha1' - spec.required_ruby_version = ['>= 3.0'] + spec.required_ruby_version = ['>= 3.2'] end