ruby-zoom 4.6.1 → 4.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/z +1 -1
- data/bin/zc +1 -1
- data/bin/zf +1 -1
- data/bin/zg +1 -1
- data/bin/zl +1 -1
- data/bin/zr +1 -1
- data/lib/zoom/profile_manager.rb +16 -4
- 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: 4bc56ae7f9395681ad184189dbafcf5ee94028dc
|
4
|
+
data.tar.gz: 70f6a62d6dd5ab73d5f1d658e43773e00efbaaa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7cb55ecf06412c49851fe8c85e6f99a4944d9adb99631aadaa4381c5441ac50be1f9acf10f5672810d8f874f30d974d99b572752f2cd678627ecd06289b8b7e
|
7
|
+
data.tar.gz: 1e90f5833ae96b4e56191ab1b505af6a11b0073d23d2916410488db3d94f70842847b8f89728c4a379887ec1ca6895a74aa70994ae275c8bc8c4bcba2aa76245
|
data/bin/z
CHANGED
data/bin/zc
CHANGED
data/bin/zf
CHANGED
data/bin/zg
CHANGED
data/bin/zl
CHANGED
data/bin/zr
CHANGED
data/lib/zoom/profile_manager.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require "fagin"
|
2
1
|
require "pathname"
|
3
2
|
require "scoobydoo"
|
4
3
|
|
@@ -33,14 +32,27 @@ class Zoom::ProfileManager
|
|
33
32
|
end
|
34
33
|
end
|
35
34
|
|
35
|
+
Zoom::Profile.subclasses.each do |clas|
|
36
|
+
case clas.to_s
|
37
|
+
when /^Zoom::SecurityProfile.*/
|
38
|
+
# Ignore these
|
39
|
+
when /^Zoom::Profile::(Ag|Ack|Find|Grep|Pt)/
|
40
|
+
# Ignore these
|
41
|
+
else
|
42
|
+
# Custom classes
|
43
|
+
c = clas.new
|
44
|
+
profiles[c.name] = c
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
36
48
|
return profiles
|
37
49
|
end
|
38
50
|
|
39
51
|
def self.security_profiles
|
40
|
-
|
52
|
+
profiles = Array.new
|
41
53
|
Zoom::SecurityProfile.subclasses.each do |clas|
|
42
|
-
|
54
|
+
profiles.push(clas.new)
|
43
55
|
end
|
44
|
-
return
|
56
|
+
return profiles
|
45
57
|
end
|
46
58
|
end
|
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.6.
|
4
|
+
version: 4.6.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
|
+
date: 2016-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|