pcaprub 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Rakefile +1 -0
  2. data/USAGE.rdoc +5 -1
  3. data/VERSION +1 -1
  4. data/pcaprub.gemspec +7 -4
  5. metadata +5 -2
data/Rakefile CHANGED
@@ -32,6 +32,7 @@ begin
32
32
  gem.extensions = FileList['ext/**/extconf.rb']
33
33
  gem.rubyforge_project = 'pcaprub'
34
34
  gem.files.include('lib/pcaprub.*') # add native stuff
35
+ gem.extra_rdoc_files = FileList['README*', 'ChangeLog*', 'LICENSE*', 'FAQ*', 'USAGE*', 'ext/**/*.c']
35
36
  end
36
37
 
37
38
  $gemspec = jeweler_tasks.gemspec
data/USAGE.rdoc CHANGED
@@ -1,6 +1,10 @@
1
1
  = Usage of Pcaprub
2
2
 
3
3
  Pcaprub is a ruby wrapper to the libpcap libary. It provides a common method to access the c bindings defined in libpcap.
4
+
5
+ Many of the methods require the Pcap instance to be "ready".
6
+
7
+ - "Ready" is defined as being initiated with open_live open_dead or open_offline.
4
8
 
5
9
  == Basics of Pcaprub
6
10
 
@@ -74,7 +78,7 @@ Sniffing a set number of packets and also letting the user Interrupt Early
74
78
  retry
75
79
  end
76
80
 
77
- == Examming the DataLink
81
+ == Examining the DataLink
78
82
 
79
83
  Ethernet or Linux loopback
80
84
  if capture.datalink == Pcap::DLT_EN10MB
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.1
1
+ 0.9.2
@@ -5,17 +5,20 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pcaprub}
8
- s.version = "0.9.1"
8
+ s.version = "0.9.2"
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 = %q{2010-02-09}
12
+ s.date = %q{2010-02-10}
13
13
  s.description = %q{libpcap bindings for ruby}
14
14
  s.email = %q{shadowbq@gmail.com}
15
15
  s.extensions = ["ext/pcaprub/extconf.rb"]
16
16
  s.extra_rdoc_files = [
17
- "LICENSE",
18
- "README.rdoc"
17
+ "FAQ.rdoc",
18
+ "LICENSE",
19
+ "README.rdoc",
20
+ "USAGE.rdoc",
21
+ "ext/pcaprub/pcaprub.c"
19
22
  ]
20
23
  s.files = [
21
24
  ".document",
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.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - shadowbq
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-09 00:00:00 -05:00
12
+ date: 2010-02-10 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -20,8 +20,11 @@ executables: []
20
20
  extensions:
21
21
  - ext/pcaprub/extconf.rb
22
22
  extra_rdoc_files:
23
+ - FAQ.rdoc
23
24
  - LICENSE
24
25
  - README.rdoc
26
+ - USAGE.rdoc
27
+ - ext/pcaprub/pcaprub.c
25
28
  files:
26
29
  - .document
27
30
  - .gitignore