exercism_config 0.21.0 → 0.22.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: 0c24cc2300139fb5053af4489866ee9994265766f12f5b91fe676ed055c4d3a7
4
- data.tar.gz: b657a28b1adccf1b74b1a57005eb324889466a1f92a7ac581094f576e904df99
3
+ metadata.gz: 9d04d6dcac3ff734c956cc7c17dfb5b89189d6eed7155b10bd16d4c32f614803
4
+ data.tar.gz: '097db1c56e98ae198500107728f42ff66644e63ca701984d8c011967997ec50e'
5
5
  SHA512:
6
- metadata.gz: c6bd5340aa8d762d42891713b7c0768edee802e884ca19489f41cb72613eb0362c53887a7963425f0e83661028ffe0fdb62dc7040bf559a9c45854abd6665505
7
- data.tar.gz: 27ae8d52eebdf0196e3a2c3414fbfe3726ad532728c8b81970ab96e7333224333508cf5653b2566d334d6a69949cfbc6d0599b80dd18a06c63374d7907150c08
6
+ metadata.gz: 2641075761befa26d18ce70585b44cec77ae173f5776d0803a8cfe82b300f350704192dc786511ef899218aaa0059d5ddd08d692a3ace4ec9f1b0cf7ed35d7ee
7
+ data.tar.gz: 868cf09c1a605b02b547290221081afee195ff9367955be86ac3924d791f6eaf2662398679edea0cc28c7fd26e2718a3acb1c9039109129640113fcbf837d3d9
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- exercism_config (0.18.0)
4
+ exercism_config (0.21.0)
5
5
  aws-sdk-dynamodb (~> 1.0)
6
6
  mandate
7
7
  zeitwerk
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "bundler/setup"
4
4
  require "exercism_config"
5
+ require 'erb'
5
6
  require 'yaml'
6
7
 
7
8
  env = ExercismConfig::DetermineEnvironment.()
@@ -76,7 +77,7 @@ settings_file =
76
77
  end
77
78
 
78
79
  puts "Using settings file: #{settings_file}"
79
- settings = YAML.load(File.read(settings_file))
80
+ settings = YAML.load(ERB.new(File.read(settings_file)).result)
80
81
 
81
82
  settings.each do |key, value|
82
83
  set_config_value(client, key, value)
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = "0.21.0"
2
+ VERSION = "0.22.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.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Walker