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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c636dc04197a83433402899511986fa22db52cfe
4
- data.tar.gz: 15e6b380260bab02eeacdabf6031e0b95e3e1789
3
+ metadata.gz: cb4d3b1261292642188e64c3f68b03e8edf053da
4
+ data.tar.gz: 9bd2f7e7fc77019b78bfc19786e9473843da2626
5
5
  SHA512:
6
- metadata.gz: 2a9b4f2d76d43e787b9b267630b950e4225c9cbdcf9692ec4db6f7a58bf315e9a2e97ac8ae02c1cbe1d354b903122add2a9ee56b4c3021bd63d5452ef77abc07
7
- data.tar.gz: 78b22983724990a72b7cf0990e3e40c66264477022dc71b8c7328477e24fcbc861b415e57b02500e4b377fd9db278f406b06c553fa4ac2d7386290b8b0e2920c
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
@@ -1,3 +1,3 @@
1
1
  module SpecInfra
2
- VERSION = "1.18.0"
2
+ VERSION = "1.18.1"
3
3
  end
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.0
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 00:00:00.000000000 Z
11
+ date: 2014-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler