on_container 0.0.15 → 0.0.16

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: 59653c4ed81f8732a9f6ef5d8c104b0e8cf5bfef754a20fbda242efd60227c66
4
- data.tar.gz: 2490e4bfdc6dcdbca04e283c763a84d057e2d776f48ca55ac2b4bef1739e2724
3
+ metadata.gz: de09d3647113016448d9e6a404de9a51eeb765f63ae25865ccbcfa0ab0d51715
4
+ data.tar.gz: 809874753f0c96632637e5f1427aca262695dc027bae68369541e9e835c096b1
5
5
  SHA512:
6
- metadata.gz: 0ca201cbdd6f90b81917a954b4fa08366c912f25c8d0512a3d0144b5fc9507c7af5dc362b94274a3883fa7f0e8d1f7cc5679f15503490f9e086b7c058293d5b8
7
- data.tar.gz: 548efc5a0fccb6df230eb15d7ff3ba829c9fb6a65797475ff164eec88c220bc225eb7c2c608defd1cd323d1a44007e83e9c1a784227734e100adfa1a53e3c2dd
6
+ metadata.gz: c477f9274afcf3600a6e6a1e1570cc977ecee690ae0e85ceeefe13e131e305fc539f3b931dcfd03a06a9df2b30516047e7a46f226532a37d347c82ba0bd6c273
7
+ data.tar.gz: cee733d1fc26f46c113ec389efb8477a342303624c09f22eea6a604d34280e6bdc4cbeb2197ea80affeb8cd8892d4ee7db9790cf104fa2e2ad5280f880b7b350
@@ -13,7 +13,8 @@ module OnContainer
13
13
  require 'yaml'
14
14
 
15
15
  database_yaml = Pathname.new File.expand_path('config/database.yml')
16
- loaded_yaml = YAML.load(ERB.new(database_yaml.read).result, aliases: true) || {}
16
+ database_config = ERB.new(database_yaml.read).result
17
+ loaded_yaml = YAML.safe_load(database_config, aliases: true) || {}
17
18
  shared = loaded_yaml.delete('shared')
18
19
 
19
20
  loaded_yaml.each { |_k, values| values.reverse_merge!(shared) } if shared
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OnContainer
4
- VERSION = '0.0.15'
4
+ VERSION = '0.0.16'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: on_container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Quintanilla
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-17 00:00:00.000000000 Z
11
+ date: 2021-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport