pstream 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pstream.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2394d2e82fc938a2b4349d31c13143be1f9ce3b9c0ef8cf6a6b861d921588cd5
|
|
4
|
+
data.tar.gz: e4097f8ea5e998621c72e85d2342f0224293618444bdf75dfd3b56d677b79ba8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb65d589701cb29494d76e424e3336128de794684ea5245dca96dcffb2a4110f8de6c8e6af3b288154ee2e8dd77321d0f9833e81f03976de637eede25cbc4a9d
|
|
7
|
+
data.tar.gz: 04b3d433d520e8afb430017b761389840b301251cdccc2ac3d34d148cbe06a6decd75f96ca50a2f983d6060918b940e2af9ae797eb49888436db5a7222ceff31
|
data/lib/pstream.rb
CHANGED
|
@@ -154,10 +154,10 @@ class PStream
|
|
|
154
154
|
return suite.light_red
|
|
155
155
|
when /E?(EC)?DHE?|AES_256/
|
|
156
156
|
# Great cipher suites
|
|
157
|
-
return
|
|
157
|
+
return suite.light_green
|
|
158
158
|
else
|
|
159
159
|
# Maybe OK
|
|
160
|
-
return
|
|
160
|
+
return suite.light_white
|
|
161
161
|
end
|
|
162
162
|
end
|
|
163
163
|
|
|
@@ -216,7 +216,7 @@ class PStream
|
|
|
216
216
|
cipher_negotiations.map do |negotiation|
|
|
217
217
|
negotiation.suite
|
|
218
218
|
end.uniq.each do |suite|
|
|
219
|
-
ret.push(hilight_cipher_suite(suite))
|
|
219
|
+
ret.push(hilight_cipher_suite(suite)) if (!suite.nil?)
|
|
220
220
|
end
|
|
221
221
|
|
|
222
222
|
return ret.join("\n")
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pstream
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Miles Whittaker
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02
|
|
11
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|