Commit Graph

443 Commits (8c4c0e01373d31da7af3a24c76dc2be37ba87017)

Author SHA1 Message Date
Andy Meneely 77e5fcce06 Cleaning up
Although it appears we still have issues with text_options being different on different cards. Very strange.
2015-03-19 00:24:49 -04:00
Andy Meneely c6cb0ca288 Saving a wonky bug example for posterity 2015-03-19 00:24:48 -04:00
Andy Meneely 666dae393d Base functionality of icon embedding working
Contributes to #30
2015-03-19 00:24:47 -04:00
Andy Meneely 58a2f9cd89 Onward and upward. 2015-02-28 21:57:02 -05:00
Andy Meneely 2caacaeece Fixing compatibility with linux os
Thank you, Travis! Turns out the cairo gem isn't perfectly the same in Linux...
2015-02-28 21:39:26 -05:00
Andy Meneely cae7144040 I dub thee v0.4.0 2015-02-28 20:59:58 -05:00
Andy Meneely 82c141fbf4 Better docs on gradient coordinate behaviors 2015-02-28 20:53:59 -05:00
Andy Meneely d744d9d815 Documentation for backend option 2015-02-28 20:36:21 -05:00
Andy Meneely f49bff2388 Add antialias config option
Closes #41
2015-02-28 19:34:46 -05:00
Andy Meneely b5016f90c0 Sorting lines 2015-02-28 09:33:27 -05:00
Andy Meneely 612c042d52 SVG backend: PDF implemented, tests passing
Wrapping up the svg backend work

Still some bugs to stamp out, but this is getting close to release ready.
2015-02-24 22:33:32 -05:00
Andy Meneely 8876b27473 Merging in svg back end work. All but save_doc is done. 2015-02-20 22:56:07 -05:00
Andy Meneely d2543473c7 Fix a leftover x,y stroke on circles
Fixes #35
2015-02-13 12:54:19 -05:00
Andy Meneely 0afe6868c9 Making save more of a true alias for save_png and save_png 2015-02-07 17:22:55 -05:00
Andy Meneely 5235b15fe4 Fixing progress bar increment error.
Fixes #34
2015-02-07 08:19:17 -05:00
Andy Meneely de9568ead8 Onward and upward. 2015-02-02 00:39:19 -05:00
Andy Meneely 52c042af5e I dub thee v0.3.0 2015-02-02 00:33:55 -05:00
Andy Meneely 086fd5fad9 Unit conversion on save_pdf, and arbitrary paper sizes
Closes #21 and #20
2015-02-02 00:20:25 -05:00
Andy Meneely d848178bfe Unit conversion on Squib::Deck.new
Contributes to #21
2015-02-01 23:55:01 -05:00
Andy Meneely 1896689614 Refactoring out the unit conversion to its own place 2015-02-01 23:48:09 -05:00
Andy Meneely 4ecbaa4e31 Implementing format strings for filename counts on multisaves 2015-02-01 23:25:57 -05:00
Andy Meneely 7a53f68393 Implementing mask feature for images
Fixes #32.
2015-02-01 23:04:39 -05:00
Andy Meneely ad66374ae0 Documentation for gradients 2015-01-26 22:52:56 -05:00
Andy Meneely bfbf7a7eba Added support for linear and radial gradients
Closes #29
2015-01-26 22:22:09 -05:00
Andy Meneely cbac56f25d Onward and upward 2015-01-12 23:16:36 -05:00
Andy Meneely 5bce857bed I dub thee v0.2.0 2015-01-12 23:13:39 -05:00
Andy Meneely e4a56a27c5 Fixing docs 2015-01-12 23:07:56 -05:00
Andy Meneely 73d6eb992b Extending a non-existent parent yells at you now
Fixes #24
2015-01-05 23:59:09 -05:00
Andy Meneely c0556153b7 Achievement Unlocked: true 100% coverage. 2015-01-05 23:26:13 -05:00
Andy Meneely b0d4ce8018 Removing dead code 2015-01-05 23:08:52 -05:00
Andy Meneely 31e5d75f59 Refactoring out LayoutParser 2015-01-05 23:07:46 -05:00
Andy Meneely 04783ef8de Add and document basic rakefile 2015-01-05 22:01:15 -05:00
Andy Meneely f3e3082f0e Implement showcase feature
#Closes 26
2015-01-05 21:09:35 -05:00
Andy Meneely 03ea11251d Onwards and upwards 2014-12-31 11:07:28 -05:00
Andy Meneely b8e9d99cba I dub thee v0.1.0 2014-12-31 10:43:13 -05:00
Andy Meneely d3155e3f3f Fixing doc link 2014-12-31 09:37:38 -05:00
Andy Meneely 0da51b4573 Refactoring and documentation 2014-12-31 09:17:21 -05:00
Andy Meneely 574f99af12 Unit conversion handles trailing whitespace 2014-12-31 00:57:19 -05:00
Andy Meneely fd217294c5 Implemented sheet command 2014-12-31 00:47:02 -05:00
Andy Meneely c287e6137c Unit conversion feature added, tested, documented 2014-12-30 13:35:28 -05:00
Andy Meneely 19808c6464 Better parsing of layout files
Handles empty rules and empty files better now.

