From bd8b61433ed23b005910298ab797a2d924f3c93d Mon Sep 17 00:00:00 2001 From: Tarek ElSayyad Date: Mon, 22 Oct 2018 11:46:33 +0200 Subject: [PATCH 1/3] update version number to 0.8.4 --- lib/active_sorting/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/active_sorting/version.rb b/lib/active_sorting/version.rb index de46dcd..ae20cca 100644 --- a/lib/active_sorting/version.rb +++ b/lib/active_sorting/version.rb @@ -1,3 +1,3 @@ module ActiveSorting - VERSION = '0.8.3'.freeze + VERSION = '0.8.4'.freeze end From bfbe582dc1056ff72d0129a958ddc482e383d144 Mon Sep 17 00:00:00 2001 From: Tarek ElSayyad Date: Mon, 14 Jun 2021 13:30:28 +0200 Subject: [PATCH 2/3] change fixnum to ineteger --- lib/active_sorting/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/active_sorting/model.rb b/lib/active_sorting/model.rb index 43b383b..bf5a2a6 100644 --- a/lib/active_sorting/model.rb +++ b/lib/active_sorting/model.rb @@ -75,7 +75,7 @@ def active_sorting_check_options # unless field_type == :integer # raise ArgumentError, "Sortable field should be of type Integer, #{field_type} where given" # end - unless active_sorting_step.is_a?(Fixnum) + unless active_sorting_step.is_a?(Integer) raise ArgumentError, "Sortable step should be of type Fixnum, #{active_sorting_step.class.name} where given" end unless active_sorting_scope.respond_to?(:each) From 0c9385e4a29d530af112d67f2393f48b45f3af76 Mon Sep 17 00:00:00 2001 From: Tarek ElSayyad Date: Mon, 14 Jun 2021 13:34:43 +0200 Subject: [PATCH 3/3] update version --- lib/active_sorting/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/active_sorting/version.rb b/lib/active_sorting/version.rb index ae20cca..67f0a1a 100644 --- a/lib/active_sorting/version.rb +++ b/lib/active_sorting/version.rb @@ -1,3 +1,3 @@ module ActiveSorting - VERSION = '0.8.4'.freeze + VERSION = '0.8.5'.freeze end