Commit Graph

241 Commits (f4d94240e09a96155dbcf2e21141abed673ca970)

Author SHA1 Message Date
Andy Meneely f4d94240e0 import: data frames are here!
Implemented a whole new class to represent the data that comes in from CSV and XLSX. See docs for more info.

Closes #153
2016-12-02 00:17:57 -05:00
Andy Meneely e53e47dde7 build groups: add convenience methods 2016-11-24 14:00:23 -05:00
Andy Meneely 9aac069c76 docs+samples: documenting a project 2016-11-17 21:14:06 -05:00
Andy Meneely 56b5a711e4 dsl: add Squib.configure
I ended up adding this one on a whim, but it feels like a long time coming. We need cleaner support for Rakefiles, and this is a good step toward that I think.
2016-11-17 21:11:12 -05:00
Andy Meneely 6807e0bce0 docs: begin writeup of guard
While writing this I realized that this really should be part of part_3_workflows.rst, so it'll eventually make it into there. But it's recorded in its unpolished form for now.
2016-11-16 15:04:42 -05:00
Andy Meneely e18084d963 deck: flush surface upon exit
Fixes bug #180
2016-11-15 20:02:12 -05:00
Andy Meneely 5c087680ea regression tests: take off training wheels 2016-11-15 15:26:17 -05:00
Andy Meneely 0dcd2a06bc docs: document units better 2016-11-15 15:25:55 -05:00
Andy Meneely 7c66644955 samples: better units example 2016-11-15 15:22:39 -05:00
Andy Meneely 02c78d8f13 spec: fix regression breakage 2016-11-15 14:43:36 -05:00
Andy Meneely 30395aee56 save_pdf: add crop marks
Should satisfy #123

Needs some testing on printers but the functionality is there.
2016-11-01 12:12:03 -04:00
Andy Meneely ee2ed28550 text: rewrite embedding to use set_shape_renderer
No more arcane unicode magic!

Closes #177

Related to #170, #171, #158, #103, and #153 too.
2016-09-15 15:19:56 -04:00
Andy Meneely 0501a94bac test: update regression test for rotated ellipse 2016-09-09 00:29:03 -04:00
Andy Meneely d2eae64da2 shapes: rect and ellipse get the angle option
Closes #162
2016-09-09 00:10:43 -04:00
Andy Meneely 4ec1a33cfd layouts: support unit conversion in extends
fixes bug #173

Also: LayoutParser is now a proper class, as God intended.
2016-09-08 21:32:30 -04:00
Andy Meneely 4ea30c63e2 units: support mm
Closes #161
2016-06-27 11:10:39 -04:00
Andy Meneely 61afecd95d sanity: initial rewrite of sanity testing 2016-04-26 17:17:21 -04:00
Andy Meneely ee0d232478 text: rewrite how image space is carved
Embedded images avoid zero-sized fonts by using non-printable characters instead.

This is for #153 and #103
2016-04-25 23:36:10 -04:00
Andy Meneely bdcd7d94ad save_png: update regression tests 2016-04-25 23:06:29 -04:00
Andy Meneely 87fd3b7b6f samples: update regression test 2016-04-12 13:39:29 -04:00
Andy Meneely 43ab4b0ae8 samples: gistify colors 2016-04-12 00:04:53 -04:00
Andy Meneely 8cd651d5f1 samples: gistifying excel.rb and csv.rb 2016-04-11 22:30:32 -04:00
Andy Meneely bd5e6c92f6 samples: gistify saves 2016-04-11 21:33:15 -04:00
Andy Meneely dd32e3bfae samples: cleanup regression tests 2016-04-11 21:13:34 -04:00
Andy Meneely 795b4e4478 csv: yield to block on each cell
Closes #151

Related to #145
2016-04-11 20:07:55 -04:00
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