Fixes #14
2014-12-09 23:14:21 -05:00
Andy Meneely f8f65f3de7 Support png scaling, but warns on use. 2014-12-09 22:59:49 -05:00
Andy Meneely b4faed4ec3 Documentation fixes 2014-12-08 01:18:52 -05:00
Andy Meneely c29f324510 Onwards and upwards 2014-12-08 01:16:53 -05:00
Andy Meneely 321ccb5d24 I dub thee v0.0.6 2014-12-08 00:08:34 -05:00
Andy Meneely 04b55d8b32 Finished CSV feature 2014-12-08 00:05:18 -05:00
Andy Meneely 270577962b Comments for the built-in layouts. 2014-12-07 22:54:50 -05:00
Andy Meneely f60e3721c8 Half-finished csv command 2014-11-26 00:13:45 -05:00
Andy Meneely d5181302ad Implementing ink extent return values 2014-11-25 00:30:28 -05:00
Andy Meneely 569464a575 Support for built-in layouts, with examples 2014-11-18 08:38:48 -05:00
Andy Meneely cad197553b Better logging and docs thereof 2014-11-18 03:14:24 -05:00
Andy Meneely 75ab0b565f Added support for merging multiple layout files 2014-11-17 21:08:57 -05:00
Andy Meneely 288a37231b Onwards and upwards 2014-11-03 23:55:05 -05:00
Andy Meneely 429b231d9c I dub thee v0.0.5 2014-11-03 23:52:04 -05:00
Andy Meneely d4f0105785 Image rotation support for png and svg commands
With unit tests and other refactorings
2014-11-03 22:47:06 -05:00
Andy Meneely 20600a97e6 Rotation works better now!! 2014-11-03 21:51:28 -05:00
Andy Meneely 12f99214f4 Better logger formatting 2014-11-03 09:07:54 -05:00
Andy Meneely 70a1b540c4 Refactoring 2014-11-02 20:54:58 -05:00
Andy Meneely 39a23ea12b Debugging message for needs shows caller 2014-11-02 19:27:40 -05:00
Andy Meneely 450f914dfc More conventional name 2014-11-02 18:44:22 -05:00
Andy Meneely c6e85b0e46 Refactoring to use case more, fixed build 2014-11-02 18:43:11 -05:00
Andy Meneely f4d2d759c1 Allowing strings for some inputs on text
Also writing mock object tests
2014-10-31 15:55:12 -04:00
Andy Meneely 2a58323bd4 Another unit test for dirify 2014-10-29 15:37:45 -04:00
Andy Meneely bf91190b3b Rubocop: TrailingBlankLines 2014-10-29 12:10:37 -04:00
Andy Meneely e115135d51 Rubocop: Using single-quotes properly 2014-10-29 12:04:33 -04:00
Andy Meneely 37fd4e7733 Rubocop: Trailing Whitespace 2014-10-29 12:04:32 -04:00
Andy Meneely 7d0a9ded7e Privatizing this method from the docs 2014-10-25 14:46:09 -04:00
Andy Meneely a60055a9bd Fixing nil for some situations 2014-10-20 15:36:37 -04:00
Andy Meneely 914e40e1f4 Warn about hints and angle
Can't seem to get text hints working with rotating text. Just throwing a warning for now.
2014-10-20 15:08:04 -04:00
Andy Meneely cf2a04c564 Fixing debug 2014-10-20 09:06:02 -04:00
Andy Meneely fddb82668d Version bump 2014-10-17 08:43:44 -04:00
Andy Meneely 01a59b99bb Release for 0.0.4 2014-10-17 08:36:46 -04:00
Andy Meneely 985c925d99 Fixing globally togglable text hints 2014-10-17 08:33:25 -04:00
Andy Meneely 393eeae450 Renamed text :rotation => :angle 2014-10-17 08:17:08 -04:00
David Turner 91e7adafd5 Add text rotation 2014-10-17 08:17:07 -04:00
David Turner cdc994b77a Fix wrong mapping 2014-10-11 00:20:25 -04:00
Andy Meneely 3b926d0d2a Switching to using alpha version to denote development 2014-09-29 07:51:18 -04:00
Andy Meneely f5b0c8be75 Some documentation clarifications 2014-09-21 22:59:37 -04:00
Andy Meneely f2a2ab0573 Bringing back the extends feature
Adding in my own merge key implementation that allows you to bring in
other keys and modfiy the data. Makes moving boxes around easier.

