isomorfeus-data 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2120087d068df84bf8e9cb63c2fdc9779fd31e852cc1dcaddd219726f37b38cc
4
- data.tar.gz: '0603831a90d8e162fcd67bac5c2fb86c91229925a99e3ff7aabfc7da2745bca3'
3
+ metadata.gz: ecada7abb58b35e74c7f0443286a473e9c8662118068258b8752d671fe73bd6a
4
+ data.tar.gz: bd60bdcceec9379fadd760deef48a5b81718d07020fb5384836b584c869dc384
5
5
  SHA512:
6
- metadata.gz: 2fce64490222cb88495787bfbf80061c1e22745d07751695d59661826aea6f8e2097386d3458e6a56ac0e15cd08c1f1ae1d3009bc098fb916ee4e814b1e143ad
7
- data.tar.gz: 71938112fffa7501f7fba9f37e387e2946e6e87ca8165d814d1235b5e72dac1b1ee61d575e72cc7fe2782419ab4f0e22c649faedf40bae5043ed6ccb9e1eb054
6
+ metadata.gz: 5ae0594cefae1ac6773387a21de8fc696d84e3b24816d09828b1130684b07dc15729eede6d4dbf33a377438b9ffa1c23289594e12e0acddbbd553010fc2bf963
7
+ data.tar.gz: a4f43cb48a4ce2143ec73632ce4d1acca57a7c0f464650be8539148ea3f561a54a90d35a5d982867e71b5f414a769beb1e1e24ac7205b5094b6d4ae98ca9a1a1
@@ -79,7 +79,7 @@ module Isomorfeus
79
79
 
80
80
  # objects, nodes and edges
81
81
  self.hamster_path = File.expand_path(File.join(self.storage_path, 'hamster'))
82
- self.hamster_mapsize = 4294967296
82
+ self.hamster_mapsize = 4_294_967_296
83
83
  self.data_object_envs_path = File.expand_path(File.join(self.hamster_path, 'object_envs'))
84
84
  self.data_object_idxs_path = File.expand_path(File.join(self.hamster_path, 'object_idxs'))
85
85
  end
@@ -67,7 +67,12 @@ module Isomorfeus
67
67
 
68
68
  def open_environment
69
69
  FileUtils.mkdir_p(@env_path) unless Dir.exist?(@env_path)
70
- self.environment = Isomorfeus::Hamster.new(@env_path, mapsize: Isomorfeus.hamster_mapsize)
70
+ begin
71
+ self.environment = Isomorfeus::Hamster.new(@env_path, mapsize: Isomorfeus.hamster_mapsize)
72
+ rescue RangeError
73
+ self.environment = Isomorfeus::Hamster.new(@env_path, mapsize: 2_147_483_647)
74
+ STDERR.puts "Isomorfeus::Data Warning: Hamster Object Store limited to 2Gb because of platform restrictions."
75
+ end
71
76
  end
72
77
  end
73
78
  end
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Data
3
- VERSION = '2.3.0'
3
+ VERSION = '2.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-07 00:00:00.000000000 Z
11
+ date: 2022-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -114,42 +114,42 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 2.3.0
117
+ version: 2.3.1
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 2.3.0
124
+ version: 2.3.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: isomorfeus-policy
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 2.3.0
131
+ version: 2.3.1
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 2.3.0
138
+ version: 2.3.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: isomorfeus-preact
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 10.6.60
145
+ version: 10.6.61
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 10.6.60
152
+ version: 10.6.61
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: isomorfeus-redux
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -170,28 +170,28 @@ dependencies:
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 2.3.0
173
+ version: 2.3.1
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '='
179
179
  - !ruby/object:Gem::Version
180
- version: 2.3.0
180
+ version: 2.3.1
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: isomorfeus
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - '='
186
186
  - !ruby/object:Gem::Version
187
- version: 2.3.0
187
+ version: 2.3.1
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - '='
193
193
  - !ruby/object:Gem::Version
194
- version: 2.3.0
194
+ version: 2.3.1
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rake
197
197
  requirement: !ruby/object:Gem::Requirement