promotion 1.4.0 → 1.4.1
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.
- data/CHANGELOG +3 -0
- data/lib/promotion/generator/newsyslog.rb +3 -2
- data/promotion.xsd +1 -1
- metadata +4 -4
data/CHANGELOG
CHANGED
@@ -47,8 +47,9 @@ module Newsyslog
|
|
47
47
|
else
|
48
48
|
contents << "%-9s" % sched
|
49
49
|
end
|
50
|
-
|
51
|
-
contents << "
|
50
|
+
# We normally do not want to add rotation messages or compress
|
51
|
+
contents << "Z" if (nsl.attributes["Zip"] || "false") == "true"
|
52
|
+
contents << "B" if (nsl.attributes["Binary"] || "true") == "true"
|
52
53
|
restart = nsl.attributes["Restart"] # service to restart
|
53
54
|
if restart
|
54
55
|
contents << " /etc/rc.d/#{restart} restart "
|
data/promotion.xsd
CHANGED
@@ -266,7 +266,7 @@
|
|
266
266
|
<xsd:attribute name="When" type="xsd:string" use="optional" default="24" />
|
267
267
|
<!-- treat as $-format if starts with D,W,M; treat as integer if integer
|
268
268
|
else treat as @-format if digits with a 'T' -->
|
269
|
-
<xsd:attribute name="Zip" type="xsd:boolean" use="optional" default="
|
269
|
+
<xsd:attribute name="Zip" type="xsd:boolean" use="optional" default="false"/>
|
270
270
|
<xsd:attribute name="Binary" type="xsd:boolean" use="optional" default="false"/>
|
271
271
|
<xsd:attribute name="Restart" type="xsd:string" use="optional" />
|
272
272
|
</xsd:extension>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: promotion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 1
|
10
|
+
version: 1.4.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Richard Kernahan
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-10-
|
18
|
+
date: 2012-10-03 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: log4r
|