puzzly_api_plugin 0.1.4 → 0.1.5
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/puzzly_api_plugin/collection/apis.rb +1 -1
- data/lib/puzzly_api_plugin/collection/caches.rb +2 -2
- data/lib/puzzly_api_plugin/collection/modules.rb +1 -1
- data/lib/puzzly_api_plugin/collection/queries.rb +1 -1
- data/lib/puzzly_api_plugin/collection/schemas.rb +1 -1
- data/lib/puzzly_api_plugin/collection/tables.rb +1 -1
- data/lib/puzzly_api_plugin/collection/topics.rb +2 -2
- data/lib/puzzly_api_plugin/version.rb +1 -1
- data/lib/puzzly_api_plugin/view/cache.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c00f52554c35f88d0c6283a1a28c17d5d3bba862fbe08e75a242c7008da31650
|
4
|
+
data.tar.gz: 5d764e13ebda544f65aa2a1cdc6bc1afc8c667830b66297651b5fa483ce1c4f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75d7792582ba9dd5db783abeefc48b2eb840548b0ad4715918355d288a1b06a40c0fc949e93f45324cdc8d31d99eb922d240bb0a59b06bf68599c46f0b585959
|
7
|
+
data.tar.gz: a2bee80691743891fc78a79494db88faa47a97a087ff5e6e487a119bf5df9b5b24765e7f36e65a71746fd0b98c9dd4b7009a5e02a022202cfa4154b957d70a5a
|
@@ -14,11 +14,11 @@ module PuzzlyApiPlugin
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def get_by_module(mod)
|
17
|
-
select { |_id, cache| mod.id
|
17
|
+
select { |_id, cache| mod.id == cache.module_id }
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_by_schema(schema)
|
21
|
-
select { |_id, cache| schema.id
|
21
|
+
select { |_id, cache| schema.id == cache.schema_id }
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
@@ -14,11 +14,11 @@ module PuzzlyApiPlugin
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def get_by_module mod
|
17
|
-
select { |_id, topic| mod.id
|
17
|
+
select { |_id, topic| mod.id == topic.module_id }
|
18
18
|
end
|
19
19
|
|
20
20
|
def get_by_schema schema
|
21
|
-
select { |_id, topic| schema.id
|
21
|
+
select { |_id, topic| schema.id == topic.schema_id }
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
@@ -10,7 +10,11 @@ module PuzzlyApiPlugin
|
|
10
10
|
schema = SchemasCollection.instance.get_by_id cache.schema_id
|
11
11
|
end
|
12
12
|
|
13
|
-
|
13
|
+
if(!schema.nil?)
|
14
|
+
schema = schema.to_identity
|
15
|
+
end
|
16
|
+
|
17
|
+
CacheView.new(mod.to_identity, schema,
|
14
18
|
cache)
|
15
19
|
end
|
16
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puzzly_api_plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mr. Braz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|