king_konf 0.3.4 → 0.3.5

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: 1e70105236984b09d7d7084252aa803a7f80d5e5e932f8dac6abf8b5f55f517f
4
- data.tar.gz: 0f84bbb611f69f745e859da039b4c2efd17241ef5679af8df3e4da63a80f3b76
3
+ metadata.gz: b3d936f5ed4d7ea538a1b3096c1c40d276d6492df3e210dcbaa4604d3ea16faf
4
+ data.tar.gz: ad5c395f1de89c1370aeddfa9e0b8c45e79495ced6a2fd1eee9867cf4866adc1
5
5
  SHA512:
6
- metadata.gz: 3060051a7d7a5bbf79c43b4434b29e1466fd4eab9c03485819b5e7ce4b2e559911b1a510c80281a5a3deba0779fe433d595db3556b06deba8d715778da3f3af9
7
- data.tar.gz: 7ba6ae642819a51cace837206ee5756d5008c6586f0b418ff4b2e881df184d2bc24bd05cfc67f169bc478b5d115e24c99933dbccef04f345184c748fc32a86a7
6
+ metadata.gz: f54a5f8c8e7e859c04f2207e8e4a392e24664bcf6f6e666c7984c9321affb157d5cd4780c72880dbea2ac5125a2861145919e84f554f69611bfe8e702bf701f9
7
+ data.tar.gz: 48aa61e977bfbb4bfeed008542cb2f27ef217c5dfba2d5b52218acb0fbc1762f8c186bed089a2aeaa65f1bab531e5328036f1e6c3ec2c00b7e6ac8c25ca5eec1
@@ -11,9 +11,7 @@ module KingKonf
11
11
  # First, load the ERB template from disk.
12
12
  template = ERB.new(File.new(path).read)
13
13
 
14
- # The last argument to `safe_load` allows us to use aliasing to share
15
- # configuration between environments.
16
- data = YAML.safe_load(template.result(binding), [], [], true)
14
+ data = YAML.load(template.result(binding))
17
15
 
18
16
  # Grab just the config for the environment, if specified.
19
17
  data = data.fetch(environment) unless environment.nil?
@@ -1,3 +1,3 @@
1
1
  module KingKonf
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: king_konf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-18 00:00:00.000000000 Z
11
+ date: 2018-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler