Skip to content

Commit 68045d9

Browse files
committed
Update dependencies for release 3.3.0.
1 parent e024c7f commit 68045d9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ This is a pure-Ruby library for working with [Resource Description Framework
4747
not modify any of Ruby's core classes or standard library.
4848
* Based entirely on Ruby's autoloading, meaning that you can generally make
4949
use of any one part of the library without needing to load up the rest.
50-
* Compatible with Ruby Ruby >= 2.4, Rubinius and JRuby 9.0+.
51-
* 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.
50+
* Compatible with Ruby Ruby >= 3.0, Rubinius and JRuby 9.0+.
51+
* 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.
5252
* Performs auto-detection of input to select appropriate Reader class if one
5353
cannot be determined from file characteristics.
5454

lib/rdf/model/literal/decimal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def initialize(value, datatype: nil, lexical: nil, **options)
2626
when value.is_a?(::Numeric) then BigDecimal(value)
2727
else
2828
value = value.to_s
29-
value += "0" if value.end_with?(".") # Normalization required in Ruby 2.4
29+
value += "0" if value.end_with?(".")
3030
BigDecimal(value) rescue BigDecimal(0)
3131
end
3232
end

lib/rdf/util/cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def finalizer_proc
110110

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

0 commit comments

Comments
 (0)