tdiff 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ ### 0.3.1 / 2010-11-28
2
+
3
+ * Fixed a typo in {TDiff::Unordered#tdiff_unordered}, which was causing
4
+ all nodes to be marked as added.
5
+
1
6
  ### 0.3.0 / 2010-11-15
2
7
 
3
8
  * Changed {TDiff#tdiff_equal} to compare `self` with another node.
@@ -1,5 +1,5 @@
1
1
  name: tdiff
2
- version: 0.3.0
2
+ version: 0.3.1
3
3
  summary: Calculates the differences between two tree-like structures.
4
4
  description:
5
5
  Calculates the differences between two tree-like structures. Similar to
@@ -65,7 +65,7 @@ module TDiff
65
65
  end
66
66
 
67
67
  y.each_with_index do |yj,j|
68
- unless unchanged.has_key?(yj)
68
+ unless unchanged.has_value?(yj)
69
69
  changes << [j, '+', yj]
70
70
  end
71
71
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Postmodern
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-15 00:00:00 -08:00
17
+ date: 2010-11-28 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency