larva 1.1.3 → 1.2.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 +3 -0
- data/lib/larva/configurator.rb +3 -1
- data/lib/larva/version.rb +1 -1
- data/template/config/propono.yml +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bde0829b8aaeed8e30e47827c6b23fb29140ea8
|
4
|
+
data.tar.gz: 863ec67e91be524556c62d623d805ee472bf8c23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2829b4320ee369b5c5e88bda04f2fd6748ce3f2112d8250c592c73fe0734dd193ff2eef6626297449d2ee612dc6676f6e93bcbf99a5bea329821ce0fdec56363
|
7
|
+
data.tar.gz: ebf575ac928b7bd6861be17fd312a465fd89263f0afca433907775efda054e9a4ede98c6564f5199f900b9b80346ea580a4478d312ca008355b195b7b0e1a83d
|
data/CHANGELOG.md
CHANGED
data/lib/larva/configurator.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'erb'
|
2
|
+
|
1
3
|
module Larva
|
2
4
|
class Configurator
|
3
5
|
|
@@ -37,7 +39,7 @@ module Larva
|
|
37
39
|
|
38
40
|
private
|
39
41
|
def parse_config_file(filename)
|
40
|
-
contents = File.read(
|
42
|
+
contents = ERB.new(File.read(File.join(@config_dir, filename))).result
|
41
43
|
hash = YAML::load(contents)
|
42
44
|
hash.stringify_keys[@env].symbolize_keys
|
43
45
|
rescue
|
data/lib/larva/version.rb
CHANGED
data/template/config/propono.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: larva
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iHiD
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: propono
|