exercism-config 0.41.0 → 0.42.0

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: 01f964544c9ddec6effc25a1b417ed9d2f3d0c5dcb98ebae0b6cd9c4b62e3963
4
- data.tar.gz: 61a0591b8b221bed122b2dc12cfceff707aaf7005f56335bab86e1e31633210b
3
+ metadata.gz: 154c481dfec9038638a4e341abf22c223b272535513f64b6bf42849958989b57
4
+ data.tar.gz: 37dc10f0a102c526cb388f6eefdc73fc434524e0da51e7b64d5fd52a2e9c6802
5
5
  SHA512:
6
- metadata.gz: dd48bdaf9a8b8a86a3934e886442b6c23fd5285a2f0a578d0b6209ac1ac5b88ad58d2e34401459c84dbb7f0d57a99b5ef411199016f43833744811656ae6f188
7
- data.tar.gz: d0ac7eee145662d64d964f6b6dfd19d85aa780d5d387d9fb5c53adbe1c0963556389d4dfedb985c1617e81754d8ea5dc9e9befffecfe069826767d79d510e48f
6
+ metadata.gz: 0c6ac95f5259d00ee2ef26c46f692ba125383a483871951925e76076b38b28bf250e2729995402f27f538ae1f73bdee23db5c2e966a2ea4c46f91e5197d58188
7
+ data.tar.gz: 3fc1d88ce683284cdea1ca51df6ccfe52a51b9975b1d6318f0cf25ebd4db802a70581ae5b219182ec9cc545cedd6f768b98a98454b7f0a8e8ee928b5c831fd53
@@ -13,9 +13,7 @@ Exercism.config.dynamodb_client = ExercismConfig::SetupDynamoDBClient.()
13
13
  # Setup local s3 #
14
14
  ##################
15
15
 
16
- # We don't need this running for CI atm as none of our
17
- # tests actually hit s3. Although we might choose to change this
18
- unless ENV["EXERCISM_CI"] || ENV["EXERCISM_SKIP_S3"]
16
+ unless ENV["EXERCISM_SKIP_S3"]
19
17
  [
20
18
  Exercism.config.aws_iterations_bucket,
21
19
  Exercism.config.aws_tooling_jobs_bucket,
@@ -21,7 +21,7 @@ module ExercismConfig
21
21
  memoize
22
22
  def config_endpoint
23
23
  return nil if Exercism.env.production?
24
- return "http://127.0.0.1:#{ENV['S3_PORT']}" if ENV['EXERCISM_CI']
24
+ return "http://127.0.0.1:#{ENV['S3_PORT']}" if Exercism.env.test? && ENV['EXERCISM_CI']
25
25
 
26
26
  host = ENV['EXERCISM_DOCKER'] ? 's3:9090' : 'localhost:3041'
27
27
  "http://#{host}"
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.41.0'.freeze
2
+ VERSION = '0.42.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exercism-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Walker