exercism_config 0.11.0 → 0.12.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: 29923659114d2bf254bad2e019a321f070cb3ff299ed4ea8ce715e92b8fd316e
4
- data.tar.gz: ab184837acd4f8df85259f8b92004a6b120232874d1b83cccdb7a4afcddaf8f8
3
+ metadata.gz: dd0b7e2733cf6504836725513ee9249452432e16744c87a498294c9bf607f565
4
+ data.tar.gz: a86ee6db78ade29db5385811b66785b8ab78e9dbd572d2eb063dcfc954c34e1c
5
5
  SHA512:
6
- metadata.gz: 893a4ffaa832a31aed0896a6191ce52e466a5cf1341a2f96674a55373cf0b011a815e51f3e832b38e4166616a95102cc4347ed63b549f3407f67efc7fb533947
7
- data.tar.gz: 424ce4177752ef4da4d8745ff1d3766396ff9ccd7a872cf1697383b3d73eec13933bc149dcf36665496f6eb8d8b11c1eacd44f989d8882eb9e0ebcb888f77a52
6
+ metadata.gz: 21890667a1426ec324fc6b32b8cfb07c7f38825313141ab92dfc4ed4800c90021f6dfcb95c2b212e99eea55dafa5e59be08845e5a5a11662f42689d781fc6add
7
+ data.tar.gz: fc540dfe23e6e75c6861f07c5bf0871954241836a5d81e88cc1dc8aa23540309fb074622ef9730fa21a4f764766255ca986ec6a8845de40bf8fa8ddfff5ae8bd
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exercism_config (0.8.0)
4
+ exercism_config (0.11.0)
5
5
  aws-sdk-dynamodb (~> 1.0)
6
6
  mandate
7
7
  zeitwerk
@@ -25,7 +25,8 @@ module ExercismConfig
25
25
  def config_endpoint
26
26
  case environment
27
27
  when :development, :test
28
- "http://localhost:3039"
28
+ host = ENV["EXERCISM_DOCKER"] ? "dynamodb" : "localhost"
29
+ "http://#{host}:3039"
29
30
  else
30
31
  nil
31
32
  end
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = "0.11.0"
2
+ VERSION = "0.12.0"
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.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Walker