thomas 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. data/lib/thomas.rb +4 -3
  2. metadata +2 -2
@@ -132,9 +132,10 @@ module Adocca
132
132
  retries = 0
133
133
  begin
134
134
  @model.transaction do
135
- @@updates.clone.each do |corpus, words|
136
- words.each do |s, update|
137
- update.execute
135
+ @@updates.keys.sort.each do |key|
136
+ words = @@updates[key]
137
+ words.keys.sort.each do |s|
138
+ words[s].execute
138
139
  end
139
140
  end
140
141
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: thomas
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.5
7
- date: 2007-04-11 00:00:00 +02:00
6
+ version: 0.1.6
7
+ date: 2007-05-14 00:00:00 +02:00
8
8
  summary: Bayes classifier using memcached
9
9
  require_paths:
10
10
  - lib