diff options
author | wiz <wiz@pkgsrc.org> | 2016-12-03 18:06:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-12-03 18:06:21 +0000 |
commit | a35fef5027033313cadb3ba2a1a09fd610d03f0e (patch) | |
tree | d2e24d2aa66f359a8ab441b1ff8a0bc649e72675 /games/ruby-squib | |
parent | a322d26bb32fc9409a64b487aea6d635ff10d7b7 (diff) | |
download | pkgsrc-a35fef5027033313cadb3ba2a1a09fd610d03f0e.tar.gz |
Updated ruby-squib to 0.12.0.
Features:
save_pdf now supports crop marks! These are lines drawn in the margins of a PDF file to help you cut. These can be enabled by setting crop_marks: true in your save_pdf call. Can be further customized with crop_margin_bottom, crop_margin_left, crop_margin_right, crop_margin_top, crop_marks, crop_stroke_color, crop_stroke_dash, and crop_stroke_width (#123)
Squib.configure allows you to set options programmatically, overriding your config.yml. This is useful for Rakefiles, and will be documented in my upcoming tutorial on workflows.
Squib.enable_build_globally and Squib.disable_build_globally are new convenience methods for working with the SQUIB_BUILD environment variable. Handy for Rakefiles and Guard sessions for turning certain builds on an off. Also will be documented in upcoming workflow tutorial.
The import methods csv and xlsx now return Squib::DataFrame, which behaves exactly as before - but has more cool features like being able to do data.name instead of data['name']. Also: check out data.to_pretty_text. Check out the docs. (#156)
Bugs:
showcase works as expected when using backend: svg (#179)
Graphics will get flushed upon exit, so working under Guard with backend: svg is more reliable (#180)
Docs:
Wrote out documentation for Squib and GameIcons
Wrote out documentation for Hello World! Dissected
Un-submoduled our samples and simply embedded them into the docs (e.g. Squib Thinks in Arrays). Lots of cleanup there
Wrote up Squib in Action, which documents other Squib projects. Ask for yours to be put there!!
Chores:
Bumped dependency roo to 2.5.1. Nothing that affects Squib users (probably).
Bumped graphics and text dependencies (cairo to 1.15.3, pango+rsvg et al. to 3.1.0). No new features for us, but some stability improvements.
Diffstat (limited to 'games/ruby-squib')
-rw-r--r-- | games/ruby-squib/Makefile | 16 | ||||
-rw-r--r-- | games/ruby-squib/PLIST | 129 | ||||
-rw-r--r-- | games/ruby-squib/distinfo | 10 |
3 files changed, 135 insertions, 20 deletions
diff --git a/games/ruby-squib/Makefile b/games/ruby-squib/Makefile index accce3e4caf..9cebe205931 100644 --- a/games/ruby-squib/Makefile +++ b/games/ruby-squib/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.2 2016/11/19 15:44:56 taca Exp $ +# $NetBSD: Makefile,v 1.3 2016/12/03 18:06:21 wiz Exp $ -DISTNAME= squib-0.11.0 +DISTNAME= squib-0.12.0 #MASTER_SITES= ${MASTER_SITE_GITHUB:=andymeneely/} CATEGORIES= games #GITHUB_TAG= v${PKGVERSION_NOREV} @@ -13,13 +13,13 @@ LICENSE= mit DEPENDS+= ${RUBY_PKGPREFIX}-mercenary>=0.3.4:../../devel/ruby-mercenary DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.6.7:../../textproc/ruby-nokogiri #DEPENDS+= ${RUBY_PKGPREFIX}-pkg-config-[0-9]*:../../devel/ruby-pkg-config -DEPENDS+= ${RUBY_PKGPREFIX}-cairo>=1.15.2:../../graphics/ruby-cairo +DEPENDS+= ${RUBY_PKGPREFIX}-cairo>=1.15.3:../../graphics/ruby-cairo DEPENDS+= ${RUBY_PKGPREFIX}-progressbar>=1.8:../../misc/ruby-progressbar -DEPENDS+= ${RUBY_PKGPREFIX}-roo>=2.4.0:../../math/ruby-roo -DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-pango>=3.0.9:../../devel/ruby-gnome2-pango -DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-rsvg>=3.0.9:../../graphics/ruby-gnome2-rsvg -DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gobject-introspection>=3.0.9:../../devel/ruby-gnome2-gobject-introspection -DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gio>=3.0.9:../../devel/ruby-gnome2-gio +DEPENDS+= ${RUBY_PKGPREFIX}-roo>=2.5.1:../../math/ruby-roo +DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-pango>=3.1.0:../../devel/ruby-gnome2-pango +DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-rsvg>=3.1.0:../../graphics/ruby-gnome2-rsvg +DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gobject-introspection>=3.1.0:../../devel/ruby-gnome2-gobject-introspection +DEPENDS+= ${RUBY_PKGPREFIX}-gnome2-gio>=3.1.0:../../devel/ruby-gnome2-gio RUBY_VERSIONS_ACCEPTED= 22 23 RUBYGEM_OPTIONS+= --format-executable diff --git a/games/ruby-squib/PLIST b/games/ruby-squib/PLIST index 8e066adf21e..09db4eb0606 100644 --- a/games/ruby-squib/PLIST +++ b/games/ruby-squib/PLIST @@ -1,9 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1 2016/11/01 21:48:36 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2016/12/03 18:06:21 wiz Exp $ bin/squib${RUBY_SUFFIX} ${GEM_HOME}/cache/${GEM_NAME}.gem -${GEM_HOME}/specifications/${GEM_NAME}.gemspec ${GEM_LIBDIR}/.gitignore -${GEM_LIBDIR}/.gitmodules ${GEM_LIBDIR}/.travis.yml ${GEM_LIBDIR}/CHANGELOG.md ${GEM_LIBDIR}/CONTRIBUTING.md @@ -50,12 +48,16 @@ ${GEM_LIBDIR}/docs/dsl/build.rst ${GEM_LIBDIR}/docs/dsl/build_groups.rst ${GEM_LIBDIR}/docs/dsl/circle.rst ${GEM_LIBDIR}/docs/dsl/cm.rst +${GEM_LIBDIR}/docs/dsl/configure.rst ${GEM_LIBDIR}/docs/dsl/csv.rst ${GEM_LIBDIR}/docs/dsl/curve.rst +${GEM_LIBDIR}/docs/dsl/data_frame.rst ${GEM_LIBDIR}/docs/dsl/deck.rst ${GEM_LIBDIR}/docs/dsl/disable_build.rst +${GEM_LIBDIR}/docs/dsl/disable_build_globally.rst ${GEM_LIBDIR}/docs/dsl/ellipse.rst ${GEM_LIBDIR}/docs/dsl/enable_build.rst +${GEM_LIBDIR}/docs/dsl/enable_build_globally.rst ${GEM_LIBDIR}/docs/dsl/grid.rst ${GEM_LIBDIR}/docs/dsl/hand.rst ${GEM_LIBDIR}/docs/dsl/hint.rst @@ -83,8 +85,11 @@ ${GEM_LIBDIR}/docs/guides/getting-started/part_0_learning_ruby.rst ${GEM_LIBDIR}/docs/guides/getting-started/part_1_zero_to_game.rst ${GEM_LIBDIR}/docs/guides/getting-started/part_2_iconography.rst ${GEM_LIBDIR}/docs/guides/getting-started/part_3_workflows.rst +${GEM_LIBDIR}/docs/guides/getting-started/part_4_ruby_power.rst ${GEM_LIBDIR}/docs/guides/git.rst +${GEM_LIBDIR}/docs/guides/guard.rst ${GEM_LIBDIR}/docs/guides/hello_world.rst +${GEM_LIBDIR}/docs/guides/projects.rst ${GEM_LIBDIR}/docs/help.rst ${GEM_LIBDIR}/docs/index.rst ${GEM_LIBDIR}/docs/install.rst @@ -142,9 +147,11 @@ ${GEM_LIBDIR}/lib/squib/graphics/hand.rb ${GEM_LIBDIR}/lib/squib/graphics/image.rb ${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/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 @@ -167,15 +174,33 @@ ${GEM_LIBDIR}/lib/squib/project_template/layout.yml ${GEM_LIBDIR}/lib/squib/sample_helpers.rb ${GEM_LIBDIR}/lib/squib/version.rb ${GEM_LIBDIR}/samples/_output/gitkeep.txt +${GEM_LIBDIR}/samples/autoscale_font/.gitignore ${GEM_LIBDIR}/samples/autoscale_font/_autoscale_font.rb +${GEM_LIBDIR}/samples/autoscale_font/card_00_expected.png +${GEM_LIBDIR}/samples/backend/.gitignore +${GEM_LIBDIR}/samples/backend/_backend-config.yml ${GEM_LIBDIR}/samples/backend/_backend.rb +${GEM_LIBDIR}/samples/backend/backend_00_expected.png +${GEM_LIBDIR}/samples/backend/backend_01_expected.png +${GEM_LIBDIR}/samples/backend/backend_vectorized_expected.pdf +${GEM_LIBDIR}/samples/backend/backend_vectors_00_expected.svg +${GEM_LIBDIR}/samples/backend/backend_vectors_01_expected.svg +${GEM_LIBDIR}/samples/backend/shiny-purse.png +${GEM_LIBDIR}/samples/backend/showcase_expected.png +${GEM_LIBDIR}/samples/backend/spanner.svg ${GEM_LIBDIR}/samples/ball.png ${GEM_LIBDIR}/samples/basic.rb ${GEM_LIBDIR}/samples/bug134.rb +${GEM_LIBDIR}/samples/build_groups/.gitignore +${GEM_LIBDIR}/samples/build_groups/Rakefile ${GEM_LIBDIR}/samples/build_groups/build_groups.rb ${GEM_LIBDIR}/samples/cairo_access.rb +${GEM_LIBDIR}/samples/colors/.gitignore ${GEM_LIBDIR}/samples/colors/_colors.rb ${GEM_LIBDIR}/samples/colors/_gradients.rb +${GEM_LIBDIR}/samples/colors/color_constants_00_expected.png +${GEM_LIBDIR}/samples/colors/colors_00_expected.png +${GEM_LIBDIR}/samples/colors/gradient_00_expected.png ${GEM_LIBDIR}/samples/config_disable_quotes.yml ${GEM_LIBDIR}/samples/config_text_markup.rb ${GEM_LIBDIR}/samples/config_text_markup.yml @@ -183,19 +208,65 @@ ${GEM_LIBDIR}/samples/custom-config.yml ${GEM_LIBDIR}/samples/custom_config.rb ${GEM_LIBDIR}/samples/customconfig-imgdir/shiny-purse2.png ${GEM_LIBDIR}/samples/customconfig-imgdir/spanner2.svg +${GEM_LIBDIR}/samples/data/.gitignore ${GEM_LIBDIR}/samples/data/_csv.rb ${GEM_LIBDIR}/samples/data/_excel.rb +${GEM_LIBDIR}/samples/data/explode_quantities.xlsx +${GEM_LIBDIR}/samples/data/quantity_explosion.csv +${GEM_LIBDIR}/samples/data/sample.csv +${GEM_LIBDIR}/samples/data/sample.xlsx +${GEM_LIBDIR}/samples/data/sample_csv_00_expected.png +${GEM_LIBDIR}/samples/data/sample_csv_01_expected.png +${GEM_LIBDIR}/samples/data/sample_csv_qty_00_expected.png +${GEM_LIBDIR}/samples/data/sample_excel_00_expected.png +${GEM_LIBDIR}/samples/data/sample_excel_01_expected.png +${GEM_LIBDIR}/samples/data/sample_excel_02_expected.png +${GEM_LIBDIR}/samples/data/sample_excel_resources_00_expected.png +${GEM_LIBDIR}/samples/data/sample_excel_resources_01_expected.png +${GEM_LIBDIR}/samples/data/sample_xlsx_qty_00_expected.png ${GEM_LIBDIR}/samples/embed_text.rb ${GEM_LIBDIR}/samples/glass-heart.svg ${GEM_LIBDIR}/samples/grit.png ${GEM_LIBDIR}/samples/hello_world.rb +${GEM_LIBDIR}/samples/images/.gitignore ${GEM_LIBDIR}/samples/images/_images.rb +${GEM_LIBDIR}/samples/images/_images_00_expected.png ${GEM_LIBDIR}/samples/images/_more_load_images.rb +${GEM_LIBDIR}/samples/images/angler-fish.png +${GEM_LIBDIR}/samples/images/ball.png +${GEM_LIBDIR}/samples/images/glass-heart.svg +${GEM_LIBDIR}/samples/images/grit.png +${GEM_LIBDIR}/samples/images/offset.svg +${GEM_LIBDIR}/samples/images/robot-golem.svg +${GEM_LIBDIR}/samples/images/shiny-purse.png +${GEM_LIBDIR}/samples/images/spanner.svg +${GEM_LIBDIR}/samples/images/sprites.png +${GEM_LIBDIR}/samples/images/with-alpha.png +${GEM_LIBDIR}/samples/intro/.gitignore ${GEM_LIBDIR}/samples/intro/01_hello.rb ${GEM_LIBDIR}/samples/intro/02_options.rb ${GEM_LIBDIR}/samples/intro/03_layout.rb ${GEM_LIBDIR}/samples/intro/04_arrays.rb ${GEM_LIBDIR}/samples/intro/05_excel.rb +${GEM_LIBDIR}/samples/intro/auto-repair.svg +${GEM_LIBDIR}/samples/intro/crawling.svg +${GEM_LIBDIR}/samples/intro/data.xlsx +${GEM_LIBDIR}/samples/intro/humans.svg +${GEM_LIBDIR}/samples/intro/ninja-mask.svg +${GEM_LIBDIR}/samples/intro/part1_00_expected.png +${GEM_LIBDIR}/samples/intro/part2_00_expected.png +${GEM_LIBDIR}/samples/intro/part3_00_expected.png +${GEM_LIBDIR}/samples/intro/part3_layout.yml +${GEM_LIBDIR}/samples/intro/part4_00_expected.png +${GEM_LIBDIR}/samples/intro/part4_01_expected.png +${GEM_LIBDIR}/samples/intro/part5_00_expected.png +${GEM_LIBDIR}/samples/intro/part5_01_expected.png +${GEM_LIBDIR}/samples/intro/part5_02_expected.png +${GEM_LIBDIR}/samples/intro/part5_03_expected.png +${GEM_LIBDIR}/samples/intro/part5_hand_expected.png +${GEM_LIBDIR}/samples/intro/part5_showcase_expected.png +${GEM_LIBDIR}/samples/intro/pirate-skull.svg +${GEM_LIBDIR}/samples/intro/robot-golem.svg ${GEM_LIBDIR}/samples/layouts/_output/.gitignore ${GEM_LIBDIR}/samples/layouts/builtin_layouts.rb ${GEM_LIBDIR}/samples/layouts/custom-layout.yml @@ -211,21 +282,63 @@ ${GEM_LIBDIR}/samples/layouts/spanner.svg ${GEM_LIBDIR}/samples/load_images_config.yml ${GEM_LIBDIR}/samples/offset.svg ${GEM_LIBDIR}/samples/pokercard.png -${GEM_LIBDIR}/samples/ranges.rb +${GEM_LIBDIR}/samples/project/Gemfile +${GEM_LIBDIR}/samples/project/Guardfile +${GEM_LIBDIR}/samples/project/Rakefile +${GEM_LIBDIR}/samples/project/bw/robot-golem.svg +${GEM_LIBDIR}/samples/project/color/robot-golem.svg +${GEM_LIBDIR}/samples/project/config.yml +${GEM_LIBDIR}/samples/project/layouts/characters.yml +${GEM_LIBDIR}/samples/project/layouts/skills.yml +${GEM_LIBDIR}/samples/project/src/characters.rb +${GEM_LIBDIR}/samples/project/src/skills.rb +${GEM_LIBDIR}/samples/ranges/_ranges.rb +${GEM_LIBDIR}/samples/ranges/glass-heart.svg +${GEM_LIBDIR}/samples/ranges/ranges_00_expected.png +${GEM_LIBDIR}/samples/saves/.gitignore ${GEM_LIBDIR}/samples/saves/_hand.rb ${GEM_LIBDIR}/samples/saves/_portrait_landscape.rb +${GEM_LIBDIR}/samples/saves/_save_pdf.rb ${GEM_LIBDIR}/samples/saves/_saves.rb ${GEM_LIBDIR}/samples/saves/_showcase.rb +${GEM_LIBDIR}/samples/saves/hand_expected.png +${GEM_LIBDIR}/samples/saves/hand_pretty_expected.png +${GEM_LIBDIR}/samples/saves/save-pdf-small_expected.pdf +${GEM_LIBDIR}/samples/saves/save-pdf_expected.pdf +${GEM_LIBDIR}/samples/saves/save_png_00_expected.png +${GEM_LIBDIR}/samples/saves/save_png_trimmed_00_expected.png +${GEM_LIBDIR}/samples/saves/save_sheet_00_expected.png +${GEM_LIBDIR}/samples/saves/save_sheet_01_expected.png +${GEM_LIBDIR}/samples/saves/save_sheet_range_00_expected.png +${GEM_LIBDIR}/samples/saves/save_sheet_range_01_expected.png +${GEM_LIBDIR}/samples/saves/save_single_sheet_00_expected.png +${GEM_LIBDIR}/samples/saves/saves_notrim_01_expected.png +${GEM_LIBDIR}/samples/saves/showcase2_expected.png +${GEM_LIBDIR}/samples/saves/showcase_expected.png +${GEM_LIBDIR}/samples/saves/showcase_individual_00_expected.png +${GEM_LIBDIR}/samples/saves/showcase_individual_01_expected.png +${GEM_LIBDIR}/samples/saves/showcase_individual_02_expected.png +${GEM_LIBDIR}/samples/saves/showcase_individual_03_expected.png +${GEM_LIBDIR}/samples/saves/spanner.svg +${GEM_LIBDIR}/samples/shapes/.gitignore ${GEM_LIBDIR}/samples/shapes/_draw_shapes.rb +${GEM_LIBDIR}/samples/shapes/shape_00_expected.png ${GEM_LIBDIR}/samples/shiny-purse.png ${GEM_LIBDIR}/samples/spanner.svg ${GEM_LIBDIR}/samples/sprites.png +${GEM_LIBDIR}/samples/text/.gitignore +${GEM_LIBDIR}/samples/text/README.md ${GEM_LIBDIR}/samples/text/_text.rb +${GEM_LIBDIR}/samples/text/_text_00_expected.png +${GEM_LIBDIR}/samples/text/config.yml ${GEM_LIBDIR}/samples/text_options.rb ${GEM_LIBDIR}/samples/tgc_proofs.rb ${GEM_LIBDIR}/samples/unicode.rb -${GEM_LIBDIR}/samples/units.rb +${GEM_LIBDIR}/samples/units/_units.rb +${GEM_LIBDIR}/samples/units/units_00_expected.png +${GEM_LIBDIR}/samples/units/using_units.yml ${GEM_LIBDIR}/spec/api/api_data_spec.rb +${GEM_LIBDIR}/spec/api/api_groups_spec.rb ${GEM_LIBDIR}/spec/api/api_settings_spec.rb ${GEM_LIBDIR}/spec/api/api_units_spec.rb ${GEM_LIBDIR}/spec/args/box_spec.rb @@ -286,7 +399,7 @@ ${GEM_LIBDIR}/spec/data/samples/embed_text.rb.txt ${GEM_LIBDIR}/spec/data/samples/hello_world.rb.txt ${GEM_LIBDIR}/spec/data/samples/images/_more_load_images.rb.txt ${GEM_LIBDIR}/spec/data/samples/layouts.rb.txt -${GEM_LIBDIR}/spec/data/samples/ranges.rb.txt +${GEM_LIBDIR}/spec/data/samples/ranges/_ranges.rb.txt ${GEM_LIBDIR}/spec/data/samples/saves/_hand.rb.txt ${GEM_LIBDIR}/spec/data/samples/saves/_portrait_landscape.rb.txt ${GEM_LIBDIR}/spec/data/samples/saves/_save_pdf.rb.txt @@ -295,7 +408,7 @@ ${GEM_LIBDIR}/spec/data/samples/saves/_showcase.rb.txt ${GEM_LIBDIR}/spec/data/samples/shapes/_draw_shapes.rb.txt ${GEM_LIBDIR}/spec/data/samples/text_options.rb.txt ${GEM_LIBDIR}/spec/data/samples/tgc_proofs.rb.txt -${GEM_LIBDIR}/spec/data/samples/units.rb.txt +${GEM_LIBDIR}/spec/data/samples/units/_units.rb.txt ${GEM_LIBDIR}/spec/data/xlsx/basic.xlsx ${GEM_LIBDIR}/spec/data/xlsx/explode_quantities.xlsx ${GEM_LIBDIR}/spec/data/xlsx/formulas.xlsx @@ -305,6 +418,7 @@ ${GEM_LIBDIR}/spec/deck_spec.rb ${GEM_LIBDIR}/spec/graphics/cairo_context_wrapper_spec.rb ${GEM_LIBDIR}/spec/graphics/embedding_utils_spec.rb ${GEM_LIBDIR}/spec/graphics/graphics_save_doc_spec.rb +${GEM_LIBDIR}/spec/import/data_frame_spec.rb ${GEM_LIBDIR}/spec/layout_parser_spec.rb ${GEM_LIBDIR}/spec/logger_spec.rb ${GEM_LIBDIR}/spec/samples/_diffs/gitkeep.txt @@ -374,3 +488,4 @@ ${GEM_LIBDIR}/spec/sanity/sanity_test.rb ${GEM_LIBDIR}/spec/sanity/tests.yml ${GEM_LIBDIR}/spec/spec_helper.rb ${GEM_LIBDIR}/squib.gemspec +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/games/ruby-squib/distinfo b/games/ruby-squib/distinfo index c19eab6bf54..431267e548b 100644 --- a/games/ruby-squib/distinfo +++ b/games/ruby-squib/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2016/11/19 15:44:56 taca Exp $ +$NetBSD: distinfo,v 1.3 2016/12/03 18:06:21 wiz Exp $ -SHA1 (squib-0.11.0.gem) = c1b1ef68b1ea8e0532548fade50ea557e1edb888 -RMD160 (squib-0.11.0.gem) = 733166b33a416b8d18320092587d242c8940744b -SHA512 (squib-0.11.0.gem) = 6bea73bf1ab90d928cfab8031c5a8a5de0723151a1d8de0a5c166bf4eda3a636d63ac40cff9f3dc76c93421eb98772c90fb6f35e0c54b95b888118a5388c8753 -Size (squib-0.11.0.gem) = 2314240 bytes +SHA1 (squib-0.12.0.gem) = 4b423b0671f2f94c2d95b439be191536c1891d2a +RMD160 (squib-0.12.0.gem) = e539adf3eacc142acf55645f9772e8b90c34a62a +SHA512 (squib-0.12.0.gem) = e57047bd82adebf5f14d76f1bf56c31dfc0c09c2c947409bf76ff1452906e14fdeea8ca58b19b9f6c143e047293836a06988d70eeb963b663eb0124ceccf394f +Size (squib-0.12.0.gem) = 6092288 bytes |