From 8884fab3a57cef414eaac241cb35b7d87a415c05 Mon Sep 17 00:00:00 2001 From: petergoldstein Date: Wed, 10 Jan 2024 13:40:06 -0500 Subject: [PATCH] Add Ruby 3.3 and get to green. --- .github/workflows/ci.yml | 3 ++- lib/formulaic/form.rb | 1 + lib/formulaic/label.rb | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b62e8dc..de10ef6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ jobs: matrix: ruby-version: - head + - '3.3' - '3.2' - '3.1' - '3.0' @@ -20,7 +21,7 @@ jobs: - '2.4' - '2.3' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 with: diff --git a/lib/formulaic/form.rb b/lib/formulaic/form.rb index 06534c9..404dfd9 100644 --- a/lib/formulaic/form.rb +++ b/lib/formulaic/form.rb @@ -1,3 +1,4 @@ +require 'active_support' require 'active_support/time_with_zone' module Formulaic diff --git a/lib/formulaic/label.rb b/lib/formulaic/label.rb index 0ebf5ab..501efa2 100644 --- a/lib/formulaic/label.rb +++ b/lib/formulaic/label.rb @@ -1,3 +1,6 @@ +require 'active_support' +require 'active_support/core_ext/object/blank' + module Formulaic class Label attr_reader :model_name, :attribute, :action