etcd-tools 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/etcd-tools/erb.rb +6 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDcxMWYyODEwYTRkNjg4NDcxOGU4MjEyNDk3MWUyZGU1OWQ5ZTU0OA==
4
+ N2MzNWQzZDM0ODcyMDM4NTdhMzA1YTNmNDM2MTY5MDU4MTY3NWViNw==
5
5
  data.tar.gz: !binary |-
6
- ZDIwOGQ3NDMwYzljYTFhOGY5Y2E3MjFiYzhkNWJjNzc4YjE4MjY4MQ==
6
+ MjkxYjYwOGY4M2EyNDlmYzA4N2RiNmE0ZTExZmZiYThmMWJjOTI1MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWNhZWIyNDQ3MWE5NjJjOGQzNTI0NWM4YjZlMDE2NDZjNTg1MjZiODllYTZj
10
- YTdiZjVhYThmZjZjNTQzYWRjNjI2MGUyMmUxMDc1NmI3NDg3MzI3YTI3ZTBk
11
- OWNiYmY1YmViMjA0MGUxMDFjYjg4OWY2ZjY4ZGVkMTNiNzhiYTU=
9
+ YTQwYTU5YTkzOGRmNDE0ODQ3ZTNlZjU2NWFmMmRlMGE1ODM1YzE0ZWY2ZjVj
10
+ NzVkZDQ3ZGEwMzY4ZjNhOTJmZmY4MWZhZmUyZjA3ODQyMDE3YzkxY2VlMTAw
11
+ YmYxOTY3ODhkMDZiZDc1OTViMTU3Nzg2NjcwY2FjZDhjMjIwYTk=
12
12
  data.tar.gz: !binary |-
13
- OGI4OGVkNjdkMGUxMzA3Yjc2OGI0OTZkNTRiN2U5NGRhMTBkNWZmYjQyMzQ4
14
- Nzk3ODA5YjhjZGFkMTc5ZGRlZmViMzQwZTU5OWU2ZTU5NGIyNGY4OWVjNmU5
15
- NWI3YmY1NjhjMTE0ODI1OWMwMTIwNjBmYjM1NTMwOWNmMGM5MmQ=
13
+ MmE3MDdmM2I4NDE3Zjg4ZGY4MTc4YmIwMjg3ODRkODU4MzVhZmU3YTVhMTVi
14
+ MDFjMjY1Yjg2NGJhZTM4NzFkZmFhMDM3ZTEwYzk2MmUzYWE2ZjA3YzY5YzVj
15
+ YjI3NTY5ZDQ4M2E1MmJmMzc1MTkyODc1ZWFhOTc3ZmY0NDBjYTM=
@@ -8,11 +8,16 @@ module EtcdTools
8
8
  attr_reader :etcd
9
9
 
10
10
  def initialize (etcd, template, requires=['yaml'])
11
+ @safe_level = nil
11
12
  requires.each do |r|
12
13
  require r
13
14
  end
14
15
  @etcd = etcd
15
- super template
16
+ compiler = ::ERB::Compiler.new('-')
17
+ set_eoutvar(compiler, "_erbout")
18
+ @src, @enc = *compiler.compile(template)
19
+ @filename = nil
20
+ # super template
16
21
  end
17
22
 
18
23
  def result
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etcd-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radek 'blufor' Slavicinsky