table_structure 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/lib/table_structure/schema.rb +1 -3
- data/lib/table_structure/version.rb +1 -1
- data/lib/table_structure/writer.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: 7ba1e6952eaa875b8f55c7b2af3f18fad6030c4cbbd8ae1caaec81ae20a1be3c
|
4
|
+
data.tar.gz: 53b87d0b36b8eada62c881e3e286396b4dc82afae9a713feccab2da1258dfbf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c07d1f99a48b990fad463b4ab87a82f6ece8ad4e58eab86499a32266bc3580e6bbf9d83444956244f4c89e561998ae84c27441d7063efd46fd8b9daadcb6990
|
7
|
+
data.tar.gz: 8003a4609435158f876752ad1b42a7b3d00eab319a17f765234fafc105c7ccae9888eccc75a2382a80d641f0aa837bf950e45bb665aa35bf9a30e87d87ec73fd
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -11,7 +11,6 @@ module TableStructure
|
|
11
11
|
end
|
12
12
|
|
13
13
|
DEFAULT_OPTIONS = {
|
14
|
-
result_type: :array, # deprecated: Change to pass as argument of method.
|
15
14
|
key_prefix: nil,
|
16
15
|
key_suffix: nil
|
17
16
|
}.freeze
|
@@ -34,9 +33,8 @@ module TableStructure
|
|
34
33
|
)
|
35
34
|
end
|
36
35
|
|
37
|
-
def create_table(result_type:
|
36
|
+
def create_table(result_type: :array, **options)
|
38
37
|
options = @table_structure_schema_definition_.options.merge(options)
|
39
|
-
result_type ||= options[:result_type] # TODO: remove
|
40
38
|
@table_structure_schema_definition_.create_table(result_type: result_type, **options)
|
41
39
|
end
|
42
40
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jsmmr
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|