diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 9bf1d5eb58..dc05b23805 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -46,7 +46,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0 with: - ruby-version: 3.4 + ruby-version: 4.0 - name: Install ruby dependencies run: bundle install --jobs 4 --retry 3 - name: Validate YAML diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ab66791556..885d3fff1c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,11 @@ +require 'strscan' + +class StringScanner + def peep(len) + peek(len) + end +end + require 'date' require 'kwalify' require 'rspec'