Andy Meneely
30361ec566
Deps: force of upgrade nokogiri to 1.6.7
...
This will help with the Windows problems that people had with Roo
2015-11-30 09:59:50 -05:00
Andy Meneely
960ba03137
Samples: add submodule samples/text
2015-11-30 08:50:44 -05:00
Andy Meneely
dc85439350
Samples: new gist for text
2015-11-30 08:50:44 -05:00
Andy Meneely
1c982ec824
squib new: Templates IDEAS, PLAYTESTING, RULES
2015-11-26 23:41:41 -05:00
Andy Meneely
52f3def03b
Samples: _images output
2015-11-24 00:37:44 -05:00
Andy Meneely
35d1bd64c0
Playing around with html diffing on sanity test
2015-11-24 00:37:09 -05:00
Andy Meneely
54b83864c1
Samples: use read-only Gist urls for Travis
2015-11-23 23:43:05 -05:00
Andy Meneely
645c9ff061
Samples: new images gist
2015-11-23 23:39:35 -05:00
Andy Meneely
1c095f2b19
Samples: add helper methods for graph paper look-and-feel
2015-11-23 23:10:35 -05:00
Andy Meneely
7759eed6f3
Fix expected images after rebuild
2015-11-23 22:55:04 -05:00
Andy Meneely
16015a61a7
Rename sample/intro files to be more gist-friendly
2015-11-23 22:52:06 -05:00
Andy Meneely
e8ac34acad
Samples: Make the new submodule gist official
2015-11-23 22:47:40 -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
86f37b1ef6
Add a wiki mention to the CHANGELOG
2015-11-05 10:19:53 -05:00
Andy Meneely
710d28f5a8
Add warning to suppress png scaling warning
...
Close #120
2015-11-02 21:07:14 -05:00
Andy Meneely
7dfcfaafd3
Upgrade roo to 2.2
2015-11-01 20:35:14 -05:00
Andy Meneely
cec44f1c57
Shamelessly poach the last few coverage lines.
2015-10-27 00:32:23 -04:00
Andy Meneely
a57c2a7dad
Make grid option 0.25in spacing by default
2015-10-27 00:02:15 -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
169f9e4ac4
SVGs: now with more cropping power!
...
Contributes to #11
2015-10-26 22:47:42 -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
a82664d223
Onward and upward.
2015-10-26 14:59:50 -04:00
Andy Meneely
f39dda26d5
I dub thee v0.8
2015-10-26 14:51:49 -04:00
Andy Meneely
408194c08f
Document PR #113 on Changelog
2015-10-26 14:47:10 -04:00
Andy Meneely
2013a8f9f4
Documenting latest xlsx and csv changes
2015-10-20 23:45:13 -04:00
Andy Meneely
88686fd9ea
Testing exploding quantities on xlsx
2015-10-20 22:11:40 -04:00
Andy Meneely
e8d7480a63
Range option shouldn't fail on []
...
Fixes #107
2015-10-13 15:01:14 -04:00
Andy Meneely
c976772b9e
Being even more Ruby 2.1-friendly
2015-10-13 14:02:22 -04:00
Andy Meneely
4be222a915
Being more Ruby 2.1-friendly
2015-10-13 13:59:37 -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
521bfac6b2
Added a "Give Help" section to README
2015-09-11 11:41:56 -04:00
Andy Meneely
635507c942
Update on the nokogiri situation
2015-09-11 11:09:03 -04:00
Andy Meneely
b136529ed7
Onward and upward
2015-09-11 11:08:53 -04:00
Andy Meneely
3a6ab0cf37
I dub thee v0.7
2015-09-11 10:45:24 -04:00
Andy Meneely
de79b5d2de
Bump pango, rsvg2, and cairo
2015-09-11 09:09:34 -04:00
Andy Meneely
42747f6b2a
Upgrade to rcairo 1.14.2
2015-09-07 22:48:13 -04:00
Andy Meneely
0fe5c55b9e
Embedded icons respect img_dir
2015-09-07 22:43:07 -04:00
Andy Meneely
c6767d10b6
Use summary from save_batch.rb
2015-08-18 22:40:28 -04:00
Andy Meneely
19e38d798f
Require yaml just in case
2015-08-18 22:34:50 -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
2dfaf64ef7
Convert data reading methods to args classes
2015-08-15 14:44:27 -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
697a51d8e5
Cleanup dead code
2015-08-15 00:01:11 -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
af53e396dc
Refactoring: remove semicolons
2015-08-12 15:22:01 -04:00
Andy Meneely
a7962e3728
Start porting save methods over to args
2015-08-09 23:25:38 -04:00
Andy Meneely
3e2418d82d
Add in require
2015-08-09 22:57:24 -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
10202edb52
Added squib tag to StackOverflow link
2015-07-29 08:25:22 -04:00
Andy Meneely
b11c58d642
README: Added a section on "New to Programming?"
...
[skip ci]
2015-07-28 11:38:28 -04:00
Andy Meneely
7de39618fe
Update regression tests for text
2015-07-28 09:39:21 -04:00
Andy Meneely
3c6f9b913b
README: Add more info to getting help and such.
2015-07-28 09:12:52 -04:00
Andy Meneely
fed2889aef
text: Reset move_to for valign if doing a stroke outline
...
Contributes to #102
[skip ci]
2015-07-27 23:22:22 -04:00
Andy Meneely
2cc5b8d1a0
Documenting the WTFiness of Nokogiri not supporting Ruby 2.2 for way too long
2015-07-27 23:08:38 -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
6af9ff7501
Lock in rspec 3.2 for now
2015-07-27 13:18:59 -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
bfe2c8c4a5
Put the stupid Mac issue on the front README page
...
Based on #88
[skip ci]
2015-07-26 21:57:45 -04:00
Andy Meneely
d899795f2b
Remove debug line
2015-07-26 21:50:54 -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
Andy Meneely
003a26ae68
Two new built-in layouts: fantasy.yml and economy.yml
...
Contributes to #97
2015-07-26 00:59:12 -04:00
Andy Meneely
4d2230cd34
Clean up the CHANGELOG
...
[skip ci]
2015-07-21 22:07:46 -04:00
Andy Meneely
cddea47ba5
Upgrade Roo to 2.1.x
...
Looks like the main difference is that xlsm is now supported, so I added test for it.
2015-07-21 21:47:50 -04:00
Andy Meneely
70a5f48bda
Add nil check for colors, just in case
...
Probably not possible, but provides a more descriptive error than before anyway.
Fixes #84 .
2015-07-21 21:37:54 -04:00
Andy Meneely
f21e9448e1
Warn when text is ellipsized
...
Closes #80
2015-07-21 21:31:50 -04:00
Andy Meneely
92d866548c
Cleanup of img_dir and testing of input_file.rb
2015-07-21 21:04:23 -04:00
Andy Meneely
813b8f8600
Fix documentation on svg method
2015-07-21 20:47:09 -04:00
Andy Meneely
04ac3f730a
Fix mock object tests
2015-07-21 20:44:08 -04:00
Andy Meneely
336c43069a
Removing an over-engineered test
2015-07-21 20:27:26 -04:00
Andy Meneely
e20c644a9a
Implemented new args design for svg and png
...
As part of that implementation, text_embed now supports singleton expansion. Closes #54
2015-07-21 20:27:15 -04:00
Andy Meneely
ff3d057d49
Add a force_id: true example to load_images
2015-07-21 20:17:08 -04:00
Andy Meneely
806cae192b
Document #88 resolution in CHANGELOG
2015-07-12 00:57:57 -04:00
Andy Meneely
25b13fd592
Better ability to handle per-dsl-method defaults
2015-07-12 00:52:34 -04:00
Andy Meneely
f2d693f8ff
Updated debugging for new args classes
2015-07-12 00:51:57 -04:00
Andy Meneely
3783640889
Strip trailing and leading whitespace on text args
2015-07-12 00:35:50 -04:00
Andy Meneely
08d0ac2b60
Starting paint args class - not integrated yet.
...
Draw args also now requires custom_colors from Deck. (Can't trust caller to override the default.)
2015-07-12 00:06:27 -04:00
Andy Meneely
ad15e0f933
Task "rake sanity" now does a clean build, and sanity_only is not clean
2015-07-11 11:04:13 -04:00
Andy Meneely
37a7210751
New spec for validating line caps
...
Because I'm obsessed with code coverage.
2015-07-10 13:03:22 -04:00
Andy Meneely
c66c6bc4f0
Removed img_dir from set method, added specs
2015-07-10 12:43:56 -04:00
Andy Meneely
b234a5a8e7
Actually backfill CHANGELOG for #56 and #96
2015-07-10 10:17:36 -04:00
Andy Meneely
8506104058
Backfill CHANGELOG for #56 , #96
2015-07-10 10:14:09 -04:00
Andy Meneely
e43f68d323
Ported text command over to the new args classes
...
* Involved a big rewrite of arg_loader to accomodate nil and false better. Sadly this meant dumping ||= for if-statements. Blech, but works.
* Updates to regression tests are pretty trivial.
* Removed graphics_text_spec because, even though it looks useful, with rake sanity it really isn't.
* Exposed font on deck as well
Cleaned up graphics/text.rb too!
2015-07-07 23:59:23 -04:00
Andy Meneely
11f827cffa
Documenting zip/map best practice, and learning Ruby Array
...
[skip ci]
2015-07-06 11:23:26 -04:00
Andy Meneely
cc5c540be8
Updated regression specs
...
Mostly from changing colorify to always converting to a string
New ranges example for the idiom
New text options example for dotted
[skip ci]
2015-07-03 20:16:18 -04:00
Andy Meneely
1b22542655
Remove dead code
2015-07-03 16:06:00 -04:00
Andy Meneely
2dd3fc3365
Documented a range idiom
...
In reaction to #90
[skip ci]
2015-07-03 16:01:44 -04:00