From f91cddc81c353aeb9e1519511e3f75fc354841d8 Mon Sep 17 00:00:00 2001 From: Andy Pfister Date: Fri, 12 Jul 2024 22:02:18 +0200 Subject: [PATCH] Add `bigdecimal` as a dependency This is to address the following warning on Ruby 3.3: ``` /home/apf/dev/rails-sqlserver/tiny_tds/lib/tiny_tds.rb:3: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. ``` --- tiny_tds.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/tiny_tds.gemspec b/tiny_tds.gemspec index be86ee1d..7183733e 100644 --- a/tiny_tds.gemspec +++ b/tiny_tds.gemspec @@ -20,6 +20,7 @@ Gem::Specification.new do |s| s.license = 'MIT' s.required_ruby_version = '>= 2.7.0' s.metadata['msys2_mingw_dependencies'] = 'freetds' + s.add_dependency 'bigdecimal', '~> 3' s.add_development_dependency 'mini_portile2', '~> 2.5.0' s.add_development_dependency 'rake', '~> 13.0.0' s.add_development_dependency 'rake-compiler', '~> 1.2'