specinfra 1.18.0 → 1.18.1
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/base.rb +1 -1
- data/lib/specinfra/command/solaris.rb +1 -1
- data/lib/specinfra/version.rb +1 -1
- 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: cb4d3b1261292642188e64c3f68b03e8edf053da
|
4
|
+
data.tar.gz: 9bd2f7e7fc77019b78bfc19786e9473843da2626
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc95fdb9f191f20f8498e728f995a026a5ef1177188a169433cd5d4218822ca3d89a17c21977c25f5b2c5542f69d105305bcce88f477d6990973ae05dcbfcaca
|
7
|
+
data.tar.gz: ed5cb253cb64aaa5abb90c454d6cc4e716b350f21acfb32ded800f63787739765262f7ce704f833f1ac3499d7199dac220022fb124c634bd77cd56893709f6cd
|
@@ -200,7 +200,7 @@ module SpecInfra
|
|
200
200
|
end
|
201
201
|
|
202
202
|
def check_cron_entry(user, entry)
|
203
|
-
entry_escaped = entry.gsub(/\*/, '\\*')
|
203
|
+
entry_escaped = entry.gsub(/\*/, '\\*').gsub(/\[/, '\\[').gsub(/\]/, '\\]')
|
204
204
|
if user.nil?
|
205
205
|
"crontab -l | grep -v \"#\" -- | grep -- #{escape(entry_escaped)}"
|
206
206
|
else
|
@@ -28,7 +28,7 @@ module SpecInfra
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def check_cron_entry(user, entry)
|
31
|
-
entry_escaped = entry.gsub(/\*/, '\\*')
|
31
|
+
entry_escaped = entry.gsub(/\*/, '\\*').gsub(/\[/, '\\[').gsub(/\]/, '\\]')
|
32
32
|
if user.nil?
|
33
33
|
"crontab -l | grep -- #{escape(entry_escaped)}"
|
34
34
|
else
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
4
|
+
version: 1.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|