capistrano-cron 0.1.3 → 0.1.4
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/CHANGELOG.md +4 -0
- data/lib/capistrano/cron/version.rb +1 -1
- data/lib/capistrano/cron.rb +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0879736dbbfcc042a2f1e9a4dda09c4f838ff42312126119fbbc4555665028b
|
|
4
|
+
data.tar.gz: acab7fe09f6ef315d2b3856e3e1a9918b9d03604145deb327d096ad6ae0be0b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0afea6aaa8d90ef525b166b909e7213ffec38177eb560415a51443fe78646cbba972aa48fc1ba6e776470778cce7ed690224045ae7660f5b1776d2267fbec587
|
|
7
|
+
data.tar.gz: 3d0a0da88402331f864781468f5a6fb67329b1906c148f3d2b44ab3cc55e83a4e209489fe08db95586003d6985830028b9b850b809d00a83bdbd2a203dfd465e
|
data/CHANGELOG.md
CHANGED
data/lib/capistrano/cron.rb
CHANGED
|
@@ -48,6 +48,11 @@ module Capistrano
|
|
|
48
48
|
# platform record seperator ($/)
|
|
49
49
|
stripped_contents.gsub(/\s+$/, $/)
|
|
50
50
|
end
|
|
51
|
+
rescue SSHKit::Command::Failed => e
|
|
52
|
+
# Detect if "no crontab for" is the only error message
|
|
53
|
+
return "" if e.message =~ /no crontab for/
|
|
54
|
+
|
|
55
|
+
raise e
|
|
51
56
|
end
|
|
52
57
|
|
|
53
58
|
def install_crontab(content)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-cron
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Codeur SAS
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
84
84
|
- !ruby/object:Gem::Version
|
|
85
85
|
version: '0'
|
|
86
86
|
requirements: []
|
|
87
|
-
rubygems_version: 3.
|
|
87
|
+
rubygems_version: 3.5.22
|
|
88
88
|
signing_key:
|
|
89
89
|
specification_version: 4
|
|
90
90
|
summary: Capistrano plugin to manage cron jobs
|