phobos_db_checkpoint 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/phobos_db_checkpoint.rb +1 -1
- data/lib/phobos_db_checkpoint/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c361b6d8f5d6d96d2d1e4f4e71727c6fa292d6c5
|
4
|
+
data.tar.gz: 347523a5073e6c63dd04204f6f68d3dba692d94f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 409e366b4c3d1fdfba0d331cea82b017d306a3518257398dd82b6ddb1bb9ac703a4c3620432ad4acee512f434d61db44651dc5117047f626def442076be56756
|
7
|
+
data.tar.gz: 05bd6ec1d9c0a03c76609afc4f6c862019f3eb32b3299103887cee78af88f8938f06dc83a6cb6ac94d234cbad39e9a62203a993f30b6b72a04390dbd62830742
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
+
## 3.1.0 (2017-06-19)
|
8
|
+
|
9
|
+
- [enhancement] Add support for erb syntax in database config file
|
10
|
+
|
7
11
|
## 3.0.0 (2017-03-21)
|
8
12
|
|
9
13
|
- [enhancement] Remove endpoint for retrying events
|
data/lib/phobos_db_checkpoint.rb
CHANGED
@@ -40,7 +40,7 @@ module PhobosDBCheckpoint
|
|
40
40
|
|
41
41
|
def load_db_config(pool_size: nil)
|
42
42
|
@db_config_path ||= ENV['DB_CONFIG'] || DEFAULT_DB_CONFIG_PATH
|
43
|
-
configs = YAML.
|
43
|
+
configs = YAML.load(ERB.new(File.read(File.expand_path(@db_config_path))).result)
|
44
44
|
@db_config = configs[env]
|
45
45
|
|
46
46
|
if pool_size.nil? && Phobos.config
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phobos_db_checkpoint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Túlio Ornelas
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2017-
|
16
|
+
date: 2017-06-20 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: bundler
|
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
294
294
|
version: '0'
|
295
295
|
requirements: []
|
296
296
|
rubyforge_project:
|
297
|
-
rubygems_version: 2.
|
297
|
+
rubygems_version: 2.6.8
|
298
298
|
signing_key:
|
299
299
|
specification_version: 4
|
300
300
|
summary: Phobos DB Checkpoint is a plugin to Phobos and is meant as a drop in replacement
|