write_xlsx 1.07.0 → 1.08.0
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/Changes +31 -0
- data/README.md +1 -1
- data/lib/write_xlsx/chart.rb +3 -5
- data/lib/write_xlsx/drawing.rb +80 -17
- data/lib/write_xlsx/package/app.rb +3 -3
- data/lib/write_xlsx/package/conditional_format.rb +2 -8
- data/lib/write_xlsx/package/packager.rb +1 -0
- data/lib/write_xlsx/package/styles.rb +16 -3
- data/lib/write_xlsx/utility.rb +5 -1
- data/lib/write_xlsx/version.rb +1 -1
- data/lib/write_xlsx/workbook.rb +23 -0
- data/lib/write_xlsx/worksheet/data_validation.rb +1 -6
- data/lib/write_xlsx/worksheet.rb +71 -20
- data/test/drawing/{test_write_ext.rb → test_write_xdr_ext.rb} +2 -2
- data/test/regression/test_chart_crossing01.rb +1 -1
- data/test/regression/test_chart_crossing05.rb +46 -0
- data/test/regression/test_chart_crossing06.rb +46 -0
- data/test/regression/test_chart_data_labels48.rb +55 -0
- data/test/regression/test_chart_data_labels49.rb +55 -0
- data/test/regression/test_chart_data_labels50.rb +57 -0
- data/test/regression/test_format16.rb +24 -0
- data/test/regression/test_format17.rb +24 -0
- data/test/regression/test_image52.rb +26 -0
- data/test/regression/test_image53.rb +26 -0
- data/test/regression/test_image54.rb +26 -0
- data/test/regression/test_image55.rb +27 -0
- data/test/regression/test_protect04.rb +32 -0
- data/test/regression/test_protect05.rb +35 -0
- data/test/regression/test_protect06.rb +35 -0
- data/test/regression/test_protect07.rb +23 -0
- data/test/regression/xlsx_files/chart_crossing05.xlsx +0 -0
- data/test/regression/xlsx_files/chart_crossing06.xlsx +0 -0
- data/test/regression/xlsx_files/chart_data_labels48.xlsx +0 -0
- data/test/regression/xlsx_files/chart_data_labels49.xlsx +0 -0
- data/test/regression/xlsx_files/chart_data_labels50.xlsx +0 -0
- data/test/regression/xlsx_files/format16.xlsx +0 -0
- data/test/regression/xlsx_files/format17.xlsx +0 -0
- data/test/regression/xlsx_files/image52.xlsx +0 -0
- data/test/regression/xlsx_files/image53.xlsx +0 -0
- data/test/regression/xlsx_files/image54.xlsx +0 -0
- data/test/regression/xlsx_files/image55.xlsx +0 -0
- data/test/regression/xlsx_files/protect04.xlsx +0 -0
- data/test/regression/xlsx_files/protect05.xlsx +0 -0
- data/test/regression/xlsx_files/protect06.xlsx +0 -0
- data/test/regression/xlsx_files/protect07.xlsx +0 -0
- data/test/utility/test_range.rb +20 -0
- metadata +70 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: write_xlsx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.08.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hideo NAKAMURA
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -274,10 +274,10 @@ files:
|
|
274
274
|
- test/drawing/test_write_c_nv_pr.rb
|
275
275
|
- test/drawing/test_write_col.rb
|
276
276
|
- test/drawing/test_write_col_off.rb
|
277
|
-
- test/drawing/test_write_ext.rb
|
278
277
|
- test/drawing/test_write_pos.rb
|
279
278
|
- test/drawing/test_write_row.rb
|
280
279
|
- test/drawing/test_write_row_off.rb
|
280
|
+
- test/drawing/test_write_xdr_ext.rb
|
281
281
|
- test/drawing/test_write_xfrm_extension.rb
|
282
282
|
- test/drawing/test_write_xfrm_offset.rb
|
283
283
|
- test/helper.rb
|
@@ -567,6 +567,8 @@ files:
|
|
567
567
|
- test/regression/test_chart_crossing02.rb
|
568
568
|
- test/regression/test_chart_crossing03.rb
|
569
569
|
- test/regression/test_chart_crossing04.rb
|
570
|
+
- test/regression/test_chart_crossing05.rb
|
571
|
+
- test/regression/test_chart_crossing06.rb
|
570
572
|
- test/regression/test_chart_data_labels01.rb
|
571
573
|
- test/regression/test_chart_data_labels02.rb
|
572
574
|
- test/regression/test_chart_data_labels03.rb
|
@@ -614,6 +616,9 @@ files:
|
|
614
616
|
- test/regression/test_chart_data_labels45.rb
|
615
617
|
- test/regression/test_chart_data_labels46.rb
|
616
618
|
- test/regression/test_chart_data_labels47.rb
|
619
|
+
- test/regression/test_chart_data_labels48.rb
|
620
|
+
- test/regression/test_chart_data_labels49.rb
|
621
|
+
- test/regression/test_chart_data_labels50.rb
|
617
622
|
- test/regression/test_chart_date01.rb
|
618
623
|
- test/regression/test_chart_date02.rb
|
619
624
|
- test/regression/test_chart_date03.rb
|
@@ -895,6 +900,8 @@ files:
|
|
895
900
|
- test/regression/test_format13.rb
|
896
901
|
- test/regression/test_format14.rb
|
897
902
|
- test/regression/test_format15.rb
|
903
|
+
- test/regression/test_format16.rb
|
904
|
+
- test/regression/test_format17.rb
|
898
905
|
- test/regression/test_formula_results01.rb
|
899
906
|
- test/regression/test_gridlines01.rb
|
900
907
|
- test/regression/test_header01.rb
|
@@ -1007,6 +1014,10 @@ files:
|
|
1007
1014
|
- test/regression/test_image49.rb
|
1008
1015
|
- test/regression/test_image50.rb
|
1009
1016
|
- test/regression/test_image51.rb
|
1017
|
+
- test/regression/test_image52.rb
|
1018
|
+
- test/regression/test_image53.rb
|
1019
|
+
- test/regression/test_image54.rb
|
1020
|
+
- test/regression/test_image55.rb
|
1010
1021
|
- test/regression/test_landscape01.rb
|
1011
1022
|
- test/regression/test_macro01.rb
|
1012
1023
|
- test/regression/test_merge_cells01.rb
|
@@ -1072,6 +1083,10 @@ files:
|
|
1072
1083
|
- test/regression/test_protect01.rb
|
1073
1084
|
- test/regression/test_protect02.rb
|
1074
1085
|
- test/regression/test_protect03.rb
|
1086
|
+
- test/regression/test_protect04.rb
|
1087
|
+
- test/regression/test_protect05.rb
|
1088
|
+
- test/regression/test_protect06.rb
|
1089
|
+
- test/regression/test_protect07.rb
|
1075
1090
|
- test/regression/test_quote_name01.rb
|
1076
1091
|
- test/regression/test_quote_name03.rb
|
1077
1092
|
- test/regression/test_quote_name04.rb
|
@@ -1322,6 +1337,8 @@ files:
|
|
1322
1337
|
- test/regression/xlsx_files/chart_crossing02.xlsx
|
1323
1338
|
- test/regression/xlsx_files/chart_crossing03.xlsx
|
1324
1339
|
- test/regression/xlsx_files/chart_crossing04.xlsx
|
1340
|
+
- test/regression/xlsx_files/chart_crossing05.xlsx
|
1341
|
+
- test/regression/xlsx_files/chart_crossing06.xlsx
|
1325
1342
|
- test/regression/xlsx_files/chart_data_labels01.xlsx
|
1326
1343
|
- test/regression/xlsx_files/chart_data_labels02.xlsx
|
1327
1344
|
- test/regression/xlsx_files/chart_data_labels03.xlsx
|
@@ -1369,6 +1386,9 @@ files:
|
|
1369
1386
|
- test/regression/xlsx_files/chart_data_labels45.xlsx
|
1370
1387
|
- test/regression/xlsx_files/chart_data_labels46.xlsx
|
1371
1388
|
- test/regression/xlsx_files/chart_data_labels47.xlsx
|
1389
|
+
- test/regression/xlsx_files/chart_data_labels48.xlsx
|
1390
|
+
- test/regression/xlsx_files/chart_data_labels49.xlsx
|
1391
|
+
- test/regression/xlsx_files/chart_data_labels50.xlsx
|
1372
1392
|
- test/regression/xlsx_files/chart_date01.xlsx
|
1373
1393
|
- test/regression/xlsx_files/chart_date02.xlsx
|
1374
1394
|
- test/regression/xlsx_files/chart_date03.xlsx
|
@@ -1643,6 +1663,8 @@ files:
|
|
1643
1663
|
- test/regression/xlsx_files/format13.xlsx
|
1644
1664
|
- test/regression/xlsx_files/format14.xlsx
|
1645
1665
|
- test/regression/xlsx_files/format15.xlsx
|
1666
|
+
- test/regression/xlsx_files/format16.xlsx
|
1667
|
+
- test/regression/xlsx_files/format17.xlsx
|
1646
1668
|
- test/regression/xlsx_files/formula_results01.xlsx
|
1647
1669
|
- test/regression/xlsx_files/gridlines01.xlsx
|
1648
1670
|
- test/regression/xlsx_files/header01.xlsx
|
@@ -1757,6 +1779,10 @@ files:
|
|
1757
1779
|
- test/regression/xlsx_files/image49.xlsx
|
1758
1780
|
- test/regression/xlsx_files/image50.xlsx
|
1759
1781
|
- test/regression/xlsx_files/image51.xlsx
|
1782
|
+
- test/regression/xlsx_files/image52.xlsx
|
1783
|
+
- test/regression/xlsx_files/image53.xlsx
|
1784
|
+
- test/regression/xlsx_files/image54.xlsx
|
1785
|
+
- test/regression/xlsx_files/image55.xlsx
|
1760
1786
|
- test/regression/xlsx_files/landscape01.xlsx
|
1761
1787
|
- test/regression/xlsx_files/macro01.xlsm
|
1762
1788
|
- test/regression/xlsx_files/merge_cells01.xlsx
|
@@ -1822,6 +1848,10 @@ files:
|
|
1822
1848
|
- test/regression/xlsx_files/protect01.xlsx
|
1823
1849
|
- test/regression/xlsx_files/protect02.xlsx
|
1824
1850
|
- test/regression/xlsx_files/protect03.xlsx
|
1851
|
+
- test/regression/xlsx_files/protect04.xlsx
|
1852
|
+
- test/regression/xlsx_files/protect05.xlsx
|
1853
|
+
- test/regression/xlsx_files/protect06.xlsx
|
1854
|
+
- test/regression/xlsx_files/protect07.xlsx
|
1825
1855
|
- test/regression/xlsx_files/quote_name01.xlsx
|
1826
1856
|
- test/regression/xlsx_files/quote_name02.xlsx
|
1827
1857
|
- test/regression/xlsx_files/quote_name03.xlsx
|
@@ -1942,6 +1972,7 @@ files:
|
|
1942
1972
|
- test/test_example_match.rb
|
1943
1973
|
- test/test_option_hash_for_workbook.rb
|
1944
1974
|
- test/test_xml_writer_simple.rb
|
1975
|
+
- test/utility/test_range.rb
|
1945
1976
|
- test/vbaProject.bin
|
1946
1977
|
- test/workbook/test_check_sheetname.rb
|
1947
1978
|
- test/workbook/test_define_name.rb
|
@@ -2071,7 +2102,7 @@ homepage: https://github.com/cxn03651/write_xlsx#readme
|
|
2071
2102
|
licenses:
|
2072
2103
|
- MIT
|
2073
2104
|
metadata: {}
|
2074
|
-
post_install_message:
|
2105
|
+
post_install_message:
|
2075
2106
|
rdoc_options: []
|
2076
2107
|
require_paths:
|
2077
2108
|
- lib
|
@@ -2086,8 +2117,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2086
2117
|
- !ruby/object:Gem::Version
|
2087
2118
|
version: '0'
|
2088
2119
|
requirements: []
|
2089
|
-
rubygems_version: 3.1.
|
2090
|
-
signing_key:
|
2120
|
+
rubygems_version: 3.1.6
|
2121
|
+
signing_key:
|
2091
2122
|
specification_version: 4
|
2092
2123
|
summary: write_xlsx is a gem to create a new file in the Excel 2007+ XLSX format.
|
2093
2124
|
test_files:
|
@@ -2143,10 +2174,10 @@ test_files:
|
|
2143
2174
|
- test/drawing/test_write_c_nv_pr.rb
|
2144
2175
|
- test/drawing/test_write_col.rb
|
2145
2176
|
- test/drawing/test_write_col_off.rb
|
2146
|
-
- test/drawing/test_write_ext.rb
|
2147
2177
|
- test/drawing/test_write_pos.rb
|
2148
2178
|
- test/drawing/test_write_row.rb
|
2149
2179
|
- test/drawing/test_write_row_off.rb
|
2180
|
+
- test/drawing/test_write_xdr_ext.rb
|
2150
2181
|
- test/drawing/test_write_xfrm_extension.rb
|
2151
2182
|
- test/drawing/test_write_xfrm_offset.rb
|
2152
2183
|
- test/helper.rb
|
@@ -2436,6 +2467,8 @@ test_files:
|
|
2436
2467
|
- test/regression/test_chart_crossing02.rb
|
2437
2468
|
- test/regression/test_chart_crossing03.rb
|
2438
2469
|
- test/regression/test_chart_crossing04.rb
|
2470
|
+
- test/regression/test_chart_crossing05.rb
|
2471
|
+
- test/regression/test_chart_crossing06.rb
|
2439
2472
|
- test/regression/test_chart_data_labels01.rb
|
2440
2473
|
- test/regression/test_chart_data_labels02.rb
|
2441
2474
|
- test/regression/test_chart_data_labels03.rb
|
@@ -2483,6 +2516,9 @@ test_files:
|
|
2483
2516
|
- test/regression/test_chart_data_labels45.rb
|
2484
2517
|
- test/regression/test_chart_data_labels46.rb
|
2485
2518
|
- test/regression/test_chart_data_labels47.rb
|
2519
|
+
- test/regression/test_chart_data_labels48.rb
|
2520
|
+
- test/regression/test_chart_data_labels49.rb
|
2521
|
+
- test/regression/test_chart_data_labels50.rb
|
2486
2522
|
- test/regression/test_chart_date01.rb
|
2487
2523
|
- test/regression/test_chart_date02.rb
|
2488
2524
|
- test/regression/test_chart_date03.rb
|
@@ -2764,6 +2800,8 @@ test_files:
|
|
2764
2800
|
- test/regression/test_format13.rb
|
2765
2801
|
- test/regression/test_format14.rb
|
2766
2802
|
- test/regression/test_format15.rb
|
2803
|
+
- test/regression/test_format16.rb
|
2804
|
+
- test/regression/test_format17.rb
|
2767
2805
|
- test/regression/test_formula_results01.rb
|
2768
2806
|
- test/regression/test_gridlines01.rb
|
2769
2807
|
- test/regression/test_header01.rb
|
@@ -2876,6 +2914,10 @@ test_files:
|
|
2876
2914
|
- test/regression/test_image49.rb
|
2877
2915
|
- test/regression/test_image50.rb
|
2878
2916
|
- test/regression/test_image51.rb
|
2917
|
+
- test/regression/test_image52.rb
|
2918
|
+
- test/regression/test_image53.rb
|
2919
|
+
- test/regression/test_image54.rb
|
2920
|
+
- test/regression/test_image55.rb
|
2879
2921
|
- test/regression/test_landscape01.rb
|
2880
2922
|
- test/regression/test_macro01.rb
|
2881
2923
|
- test/regression/test_merge_cells01.rb
|
@@ -2941,6 +2983,10 @@ test_files:
|
|
2941
2983
|
- test/regression/test_protect01.rb
|
2942
2984
|
- test/regression/test_protect02.rb
|
2943
2985
|
- test/regression/test_protect03.rb
|
2986
|
+
- test/regression/test_protect04.rb
|
2987
|
+
- test/regression/test_protect05.rb
|
2988
|
+
- test/regression/test_protect06.rb
|
2989
|
+
- test/regression/test_protect07.rb
|
2944
2990
|
- test/regression/test_quote_name01.rb
|
2945
2991
|
- test/regression/test_quote_name03.rb
|
2946
2992
|
- test/regression/test_quote_name04.rb
|
@@ -3191,6 +3237,8 @@ test_files:
|
|
3191
3237
|
- test/regression/xlsx_files/chart_crossing02.xlsx
|
3192
3238
|
- test/regression/xlsx_files/chart_crossing03.xlsx
|
3193
3239
|
- test/regression/xlsx_files/chart_crossing04.xlsx
|
3240
|
+
- test/regression/xlsx_files/chart_crossing05.xlsx
|
3241
|
+
- test/regression/xlsx_files/chart_crossing06.xlsx
|
3194
3242
|
- test/regression/xlsx_files/chart_data_labels01.xlsx
|
3195
3243
|
- test/regression/xlsx_files/chart_data_labels02.xlsx
|
3196
3244
|
- test/regression/xlsx_files/chart_data_labels03.xlsx
|
@@ -3238,6 +3286,9 @@ test_files:
|
|
3238
3286
|
- test/regression/xlsx_files/chart_data_labels45.xlsx
|
3239
3287
|
- test/regression/xlsx_files/chart_data_labels46.xlsx
|
3240
3288
|
- test/regression/xlsx_files/chart_data_labels47.xlsx
|
3289
|
+
- test/regression/xlsx_files/chart_data_labels48.xlsx
|
3290
|
+
- test/regression/xlsx_files/chart_data_labels49.xlsx
|
3291
|
+
- test/regression/xlsx_files/chart_data_labels50.xlsx
|
3241
3292
|
- test/regression/xlsx_files/chart_date01.xlsx
|
3242
3293
|
- test/regression/xlsx_files/chart_date02.xlsx
|
3243
3294
|
- test/regression/xlsx_files/chart_date03.xlsx
|
@@ -3512,6 +3563,8 @@ test_files:
|
|
3512
3563
|
- test/regression/xlsx_files/format13.xlsx
|
3513
3564
|
- test/regression/xlsx_files/format14.xlsx
|
3514
3565
|
- test/regression/xlsx_files/format15.xlsx
|
3566
|
+
- test/regression/xlsx_files/format16.xlsx
|
3567
|
+
- test/regression/xlsx_files/format17.xlsx
|
3515
3568
|
- test/regression/xlsx_files/formula_results01.xlsx
|
3516
3569
|
- test/regression/xlsx_files/gridlines01.xlsx
|
3517
3570
|
- test/regression/xlsx_files/header01.xlsx
|
@@ -3626,6 +3679,10 @@ test_files:
|
|
3626
3679
|
- test/regression/xlsx_files/image49.xlsx
|
3627
3680
|
- test/regression/xlsx_files/image50.xlsx
|
3628
3681
|
- test/regression/xlsx_files/image51.xlsx
|
3682
|
+
- test/regression/xlsx_files/image52.xlsx
|
3683
|
+
- test/regression/xlsx_files/image53.xlsx
|
3684
|
+
- test/regression/xlsx_files/image54.xlsx
|
3685
|
+
- test/regression/xlsx_files/image55.xlsx
|
3629
3686
|
- test/regression/xlsx_files/landscape01.xlsx
|
3630
3687
|
- test/regression/xlsx_files/macro01.xlsm
|
3631
3688
|
- test/regression/xlsx_files/merge_cells01.xlsx
|
@@ -3691,6 +3748,10 @@ test_files:
|
|
3691
3748
|
- test/regression/xlsx_files/protect01.xlsx
|
3692
3749
|
- test/regression/xlsx_files/protect02.xlsx
|
3693
3750
|
- test/regression/xlsx_files/protect03.xlsx
|
3751
|
+
- test/regression/xlsx_files/protect04.xlsx
|
3752
|
+
- test/regression/xlsx_files/protect05.xlsx
|
3753
|
+
- test/regression/xlsx_files/protect06.xlsx
|
3754
|
+
- test/regression/xlsx_files/protect07.xlsx
|
3694
3755
|
- test/regression/xlsx_files/quote_name01.xlsx
|
3695
3756
|
- test/regression/xlsx_files/quote_name02.xlsx
|
3696
3757
|
- test/regression/xlsx_files/quote_name03.xlsx
|
@@ -3811,6 +3872,7 @@ test_files:
|
|
3811
3872
|
- test/test_example_match.rb
|
3812
3873
|
- test/test_option_hash_for_workbook.rb
|
3813
3874
|
- test/test_xml_writer_simple.rb
|
3875
|
+
- test/utility/test_range.rb
|
3814
3876
|
- test/vbaProject.bin
|
3815
3877
|
- test/workbook/test_check_sheetname.rb
|
3816
3878
|
- test/workbook/test_define_name.rb
|