capun 0.0.10 → 0.0.11
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.
- checksums.yaml +4 -4
- data/lib/capun/version.rb +1 -1
- data/lib/generators/capun/stage_generator.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1d0573df83bbb9e028086c7d85384ab0228a7ce
|
|
4
|
+
data.tar.gz: 1e7391d997f28349c819d70cf6ea99ed8000be05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2359e6adb1d8e820296eb6711ca9d91db05d22ad126becce1bf3749675cfd568f76085ac23523a6362c44930d02a786db1b4e7f0c11168075e23a14b3ccf891
|
|
7
|
+
data.tar.gz: 630f52a24899ed457db5032649ed23a9d10978f31bfd69541647cffa29d2909414bdbe17e89a1eb573e62dafac8397e196d6d5e7ff12b180376c009364deb0a5
|
data/lib/capun/version.rb
CHANGED
|
@@ -16,7 +16,7 @@ module Capun
|
|
|
16
16
|
@password = ask("Basic authentication password [ex.: secret]:")
|
|
17
17
|
end
|
|
18
18
|
@addELK = ask("Would you like to add ELK-compatible logging? [Y/n]").capitalize == 'Y'
|
|
19
|
-
@
|
|
19
|
+
@addlogrotate = ask("Would you like to add logrotate configuration to stage? [Y/n]").capitalize == 'Y'
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
def add_stage
|
|
@@ -74,9 +74,9 @@ module Capun
|
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
def
|
|
78
|
-
if @
|
|
79
|
-
copy_file "
|
|
77
|
+
def add_logrotate
|
|
78
|
+
if @addlogrotate
|
|
79
|
+
copy_file "logrotate.config.erb", "config/deploy/logrotate.config.erb"
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capun
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Zamylin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-01-
|
|
11
|
+
date: 2016-01-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|