pstream 0.2.9 → 0.2.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pstream.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4045a120c8e17f49f309eda8efcd247081bb5d699c57af7b6b8d3e505c2476d9
4
- data.tar.gz: 78fb3610695ecbc270dafdde78d17d5184f4aa44591edfb645fce900a21419bb
3
+ metadata.gz: 2394d2e82fc938a2b4349d31c13143be1f9ce3b9c0ef8cf6a6b861d921588cd5
4
+ data.tar.gz: e4097f8ea5e998621c72e85d2342f0224293618444bdf75dfd3b56d677b79ba8
5
5
  SHA512:
6
- metadata.gz: a2b0d7a6aa3eda6f2023a1d2b35004131bf59e287e48bdbcaa8738974ee40e3e331b9291038691fd7d578c6cec7d462d607cf69e4986964b9891225901a7bc26
7
- data.tar.gz: 37bac162b1b21d8d0b3cedeeb1062a344ca27405de49734003bfa77c5183e5ed66771f7572f6b2410d90a808f39ca09c3b9d42e2385b8e4e098252f0dc84964e
6
+ metadata.gz: eb65d589701cb29494d76e424e3336128de794684ea5245dca96dcffb2a4110f8de6c8e6af3b288154ee2e8dd77321d0f9833e81f03976de637eede25cbc4a9d
7
+ data.tar.gz: 04b3d433d520e8afb430017b761389840b301251cdccc2ac3d34d148cbe06a6decd75f96ca50a2f983d6060918b940e2af9ae797eb49888436db5a7222ceff31
@@ -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 suite.light_green
157
+ return suite.light_green
158
158
  else
159
159
  # Maybe OK
160
- return suite.light_white
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.9
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-23 00:00:00.000000000 Z
11
+ date: 2018-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake