pcaprub 0.11.2 → 0.11.3
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/ext/pcaprub/pcaprub.c +1 -1
- data/lib/pcaprub/version.rb +1 -1
- data/pcaprub.gemspec +3 -3
- metadata +3 -3
data/ext/pcaprub/pcaprub.c
CHANGED
|
@@ -234,7 +234,7 @@ rbpcap_setfilter(VALUE self, VALUE filter)
|
|
|
234
234
|
if(pcap_lookupnet(rbp->iface, &netid, &mask, eb) < 0) {
|
|
235
235
|
netid = 0;
|
|
236
236
|
mask = 0;
|
|
237
|
-
rb_warn(eb);
|
|
237
|
+
rb_warn("unable to get IP: %s", eb);
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
if(pcap_compile(rbp->pd, &bpf, RSTRING_PTR(filter), 0, mask) < 0)
|
data/lib/pcaprub/version.rb
CHANGED
data/pcaprub.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "pcaprub"
|
|
8
|
-
s.version = "0.11.
|
|
8
|
+
s.version = "0.11.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["shadowbq"]
|
|
12
|
-
s.date = "2012-
|
|
12
|
+
s.date = "2012-11-27"
|
|
13
13
|
s.description = "libpcap bindings for ruby compat with JRUBY Ruby1.8 Ruby1.9"
|
|
14
14
|
s.email = "shadowbq@gmail.com"
|
|
15
15
|
s.extensions = ["ext/pcaprub/extconf.rb"]
|
|
@@ -45,7 +45,7 @@ Gem::Specification.new do |s|
|
|
|
45
45
|
s.homepage = "http://github.com/shadowbq/pcaprub"
|
|
46
46
|
s.require_paths = ["lib"]
|
|
47
47
|
s.rubyforge_project = "pcaprub"
|
|
48
|
-
s.rubygems_version = "1.8.
|
|
48
|
+
s.rubygems_version = "1.8.24"
|
|
49
49
|
s.summary = "libpcap bindings for ruby"
|
|
50
50
|
|
|
51
51
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pcaprub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-11-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: libpcap bindings for ruby compat with JRUBY Ruby1.8 Ruby1.9
|
|
15
15
|
email: shadowbq@gmail.com
|
|
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
63
63
|
version: '0'
|
|
64
64
|
requirements: []
|
|
65
65
|
rubyforge_project: pcaprub
|
|
66
|
-
rubygems_version: 1.8.
|
|
66
|
+
rubygems_version: 1.8.24
|
|
67
67
|
signing_key:
|
|
68
68
|
specification_version: 3
|
|
69
69
|
summary: libpcap bindings for ruby
|