exercism_config 0.19.0 → 0.20.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: 3d8f9947448e72f417cd4da6d1ba5700a8cf3b171b387d3a1112dc23d9d953b6
4
- data.tar.gz: 07c32a1e10c2ea8e7599086a3038e98ef11e1580e59b833ac45aea4510066d13
3
+ metadata.gz: 744fa38ddb1c1232e2ce3e758174de17511af61274c1f12a588505d6a4db6823
4
+ data.tar.gz: 55aff6a0a094dc360fd5e85deb561240bfb73ec4082449ce115cc479b7dcc07b
5
5
  SHA512:
6
- metadata.gz: abc918c726bb0810528365950c4363901a124815daa5f44356021e8f07d2dd3dec61ed29fb09fc7a4b482ee1b53208a866ccbed473ef501e5616dab0254dab2a
7
- data.tar.gz: 05c42ebedca84160661fc68f2bc4d6d3115978da15295eded25f19e2d2c21d60ac18b0983c6067a7b3e2df931e1a76f8565b5ae48c77a68efcf316b211447025
6
+ metadata.gz: 9539fc278aefaa2b28250cd06f05abd977f7472dbd5198845a2f1ceb212624ac84ce1a252bff91d0c3faafc816ee09bd3be8f3d6ac24d7c7b84b56e65c31c60e
7
+ data.tar.gz: afacdce64725a4b5757ce741135cd19f1b69072c3a9773e4815307f04ae3430e7cdd332a8b23ee880cfcb1271221fcd0bab788b89c4b866753665373cb2a5568
@@ -68,9 +68,11 @@ settings_file =
68
68
  if settings_file_arg
69
69
  settings_file_arg.split("=").last
70
70
  elsif ENV["EXERCISM_DOCKER"]
71
- File.expand_path("../../settings-docker.yml", __FILE__)
71
+ File.expand_path("../../settings/docker.yml", __FILE__)
72
+ elsif ENV["EXERCISM_CI"]
73
+ File.expand_path("../../settings/ci.yml", __FILE__)
72
74
  else
73
- File.expand_path("../../settings-development.yml", __FILE__)
75
+ File.expand_path("../../settings/development.yml", __FILE__)
74
76
  end
75
77
 
76
78
  puts "Using settings file: #{settings_file}"
@@ -19,13 +19,11 @@ module ExercismConfig
19
19
 
20
20
  memoize
21
21
  def config_endpoint
22
- case Exercism.environment
23
- when :development, :test
24
- host = ENV["EXERCISM_DOCKER"] ? "dynamodb:8000" : "localhost:3039"
25
- "http://#{host}"
26
- else
27
- nil
28
- end
22
+ return nil unless %i[development test].include?(Exercism.environment)
23
+ return "http://127.0.0.1:8000" if ENV["EXERCISM_CI"]
24
+
25
+ host = ENV["EXERCISM_DOCKER"] ? "dynamodb:8000" : "localhost:3039"
26
+ "http://#{host}"
29
27
  end
30
28
  end
31
29
  end
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = "0.19.0"
2
+ VERSION = "0.20.0"
3
3
  end
@@ -0,0 +1,7 @@
1
+ aws_iterations_bucket: exercism-staging-iterations
2
+ dynamodb_tooling_jobs_table: tooling_jobs
3
+ tooling_orchestrator_url: http://127.0.0.1:3021
4
+ anycable_redis_url: redis://127.0.0.1:6379/1
5
+ anycable_rpc_host: 127.0.0.1:50051
6
+ rds_master_endpoint: 127.0.0.1
7
+ rds_port: 3306
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.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Walker
@@ -133,8 +133,9 @@ files:
133
133
  - lib/exercism_config/retrieve.rb
134
134
  - lib/exercism_config/setup_dynamodb_client.rb
135
135
  - lib/exercism_config/version.rb
136
- - settings-development.yml
137
- - settings-docker.yml
136
+ - settings/ci.yml
137
+ - settings/development.yml
138
+ - settings/docker.yml
138
139
  homepage: https://exercism.io
139
140
  licenses: []
140
141
  metadata: