Skip to content

Commit

Permalink
Update dependencies for release 3.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Aug 26, 2023
1 parent e024c7f commit 68045d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ This is a pure-Ruby library for working with [Resource Description Framework
not modify any of Ruby's core classes or standard library.
* Based entirely on Ruby's autoloading, meaning that you can generally make
use of any one part of the library without needing to load up the rest.
* Compatible with Ruby Ruby >= 2.4, Rubinius and JRuby 9.0+.
* Note, changes in mapping hashes to keyword arguments for Ruby 2.7+ may require that arguments be passed more explicitly, especially when the first argument is a Hash and there are optional keyword arguments. In this case, Hash argument may need to be explicitly included within `{}` and the optional keyword arguments may need to be specified using `**{}` if there are no keyword arguments.
* Compatible with Ruby Ruby >= 3.0, Rubinius and JRuby 9.0+.
* Note, changes in mapping hashes to keyword arguments for Ruby 3+ may require that arguments be passed more explicitly, especially when the first argument is a Hash and there are optional keyword arguments. In this case, Hash argument may need to be explicitly included within `{}` and the optional keyword arguments may need to be specified using `**{}` if there are no keyword arguments.
* Performs auto-detection of input to select appropriate Reader class if one
cannot be determined from file characteristics.

Expand Down
2 changes: 1 addition & 1 deletion lib/rdf/model/literal/decimal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def initialize(value, datatype: nil, lexical: nil, **options)
when value.is_a?(::Numeric) then BigDecimal(value)
else
value = value.to_s
value += "0" if value.end_with?(".") # Normalization required in Ruby 2.4
value += "0" if value.end_with?(".")
BigDecimal(value) rescue BigDecimal(0)
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/rdf/util/cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def finalizer_proc

##
# This implementation uses the `WeakRef` class from Ruby's standard
# library, and provides adequate performance on JRuby and on Ruby 2.x.
# library, and provides adequate performance on JRuby and on Ruby 3.x.
#
# @see http://ruby-doc.org/stdlib-2.2.0/libdoc/weakref/rdoc/WeakRef.html
class WeakRefCache < Cache
Expand Down

0 comments on commit 68045d9

Please sign in to comment.