odba 1.0.6 → 1.0.7

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.txt +4 -0
  2. data/lib/odba.rb +1 -1
  3. data/lib/odba/cache.rb +3 -3
  4. metadata +5 -12
@@ -1,3 +1,7 @@
1
+ === 1.0.7 / 27.12.2011
2
+
3
+ * Debugged Hash iteration error during cleaning @fetched and @prefetched objects
4
+
1
5
  === 1.0.6 / 23.12.2011
2
6
 
3
7
  * Fix all the elements of odba_potentials and odba_exclude_vars to be Symbols for Ruby 1.9.3
@@ -11,5 +11,5 @@ require 'odba/index'
11
11
  require 'odba/odba'
12
12
 
13
13
  class Odba
14
- VERSION = '1.0.6'
14
+ VERSION = '1.0.7'
15
15
  end
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # ODBA::Cache -- odba -- 12.12.2011 -- mhatakeyama@ywesee.com
3
+ # ODBA::Cache -- odba -- 27.12.2011 -- mhatakeyama@ywesee.com
4
4
  # ODBA::Cache -- odba -- 29.04.2004 -- hwyss@ywesee.com rwaltert@ywesee.com mwalder@ywesee.com
5
5
 
6
6
  require 'singleton'
@@ -98,7 +98,7 @@ module ODBA
98
98
  end
99
99
  counter = 0
100
100
  cutoff = offset + @cleaner_step
101
- #@cache_mutex.synchronize {
101
+ @cache_mutex.synchronize {
102
102
  holder.each_value { |value|
103
103
  counter += 1
104
104
  if(counter > offset && value.odba_old?(retire_time))
@@ -106,7 +106,7 @@ module ODBA
106
106
  end
107
107
  return cutoff if(counter > cutoff)
108
108
  }
109
- #}
109
+ }
110
110
  cutoff
111
111
  # every once in a while we'll get a 'hash modified during iteration'-Error.
112
112
  # not to worry, we'll just try again later.
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odba
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 0
9
- - 6
10
- version: 1.0.6
8
+ - 7
9
+ version: 1.0.7
11
10
  platform: ruby
12
11
  authors:
13
12
  - Masaomi Hatakeyama, Zeno R.R. Davatz
@@ -15,18 +14,16 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-12-23 00:00:00 +01:00
17
+ date: 2011-12-27 00:00:00 +01:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: hoe
23
22
  prerelease: false
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ">="
28
26
  - !ruby/object:Gem::Version
29
- hash: 41
30
27
  segments:
31
28
  - 2
32
29
  - 9
@@ -97,27 +94,23 @@ rdoc_options:
97
94
  require_paths:
98
95
  - lib
99
96
  required_ruby_version: !ruby/object:Gem::Requirement
100
- none: false
101
97
  requirements:
102
98
  - - ">="
103
99
  - !ruby/object:Gem::Version
104
- hash: 3
105
100
  segments:
106
101
  - 0
107
102
  version: "0"
108
103
  required_rubygems_version: !ruby/object:Gem::Requirement
109
- none: false
110
104
  requirements:
111
105
  - - ">="
112
106
  - !ruby/object:Gem::Version
113
- hash: 3
114
107
  segments:
115
108
  - 0
116
109
  version: "0"
117
110
  requirements: []
118
111
 
119
112
  rubyforge_project: odba
120
- rubygems_version: 1.4.2
113
+ rubygems_version: 1.3.6
121
114
  signing_key:
122
115
  specification_version: 3
123
116
  summary: Object Database Access - Ruby Software for ODDB.org Memory Management