serverkit 0.2.5 → 0.2.6

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: 9c4c6ff6ddcad1fa170004f086a310380bbc9aea
4
- data.tar.gz: 9e5ec0a8584f01b1478630d124a51b5675afaf5c
3
+ metadata.gz: 96c028d829766a02fbb189a68389cd9998593913
4
+ data.tar.gz: dd6e9235ee0350d7e6e03ffccc61b703d4c63d85
5
5
  SHA512:
6
- metadata.gz: 15ef8e9c19eb85523f43c01bf70de32d5f82a57b28328a185c72a138d57454f95a0d6b41223582ae621c5c73fd62e8efefc871e5e9683b46ff1fdb20cb90539f
7
- data.tar.gz: 7b7e70797e2b8f4fe0ce5d4301f4a741f1d8baa01db8c2a54f8bddcc2c7133ea1b86b9d92be04fc54e36efdf183bd9a594f1512acad455d90e134a3ba4ecffac
6
+ metadata.gz: 472858326d32d10db6c6ffde815fa84a3e830f210bddd961a04175cce44de91139b5f605edcb586e024ed14c7e203a04aaf5d0515ceae8f04de4e641c1d584ce
7
+ data.tar.gz: e8d020cf2d0a42b53dbe4f58a6f0d92f57d9371a9cc68d52cbfa4f21fc8d63ae5223add40789330e2b0d240ef8723c6dd1ce041f0aa37d3951986cee03c1cc93
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.2.6
2
+ - Support ERB trim_mode with "-"
3
+
1
4
  ## 0.2.5
2
5
  - Fix bug on resource with no notify property
3
6
 
data/README.md CHANGED
@@ -14,7 +14,7 @@ Configuration management toolkit for IT automation.
14
14
  - [Resource](#resource)
15
15
  - [Type](#type)
16
16
  - [Example](#example-1)
17
- - [Handlers](#handlers)
17
+ - [Handler](#handler)
18
18
  - [Plug-in](#plug-in)
19
19
 
20
20
  ## Usage
@@ -187,7 +187,7 @@ resources:
187
187
  name: mysql
188
188
  ```
189
189
 
190
- ## Handlers
190
+ ## Handler
191
191
  When any changes are successfully applied to a resource and it has notify attribute,
192
192
  it notifies handlers that are referenced by their id.
193
193
  The notified handlers will run only once after all resources finished their applications.
@@ -47,7 +47,7 @@ module Serverkit
47
47
 
48
48
  # @return [String]
49
49
  def expand_erb
50
- ERB.new(pathname.read).result(binding_for_erb)
50
+ ERB.new(pathname.read, nil, "-").result(binding_for_erb)
51
51
  end
52
52
 
53
53
  # @return [String]
@@ -1,3 +1,3 @@
1
1
  module Serverkit
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-09 00:00:00.000000000 Z
11
+ date: 2015-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel