bullet_train-api 1.3.19 → 1.3.21

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: a2ebce6ec3c2adb47bf37a1a2b06a5e1aeb602dc8310f14130fbf0af6ddbe652
4
- data.tar.gz: eb6db9ee7a1dd2bf618c8728d3176cf47c569d904c33f0d1a555ac2024e037e8
3
+ metadata.gz: 92c1a2e75f81a778f60b79010e2ebdf91cf49870b37089de9535eaf7b822dccc
4
+ data.tar.gz: 357fabbb1d5243f0f042360d063f455f7bc70632dd600b9ea4ee60a038ce19b8
5
5
  SHA512:
6
- metadata.gz: 1d82900aec550604387aa7690225d7051e0c4aee0021b3df562417954620e0868c29002c98267dc56ffb62df1fddd442cdbff741999831c9ef22ca9d8b817192
7
- data.tar.gz: b629f22a4af22e1c24b0f41870e7987abd56e7573740a906971e55b564cbd15b1fc416b9df5b74224690b1d0fd442165db1012220adaba07bebdac304ecc9cea
6
+ metadata.gz: 5de08e26732122fb82f4ba0056db44052e4fe2458f4ad21cf39b6db046fc0ad5cfea2be4354f68d1189bcfd66ef10c37704d514c186792bbedd050c01484032e
7
+ data.tar.gz: 8b9a59f6c0b455703dc682b78f2771c5109481cfa151d027e66c6d39261c25d819ce14563e91a100eb07eebf169d0e81d870fe62c6bd57de792cdfdc19c2b050
@@ -99,7 +99,7 @@ module Api::Controllers::Base
99
99
 
100
100
  def apply_pagination
101
101
  collection = instance_variable_get collection_variable
102
- @pagy, collection = pagy_cursor collection, after: params[:after]
102
+ @pagy, collection = pagy_cursor collection, after: params[:after], order: {id: :asc}
103
103
  instance_variable_set collection_variable, collection
104
104
  end
105
105
 
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Api
3
- VERSION = "1.3.19"
3
+ VERSION = "1.3.21"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.19
4
+ version: 1.3.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-29 00:00:00.000000000 Z
11
+ date: 2023-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard