net-ftp 0.3.6 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/push_gem.yml +1 -1
- data/.github/workflows/test.yml +1 -1
- data/lib/net/ftp.rb +10 -5
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e481d7fa04c36757bf0f4a60bc8821b56d37d20343f3ffee84f863a351bab45b
|
4
|
+
data.tar.gz: 27dfd640949af2161f80d5899a426fecd2a2d979ee08158cc5c4300cb3c98ae9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84a90b945499fce5fc21da0b67a8776c0a6aa814670d8d1cbcd40dd5eb3f5d788834991bf4b15c3db4f91e57bba5588c1d1d091ac0b885e40bb878426e1de336
|
7
|
+
data.tar.gz: 04454bccbb3088db4510b2805f8a4c38aac2feca903d5a25dd5e7eeb51bb25a89a9c66c336fe1e112ffe063094aac3c1e939fdf8a54add77dde3a3577ee2aa36
|
@@ -24,7 +24,7 @@ jobs:
|
|
24
24
|
steps:
|
25
25
|
# Set up
|
26
26
|
- name: Harden Runner
|
27
|
-
uses: step-security/harden-runner@
|
27
|
+
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
|
28
28
|
with:
|
29
29
|
egress-policy: audit
|
30
30
|
|
data/.github/workflows/test.yml
CHANGED
data/lib/net/ftp.rb
CHANGED
@@ -89,7 +89,7 @@ module Net
|
|
89
89
|
end
|
90
90
|
|
91
91
|
# :stopdoc:
|
92
|
-
VERSION = "0.3.
|
92
|
+
VERSION = "0.3.8"
|
93
93
|
FTP_PORT = 21
|
94
94
|
CRLF = "\r\n"
|
95
95
|
DEFAULT_BLOCKSIZE = BufferedIO::BUFSIZE
|
@@ -249,10 +249,15 @@ module Net
|
|
249
249
|
if defined?(VerifyCallbackProc)
|
250
250
|
@ssl_context.verify_callback = VerifyCallbackProc
|
251
251
|
end
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
252
|
+
|
253
|
+
# jruby-openssl does not support session caching
|
254
|
+
unless RUBY_ENGINE == "jruby"
|
255
|
+
@ssl_context.session_cache_mode =
|
256
|
+
OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT |
|
257
|
+
OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL_STORE
|
258
|
+
@ssl_context.session_new_cb = proc {|sock, sess| @ssl_session = sess }
|
259
|
+
end
|
260
|
+
|
256
261
|
@ssl_session = nil
|
257
262
|
if options[:private_data_connection].nil?
|
258
263
|
@private_data_connection = true
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-ftp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shugo Maeda
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2024-
|
10
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: net-protocol
|
@@ -64,7 +63,6 @@ licenses:
|
|
64
63
|
metadata:
|
65
64
|
homepage_uri: https://github.com/ruby/net-ftp
|
66
65
|
source_code_uri: https://github.com/ruby/net-ftp
|
67
|
-
post_install_message:
|
68
66
|
rdoc_options: []
|
69
67
|
require_paths:
|
70
68
|
- lib
|
@@ -79,8 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
77
|
- !ruby/object:Gem::Version
|
80
78
|
version: '0'
|
81
79
|
requirements: []
|
82
|
-
rubygems_version: 3.
|
83
|
-
signing_key:
|
80
|
+
rubygems_version: 3.6.0.dev
|
84
81
|
specification_version: 4
|
85
82
|
summary: Support for the File Transfer Protocol.
|
86
83
|
test_files: []
|