Cory Li
6149023dbb
respect `crop_marks` config option when saving PDF
2017-09-01 09:16:25 -04:00
Noah Callaway
7d23ec70f4
Update comment in header
...
Just a tiny irrelevant change to update the header comment to note the correct genre for this file.
2017-08-14 10:24:47 -04:00
Andy Meneely
96832e1141
README: Ruby 2.2+, fix for #231
2017-07-21 10:56:44 -04:00
Andy Meneely
391193812d
sprues: upgrade to classy_hash 0.2.0
2017-07-17 14:58:45 -04:00
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
2017-07-17 14:48:43 -04:00
Andy Meneely
36dc7ce4eb
cli: squib new gives informative message
...
Also, move the files so we we can eventually add more project templates
2017-07-17 12:27:34 -04:00
Andy Meneely
ad5c53c8bd
cleanup
2017-07-17 12:17:45 -04:00
Andy Meneely
5d3e1120b9
travis: disable caching, remove apt-install
2017-07-17 12:12:17 -04:00
Seh Hui, Leong
25bf0d7a67
Squash @felixleong's pdf-template feature.
...
I will be making revisions based on this, but this is all of his hard work.
Thank you!!!
Conflicts:
squib.gemspec
2017-07-17 11:59:00 -04:00
Andy Meneely
c6aa3983c4
Starting merge of @felixleong's code
...
I'm gonna name these "sprues" and do it a tad different than him, but it'll be mostly his code
2017-07-17 11:52:17 -04:00
Andy Meneely
10e63c845f
Rollup of v0.13.x fixes
...
See v0.13-fixes branch for individual fixes
Conflicts:
CHANGELOG.md
lib/squib/version.rb
squib.gemspec
2017-07-17 11:31:53 -04:00
Andy Meneely
d94a3e676b
Fix for latest dep changes
2017-05-30 16:19:42 -04:00
Andy Meneely
c6e1c67e5f
Fix deprecation warnings
2017-05-30 16:02:23 -04:00
Andy Meneely
5b3548d7aa
Deps: bump and lock in
2017-05-30 15:45:27 -04:00
Andy Meneely
f140ff32fa
Cleanup and tests of yaml method
2017-04-15 21:25:34 -04:00
Adam Blinkinsop
d53fbc1715
Add yaml DSL method to the Deck object.
2017-03-20 08:53:49 -04:00
Adam Blinkinsop
874456e87c
Create sample.yaml
...
To finish up the _yaml.rb sample.
2017-03-20 08:53:49 -04:00
Adam Blinkinsop
04cf7d2c9c
Create _yaml.rb
...
Next up, create sample.yaml
2017-03-20 08:53:49 -04:00
Adam Blinkinsop
563f800ba7
Add a yaml DSL method.
...
I find the yaml format easier to read than csv (when working entirely in text, at least). This loader works on this array-formatted yaml, but not (for whatever reason, possibly library brokenness) on multi-doc format:
```
- title: Foo
rank: 2
- title: Bar
rank: 3
```
2017-03-20 08:53:49 -04:00
Andy Meneely
824a28c87d
Document and test rtl option
2017-03-11 16:39:19 -05:00
Clarence "Sparr" Risher
695bd8fb77
add save_sheet rtl option for duplex printing
2017-03-11 16:28:20 -05:00
Andy Meneely
a55300f844
more tests for circle arc
...
Also document it in the CHANGELOG.
2017-03-10 22:48:22 -05:00
Clarence "Sparr" Risher
ebba554b5d
update existing tests for new functionality
2017-03-10 22:48:21 -05:00
Clarence "Sparr" Risher
1a58adb288
switch arc_ccw true/false to arc_direction :counterclockwise/:clockwise
2017-03-10 22:48:21 -05:00
Clarence "Sparr" Risher
573a1e9e30
implement circle arc feature, no tests
2017-03-10 22:48:21 -05:00
Clarence "Sparr" Risher
599e363e38
replace Dir.mkdir with FileUtils.mkdir_p for recursive creation of nonexistent directories
2017-03-10 20:22:14 -05:00
Andy Meneely
2ab78dd8d4
Onward and upward
2017-01-27 23:16:10 -05:00
Andy Meneely
566d0dfaca
I dub thee v0.13.2
2017-01-27 23:11:17 -05:00
Andy Meneely
00164c9b5c
deps: bump to latest
2017-01-27 23:11:01 -05:00
Andy Meneely
f5810331b0
deps: bump cairo, pango, et al.
2017-01-27 23:03:06 -05:00
Andy Meneely
c690e08a51
I dub thee v0.13.1
2017-01-06 19:50:11 -05:00
Andy Meneely
240d40a0c0
deps: lock in cairo 1.15.3
...
At least until 1.15.4 comes out
2017-01-06 19:47:06 -05:00
Andy Meneely
f2521be199
Onward and upward.
2017-01-04 16:01:35 -05:00
Andy Meneely
a98e0b5acc
I dub thee v0.13
2017-01-04 15:57:37 -05:00
Andy Meneely
a3b6a99e02
gem: shrink gem size. 👊 ...again.
2017-01-04 15:46:08 -05:00
Andy Meneely
a1cbca68ed
samples: fix gitignore issue
2017-01-04 15:37:51 -05:00
Andy Meneely
f4a9a668c2
docs: cleanup and warning fixes
2017-01-04 15:31:29 -05:00
Andy Meneely
1cdc9c0d71
samples: reorganize for better sanity
...
Converted to a more consistent organization of each folder for groups of samples
Contributes to #118
2017-01-04 15:16:11 -05:00
Andy Meneely
5152651813
rake sanity: img diff'ing with CSS blending
...
Got CSS blending properly working for diff'ing images so we can do a quick sanity test on all the samples before releasing.
Works toward #118
2017-01-04 14:19:26 -05:00
Andy Meneely
cdc016c8be
travis: require Ruby 2.4 to pass
2017-01-03 12:43:56 -05:00
Andy Meneely
ce257b6de6
appveyor: bump to Ruby 2.3
2017-01-03 12:43:37 -05:00
Andy Meneely
b8da0dbfae
deps: bump roo, nokogiri. And refactor.
2017-01-03 12:42:30 -05:00
Andy Meneely
f7e5c67a11
docs: add another project
...
Close #194
2017-01-03 12:07:05 -05:00
Andy Meneely
c267e1dda7
spec: rip out flaky mock object test
2017-01-03 12:07:04 -05:00
Andy Meneely
dea4bb38b4
travis: use Ruby 2.4
...
Happy New Year!!
2016-12-31 23:48:26 -05:00
Andy Meneely
3ce5d8b4eb
data: fix wrap_n_pad bug
...
This doesn't make modifications to the original string. If only Ruby used their own convention and did str#concat! instead of str#concat
Fixes #191
[skip ci]
2016-12-22 16:31:23 -05:00
Andy Meneely
db0bf38ec0
save_pdf: full-length crop marks
...
Implements #184
[skip ci]
2016-12-19 17:02:56 -05:00
Andy Meneely
3f218037f0
travis: roll back ruby 2.3.3
2016-12-19 16:42:33 -05:00
Andy Meneely
7ca0b9bd3c
deps: roll back to 3.0.9 for pango et al
2016-12-09 00:21:30 -05:00
Andy Meneely
3a8699145a
deps: simplify dev deps
2016-12-03 00:25:06 -05:00