isomorfeus-data 1.0.0.zeta3 → 1.0.0.zeta4
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.
- checksums.yaml +4 -4
- data/lib/isomorfeus/data/version.rb +1 -1
- data/lib/lucid_array/mixin.rb +11 -6
- data/lib/lucid_collection/mixin.rb +11 -6
- data/lib/lucid_graph/mixin.rb +11 -6
- data/lib/lucid_hash/mixin.rb +11 -6
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b5fc8d995ca6a6e7f8bb7c4342c8d095eea093a15ebbbdc4b937ec067b1e4d9
|
|
4
|
+
data.tar.gz: 9f4010584b3b39ddb126210d15e3ae8c4e72f5e8b24c1793f7fd6a3e94ebfa8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28317636c452c5a5386e8c91c9fc42abd0e89aa318e0206968cf8d915cc2badb763f2510a490fa70e49091e4464c146b1e045c6407ec36c956a39e06e1424159
|
|
7
|
+
data.tar.gz: 7d5b1dd8145f9cfc47fd923411d08d84430bc4ca2b6b6f0a8c0f9dd5e82550411c536de618b2a01ef3c44df03b27fd60a4b03b5e39910e5d19c83e973a0ea675
|
data/lib/lucid_array/mixin.rb
CHANGED
|
@@ -73,13 +73,18 @@ module LucidArray
|
|
|
73
73
|
|
|
74
74
|
props_json = instance.instance_variable_get(:@props_json)
|
|
75
75
|
|
|
76
|
-
Isomorfeus::Transport.promise_send_path('Isomorfeus::Data::Handler::ArrayLoadHandler', self.name, props_json).then do |
|
|
77
|
-
if
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
Isomorfeus::Transport.promise_send_path('Isomorfeus::Data::Handler::ArrayLoadHandler', self.name, props_json).then do |agent|
|
|
77
|
+
if agent.processed
|
|
78
|
+
agent.result
|
|
79
|
+
else
|
|
80
|
+
agent.processed = true
|
|
81
|
+
if agent.response.key?(:error)
|
|
82
|
+
`console.error(#{agent.response[:error].to_n})`
|
|
83
|
+
raise agent.response[:error]
|
|
84
|
+
end
|
|
85
|
+
Isomorfeus.store.dispatch(type: 'DATA_LOAD', data: agent.full_response[:data])
|
|
86
|
+
agent.result = instance
|
|
80
87
|
end
|
|
81
|
-
Isomorfeus.store.dispatch(type: 'DATA_LOAD', data: response[:full_response][:data])
|
|
82
|
-
instance
|
|
83
88
|
end
|
|
84
89
|
end
|
|
85
90
|
|
|
@@ -154,13 +154,18 @@ module LucidCollection
|
|
|
154
154
|
|
|
155
155
|
props_json = instance.instance_variable_get(:@props_json)
|
|
156
156
|
|
|
157
|
-
Isomorfeus::Transport.promise_send_path('Isomorfeus::Data::Handler::CollectionLoadHandler', self.name, props_json).then do |
|
|
158
|
-
if
|
|
159
|
-
|
|
160
|
-
|
|
157
|
+
Isomorfeus::Transport.promise_send_path('Isomorfeus::Data::Handler::CollectionLoadHandler', self.name, props_json).then do |agent|
|
|
158
|
+
if agent.processed
|
|
159
|
+
agent.result
|
|
160
|
+
else
|
|
161
|
+
agent.processed = true
|
|
162
|
+
if agent.response.key?(:error)
|
|
163
|
+
`console.error(#{agent.response[:error].to_n})`
|
|
164
|
+
raise agent.response[:error]
|
|
165
|
+
end
|
|
166
|
+
Isomorfeus.store.dispatch(type: 'DATA_LOAD', data: agent.full_response[:data])
|
|
167
|
+
agent.result = instance
|
|
161
168
|
end
|
|
162
|
-
Isomorfeus.store.dispatch(type: 'DATA_LOAD', data: response[:full_response][:data])
|
|
163
|
-
instance
|
|
164
169
|
end
|
|
165
170
|
end
|
|
166
171
|
|
data/lib/lucid_graph/mixin.rb
CHANGED
|
@@ -463,13 +463,18 @@ module LucidGraph
|
|
|
463
463
|
|
|
464
464
|
props_json = instance.instance_variable_get(:@props_json)
|
|
465
465
|
|
|
466
|
-
Isomorfeus::Transport.promise_send_path('Isomorfeus::Data::Handler::GraphLoadHandler', self.name, props_json).then do |
|
|
467
|
-
if
|
|
468
|
-
|
|
469
|
-
|
|
466
|
+
Isomorfeus::Transport.promise_send_path('Isomorfeus::Data::Handler::GraphLoadHandler', self.name, props_json).then do |agent|
|
|
467
|
+
if agent.processed
|
|
468
|
+
agent.result
|
|
469
|
+
else
|
|
470
|
+
agent.processed = true
|
|
471
|
+
if agent.response.key?(:error)
|
|
472
|
+
`console.error(#{agent.response[:error].to_n})`
|
|
473
|
+
raise agent.response[:error]
|
|
474
|
+
end
|
|
475
|
+
Isomorfeus.store.dispatch(type: 'DATA_LOAD', data: agent.full_response[:data])
|
|
476
|
+
agent.result = instance
|
|
470
477
|
end
|
|
471
|
-
Isomorfeus.store.dispatch(type: 'DATA_LOAD', data: response[:full_response][:data])
|
|
472
|
-
instance
|
|
473
478
|
end
|
|
474
479
|
end
|
|
475
480
|
|
data/lib/lucid_hash/mixin.rb
CHANGED
|
@@ -87,13 +87,18 @@ module LucidHash
|
|
|
87
87
|
|
|
88
88
|
props_json = instance.instance_variable_get(:@props_json)
|
|
89
89
|
|
|
90
|
-
Isomorfeus::Transport.promise_send_path('Isomorfeus::Data::Handler::HashLoadHandler', self.name, props_json).then do |
|
|
91
|
-
if
|
|
92
|
-
|
|
93
|
-
|
|
90
|
+
Isomorfeus::Transport.promise_send_path('Isomorfeus::Data::Handler::HashLoadHandler', self.name, props_json).then do |agent|
|
|
91
|
+
if agent.processed
|
|
92
|
+
agent.result
|
|
93
|
+
else
|
|
94
|
+
agent.processed = true
|
|
95
|
+
if agent.response.key?(:error)
|
|
96
|
+
`console.error(#{agent.response[:error].to_n})`
|
|
97
|
+
raise agent.response[:error]
|
|
98
|
+
end
|
|
99
|
+
Isomorfeus.store.dispatch(type: 'DATA_LOAD', data: agent.full_response[:data])
|
|
100
|
+
agent.result = instance
|
|
94
101
|
end
|
|
95
|
-
Isomorfeus.store.dispatch(type: 'DATA_LOAD', data: response[:full_response][:data])
|
|
96
|
-
instance
|
|
97
102
|
end
|
|
98
103
|
end
|
|
99
104
|
|
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: 1.0.0.
|
|
4
|
+
version: 1.0.0.zeta4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Biedermann
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -86,14 +86,14 @@ dependencies:
|
|
|
86
86
|
requirements:
|
|
87
87
|
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 16.9.
|
|
89
|
+
version: 16.9.20
|
|
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: 16.9.
|
|
96
|
+
version: 16.9.20
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: isomorfeus-redux
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -114,28 +114,28 @@ dependencies:
|
|
|
114
114
|
requirements:
|
|
115
115
|
- - '='
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: 1.0.0.
|
|
117
|
+
version: 1.0.0.zeta4
|
|
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: 1.0.0.
|
|
124
|
+
version: 1.0.0.zeta4
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
126
|
name: isomorfeus-installer
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
129
|
- - '='
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: 1.0.0.
|
|
131
|
+
version: 1.0.0.zeta4
|
|
132
132
|
type: :development
|
|
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: 1.0.0.
|
|
138
|
+
version: 1.0.0.zeta4
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
140
|
name: opal-webpack-loader
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|