ronin-support 1.0.4 → 1.0.5
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a34adac08397fc6bc4164f60be481e5f945eda3d18fcf5f93c0145fcc6a624ea
|
4
|
+
data.tar.gz: a6199b50de111e4140ee8159a0537b557e1e0e481f51ca04e362222a13572338
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b998a3b8fdfb358d1416d77c8f1107ef708f97ab635b6e1d5cd3d24804f958f4ea23e670cdf0c6dd718e358fccfda3fc2609432563c27e1f68d4f0c785bc426
|
7
|
+
data.tar.gz: b1d94229203e0485999d89a6521bd5ec43aa1356d347ae90f09e6ef85255b704a5e2de2bfcedd02a6b91596942a3673b796b8f70d760f883110f033f86545557
|
data/.github/workflows/ruby.yml
CHANGED
data/ChangeLog.md
CHANGED
@@ -111,7 +111,11 @@ module Ronin
|
|
111
111
|
# @api public
|
112
112
|
#
|
113
113
|
def read_string(length=nil)
|
114
|
-
new_string =
|
114
|
+
new_string = if (encoding = external_encoding)
|
115
|
+
String.new('', encoding: encoding)
|
116
|
+
else
|
117
|
+
String.new('')
|
118
|
+
end
|
115
119
|
|
116
120
|
if length
|
117
121
|
length.times do
|
@@ -108,7 +108,7 @@ module Ronin
|
|
108
108
|
# Path to the CA certificate file or directory.
|
109
109
|
#
|
110
110
|
# @return [OpenSSL::SSL::SSLSocket]
|
111
|
-
#
|
111
|
+
# The new SSL Socket.
|
112
112
|
#
|
113
113
|
# @api public
|
114
114
|
#
|
@@ -246,7 +246,7 @@ module Ronin
|
|
246
246
|
# The new SSL Socket.
|
247
247
|
#
|
248
248
|
# @return [OpenSSL::SSL::SSLSocket, nil]
|
249
|
-
#
|
249
|
+
# The new SSL Socket. If a block is given, then `nil` will be
|
250
250
|
# returned.
|
251
251
|
#
|
252
252
|
# @example
|
@@ -573,7 +573,7 @@ module Ronin
|
|
573
573
|
# Path to the CA certificate file or directory.
|
574
574
|
#
|
575
575
|
# @return [OpenSSL::SSL::SSLSocket]
|
576
|
-
#
|
576
|
+
# The new SSL Socket.
|
577
577
|
#
|
578
578
|
# @api public
|
579
579
|
#
|
@@ -107,7 +107,7 @@ module Ronin
|
|
107
107
|
# Path to the CA certificate file or directory.
|
108
108
|
#
|
109
109
|
# @return [OpenSSL::SSL::SSLSocket]
|
110
|
-
#
|
110
|
+
# The new SSL Socket.
|
111
111
|
#
|
112
112
|
# @api public
|
113
113
|
#
|
@@ -233,7 +233,7 @@ module Ronin
|
|
233
233
|
# The new SSL Socket.
|
234
234
|
#
|
235
235
|
# @return [OpenSSL::SSL::SSLSocket, nil]
|
236
|
-
#
|
236
|
+
# The new SSL Socket. If a block is given, then `nil` will be
|
237
237
|
# returned.
|
238
238
|
#
|
239
239
|
# @example
|
@@ -519,7 +519,7 @@ module Ronin
|
|
519
519
|
# * `:client_once`
|
520
520
|
#
|
521
521
|
# @return [OpenSSL::SSL::SSLSocket]
|
522
|
-
#
|
522
|
+
# The new SSL Socket.
|
523
523
|
#
|
524
524
|
# @api public
|
525
525
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chars
|
@@ -470,7 +470,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
470
470
|
- !ruby/object:Gem::Version
|
471
471
|
version: '0'
|
472
472
|
requirements: []
|
473
|
-
rubygems_version: 3.3
|
473
|
+
rubygems_version: 3.5.3
|
474
474
|
signing_key:
|
475
475
|
specification_version: 4
|
476
476
|
summary: A support library for ronin-rb.
|