gemfather-stable 2.2.4 → 2.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f10709206695828231d15a4ce9f8adefe150a68e9e5df6dce7d6ec692bff0c13
4
- data.tar.gz: 35e2c1361fa3427e7a2efc8dbcddf5564e507c10143e830a5a00c46da6b625e4
3
+ metadata.gz: 0b083e80e457b2993012a45df31d48e659a899ed56699919d47b3460a0c13212
4
+ data.tar.gz: e0fa6ba27a533da3a5ecbb2bb0ea5c885ba1c09d36e5cba2d023bec6f76ed902
5
5
  SHA512:
6
- metadata.gz: 6b1e84772071d47b1dc63af6e08cc1238ff76809be56273c0ff3e4dba37bc731fc4f9ecb244a6d26e4707a103f3b7a061584b3f1d2a39818cd3192e6464ef2d2
7
- data.tar.gz: 55c0a9493b52b99cbd75879c12a2ccba750026679a8edf10ce30867f9d79abe21d74b12a5045635810472f7418cb84a0cad266e42c43491c67ba3bddc0c1fac9
6
+ metadata.gz: d23c99be0d5c7d758be93ef4e9cf340ff12f325106ef3577d8e90aa326dceee0251f5742571c88312ca87ee19049eee59763244b12ee4310ae0904a07840292d
7
+ data.tar.gz: e03bf0e8b32a16d25414443e3f529aff7e62dd31b9c176ee942d566caf24978aa48bbb912e2563e2d1f02c72aefbae59acf8e641c60a9c8613395b4c6a8f9cce
@@ -10,7 +10,7 @@ class ApiGenerator::Pagination::PageRelation < ApiGenerator::Pagination::Relatio
10
10
  private
11
11
 
12
12
  def next_relation
13
- expand(page: [options[:page].to_i, 1].max + 1)
13
+ expand(page: [options[:page].to_i, 0].max + 1)
14
14
  end
15
15
 
16
16
  def last_page?
@@ -1,3 +1,3 @@
1
1
  module ApiGenerator
2
- VERSION = '2.2.4'.freeze
2
+ VERSION = '2.2.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemfather-stable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Domclick Ruby Team and Daniil Kachur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-23 00:00:00.000000000 Z
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport