Andy Meneely
0d076b1e85
sprues: rename "template" to "sprue"
...
Also:
* Move stuff around to a builtin/ folder
* Separate out classes to follow my one-class-per-file convention
* Samples are renamed to the underscore convention
I just like the word "sprue", and it's more descriptive than our original choice of "template". If I had to start Squib all over again, I would probably name it "Sprue" :P
9 years ago
Andy Meneely
1cdc9c0d71
samples: reorganize for better sanity
...
Converted to a more consistent organization of each folder for groups of samples
Contributes to #118
9 years ago
Andy Meneely
5c087680ea
regression tests: take off training wheels
9 years ago
Andy Meneely
7c66644955
samples: better units example
9 years ago
Andy Meneely
02c78d8f13
spec: fix regression breakage
9 years ago
Andy Meneely
30395aee56
save_pdf: add crop marks
...
Should satisfy #123
Needs some testing on printers but the functionality is there.
9 years ago
Andy Meneely
87fd3b7b6f
samples: update regression test
10 years ago
Andy Meneely
43ab4b0ae8
samples: gistify colors
10 years ago
Andy Meneely
8cd651d5f1
samples: gistifying excel.rb and csv.rb
10 years ago
Andy Meneely
bd5e6c92f6
samples: gistify saves
10 years ago
Andy Meneely
dd32e3bfae
samples: cleanup regression tests
10 years ago
Andy Meneely
2329a069d1
save_pdf: flush to file
...
Fixes #150
10 years ago
Andy Meneely
0cbcc0c683
👮 string literals should be single-quoted
10 years ago
Andy Meneely
90f319e9f5
Refactor spec runners to be separate tests
10 years ago
Andy Meneely
f33a74cada
Samples: intro gist
...
Also make the sample regression spec more subdirectory friendly
10 years ago
Andy Meneely
8ea553eb95
Updating specs for image cropping
...
Ripped out graphics_images_spec.rb for being annoyingly useless. Too many mock objects!
10 years ago
Andy Meneely
541c8d49ca
Crop PNGs, now with more rounded corners!
...
Contributes to #11
10 years ago
Andy Meneely
8f977f5956
Update text_options.rb sample, and expected output
11 years ago
Andy Meneely
6c60f21bb0
Refactored drawing to get fill_n_stroke
...
Contributes to #75
11 years ago
Andy Meneely
d957addfc3
Enabling regression tests again
11 years ago
Andy Meneely
3bbc787025
Add polygon method to dsl
...
Testing and documentation too.
Closes #67
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
a86974d5b8
Regression and sanity testing
11 years ago
Andy Meneely
923f346575
Redesigning how config files are read, stored, and delegated
...
With the new design, we take the load off of deck.rb and simply delegate methods over to the new conf.rb. This means that things like `antialias` is now available as a method to the normal Squib scripts for easy checking (without being mutable). Squib::Conf also handles parsing and defaults, and any potential input validation we need to do in the future.
Typographer is also set up now as a deck-wide configuration. This may change in the future if we want typography customization per-command, although that seems like a strange use case.
Lots of tests for this one, and lots of cross-cutting concerns in this commit.
This commit also includes some tweaks to rspec tests, including tagging of slow tests for a `rake spec_fastonly`
Conflicts:
spec/samples/samples_regression_spec.rb
spec/spec_helper.rb
squib.sublime-project
11 years ago
Andy Meneely
bed94e47ba
Changing rspec sample regressions to one-at-a-time
11 years ago
Andy Meneely
0185f2dfcf
Fixing up regression tests for release
11 years ago
Andy Meneely
063d5156d6
Allow configuration of typographical replacements, e.g. smart quotes
...
If you're living in a non-UTF-8 character set, then you can configure what quotes are smartly changed.
If my regexes are messing things up, you can also turn this off with smart_quotes: false
Also updated docs.
This closes #50
11 years ago
Andy Meneely
91ba48f80b
Explicitly saving and restoring the matrix
11 years ago
Andy Meneely
784a0dcb90
Updating the regression test
11 years ago
Andy Meneely
574b76873e
Updating regression tests, renamed bezier curve params
11 years ago
Andy Meneely
8876b27473
Merging in svg back end work. All but save_doc is done.
11 years ago
Andy Meneely
578c3cb6a0
Upgrading rspec, fixing mock objects bug
11 years ago
Andy Meneely
b0b69186e7
Don't need these regression logs
11 years ago
Andy Meneely
bfbf7a7eba
Added support for linear and radial gradients
...
Closes #29
11 years ago
Andy Meneely
f3e3082f0e
Implement showcase feature
...
#Closes 26
11 years ago
Andy Meneely
fd217294c5
Implemented sheet command
11 years ago
Andy Meneely
979cd701e6
Added a unicode sample
...
Removed the unicode from the text_options.rb sample so the regression test can be back online.
11 years ago
Andy Meneely
f8f65f3de7
Support png scaling, but warns on use.
11 years ago
Andy Meneely
04b55d8b32
Finished CSV feature
11 years ago
Andy Meneely
44fd5ca745
Disabling the correct test this time
11 years ago
Andy Meneely
a3e3b592fb
Back to disabling these tests until I get answers
11 years ago
Andy Meneely
cb63f94ac2
Attempting to re-enable old tests with new change
11 years ago
Andy Meneely
9e45726bdf
Being more specific about encoding
11 years ago
Andy Meneely
996fab90bd
Disabling the two regression test that fail, for now
11 years ago
Andy Meneely
99ab80fb51
Rewriting and refactoring Squib sample test
11 years ago
Andy Meneely
4c4c96b8b9
Disabling AGAIN for fixing the public broken build
11 years ago
Andy Meneely
550bb80d29
Test stability: scrubbing pango font description differently
11 years ago
Andy Meneely
4389c6d5d2
Disabling this test until it's more stable
11 years ago
Andy Meneely
069f8edb02
Don't need this anymore
11 years ago