tiller 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/tiller +1 -1
  3. data/lib/tiller/data/file.rb +4 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27d12e01d34394a6fad400842d4aa83ebc197e3a
4
- data.tar.gz: 0ee3df3eff85b7a044198b81722943fefde97207
3
+ metadata.gz: 4d370d0cfa95a4115b8a5f6daec7789d5352ec86
4
+ data.tar.gz: aa1ea4c0bb09ae319f97be6d71026bfd0b9797cb
5
5
  SHA512:
6
- metadata.gz: ef5413950dc0402cbcbad9d2644678e8f09977e0a06fc791eb4cbc612fd0d774a773a622b0dd06bc808f730aa2a4fc0be1f321c9563b9d80b99df7cae8e9ec3a
7
- data.tar.gz: 05c0e4a79290f4defc0d7434363f992086bf49c0360147da85f9baaa57b4c20adaba00e4b7e402ca0ba51901cd94b429193f97f298ce41630b12f0f5b9b1f702
6
+ metadata.gz: 8749c166f4d4581b7423ba444be330ab8ddbf2981a59197e1c0b75fa14a6204bf31f6085f16bb642eb13414f26d31d75ccfd27b8e336fcff78c6fb930ce26cb5
7
+ data.tar.gz: 98edc1de13a2bc03ae34786258598af6cc0279044d5e57c1f5630248296df607d79047588795c21226c5f9608bc9fcf2227cc29d2fdfc4c77f4a2218c8932024
data/bin/tiller CHANGED
@@ -8,7 +8,7 @@
8
8
  #
9
9
  # Mark Dastmalchi-Round <github@markround.com>
10
10
 
11
- VERSION = '0.7.6'
11
+ VERSION = '0.7.7'
12
12
 
13
13
  require 'erb'
14
14
  require 'ostruct'
@@ -29,6 +29,10 @@ class FileDataSource < Tiller::DataSource
29
29
  end
30
30
  end
31
31
 
32
+ def global_values
33
+ @config_hash.key?('global_values') ? @config_hash['global_values'] : {}
34
+ end
35
+
32
36
  def common
33
37
  @config_hash.key?('common') ? @config_hash['common'] : {}
34
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Dastmalchi-Round
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-21 00:00:00.000000000 Z
11
+ date: 2016-05-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A tool to create configuration files from a variety of sources, particularly
14
14
  useful for Docker containers. See https://github.com/markround/tiller for examples