DIY-pcap 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/diy/live.rb +1 -1
- data/lib/diy/version.rb +1 -1
- metadata +7 -9
data/lib/diy/live.rb
CHANGED
@@ -9,7 +9,7 @@ module DIY
|
|
9
9
|
@live = FFI::PCap::Live.new(:dev=>device_name, :handler => FFI::PCap::CopyHandler, :promisc => true)
|
10
10
|
DIY::Logger.info( "Listen on: #{net} " )
|
11
11
|
@running = false
|
12
|
-
|
12
|
+
@live.non_blocking= true
|
13
13
|
end
|
14
14
|
attr_reader :live
|
15
15
|
|
data/lib/diy/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: DIY-pcap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
4
|
+
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
8
|
+
- 4
|
9
|
+
version: 0.3.4
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- yafei Lee
|
@@ -15,7 +14,8 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2012-10-15 00:00:00
|
17
|
+
date: 2012-10-15 00:00:00 +08:00
|
18
|
+
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: ffi-pcap
|
@@ -25,7 +25,6 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
hash: 23
|
29
28
|
segments:
|
30
29
|
- 0
|
31
30
|
- 2
|
@@ -148,6 +147,7 @@ files:
|
|
148
147
|
- spec/spec_helper.rb
|
149
148
|
- spec/utils_spec.rb
|
150
149
|
- spec/worker_spec.rb
|
150
|
+
has_rdoc: true
|
151
151
|
homepage: ""
|
152
152
|
licenses: []
|
153
153
|
|
@@ -161,7 +161,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
161
161
|
requirements:
|
162
162
|
- - ">="
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
hash: 3
|
165
164
|
segments:
|
166
165
|
- 0
|
167
166
|
version: "0"
|
@@ -170,14 +169,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
169
|
requirements:
|
171
170
|
- - ">="
|
172
171
|
- !ruby/object:Gem::Version
|
173
|
-
hash: 3
|
174
172
|
segments:
|
175
173
|
- 0
|
176
174
|
version: "0"
|
177
175
|
requirements: []
|
178
176
|
|
179
177
|
rubyforge_project:
|
180
|
-
rubygems_version: 1.
|
178
|
+
rubygems_version: 1.3.7
|
181
179
|
signing_key:
|
182
180
|
specification_version: 3
|
183
181
|
summary: DIY pcap send and recv
|