small-ops 0.0.16 → 0.0.17

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 (2) hide show
  1. data/bin/etcd2conf +1 -3
  2. metadata +1 -1
data/bin/etcd2conf CHANGED
@@ -51,9 +51,7 @@ while run do
51
51
 
52
52
  template = File.read(@options[:input])
53
53
 
54
- if @options[:prefix].length >= 1 then prefix = "#{prefix}/" end
55
-
56
- ns = Namespace.new(data,{"host"=>@options[:host],"prefix"=>prefix})
54
+ ns = Namespace.new(data,{"host"=>@options[:host]})
57
55
  result=ERB.new(template).result(ns.get_binding)
58
56
 
59
57
  actual = Zlib::crc32(result)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: small-ops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: