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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 898090372a81b7d5f2fab12ba4cecc22407351a2
4
- data.tar.gz: e0b4bce533b9bf59d4d86e71783edd6b20673e70
3
+ metadata.gz: 0bde0829b8aaeed8e30e47827c6b23fb29140ea8
4
+ data.tar.gz: 863ec67e91be524556c62d623d805ee472bf8c23
5
5
  SHA512:
6
- metadata.gz: 1618480b83e2aeb0753a3cd0947e433e625abbf8976061b30f8201e8e7a94a0f4a0caa60396c60e97947e3bd04e2f8edd38f3349f0f5c74b7d566f93076ceca6
7
- data.tar.gz: e37e1ad66b5a73370786302ce97495a94bf09ab514988bc96ea75daf813e9dd85e4819e2486eb87445f42dd8d6561d8748936d100aa10ba650512bc28bb3f969
6
+ metadata.gz: 2829b4320ee369b5c5e88bda04f2fd6748ce3f2112d8250c592c73fe0734dd193ff2eef6626297449d2ee612dc6676f6e93bcbf99a5bea329821ce0fdec56363
7
+ data.tar.gz: ebf575ac928b7bd6861be17fd312a465fd89263f0afca433907775efda054e9a4ede98c6564f5199f900b9b80346ea580a4478d312ca008355b195b7b0e1a83d
@@ -1,3 +1,6 @@
1
+ # 1.2.0 / 2015-08-27
2
+ * [FEATURE] Interpolate erb on propono configuration yml (@stevenbarragan)
3
+
1
4
  # 1.1.3 / 2015-01-30
2
5
  * [BUGFIX] Fix issue with HashWithIndifferentAccess.
3
6
 
@@ -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("#{@config_dir}/#{filename}")
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
@@ -1,3 +1,3 @@
1
1
  module Larva
2
- VERSION = '1.1.3'
2
+ VERSION = '1.2.0'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  development:
2
- access_key: MY-DEV-ACCESS-KEY
3
- secret_key: MY-DEV-SECRET-KEY
2
+ access_key: <%= 'MY-DEV-ACCESS-KEY' %>
3
+ secret_key: <%= 'MY-DEV-SECRET-KEY' %>
4
4
  region: eu-west-1
5
5
  application_name: development_larva_spawn
6
6
  queue_suffix:
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.1.3
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-01-30 00:00:00.000000000 Z
11
+ date: 2015-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: propono