From ec8e992425b5f504e148158b0bd9a1ea56a4c8e1 Mon Sep 17 00:00:00 2001 From: Domizio Demichelis Date: Fri, 12 Jan 2024 23:19:42 +0700 Subject: [PATCH] Added simpler nav generation, triggered by setting the size variable to a positive Integer --- .idea/runConfigurations/IRB_pagy.xml | 8 +- .idea/runConfigurations/Test_Rep.xml | 3 - apps/pagy_calendar_app.ru | 4 +- docs/api/javascript/navs.md | 47 ++- docs/api/pagy.md | 10 +- docs/how-to.md | 457 +++++++++++++++++++-------- lib/pagy.rb | 56 ++-- test/coverage_setup.rb | 10 +- test/pagy_test.rb | 100 +++++- 9 files changed, 518 insertions(+), 177 deletions(-) diff --git a/.idea/runConfigurations/IRB_pagy.xml b/.idea/runConfigurations/IRB_pagy.xml index b195d3fef..199607b8d 100644 --- a/.idea/runConfigurations/IRB_pagy.xml +++ b/.idea/runConfigurations/IRB_pagy.xml @@ -8,7 +8,11 @@ - + + + + + - + diff --git a/.idea/runConfigurations/Test_Rep.xml b/.idea/runConfigurations/Test_Rep.xml index 781e641ac..7b90a4cd8 100644 --- a/.idea/runConfigurations/Test_Rep.xml +++ b/.idea/runConfigurations/Test_Rep.xml @@ -16,9 +16,6 @@ - - -