Skip to content

Commit

Permalink
Bump Ruby to 3.3.6 (#1364)
Browse files Browse the repository at this point in the history
* Bump Ruby to 3.3.6

* Yarn install

* Re-include Enumerable in Array, Hash, Range, and Set to get core_ext methods

This is needed as of Ruby 3.3.6.
  • Loading branch information
moveson authored Dec 27, 2024
1 parent 0a787c8 commit cbf54b0
Show file tree
Hide file tree
Showing 7 changed files with 225 additions and 197 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.5
3.3.6
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ruby 3.3.5
ruby 3.3.6
nodejs 16.19.0
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

ruby "3.3.5"
ruby "3.3.6"

source "https://rubygems.org"

Expand Down
3 changes: 2 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-darwin-21
x86_64-darwin-22
x86_64-linux
Expand Down Expand Up @@ -702,7 +703,7 @@ DEPENDENCIES
will_paginate (~> 3.3)

RUBY VERSION
ruby 3.3.5p100
ruby 3.3.6p108

BUNDLED WITH
2.3.18
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ class Application < Rails::Application
#
# config.eager_load_paths << Rails.root.join("extras")

Dir[Rails.root.join('lib/core_ext/**/*.rb')].each { |file| require file }
Dir[Rails.root.join("lib/core_ext/**/*.rb")].each { |file| require file }
end
end
7 changes: 5 additions & 2 deletions lib/core_ext/enumerable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ def group_by_equality(&block)
end
end

module Enumerable
include CoreExt::Enumerable
Enumerable.include(CoreExt::Enumerable)

# Re-include Enumerable in classes that include it to ensure core extension methods are included
[Array, Hash, Range, Set].each do |klass|
klass.include Enumerable
end
404 changes: 214 additions & 190 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit cbf54b0

Please sign in to comment.