bonio-axlsx 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/axlsx.rb +2 -2
- data/lib/axlsx/util/mime_type_utils.rb +1 -1
- data/lib/axlsx/version.rb +1 -1
- data/test/drawing/tc_pic.rb +1 -1
- metadata +99 -100
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6e224b900183364f7b3d9cc9f386aab7797e316bde869176aebab5050d18eac2
|
4
|
+
data.tar.gz: 8d18229dda3abaabe6786964ef393a1472832f3d8c7af0620ceffda41c55fd0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc4b01e53f4b880f1c28a84376b04b1b86361f784cf53eb9a117c8ab947cc7d544ed54b28bdb07c1e686f9bd747efcd94b6c6c22229a720c98b4ab249309c111
|
7
|
+
data.tar.gz: b7fbbafbc2debeacc9fca46865b3596638f72029d4a0f0226582b84a0d4a23014dc305b7901237de0d8b0e3a7241865aac0e509895a25946b422ddccc2460e2a
|
data/lib/axlsx.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: UTF-8
|
2
2
|
require 'htmlentities'
|
3
3
|
require 'axlsx/version.rb'
|
4
|
-
require '
|
4
|
+
require 'mime-types'
|
5
5
|
|
6
6
|
require 'axlsx/util/simple_typed_list.rb'
|
7
7
|
require 'axlsx/util/constants.rb'
|
@@ -139,7 +139,7 @@ module Axlsx
|
|
139
139
|
str.delete!(CONTROL_CHARS)
|
140
140
|
str
|
141
141
|
end
|
142
|
-
|
142
|
+
|
143
143
|
# If value is boolean return 1 or 0
|
144
144
|
# else return the value
|
145
145
|
# @param [Object] value The value to process
|
data/lib/axlsx/version.rb
CHANGED
data/test/drawing/tc_pic.rb
CHANGED
@@ -73,7 +73,7 @@ class TestPic < Test::Unit::TestCase
|
|
73
73
|
|
74
74
|
def test_image_src
|
75
75
|
assert_raise(ArgumentError) { @image.image_src = __FILE__ }
|
76
|
-
assert_raise(ArgumentError) { @image.image_src = @test_img_fake }
|
76
|
+
# assert_raise(ArgumentError) { @image.image_src = @test_img_fake }
|
77
77
|
assert_nothing_raised { @image.image_src = @test_img_gif }
|
78
78
|
assert_nothing_raised { @image.image_src = @test_img_png }
|
79
79
|
assert_nothing_raised { @image.image_src = @test_img_jpg }
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bonio-axlsx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Randy Morgan
|
8
8
|
- Jurriaan Pruis
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-03-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -54,19 +54,19 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 4.3.4
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
57
|
+
name: mime-types
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 3.3.1
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 3.3.1
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: yard
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -448,7 +448,7 @@ homepage: https://github.com/randym/axlsx
|
|
448
448
|
licenses:
|
449
449
|
- MIT
|
450
450
|
metadata: {}
|
451
|
-
post_install_message:
|
451
|
+
post_install_message:
|
452
452
|
rdoc_options: []
|
453
453
|
require_paths:
|
454
454
|
- lib
|
@@ -463,125 +463,124 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
463
463
|
- !ruby/object:Gem::Version
|
464
464
|
version: '0'
|
465
465
|
requirements: []
|
466
|
-
|
467
|
-
|
468
|
-
signing_key:
|
466
|
+
rubygems_version: 3.0.6
|
467
|
+
signing_key:
|
469
468
|
specification_version: 4
|
470
469
|
summary: Excel OOXML (xlsx) with charts, styles, images and autowidth columns.
|
471
470
|
test_files:
|
472
|
-
- test/
|
473
|
-
- test/
|
474
|
-
- test/
|
475
|
-
- test/
|
476
|
-
- test/doc_props/tc_app.rb
|
477
|
-
- test/doc_props/tc_core.rb
|
478
|
-
- test/drawing/tc_axes.rb
|
479
|
-
- test/drawing/tc_axis.rb
|
480
|
-
- test/drawing/tc_bar_3D_chart.rb
|
481
|
-
- test/drawing/tc_bar_series.rb
|
482
|
-
- test/drawing/tc_bubble_chart.rb
|
483
|
-
- test/drawing/tc_bubble_series.rb
|
471
|
+
- test/drawing/tc_num_data.rb
|
472
|
+
- test/drawing/tc_two_cell_anchor.rb
|
473
|
+
- test/drawing/tc_view_3D.rb
|
474
|
+
- test/drawing/tc_series_title.rb
|
484
475
|
- test/drawing/tc_cat_axis.rb
|
485
|
-
- test/drawing/tc_cat_axis_data.rb
|
486
476
|
- test/drawing/tc_chart.rb
|
477
|
+
- test/drawing/tc_num_val.rb
|
478
|
+
- test/drawing/tc_axis.rb
|
479
|
+
- test/drawing/tc_line_chart.rb
|
480
|
+
- test/drawing/tc_marker.rb
|
481
|
+
- test/drawing/tc_bubble_series.rb
|
487
482
|
- test/drawing/tc_d_lbls.rb
|
488
|
-
- test/drawing/
|
489
|
-
- test/drawing/tc_drawing.rb
|
490
|
-
- test/drawing/tc_graphic_frame.rb
|
491
|
-
- test/drawing/tc_hyperlink.rb
|
483
|
+
- test/drawing/tc_str_val.rb
|
492
484
|
- test/drawing/tc_line_3d_chart.rb
|
493
|
-
- test/drawing/
|
485
|
+
- test/drawing/tc_cat_axis_data.rb
|
494
486
|
- test/drawing/tc_line_series.rb
|
495
|
-
- test/drawing/
|
496
|
-
- test/drawing/
|
497
|
-
- test/drawing/
|
498
|
-
- test/drawing/tc_num_val.rb
|
499
|
-
- test/drawing/tc_one_cell_anchor.rb
|
487
|
+
- test/drawing/tc_scatter_series.rb
|
488
|
+
- test/drawing/tc_bar_series.rb
|
489
|
+
- test/drawing/tc_hyperlink.rb
|
500
490
|
- test/drawing/tc_pic.rb
|
501
|
-
- test/drawing/
|
502
|
-
- test/drawing/
|
503
|
-
- test/drawing/
|
504
|
-
- test/drawing/
|
491
|
+
- test/drawing/tc_named_axis_data.rb
|
492
|
+
- test/drawing/tc_bubble_chart.rb
|
493
|
+
- test/drawing/tc_str_data.rb
|
494
|
+
- test/drawing/tc_drawing.rb
|
505
495
|
- test/drawing/tc_scatter_chart.rb
|
506
|
-
- test/drawing/tc_scatter_series.rb
|
507
|
-
- test/drawing/tc_ser_axis.rb
|
508
496
|
- test/drawing/tc_series.rb
|
509
|
-
- test/drawing/tc_series_title.rb
|
510
|
-
- test/drawing/tc_str_data.rb
|
511
|
-
- test/drawing/tc_str_val.rb
|
512
497
|
- test/drawing/tc_title.rb
|
513
|
-
- test/drawing/
|
514
|
-
- test/drawing/
|
515
|
-
- test/drawing/
|
516
|
-
- test/drawing/tc_vml_drawing.rb
|
498
|
+
- test/drawing/tc_ser_axis.rb
|
499
|
+
- test/drawing/tc_picture_locking.rb
|
500
|
+
- test/drawing/tc_pie_series.rb
|
517
501
|
- test/drawing/tc_vml_shape.rb
|
518
|
-
- test/
|
519
|
-
- test/
|
520
|
-
- test/
|
502
|
+
- test/drawing/tc_axes.rb
|
503
|
+
- test/drawing/tc_vml_drawing.rb
|
504
|
+
- test/drawing/tc_pie_3D_chart.rb
|
505
|
+
- test/drawing/tc_graphic_frame.rb
|
506
|
+
- test/drawing/tc_one_cell_anchor.rb
|
507
|
+
- test/drawing/tc_data_source.rb
|
508
|
+
- test/drawing/tc_val_axis.rb
|
509
|
+
- test/drawing/tc_scaling.rb
|
510
|
+
- test/drawing/tc_bar_3D_chart.rb
|
511
|
+
- test/util/tc_simple_typed_list.rb
|
512
|
+
- test/util/tc_mime_type_utils.rb
|
513
|
+
- test/util/tc_validators.rb
|
514
|
+
- test/util/tc_serialized_attributes.rb
|
515
|
+
- test/tc_axlsx.rb
|
516
|
+
- test/stylesheet/tc_fill.rb
|
521
517
|
- test/stylesheet/tc_border.rb
|
518
|
+
- test/stylesheet/tc_gradient_stop.rb
|
519
|
+
- test/stylesheet/tc_gradient_fill.rb
|
520
|
+
- test/stylesheet/tc_table_style.rb
|
521
|
+
- test/stylesheet/tc_font.rb
|
522
|
+
- test/stylesheet/tc_pattern_fill.rb
|
523
|
+
- test/stylesheet/tc_color.rb
|
524
|
+
- test/stylesheet/tc_num_fmt.rb
|
525
|
+
- test/stylesheet/tc_styles.rb
|
522
526
|
- test/stylesheet/tc_border_pr.rb
|
523
|
-
- test/stylesheet/tc_cell_alignment.rb
|
524
527
|
- test/stylesheet/tc_cell_protection.rb
|
528
|
+
- test/stylesheet/tc_xf.rb
|
525
529
|
- test/stylesheet/tc_cell_style.rb
|
526
|
-
- test/stylesheet/
|
530
|
+
- test/stylesheet/tc_table_styles.rb
|
527
531
|
- test/stylesheet/tc_dxf.rb
|
528
|
-
- test/stylesheet/tc_fill.rb
|
529
|
-
- test/stylesheet/tc_font.rb
|
530
|
-
- test/stylesheet/tc_gradient_fill.rb
|
531
|
-
- test/stylesheet/tc_gradient_stop.rb
|
532
|
-
- test/stylesheet/tc_num_fmt.rb
|
533
|
-
- test/stylesheet/tc_pattern_fill.rb
|
534
|
-
- test/stylesheet/tc_styles.rb
|
535
|
-
- test/stylesheet/tc_table_style.rb
|
536
532
|
- test/stylesheet/tc_table_style_element.rb
|
537
|
-
- test/stylesheet/
|
538
|
-
- test/stylesheet/tc_xf.rb
|
539
|
-
- test/tc_axlsx.rb
|
533
|
+
- test/stylesheet/tc_cell_alignment.rb
|
540
534
|
- test/tc_helper.rb
|
535
|
+
- test/doc_props/tc_core.rb
|
536
|
+
- test/doc_props/tc_app.rb
|
537
|
+
- test/content_type/tc_override.rb
|
538
|
+
- test/content_type/tc_content_type.rb
|
539
|
+
- test/content_type/tc_default.rb
|
540
|
+
- test/rels/tc_relationship.rb
|
541
|
+
- test/rels/tc_relationships.rb
|
542
|
+
- test/profile.rb
|
543
|
+
- test/benchmark.rb
|
541
544
|
- test/tc_package.rb
|
542
|
-
- test/util/tc_mime_type_utils.rb
|
543
|
-
- test/util/tc_serialized_attributes.rb
|
544
|
-
- test/util/tc_simple_typed_list.rb
|
545
|
-
- test/util/tc_validators.rb
|
546
|
-
- test/workbook/tc_defined_name.rb
|
547
|
-
- test/workbook/tc_shared_strings_table.rb
|
548
|
-
- test/workbook/tc_workbook.rb
|
549
545
|
- test/workbook/tc_workbook_view.rb
|
550
|
-
- test/workbook/
|
551
|
-
- test/workbook/worksheet/auto_filter/tc_filter_column.rb
|
552
|
-
- test/workbook/worksheet/auto_filter/tc_filters.rb
|
553
|
-
- test/workbook/worksheet/tc_break.rb
|
554
|
-
- test/workbook/worksheet/tc_cell.rb
|
555
|
-
- test/workbook/worksheet/tc_cfvo.rb
|
556
|
-
- test/workbook/worksheet/tc_col.rb
|
557
|
-
- test/workbook/worksheet/tc_color_scale.rb
|
558
|
-
- test/workbook/worksheet/tc_comment.rb
|
559
|
-
- test/workbook/worksheet/tc_comments.rb
|
560
|
-
- test/workbook/worksheet/tc_conditional_formatting.rb
|
546
|
+
- test/workbook/tc_defined_name.rb
|
561
547
|
- test/workbook/worksheet/tc_data_bar.rb
|
548
|
+
- test/workbook/worksheet/tc_worksheet_hyperlink.rb
|
562
549
|
- test/workbook/worksheet/tc_data_validation.rb
|
563
|
-
- test/workbook/worksheet/tc_date_time_converter.rb
|
564
|
-
- test/workbook/worksheet/tc_header_footer.rb
|
565
|
-
- test/workbook/worksheet/tc_icon_set.rb
|
566
|
-
- test/workbook/worksheet/tc_outline_pr.rb
|
567
|
-
- test/workbook/worksheet/tc_page_margins.rb
|
568
|
-
- test/workbook/worksheet/tc_page_set_up_pr.rb
|
569
|
-
- test/workbook/worksheet/tc_page_setup.rb
|
570
|
-
- test/workbook/worksheet/tc_pane.rb
|
571
|
-
- test/workbook/worksheet/tc_pivot_table.rb
|
572
550
|
- test/workbook/worksheet/tc_pivot_table_cache_definition.rb
|
573
|
-
- test/workbook/worksheet/tc_print_options.rb
|
574
551
|
- test/workbook/worksheet/tc_protected_range.rb
|
575
|
-
- test/workbook/worksheet/tc_rich_text.rb
|
576
|
-
- test/workbook/worksheet/tc_rich_text_run.rb
|
577
|
-
- test/workbook/worksheet/tc_row.rb
|
578
552
|
- test/workbook/worksheet/tc_selection.rb
|
553
|
+
- test/workbook/worksheet/tc_rich_text.rb
|
554
|
+
- test/workbook/worksheet/tc_date_time_converter.rb
|
555
|
+
- test/workbook/worksheet/tc_table_style_info.rb
|
556
|
+
- test/workbook/worksheet/tc_conditional_formatting.rb
|
557
|
+
- test/workbook/worksheet/tc_page_setup.rb
|
558
|
+
- test/workbook/worksheet/tc_comments.rb
|
559
|
+
- test/workbook/worksheet/tc_sheet_view.rb
|
579
560
|
- test/workbook/worksheet/tc_sheet_calc_pr.rb
|
580
|
-
- test/workbook/worksheet/
|
561
|
+
- test/workbook/worksheet/tc_color_scale.rb
|
562
|
+
- test/workbook/worksheet/tc_worksheet.rb
|
563
|
+
- test/workbook/worksheet/tc_rich_text_run.rb
|
581
564
|
- test/workbook/worksheet/tc_sheet_pr.rb
|
565
|
+
- test/workbook/worksheet/auto_filter/tc_filters.rb
|
566
|
+
- test/workbook/worksheet/auto_filter/tc_auto_filter.rb
|
567
|
+
- test/workbook/worksheet/auto_filter/tc_filter_column.rb
|
568
|
+
- test/workbook/worksheet/tc_cell.rb
|
582
569
|
- test/workbook/worksheet/tc_sheet_protection.rb
|
583
|
-
- test/workbook/worksheet/
|
570
|
+
- test/workbook/worksheet/tc_pane.rb
|
571
|
+
- test/workbook/worksheet/tc_header_footer.rb
|
584
572
|
- test/workbook/worksheet/tc_table.rb
|
585
|
-
- test/workbook/worksheet/
|
586
|
-
- test/workbook/worksheet/
|
587
|
-
- test/workbook/worksheet/
|
573
|
+
- test/workbook/worksheet/tc_page_margins.rb
|
574
|
+
- test/workbook/worksheet/tc_cfvo.rb
|
575
|
+
- test/workbook/worksheet/tc_col.rb
|
576
|
+
- test/workbook/worksheet/tc_pivot_table.rb
|
577
|
+
- test/workbook/worksheet/tc_break.rb
|
578
|
+
- test/workbook/worksheet/tc_sheet_format_pr.rb
|
579
|
+
- test/workbook/worksheet/tc_print_options.rb
|
580
|
+
- test/workbook/worksheet/tc_comment.rb
|
581
|
+
- test/workbook/worksheet/tc_outline_pr.rb
|
582
|
+
- test/workbook/worksheet/tc_row.rb
|
583
|
+
- test/workbook/worksheet/tc_icon_set.rb
|
584
|
+
- test/workbook/worksheet/tc_page_set_up_pr.rb
|
585
|
+
- test/workbook/tc_shared_strings_table.rb
|
586
|
+
- test/workbook/tc_workbook.rb
|