capistrano-logrotate 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/capistrano/logrotate/version.rb +1 -1
- data/lib/capistrano/tasks/logrotate.rake +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d1442ac6a38ae7b98482fe2ec9a122971e76fcf2ebb4ccf80b22683e3068587
|
4
|
+
data.tar.gz: 78d6478ada071184e6c8e999cd6a8674f7675d7480875679f5eaa74288cb7da2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a33702c26cb8dee4275f3bac288ee71b78c0159cda0c280d35db47a6844a85bf1c77ed3283f8f46662fe431ab7b2cae8b3d8a908255401d2e362f31db402ab6b
|
7
|
+
data.tar.gz: 475a650a273a9f32815dfb39c577585a607a17b3f4a9d0ae6a3ea14a3d640602cc66b63ee141480de428092da02c8dae35859b15ccbc26058bc453244dfcaa64
|
data/README.md
CHANGED
@@ -50,4 +50,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
50
50
|
|
51
51
|
## Contributing
|
52
52
|
|
53
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
53
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/linjunpop/capistrano-logrotate.
|
@@ -27,7 +27,7 @@ namespace :logrotate do
|
|
27
27
|
|
28
28
|
if File.file?(logrotate_template_path)
|
29
29
|
erb = File.read(logrotate_template_path)
|
30
|
-
config_path = File.join(
|
30
|
+
config_path = File.join(fetch(:tmp_dir), 'logrotate_conf')
|
31
31
|
upload! StringIO.new(ERB.new(erb).result(binding)), config_path
|
32
32
|
sudo :mv, config_path, fetch(:logrotate_conf_path)
|
33
33
|
sudo :chown, "root:root", fetch(:logrotate_conf_path)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-logrotate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jun Lin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -104,8 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
|
-
|
108
|
-
rubygems_version: 2.7.3
|
107
|
+
rubygems_version: 3.0.3
|
109
108
|
signing_key:
|
110
109
|
specification_version: 4
|
111
110
|
summary: Logrotate integration for Capistrano.
|