packetfu 1.1.3 → 1.1.4
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.
- data/examples/ifconfig.rb +8 -0
- data/lib/packetfu.rb +2 -1
- data/lib/packetfu/version.rb +1 -1
- data/packetfu.gemspec +1 -1
- metadata +5 -32
data/lib/packetfu.rb
CHANGED
@@ -50,7 +50,8 @@ module PacketFu
|
|
50
50
|
pcaprub_platform_require
|
51
51
|
|
52
52
|
if @pcaprub_loaded
|
53
|
-
|
53
|
+
pcaprub_regex = /[0-9]\.([8-9]|[1-7][0-9])(-dev)?/ # Regex for 0.8 and beyond.
|
54
|
+
if Pcap.version !~ pcaprub_regex
|
54
55
|
@pcaprub_loaded = false # Don't bother with broken versions
|
55
56
|
raise LoadError, "PcapRub not at a minimum version of 0.8-dev"
|
56
57
|
end
|
data/lib/packetfu/version.rb
CHANGED
data/packetfu.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packetfu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 3
|
10
|
-
version: 1.1.3
|
4
|
+
prerelease:
|
5
|
+
version: 1.1.4
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Tod Beardsley
|
@@ -15,8 +10,7 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
13
|
+
date: 2011-12-05 00:00:00 Z
|
20
14
|
dependencies:
|
21
15
|
- !ruby/object:Gem::Dependency
|
22
16
|
name: pcaprub
|
@@ -26,11 +20,6 @@ dependencies:
|
|
26
20
|
requirements:
|
27
21
|
- - ">="
|
28
22
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 63
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 9
|
33
|
-
- 2
|
34
23
|
version: 0.9.2
|
35
24
|
type: :development
|
36
25
|
version_requirements: *id001
|
@@ -42,11 +31,6 @@ dependencies:
|
|
42
31
|
requirements:
|
43
32
|
- - ">="
|
44
33
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 19
|
46
|
-
segments:
|
47
|
-
- 2
|
48
|
-
- 6
|
49
|
-
- 2
|
50
34
|
version: 2.6.2
|
51
35
|
type: :development
|
52
36
|
version_requirements: *id002
|
@@ -58,11 +42,6 @@ dependencies:
|
|
58
42
|
requirements:
|
59
43
|
- - ">="
|
60
44
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 23
|
62
|
-
segments:
|
63
|
-
- 0
|
64
|
-
- 2
|
65
|
-
- 0
|
66
45
|
version: 0.2.0
|
67
46
|
type: :development
|
68
47
|
version_requirements: *id003
|
@@ -90,6 +69,7 @@ files:
|
|
90
69
|
- examples/examples.rb
|
91
70
|
- examples/ids.rb
|
92
71
|
- examples/idsv2.rb
|
72
|
+
- examples/ifconfig.rb
|
93
73
|
- examples/new-simple-stats.rb
|
94
74
|
- examples/oui.txt
|
95
75
|
- examples/packetfu-shell.rb
|
@@ -144,7 +124,6 @@ files:
|
|
144
124
|
- test/test_tcp.rb
|
145
125
|
- test/test_udp.rb
|
146
126
|
- test/vlan-pcapr.cap
|
147
|
-
has_rdoc: true
|
148
127
|
homepage: https://github.com/todb/packetfu
|
149
128
|
licenses:
|
150
129
|
- BSD
|
@@ -158,23 +137,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
137
|
requirements:
|
159
138
|
- - ">="
|
160
139
|
- !ruby/object:Gem::Version
|
161
|
-
hash: 3
|
162
|
-
segments:
|
163
|
-
- 0
|
164
140
|
version: "0"
|
165
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
142
|
none: false
|
167
143
|
requirements:
|
168
144
|
- - ">="
|
169
145
|
- !ruby/object:Gem::Version
|
170
|
-
hash: 3
|
171
|
-
segments:
|
172
|
-
- 0
|
173
146
|
version: "0"
|
174
147
|
requirements: []
|
175
148
|
|
176
149
|
rubyforge_project: packetfu
|
177
|
-
rubygems_version: 1.
|
150
|
+
rubygems_version: 1.8.10
|
178
151
|
signing_key:
|
179
152
|
specification_version: 3
|
180
153
|
summary: PacketFu is a mid-level packet manipulation library.
|