Skip to content

Commit edfd3a7

Browse files
committed
sinatra bump to 2.2.4, hostname added for cache queries
1 parent fe48847 commit edfd3a7

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

Gemfile.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,12 @@ GEM
331331
pusher-signature (~> 0.1.8)
332332
pusher-signature (0.1.8)
333333
racc (1.6.0)
334-
rack (2.2.4)
334+
rack (2.2.6.2)
335335
rack-attack (5.4.2)
336336
rack (>= 1.0, < 3)
337337
rack-contrib (2.3.0)
338338
rack (~> 2.0)
339-
rack-protection (2.2.3)
339+
rack-protection (2.2.4)
340340
rack
341341
rack-ssl (1.4.1)
342342
rack
@@ -399,16 +399,16 @@ GEM
399399
simplecov_json_formatter (~> 0.1)
400400
simplecov-html (0.12.3)
401401
simplecov_json_formatter (0.1.4)
402-
sinatra (2.2.3)
402+
sinatra (2.2.4)
403403
mustermann (~> 2.0)
404404
rack (~> 2.2)
405-
rack-protection (= 2.2.3)
405+
rack-protection (= 2.2.4)
406406
tilt (~> 2.0)
407-
sinatra-contrib (2.2.3)
407+
sinatra-contrib (2.2.4)
408408
multi_json
409409
mustermann (~> 2.0)
410-
rack-protection (= 2.2.3)
411-
sinatra (= 2.2.3)
410+
rack-protection (= 2.2.4)
411+
sinatra (= 2.2.4)
412412
tilt (~> 2.0)
413413
stackprof (0.2.17)
414414
thread_safe (0.3.6)

lib/travis/api/v3/remote_query.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def s3_connection
8383
aws_secret_access_key: s3_config[:secret_access_key],
8484
provider: 'AWS',
8585
region: s3_config[:region],
86+
host: s3_config[:hostname],
8687
instrumentor: ActiveSupport::Notifications,
8788
connection_options: { instrumentor: ActiveSupport::Notifications }
8889
)

lib/travis/services/find_caches.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ def fetch_s3(cache_objects, options)
147147
aws_access_key_id: config[:access_key_id],
148148
aws_secret_access_key: config[:secret_access_key],
149149
provider: 'AWS',
150+
host: config[:hostname],
151+
region: config[:region],
150152
instrumentor: ActiveSupport::Notifications,
151153
connection_options: { instrumentor: ActiveSupport::Notifications })
152154
bucket = svc.directories.get(config[:bucket_name], options)

0 commit comments

Comments
 (0)