table_structure 0.3.22 → 0.3.23
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/csv/writer.rb +3 -4
- 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: a864d676c51d4ccee8e848b3b0483237965049fbdb52969c588c86184408bf05
|
4
|
+
data.tar.gz: 7fae6ca29a4060713cdbbac7af3ddd3962f6d7fdf2b09a7117af95cbec4570aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cd0a1099904f07b64eae3afab05fb103106442bba5e8457afd041d828c83308c668c299d580d38d3dd2a2c56512d30966fd55caa21d00b2089fbdf0f2115ee2
|
7
|
+
data.tar.gz: 4a852f24b066de0d0841211c9b291596f88a8f4b9202a8e4f6e8139c7f99c51de056f634bcf5ce81996479a25d08b301eb52e11cad4664343c4c54ea4f016158
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -45,7 +45,7 @@ module TableStructure
|
|
45
45
|
**deprecated_options,
|
46
46
|
&block
|
47
47
|
)
|
48
|
-
header =
|
48
|
+
header = nil
|
49
49
|
|
50
50
|
if deprecated_options.key?(:header)
|
51
51
|
header = deprecated_options[:header]
|
@@ -64,9 +64,8 @@ module TableStructure
|
|
64
64
|
header = { context: header_context }
|
65
65
|
end
|
66
66
|
|
67
|
-
inner_options = {
|
68
|
-
|
69
|
-
}
|
67
|
+
inner_options = {}
|
68
|
+
inner_options[:header] = header if header
|
70
69
|
|
71
70
|
to << BOM if bom
|
72
71
|
|
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.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jsmmr
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|