dataflow 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/HISTORY +6 -0
  2. data/dataflow.rb +2 -2
  3. data/dataflow/equality.rb +2 -2
  4. metadata +2 -2
data/HISTORY CHANGED
@@ -1,3 +1,9 @@
1
+ == trunk
2
+
3
+ * Minor enhancements
4
+
5
+ * Leave __send__ and __id__ alone when acting as a proxy
6
+
1
7
  == 0.2.0 / 2009-07-09
2
8
 
3
9
  * Major enhancements
@@ -1,7 +1,7 @@
1
1
  require 'monitor'
2
2
 
3
3
  module Dataflow
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
 
6
6
  def self.included(cls)
7
7
  class << cls
@@ -42,7 +42,7 @@ module Dataflow
42
42
  # initialized instance variables in get/set methods for memory and
43
43
  # performance reasons
44
44
  class Variable
45
- instance_methods.each { |m| undef_method m }
45
+ instance_methods.each { |m| undef_method m unless m =~ /^__/ }
46
46
  LOCK = Monitor.new
47
47
  def initialize(&block) @__trigger__ = block if block_given? end
48
48
 
@@ -7,13 +7,13 @@
7
7
 
8
8
  class Object
9
9
  def ==(other)
10
- __id__ == other.__id__
10
+ object_id == other.object_id
11
11
  end
12
12
  end
13
13
 
14
14
  class Symbol
15
15
  def ==(other)
16
- __id__ == other.__id__
16
+ object_id == other.object_id
17
17
  end
18
18
  end
19
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dataflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Diehl
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-09 00:00:00 -07:00
12
+ date: 2009-07-30 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15