pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/ruby-squib games/ruby-squib: update to 0.14.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c09760bea0c
branches:  trunk
changeset: 377267:9c09760bea0c
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Mar 14 14:33:35 2018 +0000

description:
games/ruby-squib: update to 0.14.0

## v0.14.0 / 2017-11-06

Features:
* `save_pdf/save_sheet` method now supports `sprue`, which allows you to define templated layouts and position your cards freely (#217) by @felixleong. See docs for how to use this _very_ powerful 
feature!
* `circle` method now supports various `arc` options, so you can draw partial circles (#211) by @sparr
* `save_sheet` method now supports `rtl` or "right-to-left", for easier duplex printing of backs (#204, #208) by @sparr
* `yaml` method for reading in data, much like `csv` and `xlsx` by @blinks
* Layouts now support `*=` and `/=` operators in addition to `+=` and `-=` (#200).
* `save_pdf` method also supports `rtl` by @vador
* New DSL methods `safe_zone` and `cut_zone` will draw a rectangle inset from the margins for quick proof checking
* New "advanced" option for creating new projects, if you do `squib new --advanced yourgame` (@andymeneely).
* New built-in layout: `party.yml`. (@andymeneely)

Compatibility:
* DPI is correctly respected with font sizes now. To convert to Squib v0.14+, divide your old font sizes by 3 (precisely, 300/96=3.125). By @felixleong

Docs:
* Command-line is better documented now
* Some more examples included in various places

Bugs:
* fix save_sheet to calculate rows correctly based on range (#207) by @sparr

Chores:
* Going back to our policy of locking in our dependencies so that we don't have new gems breaking things.
* Bumped deps, Cairo to 1.15.10 and Pango et al. to 3.1.9

Special thanks to @sparr, @felixleong, @blinks, @vador for all of their work!!

diffstat:

 games/ruby-squib/Makefile |  20 ++++++------
 games/ruby-squib/PLIST    |  78 +++++++++++++++++++++++++++++++++++-----------
 games/ruby-squib/distinfo |  10 +++---
 3 files changed, 74 insertions(+), 34 deletions(-)

diffs (182 lines):

diff -r 395f5c3e4c27 -r 9c09760bea0c games/ruby-squib/Makefile
--- a/games/ruby-squib/Makefile Wed Mar 14 14:32:28 2018 +0000
+++ b/games/ruby-squib/Makefile Wed Mar 14 14:33:35 2018 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2017/09/18 06:43:42 taca Exp $
+# $NetBSD: Makefile,v 1.10 2018/03/14 14:33:35 taca Exp $
 
-DISTNAME=      squib-0.13.4
+DISTNAME=      squib-0.14.0
 #MASTER_SITES= ${MASTER_SITE_GITHUB:=andymeneely/}
-PKGREVISION=   1
 CATEGORIES=    games
 #GITHUB_TAG=   v${PKGVERSION_NOREV}
 
@@ -12,15 +11,16 @@
 LICENSE=       mit
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-mercenary>=0.3.6:../../devel/ruby-mercenary
-DEPENDS+=      ${RUBY_PKGPREFIX}-nokogiri>=1.8.0:../../textproc/ruby-nokogiri
+DEPENDS+=      ${RUBY_PKGPREFIX}-nokogiri>=1.8.1:../../textproc/ruby-nokogiri
+DEPENDS+=      ${RUBY_PKGPREFIX}-classy_hash>=0.2.1<0.3:../../devel/ruby-classy_hash
 #DEPENDS+=     ${RUBY_PKGPREFIX}-pkg-config-[0-9]*:../../devel/ruby-pkg-config
-DEPENDS+=      ${RUBY_PKGPREFIX}-cairo>=1.15.9:../../graphics/ruby-cairo
-DEPENDS+=      ${RUBY_PKGPREFIX}-progressbar>=1.8.1:../../misc/ruby-progressbar
+DEPENDS+=      ${RUBY_PKGPREFIX}-cairo>=1.15.10:../../graphics/ruby-cairo
+DEPENDS+=      ${RUBY_PKGPREFIX}-progressbar>=1.9.0:../../misc/ruby-progressbar
 DEPENDS+=      ${RUBY_PKGPREFIX}-roo>=2.7.1:../../math/ruby-roo
-DEPENDS+=      ${RUBY_PKGPREFIX}-gnome2-pango>=3.1.8:../../devel/ruby-gnome2-pango
-DEPENDS+=      ${RUBY_PKGPREFIX}-gnome2-rsvg>=3.1.8:../../graphics/ruby-gnome2-rsvg
-DEPENDS+=      ${RUBY_PKGPREFIX}-gnome2-gobject-introspection>=3.1.8:../../devel/ruby-gnome2-gobject-introspection
-DEPENDS+=      ${RUBY_PKGPREFIX}-gnome2-gio>=3.1.8:../../devel/ruby-gnome2-gio
+DEPENDS+=      ${RUBY_PKGPREFIX}-gnome2-pango>=3.1.9:../../devel/ruby-gnome2-pango
+DEPENDS+=      ${RUBY_PKGPREFIX}-gnome2-rsvg>=3.1.9:../../graphics/ruby-gnome2-rsvg
+DEPENDS+=      ${RUBY_PKGPREFIX}-gnome2-gobject-introspection>=3.1.9:../../devel/ruby-gnome2-gobject-introspection
+DEPENDS+=      ${RUBY_PKGPREFIX}-gnome2-gio>=3.1.9:../../devel/ruby-gnome2-gio
 
 RUBYGEM_OPTIONS+=      --format-executable
 
diff -r 395f5c3e4c27 -r 9c09760bea0c games/ruby-squib/PLIST
--- a/games/ruby-squib/PLIST    Wed Mar 14 14:32:28 2018 +0000
+++ b/games/ruby-squib/PLIST    Wed Mar 14 14:33:35 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/01/07 22:36:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/03/14 14:33:35 taca Exp $
 bin/squib${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gitignore
@@ -42,11 +42,55 @@
 ${GEM_LIBDIR}/lib/squib/args/scale_box.rb
 ${GEM_LIBDIR}/lib/squib/args/sheet.rb
 ${GEM_LIBDIR}/lib/squib/args/showcase_special.rb
+${GEM_LIBDIR}/lib/squib/args/sprue_file.rb
 ${GEM_LIBDIR}/lib/squib/args/svg_special.rb
 ${GEM_LIBDIR}/lib/squib/args/transform.rb
 ${GEM_LIBDIR}/lib/squib/args/typographer.rb
 ${GEM_LIBDIR}/lib/squib/args/unit_conversion.rb
+${GEM_LIBDIR}/lib/squib/builtin/layouts/economy.yml
+${GEM_LIBDIR}/lib/squib/builtin/layouts/fantasy.yml
+${GEM_LIBDIR}/lib/squib/builtin/layouts/hand.yml
+${GEM_LIBDIR}/lib/squib/builtin/layouts/party.yml
+${GEM_LIBDIR}/lib/squib/builtin/layouts/playing-card.yml
+${GEM_LIBDIR}/lib/squib/builtin/layouts/tuck_box.yml
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/.gitignore
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/ABOUT.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/Gemfile
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/Guardfile
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/IDEAS.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/PLAYTESTING.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/Rakefile
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/_output/gitkeep.txt
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/config.yml
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/data/game.xlsx
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/docs/PNP NOTES.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/docs/RULES.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/img/example.svg
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/layouts/deck.yml
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/src/deck.rb
+${GEM_LIBDIR}/lib/squib/builtin/projects/advanced/src/version.rb
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/.gitignore
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/ABOUT.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/Gemfile
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/IDEAS.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/PLAYTESTING.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/PNP NOTES.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/RULES.md
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/Rakefile
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/_output/gitkeep.txt
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/config.yml
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/deck.rb
+${GEM_LIBDIR}/lib/squib/builtin/projects/basic/layout.yml
+${GEM_LIBDIR}/lib/squib/builtin/sprues/a4_euro_card.yml
+${GEM_LIBDIR}/lib/squib/builtin/sprues/a4_poker_card_8up.yml
+${GEM_LIBDIR}/lib/squib/builtin/sprues/a4_poker_card_9up.yml
+${GEM_LIBDIR}/lib/squib/builtin/sprues/a4_usa_card.yml
+${GEM_LIBDIR}/lib/squib/builtin/sprues/letter_poker_card_9up.yml
+${GEM_LIBDIR}/lib/squib/builtin/sprues/letter_poker_foldable_8up.yml
 ${GEM_LIBDIR}/lib/squib/card.rb
+${GEM_LIBDIR}/lib/squib/commands/cli.rb
+${GEM_LIBDIR}/lib/squib/commands/data/template_option.rb
+${GEM_LIBDIR}/lib/squib/commands/make_sprue.rb
 ${GEM_LIBDIR}/lib/squib/commands/new.rb
 ${GEM_LIBDIR}/lib/squib/conf.rb
 ${GEM_LIBDIR}/lib/squib/constants.rb
@@ -60,30 +104,19 @@
 ${GEM_LIBDIR}/lib/squib/graphics/save_doc.rb
 ${GEM_LIBDIR}/lib/squib/graphics/save_images.rb
 ${GEM_LIBDIR}/lib/squib/graphics/save_pdf.rb
+${GEM_LIBDIR}/lib/squib/graphics/save_sprue.rb
 ${GEM_LIBDIR}/lib/squib/graphics/shapes.rb
 ${GEM_LIBDIR}/lib/squib/graphics/showcase.rb
 ${GEM_LIBDIR}/lib/squib/graphics/text.rb
 ${GEM_LIBDIR}/lib/squib/import/data_frame.rb
 ${GEM_LIBDIR}/lib/squib/layout_parser.rb
-${GEM_LIBDIR}/lib/squib/layouts/economy.yml
-${GEM_LIBDIR}/lib/squib/layouts/fantasy.yml
-${GEM_LIBDIR}/lib/squib/layouts/hand.yml
-${GEM_LIBDIR}/lib/squib/layouts/playing-card.yml
-${GEM_LIBDIR}/lib/squib/layouts/tuck_box.yml
 ${GEM_LIBDIR}/lib/squib/progress.rb
-${GEM_LIBDIR}/lib/squib/project_template/.gitignore
-${GEM_LIBDIR}/lib/squib/project_template/ABOUT.md
-${GEM_LIBDIR}/lib/squib/project_template/Gemfile
-${GEM_LIBDIR}/lib/squib/project_template/IDEAS.md
-${GEM_LIBDIR}/lib/squib/project_template/PLAYTESTING.md
-${GEM_LIBDIR}/lib/squib/project_template/PNP NOTES.md
-${GEM_LIBDIR}/lib/squib/project_template/RULES.md
-${GEM_LIBDIR}/lib/squib/project_template/Rakefile
-${GEM_LIBDIR}/lib/squib/project_template/_output/gitkeep.txt
-${GEM_LIBDIR}/lib/squib/project_template/config.yml
-${GEM_LIBDIR}/lib/squib/project_template/deck.rb
-${GEM_LIBDIR}/lib/squib/project_template/layout.yml
 ${GEM_LIBDIR}/lib/squib/sample_helpers.rb
+${GEM_LIBDIR}/lib/squib/sprues/crop_line.rb
+${GEM_LIBDIR}/lib/squib/sprues/crop_line_dash.rb
+${GEM_LIBDIR}/lib/squib/sprues/invalid_sprue_definition.rb
+${GEM_LIBDIR}/lib/squib/sprues/sprue.rb
+${GEM_LIBDIR}/lib/squib/sprues/sprue_schema.rb
 ${GEM_LIBDIR}/lib/squib/version.rb
 ${GEM_LIBDIR}/samples/autoscale_font/_autoscale_font.rb
 ${GEM_LIBDIR}/samples/backend/_backend.rb
@@ -95,11 +128,11 @@
 ${GEM_LIBDIR}/samples/config/custom_config.rb
 ${GEM_LIBDIR}/samples/data/_csv.rb
 ${GEM_LIBDIR}/samples/data/_excel.rb
+${GEM_LIBDIR}/samples/data/_yaml.rb
 ${GEM_LIBDIR}/samples/hello_world.rb
 ${GEM_LIBDIR}/samples/images/_cairo_access.rb
 ${GEM_LIBDIR}/samples/images/_images.rb
 ${GEM_LIBDIR}/samples/images/_more_load_images.rb
-${GEM_LIBDIR}/samples/images/_unicode.rb
 ${GEM_LIBDIR}/samples/intro/01_hello.rb
 ${GEM_LIBDIR}/samples/intro/02_options.rb
 ${GEM_LIBDIR}/samples/intro/03_layout.rb
@@ -117,6 +150,13 @@
 ${GEM_LIBDIR}/samples/saves/_saves.rb
 ${GEM_LIBDIR}/samples/saves/_showcase.rb
 ${GEM_LIBDIR}/samples/shapes/_draw_shapes.rb
+${GEM_LIBDIR}/samples/shapes/_proofs.rb
+${GEM_LIBDIR}/samples/sprues/_advanced_sprues.rb
+${GEM_LIBDIR}/samples/sprues/_builtin_sprues.rb
+${GEM_LIBDIR}/samples/sprues/_fold_sheet.rb
+${GEM_LIBDIR}/samples/sprues/_hex_tiles.rb
+${GEM_LIBDIR}/samples/sprues/_mints.rb
+${GEM_LIBDIR}/samples/sprues/_sprue_example.rb
 ${GEM_LIBDIR}/samples/text/_embed_text.rb
 ${GEM_LIBDIR}/samples/text/_text.rb
 ${GEM_LIBDIR}/samples/text/_text_options.rb
diff -r 395f5c3e4c27 -r 9c09760bea0c games/ruby-squib/distinfo
--- a/games/ruby-squib/distinfo Wed Mar 14 14:32:28 2018 +0000
+++ b/games/ruby-squib/distinfo Wed Mar 14 14:33:35 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2017/08/14 20:44:08 wiz Exp $
+$NetBSD: distinfo,v 1.8 2018/03/14 14:33:35 taca Exp $
 
-SHA1 (squib-0.13.4.gem) = 0b5d165b80485c0d63a0906e397f0718a0633ce0
-RMD160 (squib-0.13.4.gem) = bcba8246b269c9b1e82fbb0394b820c1865e0c4c
-SHA512 (squib-0.13.4.gem) = 4446a345469284b45c2a9ffcd75937c39038392d98a9f9e103bdc6e217aa91f22c657ef3a1628384214ea2c356de5244112bec79e192119cec77add32d4cc2d6
-Size (squib-0.13.4.gem) = 65536 bytes
+SHA1 (squib-0.14.0.gem) = 5ae10d1ef9429680498c03a92b3a8d22024c914b
+RMD160 (squib-0.14.0.gem) = 022aa9031c7bbcc483253d244fba59f92b277fde
+SHA512 (squib-0.14.0.gem) = 129dbe0df993b1d20ef84af88f423c7810d67f44cd0ba2a8061dfefe468060fac566d413cca6f48e6011c331315ac9abda3beb94777776d599dfb27bd82a8491
+Size (squib-0.14.0.gem) = 85504 bytes



Home | Main Index | Thread Index | Old Index