summaryrefslogtreecommitdiffhomepage
path: root/test/drawing/tc_pic.rb
AgeCommit message (Collapse)Author
2023-05-25Fix StringConcatenation offenses (non-production)Geremia Taglialatela
Prefer interpolation over concatenation ``` Comparison ("String#{'String'}" vs 'String' + 'String'): interpolation: 11821321.0 i/s concatenation: 8849491.7 i/s - 1.34x (± 0.00) slower ```
2023-05-22Use Ruby 1.9 hash syntax (non-production code)Geremia Taglialatela
2023-05-04Enable Style/FrozenStringLiteralComment and autocorrectPaul Kmiec
2023-05-03Fix Style/RedundantFileExtensionInRequire offenseGeremia Taglialatela
2023-05-03Add RuboCop MinitestGeremia Taglialatela
2023-04-12Mock out external image requests to make the CI more stableKoza
2023-04-12Rubocop fixesKoza
2023-04-12improve testsSebastiano
2023-04-12improve validationSebastiano
add test cases
2023-04-10Fix Layout/LeadingCommentSpace offensesGeremia Taglialatela
``` rubocop --only Layout/LeadingCommentSpace -a ```
2023-04-08Fix space-related offensesGeremia Taglialatela
- Layout/SpaceAfterComma - Layout/SpaceAroundEqualsInParameterDefault - Layout/SpaceAroundOperators - Layout/SpaceBeforeBlockBraces - Layout/SpaceInsideBlockBraces - Layout/SpaceInsideHashLiteralBraces - Layout/SpaceInsideParens
2023-04-08Fix EmptyLines related offensesGeremia Taglialatela
2020-09-11Restructure examples folder (#47)Zsolt Kozaroczy
Split examples into separate markdown files, each containing a description, sample code, and a screenshot of the resulting xlsx document. The script `generate.rb` is provided to actually generate the example documents by executing the sample code contained in the markdown files.
2018-02-08chore(coverage) increase coverage and cleanuprandym
2015-07-03Remove lowercase extension testmarc
It is no longer needed because now detection is though mime type
2015-07-03Validates whether an image is acceptable through mime typemarc
image/jpeg, image/png & image/gif are considered the allowed mime types for an image. mimemagic gem is added as dependency in order to do the checking. Added tests to check against three supported mime types. A fake jpg fixture (created with 'touch' command) has been added to test that extension is no longer used.
2015-02-11Fix content types for uppercased image file extensionsEdgars Beigarts
2013-08-17file namingRandy Morgan
2013-08-17add uppercase file for image file checking testsRandy Morgan
2013-08-17updated image source validation to use lower case comparison of accepted ↵Randy Morgan
file extensions
2013-07-08Make relationship ids more reliable.Stefan Daschek
Relationship instances now keep track of their own id – this should be much more reliable than the old way of more or less “guessing” the relationship id based on the position of some object in some array. Fixes https://github.com/randym/axlsx/issues/212, especially. Each relationship now has its own, unique id – except for the cases when it doesn’t: Some relationships need to share the same id, see `Relation#should_use_same_id_as?` for the gory details. All tests pass, and the full example.xlsx is generated without errors and looks fine in Excel for Mac 2011. The pivot table example still has the problems mentioned in https://github.com/randym/axlsx/issues/168 – but as far as I can tell I didn’t make it worse (Excel is still be able to “repair” the file, and the repaired file then contains the pivot table).
2012-05-30enable anchor swapping between one and two cell anchors for drawingsRandy Morgan
2012-05-15bring coverage up to 100% and patch a few minor bugs in cell style overrides ↵Randy Morgan
and misnamed app attributes.
2012-04-01rebuild all serialization to use string concatenation instead of nokogiri.Randy Morgan
2012-03-23move requires out of specs and into helper that prepends lib directory for ↵Randy Morgan
requires
2012-02-02Adding in hyperlinking for images as per issue #22Randy Morgan
2011-11-23Adding image support and some document clean up for .8 releaseRandy Morgan