Andy Meneely
47b5f569a4
Rip out old constants from pre args classes
10 years ago
Andy Meneely
a82664d223
Onward and upward.
10 years ago
Andy Meneely
f39dda26d5
I dub thee v0.8
10 years ago
Andy Meneely
08381b86f0
Add quantity explosion to xlsx and csv
...
Closes #78
10 years ago
AlexGorski
69be9e8526
layout file for TheGameCrafter tuck boxes
10 years ago
Andy Meneely
e8d7480a63
Range option shouldn't fail on []
...
Fixes #107
10 years ago
Andy Meneely
c976772b9e
Being even more Ruby 2.1-friendly
10 years ago
Andy Meneely
4be222a915
Being more Ruby 2.1-friendly
10 years ago
Andy Meneely
c8e6f9803c
xlsx,csv: trim whitespace, yield to optional block
...
Closes #108 and #79
10 years ago
Andy Meneely
b136529ed7
Onward and upward
10 years ago
Andy Meneely
3a6ab0cf37
I dub thee v0.7
10 years ago
Andy Meneely
0fe5c55b9e
Embedded icons respect img_dir
10 years ago
Andy Meneely
c6767d10b6
Use summary from save_batch.rb
10 years ago
Andy Meneely
19e38d798f
Require yaml just in case
10 years ago
Andy Meneely
5042ee8edc
Ripping out the notorious input_helpers.rb
10 years ago
Andy Meneely
2dfaf64ef7
Convert data reading methods to args classes
10 years ago
Andy Meneely
82a2538180
Removing dependency on ill-fated input_helpers.rb
10 years ago
Andy Meneely
4d1661ac0b
Convert hand method to args classes
10 years ago
Andy Meneely
697a51d8e5
Cleanup dead code
10 years ago
Andy Meneely
3f2b057466
Convert save_sheet and save_pdf to args classes
10 years ago
Andy Meneely
bcc6d355d2
Convert showcase to args classes
10 years ago
Andy Meneely
f8a18cdbce
Finished porting of save_png over to args classes
10 years ago
Andy Meneely
4aee48dada
Working on save args
10 years ago
Andy Meneely
af53e396dc
Refactoring: remove semicolons
10 years ago
Andy Meneely
a7962e3728
Start porting save methods over to args
10 years ago
Andy Meneely
3e2418d82d
Add in require
10 years ago
Andy Meneely
354a97f100
Add validation to text embed key
10 years ago
Andy Meneely
fed2889aef
text: Reset move_to for valign if doing a stroke outline
...
Contributes to #102
[skip ci]
11 years ago
Andy Meneely
19767c54c4
Implement stroke_strategy option for all drawing operations
...
Fixes #102
11 years ago
Andy Meneely
e03a97ce7e
Add :scale shortcut to width/height of png and svg
...
Allows scaling while keeping the aspect ratio
Closes #91
11 years ago
Andy Meneely
7c756e468d
Remove dead code
11 years ago
Andy Meneely
9d475995e8
Pango scaling of "spacing" in text is done once
...
Spacing also defaults to nil, not zero, as before
Fixes #98
11 years ago
Andy Meneely
54185fe9eb
Warn on non-existing layout
...
Fix #99 and refactor args_loader a bit
11 years ago
Andy Meneely
003a26ae68
Two new built-in layouts: fantasy.yml and economy.yml
...
Contributes to #97
11 years ago
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 .
11 years ago
Andy Meneely
f21e9448e1
Warn when text is ellipsized
...
Closes #80
11 years ago
Andy Meneely
92d866548c
Cleanup of img_dir and testing of input_file.rb
11 years ago
Andy Meneely
813b8f8600
Fix documentation on svg method
11 years ago
Andy Meneely
04ac3f730a
Fix mock object tests
11 years ago
Andy Meneely
e20c644a9a
Implemented new args design for svg and png
...
As part of that implementation, text_embed now supports singleton expansion. Closes #54
11 years ago
Andy Meneely
25b13fd592
Better ability to handle per-dsl-method defaults
11 years ago
Andy Meneely
f2d693f8ff
Updated debugging for new args classes
11 years ago
Andy Meneely
3783640889
Strip trailing and leading whitespace on text args
11 years ago
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.)
11 years ago
Andy Meneely
c66c6bc4f0
Removed img_dir from set method, added specs
11 years ago
Melody
4bc8ba7455
fixes #56 by accounting for case that would produce zero rows
11 years ago
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!
11 years ago
Andy Meneely
1b22542655
Remove dead code
11 years ago
Andy Meneely
79814a43ea
Start migrating text over to new args system
...
Almost there. It's working fine with the sample, but next it's time to write validators to get all this arg logic out of text.rb and make it just about drawing text.
Yes, unit tests aren't updated yet.
[skip ci]
11 years ago
Andy Meneely
6aecdbbb4a
Adding custom colors to the draw arg
11 years ago