unified2 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog.rdoc CHANGED
@@ -1,17 +1,21 @@
1
- === 0.3.2 / 2011-03-15
1
+ === 0.4.0 / 2011-03-14
2
+
3
+ * added checksum support for sensor
4
+
5
+ === 0.3.2 / 2011-03-14
2
6
 
3
7
  * fix broken example scripts
4
8
 
5
- === 0.3.1 / 2011-03-15
9
+ === 0.3.1 / 2011-03-14
6
10
 
7
11
  * Removed gibbler in favor of custom Event#checksum method due to datamapper issues.
8
12
 
9
- === 0.3.0 / 2011-03-14
13
+ === 0.3.0 / 2011-03-13
10
14
 
11
15
  * Added checksum support for event objects
12
16
  * Fixed example signature filename typo
13
17
 
14
- === 0.2.1 / 2011-03-15
18
+ === 0.2.1 / 2011-03-12
15
19
 
16
20
  * minor bug fixes and typos
17
21
 
@@ -1,13 +1,14 @@
1
1
  module Unified2
2
2
  class Sensor
3
3
 
4
- attr_accessor :id, :hostname, :interface, :name
4
+ attr_accessor :id, :hostname, :interface, :name, :checksum
5
5
 
6
6
  def initialize(options={})
7
7
  @id = options[:id] || 0
8
8
  @name = options[:name] || ""
9
9
  @hostname ||= Socket.gethostname
10
10
  @interface ||= options[:interface] || nil
11
+ @checksum = nil
11
12
  end
12
13
 
13
14
  def update(attributes={})
@@ -1,4 +1,4 @@
1
1
  module Unified2
2
2
  # unified2 version
3
- VERSION = "0.3.2"
3
+ VERSION = "0.4.0"
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.2
5
+ version: 0.4.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dustin Willis Webber
@@ -123,7 +123,7 @@ files:
123
123
  - spec/spec_helper.rb
124
124
  - spec/unified2_spec.rb
125
125
  - unified2.gemspec
126
- has_rdoc: true
126
+ has_rdoc: yard
127
127
  homepage: https://github.com/mephux/unified2
128
128
  licenses:
129
129
  - MIT
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  requirements: []
148
148
 
149
149
  rubyforge_project: unified2
150
- rubygems_version: 1.5.0
150
+ rubygems_version: 1.6.1
151
151
  signing_key:
152
152
  specification_version: 3
153
153
  summary: A ruby interface for unified2 output.