coaping 0.0.1 → 0.0.2
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 +7 -0
- data/README.md +3 -1
- data/bin/coaping +1 -1
- data/coaping.gemspec +1 -1
- metadata +24 -50
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a10ca4773c443272f3e1d83304a95b6ea4457b47d323fc94d876d0223a41b431
|
|
4
|
+
data.tar.gz: '03468610d6430f5154efb668eae7467027ae5e5ec496c9cd2632afcce685121d'
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: '08d25f9456ca3487f31be88850800b7225b62bf09b70153e257695e7f6a2d83b998bf18d7247c7d0f9f0afdcd08b7f68abf153f12c50354722b7c6c0b1188118'
|
|
7
|
+
data.tar.gz: 40fb11f670a0425dd10cd8158919211469108b7f98aeb3f7d962891bbd3788020fb6a46d9dafb125ac68fd499b0bda6be08bcdbe65d8068f0eb9958caf3303c0
|
data/README.md
CHANGED
data/bin/coaping
CHANGED
|
@@ -33,7 +33,7 @@ maxnum.times do |n|
|
|
|
33
33
|
begin
|
|
34
34
|
t[n] = Time.now
|
|
35
35
|
u.send [0b01000000, 0, n].pack("CCn"), 0
|
|
36
|
-
response, addr = timeout(maxtime) { u.recvfrom(100) }
|
|
36
|
+
response, addr = Timeout::timeout(maxtime) { u.recvfrom(100) }
|
|
37
37
|
if response.bytesize != 4
|
|
38
38
|
p [response, addr]
|
|
39
39
|
else
|
data/coaping.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'coaping'
|
|
3
|
-
s.version = '0.0.
|
|
3
|
+
s.version = '0.0.2'
|
|
4
4
|
s.summary = "coaping: a ping for CoAP, the Constrained Application Protocol."
|
|
5
5
|
s.description = %{coaping: check whether your CoAP server is still there.}
|
|
6
6
|
s.files = %w(README.md coaping.gemspec bin/coaping)
|
metadata
CHANGED
|
@@ -1,71 +1,45 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coaping
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease: false
|
|
6
|
-
segments:
|
|
7
|
-
- 0
|
|
8
|
-
- 0
|
|
9
|
-
- 1
|
|
10
|
-
version: 0.0.1
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.2
|
|
11
5
|
platform: ruby
|
|
12
|
-
authors:
|
|
6
|
+
authors:
|
|
13
7
|
- Carsten Bormann
|
|
14
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
15
9
|
bindir: bin
|
|
16
10
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
date: 2012-11-19 00:00:00 +01:00
|
|
19
|
-
default_executable: coaping
|
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
|
20
12
|
dependencies: []
|
|
21
|
-
|
|
22
|
-
description: "coaping: check whether your CoAP server is still there."
|
|
13
|
+
description: 'coaping: check whether your CoAP server is still there.'
|
|
23
14
|
email: cabo@tzi.org
|
|
24
|
-
executables:
|
|
15
|
+
executables:
|
|
25
16
|
- coaping
|
|
26
17
|
extensions: []
|
|
27
|
-
|
|
28
18
|
extra_rdoc_files: []
|
|
29
|
-
|
|
30
|
-
files:
|
|
19
|
+
files:
|
|
31
20
|
- README.md
|
|
32
|
-
- coaping.gemspec
|
|
33
21
|
- bin/coaping
|
|
34
|
-
|
|
22
|
+
- coaping.gemspec
|
|
35
23
|
homepage: http://github.com/cabo/coaping
|
|
36
24
|
licenses: []
|
|
37
|
-
|
|
38
|
-
post_install_message:
|
|
25
|
+
metadata: {}
|
|
26
|
+
post_install_message:
|
|
39
27
|
rdoc_options: []
|
|
40
|
-
|
|
41
|
-
require_paths:
|
|
28
|
+
require_paths:
|
|
42
29
|
- lib
|
|
43
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
44
|
-
|
|
45
|
-
requirements:
|
|
30
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
46
32
|
- - ">="
|
|
47
|
-
- !ruby/object:Gem::Version
|
|
48
|
-
hash: 59
|
|
49
|
-
segments:
|
|
50
|
-
- 1
|
|
51
|
-
- 8
|
|
52
|
-
- 6
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
53
34
|
version: 1.8.6
|
|
54
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
|
-
|
|
56
|
-
requirements:
|
|
35
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
57
37
|
- - ">="
|
|
58
|
-
- !ruby/object:Gem::Version
|
|
59
|
-
|
|
60
|
-
segments:
|
|
61
|
-
- 0
|
|
62
|
-
version: "0"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
63
40
|
requirements: []
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
specification_version: 3
|
|
69
|
-
summary: "coaping: a ping for CoAP, the Constrained Application Protocol."
|
|
41
|
+
rubygems_version: 3.2.22
|
|
42
|
+
signing_key:
|
|
43
|
+
specification_version: 4
|
|
44
|
+
summary: 'coaping: a ping for CoAP, the Constrained Application Protocol.'
|
|
70
45
|
test_files: []
|
|
71
|
-
|