Andy Meneely
1d4de1e2ad
cli: create an --advanced layout
...
[skip ci]
Needs to be documented (new page?) and needs to be updated for unit tests.
8 years ago
Andy Meneely
3b5fdfaf61
move location of built-in layouts
8 years ago
Andy Meneely
de4333bcb5
fix require
8 years ago
Andy Meneely
7058689c0b
remove unused class
8 years ago
Andy Meneely
2362e189d7
new methods: safe_zone and cut_zone
8 years ago
Andy Meneely
9b3636cf6f
Revert "first draft of thegamecrafter templates, missing all the complex ones"
...
This reverts commit 7f6d70b886 .
See https://github.com/andymeneely/squib/pull/214#issuecomment-334627919
8 years ago
Clarence "Sparr" Risher
7f6d70b886
first draft of thegamecrafter templates, missing all the complex ones
8 years ago
Damien Salvador
44b899181a
save_pdf: right-to-left support
...
# Conflicts:
# CHANGELOG.md
8 years ago
Clarence "Sparr" Risher
8509ab5728
change x= to *=, add unit tests and improve existing tests
8 years ago
Clarence "Sparr" Risher
b3bd8f03d8
add x= and /= to extends values
8 years ago
Clarence Sparr Risher
2a86b8f215
fix save_sheet to calculate rows correctly based on range
...
Based on PR #207
8 years ago
Seh Hui, Leong
f800c131ff
Respect DPI settings in text, add pt unit
...
This has the compatibility impact that all font sizes should be divided by 3 to maintain their same sizes.
Based on PR #225 . Thanks @felixleong!!
Conflicts:
bin/squib
lib/squib/graphics/text.rb
8 years ago
Andy Meneely
06970b77a6
sprues: polishing up the feature
...
Lots of examples, some better checking, lots of documentation, sanity tests. Lots of little stuff.
8 years ago
Andy Meneely
3ccc6432ab
sprues: better validation errors
8 years ago
Dave Schaefer
52920ab8f0
Card - improve error message when reading invalid svg files
...
Add a test file in samples/images - it's a simple 1x1 pixel white png
saved with a 'svg' extension.
Fix for #228
(cherry picked from commit 32fad2460753a72cc2b0100d0a132512b6eeed81)
# Conflicts:
# lib/squib/graphics/image.rb
8 years ago
Cory Li
6149023dbb
respect `crop_marks` config option when saving PDF
8 years ago
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.
8 years ago
Andy Meneely
17ecf87385
docs: documenting and sampling sprues
8 years ago
Andy Meneely
c969f8ecf4
spec: add a test for making a new sprue
9 years ago
Andy Meneely
23b6d318d2
fix a missing require
9 years ago
Andy Meneely
391193812d
sprues: upgrade to classy_hash 0.2.0
9 years ago
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
36dc7ce4eb
cli: squib new gives informative message
...
Also, move the files so we we can eventually add more project templates
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Andy Meneely
d94a3e676b
Fix for latest dep changes
9 years ago
Andy Meneely
c6e1c67e5f
Fix deprecation warnings
9 years ago
Andy Meneely
f140ff32fa
Cleanup and tests of yaml method
9 years ago
Adam Blinkinsop
d53fbc1715
Add yaml DSL method to the Deck object.
9 years ago
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
```
9 years ago
Clarence "Sparr" Risher
695bd8fb77
add save_sheet rtl option for duplex printing
9 years ago
Clarence "Sparr" Risher
1a58adb288
switch arc_ccw true/false to arc_direction :counterclockwise/:clockwise
9 years ago
Clarence "Sparr" Risher
573a1e9e30
implement circle arc feature, no tests
9 years ago
Clarence "Sparr" Risher
599e363e38
replace Dir.mkdir with FileUtils.mkdir_p for recursive creation of nonexistent directories
9 years ago
Andy Meneely
2ab78dd8d4
Onward and upward
9 years ago
Andy Meneely
566d0dfaca
I dub thee v0.13.2
9 years ago
Andy Meneely
c690e08a51
I dub thee v0.13.1
9 years ago
Andy Meneely
f2521be199
Onward and upward.
9 years ago
Andy Meneely
a98e0b5acc
I dub thee v0.13
9 years ago
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]
9 years ago
Andy Meneely
db0bf38ec0
save_pdf: full-length crop marks
...
Implements #184
[skip ci]
9 years ago
Andy Meneely
cd53644ee4
Onward and upward.
9 years ago
Andy Meneely
73b4ed9697
I dub thee v0.12
9 years ago
Andy Meneely
f4d94240e0
import: data frames are here!
...
Implemented a whole new class to represent the data that comes in from CSV and XLSX. See docs for more info.
Closes #153
9 years ago
Andy Meneely
e53e47dde7
build groups: add convenience methods
9 years ago
Andy Meneely
56b5a711e4
dsl: add Squib.configure
...
I ended up adding this one on a whim, but it feels like a long time coming. We need cleaner support for Rakefiles, and this is a good step toward that I think.
9 years ago
Andy Meneely
c9440ec57c
showcase: use correct width&height vars
...
Fixes #179
9 years ago
Andy Meneely
e18084d963
deck: flush surface upon exit
...
Fixes bug #180
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