table_structure 0.3.19 → 0.3.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/table_structure/schema.rb +4 -2
- data/lib/table_structure/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: 6070401fcd9287249b329ea8f2af80cd6a4f7bd3b758d983fa5aa7582344ece9
|
4
|
+
data.tar.gz: 717a02a0ed5146dae1054d8b606528c0673e1c5704c7825d0de6bf6385289791
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b07692b723c4c70363e93f91a680f8c0e1fd0d0d53e4925ffc758f11afe19a2134fcadae500fab54d6019ef0f92fb35c8a7f1b3c60923037628221c5816a2d2
|
7
|
+
data.tar.gz: b2b577a2052191f607c9f87c16606650fc565176207a13adf639a6b1b456d8d9acb053ec2788f4fcf523c82e360b28e9d00c2c30e529fa9bfafaefe5e367f5bc
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -75,6 +75,8 @@ module TableStructure
|
|
75
75
|
schema_classes.map(&:row_builders).reduce({}, &:merge!)
|
76
76
|
)
|
77
77
|
|
78
|
+
table_context = context_builders.build_for_table(context)
|
79
|
+
|
78
80
|
columns =
|
79
81
|
Definition::Columns::Compiler
|
80
82
|
.new(
|
@@ -82,7 +84,7 @@ module TableStructure
|
|
82
84
|
schema_classes.map(&:column_definitions).reduce([], &:concat),
|
83
85
|
options
|
84
86
|
)
|
85
|
-
.compile(
|
87
|
+
.compile(table_context)
|
86
88
|
|
87
89
|
@_definition_ =
|
88
90
|
MyDefinition.new(
|
@@ -91,7 +93,7 @@ module TableStructure
|
|
91
93
|
context_builders,
|
92
94
|
column_converters,
|
93
95
|
row_builders,
|
94
|
-
|
96
|
+
table_context,
|
95
97
|
options
|
96
98
|
)
|
97
99
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: table_structure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jsmmr
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|