geordi 7.0.1 → 7.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/geordi/dump_loader.rb +8 -1
- data/lib/geordi/gitpt.rb +0 -2
- data/lib/geordi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8c141d6bb76920354f1a772f6d7a3f88f4ee41fc11766ae40c9bc664ae3d914
|
4
|
+
data.tar.gz: e1d000833fb2d445b164529da4051fc25c846b7b0a5c12a0469a3fe745e6c2da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9f630cfa71810205a6db1b23c304c13e14b7ad3380fb71539940e1c0af6802f74b13c6461f673e3aaa456a89dfc2a3b74fda29a865c605d4c5e4ce8890c1cfb
|
7
|
+
data.tar.gz: dab2ddb18a29a96872478cd896951608ffdf2baa37c604e6124522810241fb5ecee69f9c2cafdde791992914d02fa926e195556592a5e82e067f37eadd7797f3
|
data/CHANGELOG.md
CHANGED
@@ -6,9 +6,15 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
6
6
|
## Unreleased
|
7
7
|
|
8
8
|
### Compatible changes
|
9
|
+
|
9
10
|
### Breaking changes
|
10
11
|
|
11
12
|
|
13
|
+
## 7.0.2 2021-10-06
|
14
|
+
|
15
|
+
### Compatible changes
|
16
|
+
* fix `YAML.safe_load` for `psych` >= 4
|
17
|
+
|
12
18
|
## 7.0.1 2021-08-13
|
13
19
|
|
14
20
|
### Compatible changes
|
data/Gemfile.lock
CHANGED
data/lib/geordi/dump_loader.rb
CHANGED
@@ -14,8 +14,15 @@ module Geordi
|
|
14
14
|
require 'yaml'
|
15
15
|
|
16
16
|
evaluated_config_file = ERB.new(File.read('config/database.yml')).result
|
17
|
+
|
17
18
|
# Allow aliases and a special set of classes like symbols and time objects
|
18
|
-
|
19
|
+
permitted_classes = [Symbol, Time]
|
20
|
+
@config ||= if Gem::Version.new(Psych::VERSION) >= Gem::Version.new('3.1.0')
|
21
|
+
YAML.safe_load(evaluated_config_file, permitted_classes: permitted_classes, aliases: true)
|
22
|
+
else
|
23
|
+
YAML.safe_load(evaluated_config_file, permitted_classes, [], true)
|
24
|
+
end
|
25
|
+
|
19
26
|
@config['development']
|
20
27
|
end
|
21
28
|
alias_method :config, :development_database_config
|
data/lib/geordi/gitpt.rb
CHANGED
data/lib/geordi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geordi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henning Koch
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|