bullet_train-api 1.3.19 → 1.3.20

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: 3cd977fc6a4274e43eb54f41cc46b3cb9a8838d8c8d257510bf1f0ac624cf20b
4
+ data.tar.gz: be1a0e48535e19543ca31011409e62d6532ebfc422d1b89696f7e49408820185
5
5
  SHA512:
6
- metadata.gz: 1d82900aec550604387aa7690225d7051e0c4aee0021b3df562417954620e0868c29002c98267dc56ffb62df1fddd442cdbff741999831c9ef22ca9d8b817192
7
- data.tar.gz: b629f22a4af22e1c24b0f41870e7987abd56e7573740a906971e55b564cbd15b1fc416b9df5b74224690b1d0fd442165db1012220adaba07bebdac304ecc9cea
6
+ metadata.gz: a50326d113d1cc4edcee231f8461bbec5bd16560d701705653857c5353edd2553da3ba00b8416c016611a86c919c6317a7ce93023c88447e9aadcf9994d9bb02
7
+ data.tar.gz: fd132e974a807c98f9d2e16a489ee1ce1870cc6f06e146c35a85b669aeb73a0e0bc59058638767c9acd0e33b9537f415d92b96a5e1f0e004b254e5d8f1c0228b
@@ -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.20"
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.20
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