isomorfeus-data 23.7.0.rc5 → 23.8.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/data/config.rb +12 -22
- data/lib/isomorfeus/data/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 547871b728c731b8de7fef1c1e4f751a87d6ae11334a2e45a53e43bf060304dd
|
4
|
+
data.tar.gz: bc0cc6751a088ffa86b341e5f40ccf76a5c56a82e4519f0c50c4d41cb9b513b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64d5c7db11d710c390593d3968501194639a575bb1fc1c4e52812cfb6db24853540ec176bacddbbf82239f131a933b42748df0123b076174110d3fb626dd45e9
|
7
|
+
data.tar.gz: 25889b94c53d6b841b596bfadee5e4fc34d82fffe9edcad063ca0abb1bed5fadcad1f6abe98dcffb643b24ba6b11c758b34a1595919f4c04b76f9b8917ad1ed2
|
@@ -1,31 +1,21 @@
|
|
1
1
|
module Isomorfeus
|
2
2
|
# available settings
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
def cached_data_classes
|
8
|
-
@cached_data_classes ||= `{}`
|
9
|
-
end
|
3
|
+
class << self
|
4
|
+
def cached_data_classes
|
5
|
+
@cached_data_classes ||= {}
|
6
|
+
end
|
10
7
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
end
|
8
|
+
def cached_data_class(class_name)
|
9
|
+
return "::#{class_name}".constantize if Isomorfeus.development?
|
10
|
+
return cached_data_classes[class_name] if cached_data_classes.key?(class_name)
|
11
|
+
cached_data_classes[class_name] = "::#{class_name}".constantize
|
16
12
|
end
|
13
|
+
end
|
14
|
+
|
15
|
+
if RUBY_ENGINE == 'opal'
|
16
|
+
add_client_option(:api_files_path)
|
17
17
|
else
|
18
18
|
class << self
|
19
|
-
def cached_data_classes
|
20
|
-
@cached_data_classes ||= {}
|
21
|
-
end
|
22
|
-
|
23
|
-
def cached_data_class(class_name)
|
24
|
-
return "::#{class_name}".constantize if Isomorfeus.development?
|
25
|
-
return cached_data_classes[class_name] if cached_data_classes.key?(class_name)
|
26
|
-
cached_data_classes[class_name] = "::#{class_name}".constantize
|
27
|
-
end
|
28
|
-
|
29
19
|
def valid_data_classes
|
30
20
|
@valid_data_classes ||= {}
|
31
21
|
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: 23.
|
4
|
+
version: 23.8.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: 1.8.0.alpha1
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
60
|
+
version: 1.8.0.alpha1
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: opal-activesupport
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,70 +106,70 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - '='
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 23.
|
109
|
+
version: 23.8.0.rc1
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - '='
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 23.
|
116
|
+
version: 23.8.0.rc1
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: isomorfeus-policy
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
121
|
- - '='
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: 23.
|
123
|
+
version: 23.8.0.rc1
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - '='
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: 23.
|
130
|
+
version: 23.8.0.rc1
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: isomorfeus-preact
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - '='
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: 23.
|
137
|
+
version: 23.8.0.rc1
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - '='
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: 23.
|
144
|
+
version: 23.8.0.rc1
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: isomorfeus-redux
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - '='
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: 23.
|
151
|
+
version: 23.8.0.rc1
|
152
152
|
type: :runtime
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - '='
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: 23.
|
158
|
+
version: 23.8.0.rc1
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: isomorfeus-transport
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - '='
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: 23.
|
165
|
+
version: 23.8.0.rc1
|
166
166
|
type: :runtime
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
170
|
- - '='
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: 23.
|
172
|
+
version: 23.8.0.rc1
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: rake
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|