isomorfeus-data 2.0.0.rc1 → 2.0.0.rc5

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: 1394418f9a7765f02a9214dbeb633e6a873e6bba5f63d2e51612de04cc581adf
4
- data.tar.gz: ab90990899ce3b0cc1140c8e5cf45d2777a57a74ab8b2161f06a3836749fa7f8
3
+ metadata.gz: b61ff0b4b2acbe2c4fade2134ffebce13d514ba034191243b15a56504f3e2a73
4
+ data.tar.gz: f8e6777e5a4bfe0c7a7ace586047579db509b56f471d1dccdea8b387bde0a232
5
5
  SHA512:
6
- metadata.gz: 642842b79e5630a72a583ff48f96264b68b11bf4c670e02fe9a1243ec801cf751a3ea1ce410912810438021decf3f88c17426deea0e460df6b6c4f100dd1492e
7
- data.tar.gz: 78fc44830ceb7366fa7c77e8fffa6da6cd9a4a12e4936a0738f1c9041ef8738ac095e4b089837a2a8685ffcc67672407b5ef86363f5e6ab5f88670deffa60925
6
+ metadata.gz: d0dc366891db3e998d3fc5c512170a66d69d44a9f8dbb51c8abb0bea26f3202e461e975f9d1eb01e815b317bc921b495d12589ee124482e56d9660849ed10e43
7
+ data.tar.gz: 7b4d92e1641d3531a6df29458c1c12ac2ee1c3c800be199c1c6043fb4457a8292fb302d169603d1cc14be2408581c2d1e7f982a23debebefeb59cd52d311f22a
data/README.md CHANGED
@@ -2,36 +2,36 @@
2
2
 
3
3
  Data access for Isomorfeus.
4
4
 
5
- *Use Ruby for Graphs! ... and more!*
6
-
7
5
  ### Community and Support
6
+
8
7
  At the [Isomorfeus Framework Project](http://isomorfeus.com)
9
8
 
10
9
  ### Overview
11
10
 
12
11
  Isomorfeus Data provides convenient access to data for the distributed, isomorphic system.
13
12
  Data is available in the same way on clients and server.
14
-
15
13
  Isomorfeus Data supports documents, objects and files.
14
+ Graphs can easily be implemented with objects.
16
15
 
17
16
  ### Core Concepts and Common API
18
17
 
19
- - [Core Concepts](https://github.com/isomorfeus/isomorfeus-project/blob/master/ruby/isomorfeus-data/docs/concepts.md)
20
- - [Common API](https://github.com/isomorfeus/isomorfeus-project/blob/master/ruby/isomorfeus-data/docs/common_api.md)
21
- - [Data Policy](https://github.com/isomorfeus/isomorfeus-project/blob/master/ruby/isomorfeus-data/docs/data_policy.md)
18
+ - [Core Concepts](docs/concepts.md)
19
+ - [Common API](docs/common_api.md)
20
+ - [Data Policy](docs/data_policy.md)
22
21
 
23
22
  ### Available Classes
24
23
 
25
24
  All classes follow the common principles and the common API above.
26
25
 
27
- - [LucidDocument](https://github.com/isomorfeus/isomorfeus-project/blob/master/ruby/isomorfeus-data/docs/data_document.md) - for textual data with fields
28
- - [LucidObject](https://github.com/isomorfeus/isomorfeus-project/blob/master/ruby/isomorfeus-data/docs/data_object.md) - for objects with attributes
29
- - [LucidFile](https://github.com/isomorfeus/isomorfeus-project/blob/master/ruby/isomorfeus-data/docs/data_file.md) - for files like images, pdfs, etc.
30
- - [LucidQuery](https://github.com/isomorfeus/isomorfeus-project/blob/master/ruby/isomorfeus-data/docs/data_query.md) - for isomorphic queries.
26
+ - [LucidDocument](docs/data_document.md) - for textual data with fields
27
+ - [LucidObject](docs/data_object.md) - for objects with attributes
28
+ - [LucidFile](docs/data_file.md) - for files like images, pdfs, etc.
29
+ - [LucidQuery](docs/data_query.md) - for isomorphic queries.
31
30
 
32
31
  ### Storage
33
32
 
34
33
  isomorfeus-data relies on:
34
+
35
35
  - [isomorfeus-ferret](https://github.com/isomorfeus/isomorfeus-ferret) as storage and index for documents
36
36
  - [isomorfeus-hamster](https://github.com/isomorfeus/isomorfeus-hamster) as storage and index for objects
37
37
  - the Filesystem for files
@@ -58,6 +58,7 @@ module Isomorfeus
58
58
  attr_accessor :data_documents_path
59
59
 
60
60
  attr_accessor :hamster_path
61
+ attr_accessor :hamster_mapsize
61
62
  attr_accessor :data_object_env_path
62
63
  attr_accessor :data_object_idx_path
63
64
  end
@@ -73,6 +74,7 @@ module Isomorfeus
73
74
 
74
75
  # objects, nodes and edges
75
76
  self.hamster_path = File.expand_path(File.join(self.data_path, 'hamster'))
77
+ self.hamster_mapsize = 4294967296
76
78
  self.data_object_env_path = File.expand_path(File.join(self.hamster_path, 'object_env'))
77
79
  self.data_object_idx_path = File.expand_path(File.join(self.hamster_path, 'object_idx'))
78
80
  end
@@ -86,7 +86,7 @@ module Isomorfeus
86
86
  def open_environment
87
87
  return self.class.refa if self.class.environment
88
88
  FileUtils.mkdir_p(Isomorfeus.data_object_env_path) unless Dir.exist?(Isomorfeus.data_object_env_path)
89
- self.class.environment = Isomorfeus::Hamster.new(Isomorfeus.data_object_env_path)
89
+ self.class.environment = Isomorfeus::Hamster.new(Isomorfeus.data_object_env_path, mapsize: Isomorfeus.hamster_mapsize)
90
90
  self.class.refa
91
91
  end
92
92
  end
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Data
3
- VERSION = '2.0.0.rc1'
3
+ VERSION = '2.0.0.rc5'
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.0.0.rc1
4
+ version: 2.0.0.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-05 00:00:00.000000000 Z
11
+ date: 2021-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.3.0
61
+ version: 1.3.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.3.0
68
+ version: 1.3.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: opal-activesupport
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.13.2
89
+ version: 0.14.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.13.2
96
+ version: 0.14.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: isomorfeus-ferret
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.12.0
103
+ version: 0.12.2
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.12.0
110
+ version: 0.12.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: isomorfeus-hamster
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,56 +128,56 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 10.5.11
131
+ version: 10.6.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: 10.5.11
138
+ version: 10.6.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: isomorfeus-redux
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 4.1.8
145
+ version: 4.1.10
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: 4.1.8
152
+ version: 4.1.10
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: isomorfeus-transport
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - '='
158
158
  - !ruby/object:Gem::Version
159
- version: 2.0.0.rc1
159
+ version: 2.0.0.rc5
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '='
165
165
  - !ruby/object:Gem::Version
166
- version: 2.0.0.rc1
166
+ version: 2.0.0.rc5
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: isomorfeus
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 2.0.0.rc1
173
+ version: 2.0.0.rc5
174
174
  type: :development
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.0.0.rc1
180
+ version: 2.0.0.rc5
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rake
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +198,14 @@ dependencies:
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 3.8.0
201
+ version: 3.10.0
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 3.8.0
208
+ version: 3.10.0
209
209
  description: Write Browser Apps that transparently access server side data with Graphs
210
210
  and Collections with ease.
211
211
  email: jan@kursator.de