packet-protocols 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/arp.rb +4 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b0199c78e4d88c7a93a913101a51996edd71a93
4
- data.tar.gz: b072ef6077fd1597d7a32f971c1f60253c5bcd78
3
+ metadata.gz: 54e3236dda093985e2ed5fc99318896202f53064
4
+ data.tar.gz: 4b7f172ec318c13f8d2e22b9f07cc8c0e3a4de7d
5
5
  SHA512:
6
- metadata.gz: 42ff1521bc9116c4f75cc0da225b1f7d6d1af8e1cad61b8eceb6675f02f7cbbf3868d896fc3b8aaf7826330ebd0dca6ab77e495569fde63b8bf35d9c557145ea
7
- data.tar.gz: 9355743bd1da87e5c2f7bb0273f89e51a0f9ce6d42b1c73cb84a9437be7956d7a8bafb9651e58bcb73e90f22c63e71c9bc3ac301745fc72430a6e975f30c0838
6
+ metadata.gz: 2cc0563d16aa4011a5f39a59d21556374a27da9696c57d61222f22b5b79c19007507b85a6a92194493f9a72244a294bc408c6b9a174c1e8d99ff75a768737d80
7
+ data.tar.gz: 4b0333d74ecdb20642e143d0f66ad8bef0defeaba22f764fd276931d3962acb5f414e39440ab597026cee5de66a16bd67e2946ce6566465215e0e685006510a7
data/lib/arp.rb CHANGED
@@ -23,4 +23,8 @@ class Arp < BinData::Record
23
23
  def ipv4_in_ethernet?
24
24
  hardware == :ethernet && protocol == :ipv4
25
25
  end
26
+
27
+ def length
28
+ 28
29
+ end
26
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packet-protocols
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jérémy Pagé