Skip to content

Commit

Permalink
Add bigdecimal dependency, to be compatible with ruby-3.4 (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
VitaliySerov authored Dec 26, 2024
1 parent bdc175f commit 4a261c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Drop `ruby-2.6`, `ruby-2.7` support, since it's EOL'ed
* Use `mysql:8` as docker base for CI
* Fix `rubocop-1.65.0` cop `Gemspec/AddRuntimeDependency`
* Add `bigdecimal` dependency, to be compatible with `ruby-3.4`

## 0.3.0 (2021-15-11)

Expand Down
1 change: 1 addition & 0 deletions lib/onlyoffice_mysql_helper/mysql_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

require 'bigdecimal'
require 'mysql2'
module OnlyofficeMysqlHelper
# Class for using mysql
Expand Down
2 changes: 2 additions & 0 deletions onlyoffice_mysql_helper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Gem::Specification.new do |s|
}
s.files = Dir['lib/**/*']
s.license = 'AGPL-3.0'
# Until https://github.com/brianmario/mysql2/pull/1367 is released
s.add_dependency('bigdecimal', '~> 3')
s.add_dependency('mysql2', '~> 0')
s.add_dependency('onlyoffice_logger_helper', '~> 1')
end

0 comments on commit 4a261c9

Please sign in to comment.