ruby-zoom 4.5.1 → 4.5.2

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: 10788664e72eaeaad581c1097eecd0e7114fc31a
4
- data.tar.gz: b7bff318e1386bb839520de8ebe62315434b9ec8
3
+ metadata.gz: 379c500b0d4051295c1b47328a24cfd567b5396b
4
+ data.tar.gz: 1679a25f5d4c35c8a7ea35a0b5f4e9985db23927
5
5
  SHA512:
6
- metadata.gz: 1f5b567886b3ee100cf19c2065bf4bc3fd98b42c1a7eb42c12c129f1be21379e80a20b93adec218d64ed70456ee273a0cce5592cf917053f9fbdda8dfd301223
7
- data.tar.gz: abcbb6123f6e5bbbcef0132515d50321200f070c5cd6d11273b92b002061bf02853b86b2a40c8fca0eddeb7d9777fec1b8909cbd8e426004ab5b33dc01f22c80
6
+ metadata.gz: c46904d6727989c95d97087248d154837e0b448d1b7042ca72be162d9fa3db00a389f9e0f2ecc126d191a3aadef18ef3540e52843a9f897600393d7161d967e3
7
+ data.tar.gz: 7c751aa9d1c01cd7e9b838784f0e61fe4d7ecebf4c17eb8da7d96fa772ab82d41a4fa28d4c1ed40bcda9e1a7c5fa1de2217ad34f97cbad450dc2e399248a74d1
@@ -3,12 +3,10 @@ class Zoom::SecurityProfile::Passwords < Zoom::SecurityProfile
3
3
  case Zoom::ProfileManager.default_profile
4
4
  when /^ack(-grep)?$/
5
5
  f ||= "--smart-case"
6
- when "ag"
7
- f ||= "-Su"
6
+ when "ag", "pt"
7
+ f ||= "-SU --hidden"
8
8
  when "grep"
9
9
  f ||= "-ai"
10
- when "pt"
11
- f ||= "-SU --hidden"
12
10
  end
13
11
 
14
12
  super(n, nil, f, b, a)
@@ -3,12 +3,10 @@ class Zoom::SecurityProfile::UnsafeC < Zoom::SecurityProfile
3
3
  case Zoom::ProfileManager.default_profile
4
4
  when /^ack(-grep)?$/
5
5
  f ||= "--smart-case --cc --cpp"
6
- when "ag"
6
+ when "ag", "pt"
7
7
  f ||= "-S -G \"\\.(c|h)(pp)?$\""
8
8
  when "grep"
9
9
  f ||= "-i --include=\"*.[ch]\" --include=\"*.[ch]pp\""
10
- when "pt"
11
- f ||= "-S -G \"\\.(c|h)(pp)?$\""
12
10
  end
13
11
 
14
12
  super(n, nil, f, b, a)
@@ -3,7 +3,7 @@ class Zoom::SecurityProfile::UnsafeJava < Zoom::SecurityProfile
3
3
  case Zoom::ProfileManager.default_profile
4
4
  when /^ack(-grep)?$/
5
5
  f ||= "--smart-case --java"
6
- when "ag"
6
+ when "ag", "pt"
7
7
  f ||= "-S -G \"\\.(java|properties)$\""
8
8
  when "grep"
9
9
  f ||= [
@@ -11,8 +11,6 @@ class Zoom::SecurityProfile::UnsafeJava < Zoom::SecurityProfile
11
11
  "--include=\"*.java\"",
12
12
  "--include=\"*.properties\""
13
13
  ].join(" ")
14
- when "pt"
15
- f ||= "-S -G \"\\.(java|properties)$\""
16
14
  end
17
15
 
18
16
  super(n, nil, f, b, a)
@@ -3,12 +3,10 @@ class Zoom::SecurityProfile::UnsafeJs < Zoom::SecurityProfile
3
3
  case Zoom::ProfileManager.default_profile
4
4
  when /^ack(-grep)?$/
5
5
  f ||= "--smart-case --js"
6
- when "ag"
6
+ when "ag", "pt"
7
7
  f ||= "-S -G \"\\.js$\""
8
8
  when "grep"
9
9
  f ||= "-i --include=\"*.js\""
10
- when "pt"
11
- f ||= "-S -G \"\\.js$\""
12
10
  end
13
11
 
14
12
  super(n, nil, f, b, a)
@@ -3,7 +3,7 @@ class Zoom::SecurityProfile::UnsafePhp < Zoom::SecurityProfile
3
3
  case Zoom::ProfileManager.default_profile
4
4
  when /^ack(-grep)?$/
5
5
  f ||= "--smart-case --php"
6
- when "ag"
6
+ when "ag", "pt"
7
7
  f ||= "-S -G \"\\.ph(p[345t]?|tml)$\""
8
8
  when "grep"
9
9
  f ||= [
@@ -12,8 +12,6 @@ class Zoom::SecurityProfile::UnsafePhp < Zoom::SecurityProfile
12
12
  "--include=\"*.php[345t]\"",
13
13
  "--include=\"*.phtml\""
14
14
  ].join(" ")
15
- when "pt"
16
- f ||= "-S -G \"\\.ph(p[345t]?|tml)$\""
17
15
  end
18
16
 
19
17
  super(n, nil, f, b, a)
@@ -3,12 +3,10 @@ class Zoom::SecurityProfile::UnsafePython < Zoom::SecurityProfile
3
3
  case Zoom::ProfileManager.default_profile
4
4
  when /^ack(-grep)?$/
5
5
  f ||= "--smart-case --python"
6
- when "ag"
6
+ when "ag", "pt"
7
7
  f ||= "-S -G \"\\.py$\""
8
8
  when "grep"
9
9
  f ||= "-i --include=\"*.py\""
10
- when "pt"
11
- f ||= "-S -G \"\\.py$\""
12
10
  end
13
11
 
14
12
  super(n, nil, f, b, a)
@@ -3,7 +3,7 @@ class Zoom::SecurityProfile::UnsafeRuby < Zoom::SecurityProfile
3
3
  case Zoom::ProfileManager.default_profile
4
4
  when /^ack(-grep)?$/
5
5
  f ||= "--smart-case --ruby"
6
- when "ag"
6
+ when "ag", "pt"
7
7
  f ||= [
8
8
  "-S",
9
9
  "-G \"\\.(erb|r(ake|b|html|js|xml)|spec)$|Rakefile\""
@@ -20,11 +20,6 @@ class Zoom::SecurityProfile::UnsafeRuby < Zoom::SecurityProfile
20
20
  "--include=\"*.spec\"",
21
21
  "--include=\"Rakefile\""
22
22
  ].join(" ")
23
- when "pt"
24
- f ||= [
25
- "-S",
26
- "-G \"\\.(erb|r(ake|b|html|js|xml)|spec)$|Rakefile\""
27
- ].join(" ")
28
23
  end
29
24
 
30
25
  super(n, nil, f, b, a)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-zoom
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.1
4
+ version: 4.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Whittaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-03 00:00:00.000000000 Z
11
+ date: 2016-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest