Melody
8674d8d946
updates rowify specs to merge default options and cover new test case
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
11f827cffa
Documenting zip/map best practice, and learning Ruby Array
...
[skip ci]
11 years ago
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]
11 years ago
Andy Meneely
1b22542655
Remove dead code
11 years ago
Andy Meneely
2dd3fc3365
Documented a range idiom
...
In reaction to #90
[skip ci]
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
Andy Meneely
f16f285a0a
Update expected draw_shapes.rb PNG for sanity test
11 years ago
Andy Meneely
c931a860a1
Args refactoring: combine polygon, tri, and bezier args into coords
...
As a rule, I think it's better to group args classes together have some extra overhead of extracting unused parameters. For example, we don't *need* to extract "n" for the circle, but the ease of having logically grouped classes is better than having tons of different classes tailored to each command.
11 years ago
Andy Meneely
b5903293d7
Layouts use strings as keys, so that must be realistic
11 years ago
Andy Meneely
78ee185fde
Update sample to use cleaner syntax
11 years ago
Andy Meneely
243b3836c4
Refactor to remove instance_eval
...
When you have a hammer...
11 years ago
Andy Meneely
c5e00f1877
Employing the new args refactoring on all shapes
11 years ago
Andy Meneely
8a7841d64f
Add dash option to drawing operations
...
Currently only impacts rect, but it will impact others with the new design shortly
11 years ago
Andy Meneely
12c5cd675b
Added line cap and join settings for rect and curve
...
More forthcoming - these are proof-of-concept
11 years ago
Andy Meneely
c1e410fe72
First foray into args class refactoring: rect
...
So far, I really like this approach. It allows us to push validation logic out of the Card class and into its own set of classes that can be more easily tested.
Fixes #75 , but we've got a lot more work to do in getting this full scale
11 years ago
Andy Meneely
6c60f21bb0
Refactored drawing to get fill_n_stroke
...
Contributes to #75
11 years ago
Andy Meneely
34851be5d7
Put release date on the changelog
11 years ago
Andy Meneely
9801188b47
Update expected png for star
11 years ago
Andy Meneely
da0fe1b118
Onward and upward.
11 years ago
Andy Meneely
981a9eab0e
I dub thee v0.6.0
11 years ago
Andy Meneely
d957addfc3
Enabling regression tests again
11 years ago
Andy Meneely
a20100f3f8
Hiding private stuff from public documentation
11 years ago
Andy Meneely
07fdfa49d5
README tweaks
...
[skip ci]
11 years ago
Andy Meneely
3bbc787025
Add polygon method to dsl
...
Testing and documentation too.
Closes #67
11 years ago
Andy Meneely
f0b71531aa
Allowing close_path to pass through
11 years ago
Andy Meneely
c3e76a93aa
Fix a syntax error
11 years ago
Andy Meneely
6d8e44920b
Allow unit conversion on radius for star
11 years ago
Andy Meneely
6cf6ec8099
Fix documentation for shapes
11 years ago
Andy Meneely
b1ad59b56f
Document star in changelog
11 years ago
Andy Meneely
0853b6a708
Finish regression testing of star
11 years ago
Andy Meneely
b8536bcabe
Regression and sanity testing for star
...
Closes #72
11 years ago
Andy Meneely
4b63716dfc
Star feature works, testing is still pending
11 years ago
Andy Meneely
14e04a89c7
Started the star feature
...
Contributes to #72
[skip ci]
11 years ago
Andy Meneely
ae1a7bd084
Set a non-symbol default for text embeds
...
Fixes #73 , but in #74 we'll get it right.
11 years ago
Andy Meneely
5ee3df5138
Update changelog for hand command, and other tweaks
...
[skip ci]
11 years ago
Andy Meneely
0154b13e68
Use cairo context wrapper for fill colors on marketing
...
Actually deliver what I promised
Fixes #71
11 years ago
Andy Meneely
a86974d5b8
Regression and sanity testing
11 years ago
Andy Meneely
31b583d134
Implementation of hand
11 years ago
Andy Meneely
824e26d2c2
Hacked together a basic example to work from
11 years ago
Andy Meneely
f0f9b7680d
Starting a basic hand command
11 years ago
Andy Meneely
071f06bdc2
Removing an old side-note.
...
[skip ci]
11 years ago
Andy Meneely
d80d3884b1
Cleanup
11 years ago
Andy Meneely
dab544a53b
Add ellipse method
...
Also experimenting with using stroke_preserve, which in turn may make the other methods less repetitive.
Closes #66
11 years ago
Andy Meneely
9b4eb7f00b
Hide generated folders from SublimeText
11 years ago
Andy Meneely
7c829c21e9
Switch to YARD's master branch now that frameless is integrated
11 years ago
Andy Meneely
6316a5ee0c
Refactor the sublimetext project file
11 years ago
Andy Meneely
ac7769237c
Fix the csv_import.rb sample to function properly
11 years ago