A quasi-revert of 00e8b59144
...but with something useful!
2014-09-21 21:56:18 -04:00
Andy Meneely 985f898729 Documentation and example of autoscaling 2014-09-20 00:27:26 -04:00
Andy Meneely fd2d10771a Added a font_size override for font description 2014-09-19 23:31:44 -04:00
Andy Meneely 15bd02dae2 Onward and upward. 2014-08-30 21:42:16 -04:00
Andy Meneely d4bde92d89 Allowing for save_png to rotate either direction 2014-08-26 16:29:37 -04:00
Andy Meneely 3659579404 Fixing failing test with setting a default 2014-08-21 15:47:00 -04:00
Andy Meneely 56905b08bc Implementing an img_dir configuration setting 2014-08-21 15:44:33 -04:00
Andy Meneely 00e8b59144 Ugh, Yaml has a <<: merge key. facepalm: true 2014-08-14 17:02:28 -04:00
Andy Meneely 6895e1276b Handling of multiple extends in a single entry 2014-08-14 16:20:02 -04:00
Andy Meneely 1371bd81bd Implementing multi-level extends, except for one case 2014-08-14 16:05:12 -04:00
Andy Meneely 8bd814fc1a Some regression tests on loading layouts 2014-08-14 14:35:46 -04:00
Andy Meneely a643cf8025 Hinting is set to off, not nil. Some more tests 2014-08-13 17:08:16 -04:00
Andy Meneely 66ce4a2413 Progress bar on saving is more realistic 2014-08-12 17:10:10 -04:00
Andy Meneely 771543886d Added a force_id option 2014-08-12 16:23:01 -04:00
Andy Meneely b3eb3b6876 Added blending operators to png and svg
Also refactored to start using save/restore more often
2014-08-12 12:23:54 -04:00
Andy Meneely 41038178ad Implementing rotate for save_png 2014-08-11 22:04:16 -04:00
Andy Meneely 15d46182dd Documenting singleton expansion 2014-08-11 16:38:53 -04:00
Andy Meneely 6f2672422b Spacing should be needed for text 2014-08-11 00:39:00 -04:00
Andy Meneely 2598835777 Helpful progress bar text isn't so helpful with singleton expansion 2014-08-11 00:30:09 -04:00
Andy Meneely a88f71b6a2 Cleanup 2014-08-11 00:25:57 -04:00
Andy Meneely 3e08a0d604 Singleton expansion has... expanded!
Closes #13, hopefully
2014-08-11 00:22:04 -04:00
Andy Meneely 91bcfb06e2 Newlines in the logger format 2014-08-11 00:21:04 -04:00
Andy Meneely c2f6ff6e03 Better colorify handling on stroke, fill, and text colors 2014-08-07 23:13:03 -04:00
Andy Meneely 244c18bfe3 Moving API.md to README.md and revising documentation 2014-08-05 23:30:33 -04:00
Andy Meneely f9c572116d Properly suppressing output and testing progress bar 2014-08-05 22:51:43 -04:00
Andy Meneely 6c31320411 Custom colors, closing #1 2014-08-05 21:56:07 -04:00
Andy Meneely 4f575f9761 More unit testsgit pull 2014-08-04 21:56:56 -04:00
Andy Meneely 6b896aa062 Fixing merge conflict 2014-08-03 23:17:00 -04:00
Andy Meneely 3f7d375800 Fixing bug with the logger 2014-08-03 16:53:13 -04:00
Andy Meneely e36e2075fd Documenting the id 2014-08-01 21:48:10 -04:00
Andy Meneely 14ee87f22e More ignores for the project template 2014-08-01 15:45:48 -04:00
Andy Meneely 3e92bf0fc6 Added a (currently infinite) cache of loaded pngs 2014-08-01 15:44:23 -04:00
Andy Meneely 9cde048c00 Spacing! 2014-08-01 15:32:13 -04:00
Andy Meneely 82ff08041e Improving the logging capabilities 2014-08-01 15:31:58 -04:00
Andy Meneely cdbef50949 Showing some defaults 2014-08-01 14:22:26 -04:00
Andy Meneely 3f3f8d2d08 Progress bars are not hints 2014-08-01 14:22:14 -04:00
Andy Meneely 435a7c8d5b Default projects already start with a layout 2014-08-01 14:22:00 -04:00
Andy Meneely 734a48bd1c Hiding this class from documentation 2014-08-01 14:00:07 -04:00
Andy Meneely 202b4c4235 Suppressing progress bar output and getting hints to work 2014-07-31 16:57:49 -04:00
Andy Meneely 8bfdf4b777 Adding progress bars to the custom configuration 2014-07-31 15:20:39 -04:00
Andy Meneely 65f75a3360 Adding a progress bar to save 2014-07-30 16:52:31 -04:00
Andy Meneely 5c6149ad5a Better handling of empty files 2014-07-29 23:50:56 -04:00
Andy Meneely a71fd8f81a Documentation even more Git-realistic 2014-07-29 21:57:30 -04:00
Andy Meneely d157f80f74 Documentation is more Git-realistic 2014-07-29 21:50:23 -04:00
Andy Meneely 7b68b42919 Fixing the new command 2014-07-29 21:48:27 -04:00
Andy Meneely 1d1d5aa034 On to the next version 2014-07-29 21:42:06 -04:00
Andy Meneely e5a889a274 Tons more documentation. 2014-07-29 17:16:19 -04:00
Andy Meneely f3b4ca50a2 Removing warning 2014-07-29 17:00:57 -04:00
Andy Meneely 373d841823 Added support for "extends" in layouts 2014-07-29 16:18:01 -04:00
Andy Meneely 75c01f7d9e Added line primitive 2014-07-29 16:17:29 -04:00
Andy Meneely 10b0e1811e Adding circle and triangle, and example
Closes #7
2014-07-29 16:10:49 -04:00
Andy Meneely e4d1900965 Added circle shape 2014-07-29 14:58:22 -04:00
Andy Meneely 77755cf150 aligning and valigning based on ink, not logical 2014-07-29 14:57:48 -04:00
Andy Meneely fad0f93e4a Custom layouts now support ALL options! 2014-07-29 14:33:34 -04:00
Andy Meneely b0e65d3783 Implementing initial layout functionality 2014-07-29 14:17:38 -04:00
Andy Meneely 7f309869f2 Marking lots of stuff as :nodoc: 2014-07-29 00:34:27 -04:00
Andy Meneely 98c4152a21 Fixing docs for #initialize 2014-07-29 00:19:38 -04:00
Andy Meneely 8b12344c7b Tons of docs, xlsx can be used outside Deck now 2014-07-29 00:16:47 -04:00
Andy Meneely 7315a7d0a2 Don't need this for now 2014-07-28 17:22:33 -04:00
Andy Meneely efe146e1e2 Got all the specs passing! 2014-07-28 17:22:25 -04:00
Andy Meneely f6480445df Stabilizing the code after the options switch. Getting there... 2014-07-28 17:08:57 -04:00
Andy Meneely e38b5dfdbe More sensible default for text coloring 2014-07-28 16:38:42 -04:00
Andy Meneely 3f5adce4a6 Lots of new documentation, in better formatting for new opts 2014-07-28 16:16:01 -04:00
Andy Meneely 10890be8a1 Putting together a global `set` method for defaults 2014-07-28 16:01:46 -04:00
Andy Meneely 50c4da8e1a More work - disabling the test so it runs cleanly for now. 2014-07-25 17:41:15 -04:00
Andy Meneely 093b2cf15b More work on the conversion 2014-07-25 17:38:23 -04:00
Andy Meneely 246b9df9fc Better documentation for text 2014-07-25 13:10:04 -04:00
Andy Meneely 6c60476e42 Starting work on the new options 2014-07-25 13:10:04 -04:00
Andy Meneely d36907b74c More documentation to satisfy Inch 2014-07-24 21:39:48 -04:00
Andy Meneely 323e7ec1f5 Some quick documentation 2014-07-24 21:37:43 -04:00
Andy Meneely e608e21d01 Fixing hinting bug 2014-07-23 22:18:17 -04:00
Andy Meneely d2e99d5bf6 Actually documenting said svg id 2014-07-23 21:47:05 -04:00
Andy Meneely b4702e1d4a Example of svg id being supplied, better input handling of svg ids 2014-07-23 13:17:46 -04:00
Andy Meneely 9784d928d1 svg command can now specify an ID 2014-07-23 09:35:10 -04:00
Andy Meneely b7e9e5459a Removing print statement 2014-07-22 17:40:31 -04:00
Andy Meneely c79462146b Documenting how Enumerables play nicely with text 2014-07-22 16:55:50 -04:00
Andy Meneely 77b7437df0 More documentation for prior methods 2014-07-22 15:34:03 -04:00
Andy Meneely c2ec7947df SVG scaling is now supported! 2014-07-22 14:54:09 -04:00
Andy Meneely b021e9aca3 Moving requires out to main file 2014-07-22 14:30:40 -04:00
Andy Meneely bda920ebe6 Adding stroke and fill to rect 2014-07-22 14:30:24 -04:00
Andy Meneely d34e4729ce Tons of documentation work 2014-07-21 17:02:34 -04:00
Andy Meneely 5b9bf0e6d4 Iniital example text 2014-07-20 01:56:59 -04:00
Andy Meneely 0bcac1a76d Adding a basic custom config file
* Also adding in a logger
* Added a sample for custom config
* Saving a png now creates _output
2014-07-20 01:33:49 -04:00
Andy Meneely 3daea1b452 Putting in _output so the warning doesn't come up 2014-07-20 01:31:56 -04:00
Andy Meneely b64e88ed0e Putting together a basic squib new command 2014-07-20 00:17:05 -04:00
Andy Meneely a6eed0ad3d Added valign, renaming text 2014-07-19 15:30:29 -04:00
Andy Meneely 11d2730b44 PDF support more stable now
* Lays out cards with possiblity of margin, gap, and trim
* Some new directory and file validation
* Added a logger
2014-07-19 01:44:21 -04:00
Andy Meneely 0f87a27b55 Fixing bugs in rangeify, adding todo 2014-07-18 15:37:17 -04:00
Andy Meneely a91b3189fc Adding in alpha transparency to png 2014-07-18 15:36:58 -04:00
Andy Meneely d4daeb5625 Selecting the sheet in xlsx actually works now. 2014-07-17 16:44:32 -04:00
Andy Meneely 06cf063126 Better default handling, more samples 2014-07-17 15:54:53 -04:00
Andy Meneely 9da4d0a499 Tons of text features and options added 2014-07-17 15:24:55 -04:00
Andy Meneely c477432239 Color handling handed off to rcairo 2014-07-17 13:11:26 -04:00
Andy Meneely 7ccce99e65 Removing hardcoded test data 2014-07-17 10:58:01 -04:00
Andy Meneely 3f4e001e63 Adding SVG support 2014-07-17 10:55:20 -04:00
Andy Meneely d7c8941620 Whitespace cleanup 2014-07-17 10:53:23 -04:00
Andy Meneely e4f6a51f45 Bump to next version 2014-07-17 09:56:10 -04:00
Andy Meneely 6c1d32a8cd Adding in a png method 2014-07-16 23:14:56 -04:00
Andy Meneely 889414260f Changing default output folder to _output 2014-07-16 16:44:57 -04:00
Andy Meneely 0e351754f3 Adding Excel xlsx support and prefixed images
* New sample!
* New API function!
* Ignoring _img in samples
2014-07-16 15:32:48 -04:00
Andy Meneely f778b2f920 Moving samples out of bin 2014-07-16 12:02:30 -04:00
Andy Meneely 4748f1a32c Writing up some basic rspecs 2014-07-16 11:48:58 -04:00
Andy Meneely c5bc1fc103 Getting text to work 2014-07-16 11:26:48 -04:00
Andy Meneely b001da7ba3 Massive rewrite to use DSL conventions 2014-07-16 10:39:10 -04:00
Andy Meneely e036d36737 More exploration spikes
* Playing with PDF support
* Added background
* Added rectangle
* Split save to save_pdf and save_images since PDFs are way different
* Working on text rendering (non-pango for now, but that'll change)
2014-07-13 01:10:24 -04:00
Andy Meneely 6fd2ab8684 Fixing syntax error 2014-07-12 12:48:01 -04:00
Andy Meneely 468f13b513 Got the example workingrake install && squib-eg 2014-07-12 10:23:25 -04:00
Andy Meneely c27514b493 Working on new files 2014-07-11 23:58:28 -04:00
Andy Meneely a50c70ae57 Working on new files 2014-07-11 23:58:03 -04:00
Andy Meneely 88202962cc Removing queue require 2014-07-11 21:37:27 -04:00
Andy Meneely 09a668a3a9 Still messing around 2014-07-10 21:53:47 -04:00
Andy Meneely 0224856c9a Putting this in only to take it out soon 2014-07-09 22:43:28 -04:00
Andy Meneely a6e3faa003 Putzing around 2014-07-08 22:36:19 -04:00
Andy Meneely e37ca450c1 Sketching out a visitor pattern 2014-07-08 22:10:35 -04:00
Andy Meneely c552d7bb12 Re-generating gem with bundler 2014-07-08 01:21:21 -04:00