net-scp 4.0.1.rc3 → 4.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85938ca32f11557ce4671954e90804b552ff17c08f70b048e6dacf3f1fa19e14
4
- data.tar.gz: c868ed5839f461ccde85599b8b8eb359f4a33206f671dd15a6ab935fa8dc2f5b
3
+ metadata.gz: 8fd30ff1a8f383d70371edecd81dd7aeb7f98eea7735cb156eb27b027fd3e8a6
4
+ data.tar.gz: f4e232b5edbd50eeb342a665c0f73cb7d74f58b396b8e09f0adf7ad152804b33
5
5
  SHA512:
6
- metadata.gz: fc18c52990e428fb8f4dc2132d016d8817b5e47a916462f72bc4d4fe6092909abda1ba5b99c0a49cc370913c8fe7e77dc0823f322cad5ded384865b16a479749
7
- data.tar.gz: fdef41a58bd49186406b01e4d5829c263c599a704a30023711314ecac03fa6b5112f381777941a24602074de94a532b7f6f03a120c026b59f93da95d444aa6d5
6
+ metadata.gz: 47a7b29bfa8a6658f529eeaa5606af0ecdb4c7f1fd9bc17ab71744f2d5156724c8e7e4ddddfa08c728352b4a116f84631892e073503b5f43eadbb7987521fce7
7
+ data.tar.gz: ecebbde9ce32e37d38e243b72be7297b953ecce7b9229a68fc82c54dd6f633ae53b4e9b9ff7a9068ed829a3ed573e7b52a89dcba7c86dc5025a953ed0d7c2ae2
checksums.yaml.gz.sig CHANGED
Binary file
@@ -49,14 +49,14 @@ module Net
49
49
  MAJOR = 4
50
50
 
51
51
  # The minor component of this version of the Net::SSH library
52
- MINOR = 0
52
+ MINOR = 1
53
53
 
54
54
  # The tiny component of this version of the Net::SSH library
55
- TINY = 1
55
+ TINY = 0
56
56
 
57
57
  # The prerelease component of this version of the Net::SSH library
58
58
  # nil allowed
59
- PRE = "rc3"
59
+ PRE = nil
60
60
 
61
61
  # The current version of the Net::SSH library as a Version instance
62
62
  CURRENT = new(*[MAJOR, MINOR, TINY, PRE].compact)
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-scp
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1.rc3
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
8
8
  - Delano Mandelbaum
9
9
  - Miklós Fazekas
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain:
13
13
  - |
@@ -32,7 +32,7 @@ cert_chain:
32
32
  wxMvGTA/RH93o6dL09sq7rVtsS9NNFmBGJWLZWWPfcspNBUXS0HTWXsWS9XTm2bm
33
33
  bbXS+I4xE1yFIPs39ej57LGJDMgMhWTyJF2zVg==
34
34
  -----END CERTIFICATE-----
35
- date: 2024-12-25 00:00:00.000000000 Z
35
+ date: 2025-01-22 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: net-ssh
@@ -105,7 +105,6 @@ files:
105
105
  - lib/net/scp/errors.rb
106
106
  - lib/net/scp/upload.rb
107
107
  - lib/net/scp/version.rb
108
- - lib/net/scp/version.rb.old
109
108
  - lib/uri/open-scp.rb
110
109
  - lib/uri/scp.rb
111
110
  - net-scp-public_cert.pem
@@ -116,7 +115,7 @@ licenses:
116
115
  - MIT
117
116
  metadata:
118
117
  changelog_uri: https://github.com/net-ssh/net-scp/blob/master/CHANGES.txt
119
- post_install_message:
118
+ post_install_message:
120
119
  rdoc_options: []
121
120
  require_paths:
122
121
  - lib
@@ -132,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
131
  version: '0'
133
132
  requirements: []
134
133
  rubygems_version: 3.3.3
135
- signing_key:
134
+ signing_key:
136
135
  specification_version: 3
137
136
  summary: A pure Ruby implementation of the SCP client protocol.
138
137
  test_files: []
metadata.gz.sig CHANGED
Binary file
@@ -1,68 +0,0 @@
1
- module Net
2
- class SCP
3
- # A class for describing the current version of a library. The version
4
- # consists of three parts: the +major+ number, the +minor+ number, and the
5
- # +tiny+ (or +patch+) number.
6
- #
7
- # Two Version instances may be compared, so that you can test that a version
8
- # of a library is what you require:
9
- #
10
- # require 'net/scp/version'
11
- #
12
- # if Net::SCP::Version::CURRENT < Net::SCP::Version[2,1,0]
13
- # abort "your software is too old!"
14
- # end
15
- class Version
16
- include Comparable
17
-
18
- # A convenience method for instantiating a new Version instance with the
19
- # given +major+, +minor+, and +tiny+ components.
20
- def self.[](major, minor, tiny, pre = nil)
21
- new(major, minor, tiny, pre)
22
- end
23
-
24
- attr_reader :major, :minor, :tiny
25
-
26
- # Create a new Version object with the given components.
27
- def initialize(major, minor, tiny, pre = nil)
28
- @major, @minor, @tiny, @pre = major, minor, tiny, pre
29
- end
30
-
31
- # Compare this version to the given +version+ object.
32
- def <=>(version)
33
- to_i <=> version.to_i
34
- end
35
-
36
- # Converts this version object to a string, where each of the three
37
- # version components are joined by the '.' character. E.g., 2.0.0.
38
- def to_s
39
- @to_s ||= [@major, @minor, @tiny, @pre].compact.join(".")
40
- end
41
-
42
- # Converts this version to a canonical integer that may be compared
43
- # against other version objects.
44
- def to_i
45
- @to_i ||= @major * 1_000_000 + @minor * 1_000 + @tiny
46
- end
47
-
48
- # The major component of this version of the Net::SSH library
49
- MAJOR = 4
50
-
51
- # The minor component of this version of the Net::SSH library
52
- MINOR = 0
53
-
54
- # The tiny component of this version of the Net::SSH library
55
- TINY = 1
56
-
57
- # The prerelease component of this version of the Net::SSH library
58
- # nil allowed
59
- PRE = "rc2"
60
-
61
- # The current version of the Net::SSH library as a Version instance
62
- CURRENT = new(*[MAJOR, MINOR, TINY, PRE].compact)
63
-
64
- # The current version of the Net::SSH library as a String
65
- STRING = CURRENT.to_s
66
- end
67
- end
68
- end