From 8227cc20e45cd9d95763929ad3eedfece3214122 Mon Sep 17 00:00:00 2001 From: NAITOH Jun Date: Sat, 13 Jan 2024 14:08:42 +0900 Subject: [PATCH] Added strscan 3.0.8 dependency. --- benchmark/parse.yaml | 4 ++++ rexml.gemspec | 2 ++ 2 files changed, 6 insertions(+) diff --git a/benchmark/parse.yaml b/benchmark/parse.yaml index e7066fcb..8818b50c 100644 --- a/benchmark/parse.yaml +++ b/benchmark/parse.yaml @@ -5,6 +5,8 @@ contexts: require: false prelude: require 'rexml' - name: master + gems: + strscan: 3.0.8 prelude: | $LOAD_PATH.unshift(File.expand_path("lib")) require 'rexml' @@ -16,6 +18,8 @@ contexts: require 'rexml' RubyVM::YJIT.enable - name: master(YJIT) + gems: + strscan: 3.0.8 prelude: | $LOAD_PATH.unshift(File.expand_path("lib")) require 'rexml' diff --git a/rexml.gemspec b/rexml.gemspec index b51df33b..954b7ef8 100644 --- a/rexml.gemspec +++ b/rexml.gemspec @@ -55,6 +55,8 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 2.5.0' + spec.add_runtime_dependency("strscan", "~> 3.0.8") + spec.add_development_dependency "benchmark_driver" spec.add_development_dependency "bundler" spec.add_development_dependency "rake"