daff 1.1.13 → 1.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lib/coopy/coopy.rb +1 -1
- data/lib/lib/coopy/index.rb +6 -1
- data/lib/lib/coopy/index_item.rb +8 -0
- metadata +2 -2
data/lib/lib/coopy/coopy.rb
CHANGED
data/lib/lib/coopy/index.rb
CHANGED
@@ -45,7 +45,12 @@ module Coopy
|
|
45
45
|
item = ::Coopy::IndexItem.new
|
46
46
|
@items[key] = item
|
47
47
|
end
|
48
|
-
ct =
|
48
|
+
ct = nil
|
49
|
+
begin
|
50
|
+
item.lst = Array.new if item.lst == nil
|
51
|
+
item.lst.push(i)
|
52
|
+
ct = item.lst.length
|
53
|
+
end
|
49
54
|
@top_freq = ct if ct > @top_freq
|
50
55
|
end
|
51
56
|
end
|
data/lib/lib/coopy/index_item.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.14
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-10-
|
13
|
+
date: 2014-10-15 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: Diff and patch tables
|
16
16
|
email:
|