unified2 0.3.1 → 0.3.2

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/ChangeLog.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.3.2 / 2011-03-15
2
+
3
+ * fix broken example scripts
4
+
1
5
  === 0.3.1 / 2011-03-15
2
6
 
3
7
  * Removed gibbler in favor of custom Event#checksum method due to datamapper issues.
@@ -22,6 +22,6 @@ end
22
22
  Unified2.watch('seeds/unified2', :first) do |event|
23
23
  next if event.signature.blank?
24
24
 
25
- puts event.checksum # => 66302273aa2f181d0310aa789027bac3ce1efb4f
25
+ puts event
26
26
 
27
27
  end
data/example/connect.rb CHANGED
@@ -13,8 +13,8 @@ class Connect
13
13
  :username => "rUnified2",
14
14
  :password => "password"
15
15
  })
16
- #DataMapper.finalize
17
- #DataMapper.auto_upgrade!
16
+ DataMapper.finalize
17
+ DataMapper.auto_upgrade!
18
18
  end
19
19
 
20
20
  end
@@ -41,7 +41,7 @@ end
41
41
  # The second argument is the last event processed by
42
42
  # the sensor. If the last_event_id column is blank in the
43
43
  # sensor table it will begin at the first available event.
44
- Unified2.watch('/var/log/snort/merged.log', sensor.last_event_id + 1 || :first) do |event|
44
+ Unified2.watch('seeds/unified2', sensor ? sensor.last_event_id + 1 : :first) do |event|
45
45
  next if event.signature.blank?
46
46
 
47
47
  puts event
@@ -1,4 +1,4 @@
1
1
  module Unified2
2
2
  # unified2 version
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: unified2
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.1
5
+ version: 0.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dustin Willis Webber