Commit Graph

216 Commits (fe06e35f834d0177d6c09b382a132a12b8761ed4)

Author SHA1 Message Date
Andy Meneely 2329a069d1 save_pdf: flush to file
Fixes #150
2016-03-29 13:37:13 -04:00
Andy Meneely d7943da750 csv: allow all Ruby csv parsing options
Closes #149

Generalization on PR #146 by Qgel. Thanks for the contribution!
2016-03-24 02:23:47 -04:00
Andy Meneely 38e3d669c5 tests: show how CSVs can include newlines
Sanity check for #145
2016-03-24 00:07:53 -04:00
Andy Meneely dad2ab5ba9 👮 newline at end of file 2016-03-17 23:51:37 -04:00
Andy Meneely 0cbcc0c683 👮 string literals should be single-quoted 2016-03-17 23:49:04 -04:00
Andy Meneely 65a0fdfd47 👮 leading space in comments 2016-03-17 23:47:32 -04:00
Andy Meneely 0f5b7d0f8e 👮 space inside parens 2016-03-17 23:42:09 -04:00
Andy Meneely 310030eee4 👮 spaces around operators 2016-03-17 23:40:41 -04:00
Andy Meneely 5e09e0f1e1 👮 fix spacing inside hashes 2016-03-17 23:38:48 -04:00
Andy Meneely 137e3f91cd 👮 fix extra spaces 2016-03-17 23:27:07 -04:00
Andy Meneely 8a9552126c 👮 fix space after comma 2016-03-17 23:22:16 -04:00
Andy Meneely 6e900c6641 tests: move color setting to config 2016-03-17 13:37:51 -04:00
Andy Meneely 955d64a01f feature: add use_layout method to load layouts at runtime
Closes #141
2016-03-16 17:05:07 -04:00
Andy Meneely f408b7a88f csv: data option
Close #137
2016-03-15 17:45:39 -04:00
Andy Meneely e51b99af85 tests: fix deprecation warning 2016-03-15 17:42:13 -04:00
Andy Meneely cf736db067 Maintain coordinate system when using gradients
Sample: document this better
spec: test this and update past tests

Fixes #127
2016-01-10 20:30:30 -05:00
Andy Meneely 90f319e9f5 Refactor spec runners to be separate tests 2015-12-13 20:36:13 -05:00
Andy Meneely 56319ea817 byebug currently failing on Windows 2015-12-11 23:39:18 -05:00
Andy Meneely 8b0067546f save_png: add trim and trim_radius options
Close #122.
2015-12-11 23:09:04 -05:00
Andy Meneely 35d1bd64c0 Playing around with html diffing on sanity test 2015-11-24 00:37:09 -05:00
Andy Meneely f33a74cada Samples: intro gist
Also make the sample regression spec more subdirectory friendly
2015-11-23 22:44:44 -05:00
Andy Meneely cec44f1c57 Shamelessly poach the last few coverage lines. 2015-10-27 00:32:23 -04:00
Andy Meneely b00cc99dd0 Added a grid shape
Close #68
2015-10-26 23:59:51 -04:00
Andy Meneely d99e840ffd PNG/SVG: flipping is now supported.
Fixes #11
2015-10-26 23:31:16 -04:00
Andy Meneely 8ea553eb95 Updating specs for image cropping
Ripped out graphics_images_spec.rb for being annoyingly useless. Too many mock objects!
2015-10-26 22:52:21 -04:00
Andy Meneely 541c8d49ca Crop PNGs, now with more rounded corners!
Contributes to #11
2015-10-26 22:35:56 -04:00
Andy Meneely 7126afbc9c Warn on conf when an option is not recognized 2015-10-26 16:14:13 -04:00
Andy Meneely 47b5f569a4 Rip out old constants from pre args classes 2015-10-26 15:32:04 -04:00
Andy Meneely 88686fd9ea Testing exploding quantities on xlsx 2015-10-20 22:11:40 -04:00
Andy Meneely 08381b86f0 Add quantity explosion to xlsx and csv
Closes #78
2015-10-20 18:23:25 -04:00
Andy Meneely e8d7480a63 Range option shouldn't fail on []
Fixes #107
2015-10-13 15:01:14 -04:00
Andy Meneely c8e6f9803c xlsx,csv: trim whitespace, yield to optional block
Closes #108 and #79
2015-10-13 10:37:49 -04:00
Andy Meneely 94a35f6028 Update expected images for sanity test 2015-08-16 00:31:53 -04:00
Andy Meneely 5042ee8edc Ripping out the notorious input_helpers.rb 2015-08-15 14:59:08 -04:00
Andy Meneely 82a2538180 Removing dependency on ill-fated input_helpers.rb 2015-08-15 00:32:44 -04:00
Andy Meneely 4d1661ac0b Convert hand method to args classes 2015-08-15 00:17:29 -04:00
Andy Meneely 3f2b057466 Convert save_sheet and save_pdf to args classes 2015-08-14 23:56:03 -04:00
Andy Meneely bcc6d355d2 Convert showcase to args classes 2015-08-14 21:08:11 -04:00
Andy Meneely f8a18cdbce Finished porting of save_png over to args classes 2015-08-12 23:41:15 -04:00
Andy Meneely 4aee48dada Working on save args 2015-08-12 15:57:58 -04:00
Andy Meneely 354a97f100 Add validation to text embed key 2015-08-09 22:15:10 -04:00
Andy Meneely 40ac6d2b6b Expanding the Working With Text section
[skip ci]
2015-07-29 12:20:35 -04:00
Andy Meneely 7de39618fe Update regression tests for text 2015-07-28 09:39:21 -04:00
Andy Meneely 19767c54c4 Implement stroke_strategy option for all drawing operations
Fixes #102
2015-07-27 22:55:49 -04:00
Andy Meneely 5bbde3a259 Fix compatibility with rspec 3.3 2015-07-27 13:38:43 -04:00
Andy Meneely e03a97ce7e Add :scale shortcut to width/height of png and svg
Allows scaling while keeping the aspect ratio

Closes #91
2015-07-27 13:25:12 -04:00
Andy Meneely 7c756e468d Remove dead code 2015-07-26 23:34:02 -04:00
Andy Meneely 8f977f5956 Update text_options.rb sample, and expected output 2015-07-26 23:25:43 -04:00
Andy Meneely 9d475995e8 Pango scaling of "spacing" in text is done once
Spacing also defaults to nil, not zero, as before

Fixes #98
2015-07-26 22:26:42 -04:00
Andy Meneely 54185fe9eb Warn on non-existing layout
Fix #99 and refactor args_loader a bit
2015-07-26 21:50:43 -04:00