* [ruby/agoo] Update dependencies Also fix flakiness by sorting worlds on id in batch update. * [agoo] Upgrade to Ruby 3.4-rc
@@ -1,11 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
- agoo (2.8.3)
- connection_pool (2.2.2)
- oj (3.7.12)
- pg (1.1.4)
- rack (2.0.7)
+ agoo (2.15.10)
+ bigdecimal (3.1.8)
+ connection_pool (2.4.1)
+ oj (3.16.3)
+ bigdecimal (>= 3.0)
+ pg (1.5.6)
+ rack (3.0.11)
PLATFORMS
ruby
@@ -18,4 +20,4 @@ DEPENDENCIES
rack
BUNDLED WITH
- 1.17.2
+ 2.5.10
@@ -1,4 +1,4 @@
-FROM ruby:3.3
+FROM ruby:3.4-rc
RUN apt-get update -q \
&& apt-get install --no-install-recommends -q -y \
@@ -165,7 +165,7 @@ end
class UpdatesHandler < BaseHandler
def self.call(req)
queries = extract_queries_param req
- records = ALL_IDS.sample(queries).map do |id|
+ records = ALL_IDS.sample(queries).sort.map do |id|
world = get_one_record(id)
world['randomnumber'] = get_one_random_number
world