net-proto 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES +6 -0
- data/certs/djberg96_pub.pem +22 -17
- data/doc/netproto.txt +2 -2
- data/lib/net/proto/common.rb +1 -1
- data/net-proto.gemspec +25 -16
- data/test/test_net_proto.rb +2 -1
- metadata +54 -44
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1daa42393b00eb774a8ad1e9b6ecf3f1b369ac47c46d974c9d671e695a2963c6
|
4
|
+
data.tar.gz: 8b2437cc1ea12f09cad3b724307f24ea2172ad61cb6d764bcdac0a7bf4751f77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eba3abc747ec6d2f92ae05bbb907124d85f7ea13a9c03b86519e7fc5306f54ab4ac5abe1e5080c3904b9da295f7e845dcfb8e2d9780fc136e982d44539e83580
|
7
|
+
data.tar.gz: d832391f70e27a8e8b4bdcadf1ad866e8f1083d6694b6269d944c2818fce546111d0a6fada3ccd93b9dd960d7f0ee496563545701c6d0e6bb001d988c7c2480a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGES
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
== 1.3.0 - 10-Jan-2019
|
2
|
+
* Changed license to Apache-2.0.
|
3
|
+
* The VERSION constant is now frozen.
|
4
|
+
* Added metadata to the gemspec.
|
5
|
+
* Updated cert, should be good for about 10 years now.
|
6
|
+
|
1
7
|
== 1.2.1 - 4-Jan-2016
|
2
8
|
* This gem is now signed.
|
3
9
|
* The gem related tasks in the Rakefile now assume Rubygems 2.x.
|
data/certs/djberg96_pub.pem
CHAN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yu1dojmFRo6W2KZvY9al2yIlbkpDrD5MYQIDAQABo3cwdTAJBgNV
|
15
|
+
HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUFZsMapgzJimzsbaBG2Tm8j5e
|
16
|
+
AzgwHQYDVR0RBBYwFIESZGpiZXJnOTZAZ21haWwuY29tMB0GA1UdEgQWMBSBEmRq
|
17
|
+
YmVyZzk2QGdtYWlsLmNvbTANBgkqhkiG9w0BAQsFAAOCAYEAW2tnYixXQtKxgGXq
|
18
|
+
/3iSWG2bLwvxS4go3srO+aRXZHrFUMlJ5W0mCxl03aazxxKTsVVpZD8QZxvK91OQ
|
19
|
+
h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
|
20
|
+
6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
|
21
|
+
ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
|
22
|
+
1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
|
23
|
+
DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
|
24
|
+
ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
|
25
|
+
WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
|
21
26
|
-----END CERTIFICATE-----
|
data/doc/netproto.txt
CHANGED
@@ -59,7 +59,7 @@ Proto.getprotoent{ |struct| ... }
|
|
59
59
|
at https://github.com/djberg96/net-proto.
|
60
60
|
|
61
61
|
== Copyright
|
62
|
-
(C) 2003-
|
62
|
+
(C) 2003-2019 Daniel J. Berger
|
63
63
|
All rights reserved.
|
64
64
|
|
65
65
|
== Warranty
|
@@ -68,7 +68,7 @@ Proto.getprotoent{ |struct| ... }
|
|
68
68
|
warranties of merchantability and fitness for a particular purpose.
|
69
69
|
|
70
70
|
== License
|
71
|
-
|
71
|
+
Apache-2.0
|
72
72
|
|
73
73
|
== Author
|
74
74
|
Daniel J. Berger
|
data/lib/net/proto/common.rb
CHANGED
data/net-proto.gemspec
CHANGED
@@ -1,24 +1,33 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
|
3
|
-
Gem::Specification.new do |
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = 'net-proto'
|
5
|
+
spec.version = '1.3.0'
|
6
|
+
spec.author = 'Daniel J. Berger'
|
7
|
+
spec.license = 'Apache-2.0'
|
8
|
+
spec.email = 'djberg96@gmail.com'
|
9
|
+
spec.homepage = 'https://github.com/djberg96/net-proto'
|
10
|
+
spec.summary = 'A Ruby interface for determining protocol information'
|
11
|
+
spec.test_file = 'test/test_net_proto.rb'
|
12
|
+
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
13
|
+
spec.cert_chain = Dir['certs/*']
|
14
14
|
|
15
|
-
|
15
|
+
spec.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST', 'doc/netproto.txt']
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
spec.add_dependency('ffi', '>= 1.0.0')
|
18
|
+
spec.add_development_dependency('test-unit', '>= 2.2.0')
|
19
|
+
spec.add_development_dependency('rake')
|
20
20
|
|
21
|
-
|
21
|
+
spec.metadata = {
|
22
|
+
'homepage_uri' => 'https://github.com/djberg96/net-proto',
|
23
|
+
'bug_tracker_uri' => 'https://github.com/djberg96/net-proto/issues',
|
24
|
+
'changelog_uri' => 'https://github.com/djberg96/net-proto/blob/ffi/CHANGES',
|
25
|
+
'documentation_uri' => 'https://github.com/djberg96/net-proto/wiki',
|
26
|
+
'source_code_uri' => 'https://github.com/djberg96/net-proto',
|
27
|
+
'wiki_uri' => 'https://github.com/djberg96/net-proto/wiki'
|
28
|
+
}
|
29
|
+
|
30
|
+
spec.description = <<-EOF
|
22
31
|
The net-proto library provides an interface for get protocol information
|
23
32
|
by name or by number. It can also iterate over the list of protocol
|
24
33
|
entries defined on your system.
|
data/test/test_net_proto.rb
CHANGED
@@ -24,7 +24,8 @@ class TC_Net_Proto < Test::Unit::TestCase
|
|
24
24
|
end
|
25
25
|
|
26
26
|
test "version number is set to expected value" do
|
27
|
-
assert_equal('1.
|
27
|
+
assert_equal('1.3.0', Net::Proto::VERSION)
|
28
|
+
assert_true(Net::Proto::VERSION.frozen?)
|
28
29
|
end
|
29
30
|
|
30
31
|
test "get_protocol method basic functionality" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-proto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -10,27 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
|
14
14
|
cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
|
15
|
-
|
15
|
+
MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
|
16
16
|
ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|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
|
+
6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
|
32
|
+
ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
|
33
|
+
1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
|
34
|
+
DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
|
35
|
+
ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
|
36
|
+
WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
|
32
37
|
-----END CERTIFICATE-----
|
33
|
-
date:
|
38
|
+
date:
|
34
39
|
dependencies:
|
35
40
|
- !ruby/object:Gem::Dependency
|
36
41
|
name: ffi
|
@@ -87,41 +92,47 @@ extra_rdoc_files:
|
|
87
92
|
- MANIFEST
|
88
93
|
- doc/netproto.txt
|
89
94
|
files:
|
90
|
-
- certs
|
91
|
-
- certs/djberg96_pub.pem
|
92
95
|
- CHANGES
|
93
|
-
-
|
94
|
-
-
|
96
|
+
- test
|
97
|
+
- test/test_net_proto.rb
|
98
|
+
- net-proto.gemspec
|
95
99
|
- examples
|
96
100
|
- examples/example_net_proto.rb
|
101
|
+
- doc
|
102
|
+
- doc/netproto.txt
|
103
|
+
- README
|
104
|
+
- Rakefile
|
105
|
+
- MANIFEST
|
97
106
|
- lib
|
98
|
-
- lib/
|
99
|
-
- lib/
|
100
|
-
- lib/
|
107
|
+
- lib/windows
|
108
|
+
- lib/windows/net
|
109
|
+
- lib/windows/net/proto.rb
|
110
|
+
- lib/sunos
|
111
|
+
- lib/sunos/net
|
112
|
+
- lib/sunos/net/proto.rb
|
113
|
+
- lib/net-proto.rb
|
101
114
|
- lib/linux
|
102
115
|
- lib/linux/net
|
103
116
|
- lib/linux/net/proto.rb
|
104
117
|
- lib/net
|
118
|
+
- lib/net/proto.rb
|
105
119
|
- lib/net/proto
|
106
120
|
- lib/net/proto/common.rb
|
107
|
-
- lib/
|
108
|
-
- lib/net
|
109
|
-
- lib/
|
110
|
-
-
|
111
|
-
-
|
112
|
-
- lib/windows
|
113
|
-
- lib/windows/net
|
114
|
-
- lib/windows/net/proto.rb
|
115
|
-
- MANIFEST
|
116
|
-
- net-proto.gemspec
|
117
|
-
- Rakefile
|
118
|
-
- README
|
119
|
-
- test
|
120
|
-
- test/test_net_proto.rb
|
121
|
+
- lib/generic
|
122
|
+
- lib/generic/net
|
123
|
+
- lib/generic/net/proto.rb
|
124
|
+
- certs
|
125
|
+
- certs/djberg96_pub.pem
|
121
126
|
homepage: https://github.com/djberg96/net-proto
|
122
127
|
licenses:
|
123
|
-
-
|
124
|
-
metadata:
|
128
|
+
- Apache-2.0
|
129
|
+
metadata:
|
130
|
+
homepage_uri: https://github.com/djberg96/net-proto
|
131
|
+
bug_tracker_uri: https://github.com/djberg96/net-proto/issues
|
132
|
+
changelog_uri: https://github.com/djberg96/net-proto/blob/ffi/CHANGES
|
133
|
+
documentation_uri: https://github.com/djberg96/net-proto/wiki
|
134
|
+
source_code_uri: https://github.com/djberg96/net-proto
|
135
|
+
wiki_uri: https://github.com/djberg96/net-proto/wiki
|
125
136
|
post_install_message:
|
126
137
|
rdoc_options: []
|
127
138
|
require_paths:
|
@@ -137,8 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
148
|
- !ruby/object:Gem::Version
|
138
149
|
version: '0'
|
139
150
|
requirements: []
|
140
|
-
|
141
|
-
rubygems_version: 2.5.1
|
151
|
+
rubygems_version: 3.0.2
|
142
152
|
signing_key:
|
143
153
|
specification_version: 4
|
144
154
|
summary: A Ruby interface for determining protocol information
|
metadata.gz.sig
CHANGED
Binary file
|