specinfra 2.76.8 → 2.76.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/command/solaris/base/cron.rb +1 -1
- data/lib/specinfra/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 946b19777d3224efb0e7f23db836f5c7984ad9ba
|
4
|
+
data.tar.gz: c654c5f566c5a2291312659fe740239776b264a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 948d18e9aca46c3d3e9fbb6ce8cf16de13872783d0392246c304e01565b4b763d788c01ccff667d1f2ed4c5f57f29644ab604b1b44af630aa91d11093ea495b8
|
7
|
+
data.tar.gz: b421531c07a596ba43c1382139ed7204f2373ce3be5e99908ca3c9f0692daba388a1668e74e5ca9655b0424e6c01801d70ce592c0e0ebf750df59b1fd31bee39
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class Specinfra::Command::Solaris::Base::Cron < Specinfra::Command::Base::Cron
|
2
2
|
class << self
|
3
3
|
def check_has_entry(user, entry)
|
4
|
-
entry_escaped = entry.gsub(/\*/, '\\*').gsub(/\[/, '\\[').gsub(/\]/, '\\]')
|
4
|
+
entry_escaped = entry.gsub(/\*/, '\\*').gsub(/\[/, '\\[').gsub(/\]/, '\\]').gsub(/\%/, '\\%')
|
5
5
|
if user.nil?
|
6
6
|
"crontab -l | grep -- #{escape(entry_escaped)}"
|
7
7
|
else
|
data/lib/specinfra/version.rb
CHANGED