bullet_train-api 1.3.18 → 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: 192746a08fe439389283941230b98c379d75512f5f94516d2b0c518bd255904b
4
- data.tar.gz: 689d9619c7df62bbccc1be5f099ab8bf68fcde44d760ff85cdd6c2b108a93712
3
+ metadata.gz: 3cd977fc6a4274e43eb54f41cc46b3cb9a8838d8c8d257510bf1f0ac624cf20b
4
+ data.tar.gz: be1a0e48535e19543ca31011409e62d6532ebfc422d1b89696f7e49408820185
5
5
  SHA512:
6
- metadata.gz: 588bf3ea462835aea300cae7a1dd7889915697a196037cd8b24a2fb7b1c5fc3f64916af691a1500939addd0f6d6556cc4073e62a68c02bf47d19f9a21c220c25
7
- data.tar.gz: 8e69885f9291d4a3f7708d5223afdf15538ea8e83beaaf580d0464fcd34b375769200a9de2d8437e15e224cdca11b4ff30634c850588be507c127f7668f1d4c4
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.18"
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.18
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-28 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