hutch-xamplr 1.3.1 → 1.3.3

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.
@@ -1,4 +1,7 @@
1
1
 
2
+ 2009-05-13 (version 1.3.?)
3
+ -- when querying the TC db, make sure the result returned are uniq
4
+
2
5
  2009-05-13 (version 1.3.1) REPO BREAKING CHANGE
3
6
  -- added the ability to describe a xampl object using multiple criteria. This
4
7
  is demonstrated in the new example called 'hobbies'
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 3
4
- :patch: 1
4
+ :patch: 3
@@ -155,9 +155,9 @@ module Xampl
155
155
  end
156
156
 
157
157
  if hint then
158
- return results, the_hint
158
+ return results.uniq, the_hint
159
159
  else
160
- return results
160
+ return results.uniq
161
161
  end
162
162
  end
163
163
 
@@ -199,9 +199,9 @@ module Xampl
199
199
  end
200
200
 
201
201
  if hint then
202
- return results, the_hint
202
+ return results.uniq, the_hint
203
203
  else
204
- return results
204
+ return results.uniq
205
205
  end
206
206
  end
207
207
 
@@ -225,9 +225,9 @@ module Xampl
225
225
  end
226
226
 
227
227
  if hint then
228
- return results, the_hint
228
+ return results.uniq, the_hint
229
229
  else
230
- return results
230
+ return results.uniq
231
231
  end
232
232
  end
233
233
 
@@ -285,7 +285,7 @@ module Xampl
285
285
 
286
286
  self.lookup(result_class, result['pid'])
287
287
  end
288
- return results
288
+ return results.uniq
289
289
  end
290
290
 
291
291
  def do_sync_write
@@ -303,7 +303,7 @@ module Xampl
303
303
  open_tc_db
304
304
  @time_stamp = Time.now.to_f.to_s
305
305
 
306
- # puts "DO SYNC WRITE: #{ @changed.size } to be written (#{ @filename })"
306
+ # puts "DO SYNC WRITE: #{ @changed.size } to be written (#{ @filename })"
307
307
  # note_errors("TC:: open error: %s\n") do
308
308
  # @tc_db.open(@filename, TDB::OWRITER | TDB::OCREAT | TDB::OLCKNB ) #TDB::OTSYNC slows it down by almost 50 times
309
309
  # end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hutch-xamplr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Hutchison
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-13 00:00:00 -07:00
12
+ date: 2009-05-21 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency