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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a9ba4e821b9552c4fd12f90be65887db89a2669
4
- data.tar.gz: fd5f101130295300da441409785f3e14e59ddb97
3
+ metadata.gz: c361b6d8f5d6d96d2d1e4f4e71727c6fa292d6c5
4
+ data.tar.gz: 347523a5073e6c63dd04204f6f68d3dba692d94f
5
5
  SHA512:
6
- metadata.gz: cc31093b89408d7fc46da39312f5f1b0c5c5a53136b7b883f44833ae6159f4b8e105a62c60179b5e86a3db28168f95fbc6b2c72738e2873597c6dd5a1bcc7200
7
- data.tar.gz: d302eee137c525ac9810777a8ca5785de71ac0e89a3b10bf245fdbd8415c22f4a9d6251ac42e2c72fe0de155924c59ea5513a7ff34dab708608d850cab13e91b
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
@@ -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.load_file(File.expand_path(@db_config_path))
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
@@ -1,3 +1,3 @@
1
1
  module PhobosDBCheckpoint
2
- VERSION = '3.0.0'
2
+ VERSION = '3.1.0'
3
3
  end
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.0.0
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-03-22 00:00:00.000000000 Z
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.5.1
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