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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5aef54e7948f5d8216a8ba523218300dedc1fca53c1bf4e5e2bfb9bb7fe40a0
4
- data.tar.gz: dfdd02f5adab8fbb13e35d3e307ac1880bc5b7a491bfde60691e440768213286
3
+ metadata.gz: 7d1442ac6a38ae7b98482fe2ec9a122971e76fcf2ebb4ccf80b22683e3068587
4
+ data.tar.gz: 78d6478ada071184e6c8e999cd6a8674f7675d7480875679f5eaa74288cb7da2
5
5
  SHA512:
6
- metadata.gz: b38cc7a35e3d6032fa57c153b18702adeafe48b20f016a372fe51b6f25fc1c03d159eb3510b7c84314fb251b2623c185a3b84079d95d4ab603f9565d5d378f12
7
- data.tar.gz: 49219ce0ba63bd3b76044713ac77d0bb2b83b8614c94d33e39d6b08682593a92df717d42b227be0446bf26c9d33a89bcbc24ef6423c6b88c4b18fc469e764bd4
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/[USERNAME]/capistrano-logrotate.
53
+ Bug reports and pull requests are welcome on GitHub at https://github.com/linjunpop/capistrano-logrotate.
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Logrotate
3
- VERSION = '0.4.0'
3
+ VERSION = '0.5.0'
4
4
  end
5
5
  end
@@ -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(shared_path, 'logrotate_conf')
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.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: 2018-05-06 00:00:00.000000000 Z
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
- rubyforge_project:
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.