fmcache 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/fmcache/encoder/itemizer.rb +5 -5
- data/lib/fmcache/version.rb +1 -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: 3b8c9d9c7ac9e3393596cfd826f53939f20d603cd2d2ce8b2368ea19672845bc
|
4
|
+
data.tar.gz: 4c71c46a1f950ac0c6980b85529e883e655025e6eed472b56e84d2d5bf499987
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54735e1b19f1699a959a4867be5e66992811d73b8eef96c666ebb99d3d41c469c601c821c88209ae090b292b2c021404fab6176cbe5f302164fc052d1a1e8598
|
7
|
+
data.tar.gz: c041b070719a1f808ae9e56cc50dc89a7917bea628e24f3927b8d7e6c7f28475b23665dd3e202346b1737af5a6408d2b0e8a263d3e5a5788556d5310812819fa
|
data/Gemfile.lock
CHANGED
@@ -29,18 +29,18 @@ module FMCache
|
|
29
29
|
end
|
30
30
|
|
31
31
|
field_mask.has_ones.each do |assoc|
|
32
|
-
v
|
33
|
-
|
32
|
+
v = value[assoc.name] || {}
|
33
|
+
p = prefix + [assoc.name]
|
34
34
|
|
35
|
-
traverse!(value: v, field_mask: assoc, prefix:
|
35
|
+
traverse!(value: v, field_mask: assoc, prefix: p, p_id: id)
|
36
36
|
end
|
37
37
|
|
38
38
|
field_mask.has_manies.each do |assoc|
|
39
39
|
values = value[assoc.name] || []
|
40
|
-
|
40
|
+
p = prefix + [assoc.name]
|
41
41
|
|
42
42
|
values.each do |v|
|
43
|
-
traverse!(value: v, field_mask: assoc, prefix:
|
43
|
+
traverse!(value: v, field_mask: assoc, prefix: p, p_id: id)
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
data/lib/fmcache/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fmcache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nao Minami
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|