From 51f5c2a14fc0aa88ab3fc5f7d40777a45d993c18 Mon Sep 17 00:00:00 2001 From: pquimo Date: Tue, 4 Jan 2022 16:18:32 -0800 Subject: [PATCH 1/2] fix this: shortcuts.rb:203: warning: Using the last argument as keyword parameters is deprecated --- lib/nmatrix/shortcuts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nmatrix/shortcuts.rb b/lib/nmatrix/shortcuts.rb index 07ff50fd..6be366aa 100644 --- a/lib/nmatrix/shortcuts.rb +++ b/lib/nmatrix/shortcuts.rb @@ -200,7 +200,7 @@ def [](*params) #shape.unshift(1) if shape.size == 1 # Then flatten the array. - NMatrix.new(shape, params.flatten, options) + NMatrix.new(shape, params.flatten, **options) end # From 7f102430458e3d2eeed55d5622fb66113a141c41 Mon Sep 17 00:00:00 2001 From: pquimo Date: Tue, 25 Jan 2022 11:16:26 -0800 Subject: [PATCH 2/2] bump version to 0.2.5 for the minor fixes that have happened --- lib/nmatrix/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nmatrix/version.rb b/lib/nmatrix/version.rb index e4c4a3b2..146df200 100644 --- a/lib/nmatrix/version.rb +++ b/lib/nmatrix/version.rb @@ -29,7 +29,7 @@ class NMatrix module VERSION #:nodoc: MAJOR = 0 MINOR = 2 - TINY = 4 + TINY = 5 #PRE = "a" STRING = [MAJOR, MINOR, TINY].compact.join(".")