diff --git a/Gemfile b/Gemfile index d6260cb..43fb699 100644 --- a/Gemfile +++ b/Gemfile @@ -5,4 +5,5 @@ gemspec group :development do gem 'rake-compiler', '>= 1.2', '< 2.0' gem 'rubocop', '~> 1.47', require: false + gem 'test-unit', '~> 3.0' end diff --git a/Rakefile b/Rakefile index 25f3003..eb5fc17 100644 --- a/Rakefile +++ b/Rakefile @@ -13,7 +13,7 @@ task test_all: [:clean, :compile] do exitcode = 0 status = 0 - cmds = 'ruby test/tests.rb -v' + cmds = 'bundle exec ruby test/tests.rb -v' $stdout.syswrite "\n#{'#' * 90}\n#{cmds}\n" Bundler.with_original_env do diff --git a/ox.gemspec b/ox.gemspec index 1524c9b..b510a4f 100644 --- a/ox.gemspec +++ b/ox.gemspec @@ -37,4 +37,6 @@ serialization. } s.required_ruby_version = '>= 2.7.0' s.metadata['rubygems_mfa_required'] = 'true' + + s.add_runtime_dependency 'bigdecimal', '>= 3.0' end