squib 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/CHANGELOG.md +16 -1
- data/appveyor.yml +2 -3
- data/lib/squib/args/sheet.rb +66 -34
- data/lib/squib/graphics/save_pdf.rb +1 -1
- data/lib/squib/import/data_frame.rb +7 -7
- data/lib/squib/version.rb +1 -1
- data/samples/autoscale_font/_autoscale_font.rb +1 -1
- data/samples/build_groups/build_groups.rb +3 -3
- data/samples/colors/_colors.rb +1 -0
- data/samples/{config_text_markup.rb → config/config_text_markup.rb} +0 -0
- data/samples/{custom_config.rb → config/custom_config.rb} +0 -0
- data/samples/{cairo_access.rb → images/_cairo_access.rb} +0 -0
- data/samples/images/_images.rb +1 -1
- data/samples/{unicode.rb → images/_unicode.rb} +0 -0
- data/samples/intro/01_hello.rb +1 -2
- data/samples/intro/02_options.rb +1 -2
- data/samples/intro/03_layout.rb +1 -2
- data/samples/intro/04_arrays.rb +1 -2
- data/samples/intro/05_excel.rb +3 -4
- data/samples/{tgc_proofs.rb → proofs/_tgc_proofs.rb} +1 -4
- data/samples/saves/_save_pdf.rb +7 -0
- data/samples/{embed_text.rb → text/_embed_text.rb} +1 -0
- data/samples/text/_text.rb +1 -1
- data/samples/{text_options.rb → text/_text_options.rb} +1 -1
- data/samples/{bug134.rb → text/bug134.rb} +0 -0
- data/squib.gemspec +17 -16
- metadata +90 -596
- data/benchmarks/antialias_best.rb +0 -13
- data/benchmarks/antialias_best.yml +0 -1
- data/benchmarks/antialias_fast.rb +0 -13
- data/benchmarks/antialias_fast.yml +0 -1
- data/benchmarks/backend-svg.yml +0 -4
- data/benchmarks/backend_memory.rb +0 -14
- data/benchmarks/backend_svg.rb +0 -14
- data/benchmarks/shiny-purse.png +0 -0
- data/benchmarks/spanner.svg +0 -91
- data/benchmarks/tons_of_png.rb +0 -6
- data/benchmarks/tons_of_svg.rb +0 -7
- data/benchmarks/tons_of_text.rb +0 -8
- data/docs/Makefile +0 -216
- data/docs/_static/css/squibdocs.css +0 -23
- data/docs/args/draw.rst +0 -36
- data/docs/args/expansion.rst +0 -3
- data/docs/args/layout.rst +0 -6
- data/docs/args/output_dir.rst +0 -6
- data/docs/args/range.rst +0 -6
- data/docs/args/transform.rst +0 -51
- data/docs/args/trim.rst +0 -11
- data/docs/args/wh.rst +0 -12
- data/docs/args/xy.rst +0 -12
- data/docs/arrays.rst +0 -80
- data/docs/backends.rst +0 -20
- data/docs/bleed.rst +0 -13
- data/docs/build_groups.rst +0 -45
- data/docs/colors.rst +0 -90
- data/docs/conf.py +0 -287
- data/docs/config.rst +0 -135
- data/docs/data.rst +0 -26
- data/docs/dsl/background.rst +0 -20
- data/docs/dsl/build.rst +0 -32
- data/docs/dsl/build_groups.rst +0 -23
- data/docs/dsl/circle.rst +0 -27
- data/docs/dsl/cm.rst +0 -19
- data/docs/dsl/configure.rst +0 -18
- data/docs/dsl/csv.rst +0 -81
- data/docs/dsl/curve.rst +0 -63
- data/docs/dsl/data_frame.rst +0 -85
- data/docs/dsl/deck.rst +0 -45
- data/docs/dsl/disable_build.rst +0 -25
- data/docs/dsl/disable_build_globally.rst +0 -46
- data/docs/dsl/ellipse.rst +0 -23
- data/docs/dsl/enable_build.rst +0 -25
- data/docs/dsl/enable_build_globally.rst +0 -44
- data/docs/dsl/grid.rst +0 -31
- data/docs/dsl/hand.rst +0 -40
- data/docs/dsl/hint.rst +0 -15
- data/docs/dsl/inches.rst +0 -19
- data/docs/dsl/index.rst +0 -9
- data/docs/dsl/line.rst +0 -52
- data/docs/dsl/mm.rst +0 -19
- data/docs/dsl/png.rst +0 -49
- data/docs/dsl/polygon.rst +0 -28
- data/docs/dsl/rect.rst +0 -22
- data/docs/dsl/save.rst +0 -23
- data/docs/dsl/save_pdf.rst +0 -89
- data/docs/dsl/save_png.rst +0 -46
- data/docs/dsl/save_sheet.rst +0 -55
- data/docs/dsl/showcase.rst +0 -76
- data/docs/dsl/star.rst +0 -35
- data/docs/dsl/svg.rst +0 -119
- data/docs/dsl/text.rst +0 -292
- data/docs/dsl/triangle.rst +0 -50
- data/docs/dsl/use_layout.rst +0 -16
- data/docs/dsl/xlsx.rst +0 -56
- data/docs/guides/game_icons.rst +0 -126
- data/docs/guides/getting-started/index.rst +0 -5
- data/docs/guides/getting-started/part_0_learning_ruby.rst +0 -145
- data/docs/guides/getting-started/part_1_zero_to_game.rst +0 -217
- data/docs/guides/getting-started/part_2_iconography.rst +0 -228
- data/docs/guides/getting-started/part_3_workflows.rst +0 -46
- data/docs/guides/getting-started/part_4_ruby_power.rst +0 -18
- data/docs/guides/git.rst +0 -14
- data/docs/guides/guard.rst +0 -84
- data/docs/guides/hello_world.rst +0 -65
- data/docs/guides/projects.rst +0 -35
- data/docs/help.rst +0 -157
- data/docs/index.rst +0 -35
- data/docs/install.rst +0 -68
- data/docs/layouts.rst +0 -290
- data/docs/learning.rst +0 -12
- data/docs/make.bat +0 -263
- data/docs/parameters.rst +0 -34
- data/docs/server.bat +0 -1
- data/docs/text_feature.rst +0 -115
- data/docs/units.rst +0 -14
- data/samples/autoscale_font/.gitignore +0 -2
- data/samples/autoscale_font/card_00_expected.png +0 -0
- data/samples/backend/.gitignore +0 -1
- data/samples/backend/_backend-config.yml +0 -5
- data/samples/backend/backend_00_expected.png +0 -0
- data/samples/backend/backend_01_expected.png +0 -0
- data/samples/backend/backend_vectorized_expected.pdf +0 -0
- data/samples/backend/backend_vectors_00_expected.svg +0 -84
- data/samples/backend/backend_vectors_01_expected.svg +0 -84
- data/samples/backend/shiny-purse.png +0 -0
- data/samples/backend/showcase_expected.png +0 -0
- data/samples/backend/spanner.svg +0 -91
- data/samples/ball.png +0 -0
- data/samples/build_groups/.gitignore +0 -1
- data/samples/build_groups/Rakefile +0 -25
- data/samples/colors/.gitignore +0 -1
- data/samples/colors/color_constants_00_expected.png +0 -0
- data/samples/colors/colors_00_expected.png +0 -0
- data/samples/colors/gradient_00_expected.png +0 -0
- data/samples/config_disable_quotes.yml +0 -3
- data/samples/config_text_markup.yml +0 -9
- data/samples/custom-config.yml +0 -5
- data/samples/customconfig-imgdir/shiny-purse2.png +0 -0
- data/samples/customconfig-imgdir/spanner2.svg +0 -91
- data/samples/data/.gitignore +0 -1
- data/samples/data/explode_quantities.xlsx +0 -0
- data/samples/data/quantity_explosion.csv +0 -3
- data/samples/data/sample.csv +0 -3
- data/samples/data/sample.xlsx +0 -0
- data/samples/data/sample_csv_00_expected.png +0 -0
- data/samples/data/sample_csv_01_expected.png +0 -0
- data/samples/data/sample_csv_qty_00_expected.png +0 -0
- data/samples/data/sample_excel_00_expected.png +0 -0
- data/samples/data/sample_excel_01_expected.png +0 -0
- data/samples/data/sample_excel_02_expected.png +0 -0
- data/samples/data/sample_excel_resources_00_expected.png +0 -0
- data/samples/data/sample_excel_resources_01_expected.png +0 -0
- data/samples/data/sample_xlsx_qty_00_expected.png +0 -0
- data/samples/glass-heart.svg +0 -52
- data/samples/grit.png +0 -0
- data/samples/images/.gitignore +0 -8
- data/samples/images/_images_00_expected.png +0 -0
- data/samples/images/angler-fish.png +0 -0
- data/samples/images/ball.png +0 -0
- data/samples/images/glass-heart.svg +0 -52
- data/samples/images/grit.png +0 -0
- data/samples/images/offset.svg +0 -85
- data/samples/images/robot-golem.svg +0 -1
- data/samples/images/shiny-purse.png +0 -0
- data/samples/images/spanner.svg +0 -91
- data/samples/images/sprites.png +0 -0
- data/samples/images/with-alpha.png +0 -0
- data/samples/intro/.gitignore +0 -2
- data/samples/intro/auto-repair.svg +0 -1
- data/samples/intro/crawling.svg +0 -1
- data/samples/intro/data.xlsx +0 -0
- data/samples/intro/humans.svg +0 -1
- data/samples/intro/ninja-mask.svg +0 -1
- data/samples/intro/part1_00_expected.png +0 -0
- data/samples/intro/part2_00_expected.png +0 -0
- data/samples/intro/part3_00_expected.png +0 -0
- data/samples/intro/part3_layout.yml +0 -34
- data/samples/intro/part4_00_expected.png +0 -0
- data/samples/intro/part4_01_expected.png +0 -0
- data/samples/intro/part5_00_expected.png +0 -0
- data/samples/intro/part5_01_expected.png +0 -0
- data/samples/intro/part5_02_expected.png +0 -0
- data/samples/intro/part5_03_expected.png +0 -0
- data/samples/intro/part5_hand_expected.png +0 -0
- data/samples/intro/part5_showcase_expected.png +0 -0
- data/samples/intro/pirate-skull.svg +0 -1
- data/samples/intro/robot-golem.svg +0 -1
- data/samples/layouts/custom-layout.yml +0 -60
- data/samples/layouts/custom-layout2.yml +0 -15
- data/samples/layouts/expected_layouts_builtin_economy_00.png +0 -0
- data/samples/layouts/expected_layouts_builtin_fantasy_00.png +0 -0
- data/samples/layouts/expected_layouts_builtin_hand_00.png +0 -0
- data/samples/layouts/expected_layouts_builtin_playing_card_00.png +0 -0
- data/samples/layouts/expected_layouts_builtin_tuck_box_00.png +0 -0
- data/samples/layouts/shiny-purse.png +0 -0
- data/samples/layouts/spanner.svg +0 -91
- data/samples/load_images_config.yml +0 -1
- data/samples/offset.svg +0 -71
- data/samples/pokercard.png +0 -0
- data/samples/project/Gemfile +0 -6
- data/samples/project/Guardfile +0 -18
- data/samples/project/Rakefile +0 -25
- data/samples/project/bw/robot-golem.svg +0 -53
- data/samples/project/color/robot-golem.svg +0 -1
- data/samples/project/config.yml +0 -2
- data/samples/project/layouts/characters.yml +0 -3
- data/samples/project/layouts/skills.yml +0 -3
- data/samples/ranges/glass-heart.svg +0 -52
- data/samples/ranges/ranges_00_expected.png +0 -0
- data/samples/saves/.gitignore +0 -1
- data/samples/saves/hand_expected.png +0 -0
- data/samples/saves/hand_pretty_expected.png +0 -0
- data/samples/saves/save-pdf-small_expected.pdf +0 -0
- data/samples/saves/save-pdf_expected.pdf +0 -0
- data/samples/saves/save_png_00_expected.png +0 -0
- data/samples/saves/save_png_trimmed_00_expected.png +0 -0
- data/samples/saves/save_sheet_00_expected.png +0 -0
- data/samples/saves/save_sheet_01_expected.png +0 -0
- data/samples/saves/save_sheet_range_00_expected.png +0 -0
- data/samples/saves/save_sheet_range_01_expected.png +0 -0
- data/samples/saves/save_single_sheet_00_expected.png +0 -0
- data/samples/saves/saves_notrim_01_expected.png +0 -0
- data/samples/saves/showcase2_expected.png +0 -0
- data/samples/saves/showcase_expected.png +0 -0
- data/samples/saves/showcase_individual_00_expected.png +0 -0
- data/samples/saves/showcase_individual_01_expected.png +0 -0
- data/samples/saves/showcase_individual_02_expected.png +0 -0
- data/samples/saves/showcase_individual_03_expected.png +0 -0
- data/samples/saves/spanner.svg +0 -91
- data/samples/shapes/.gitignore +0 -1
- data/samples/shapes/shape_00_expected.png +0 -0
- data/samples/shiny-purse.png +0 -0
- data/samples/spanner.svg +0 -91
- data/samples/sprites.png +0 -0
- data/samples/text/.gitignore +0 -2
- data/samples/text/README.md +0 -1
- data/samples/text/_text_00_expected.png +0 -0
- data/samples/text/config.yml +0 -2
- data/samples/units/units_00_expected.png +0 -0
- data/samples/units/using_units.yml +0 -10
- data/spec/api/api_data_spec.rb +0 -172
- data/spec/api/api_groups_spec.rb +0 -49
- data/spec/api/api_settings_spec.rb +0 -38
- data/spec/api/api_units_spec.rb +0 -37
- data/spec/args/box_spec.rb +0 -127
- data/spec/args/draw_spec.rb +0 -101
- data/spec/args/embed_key_spec.rb +0 -13
- data/spec/args/input_file_spec.rb +0 -21
- data/spec/args/paint_spec.rb +0 -22
- data/spec/args/paragraph_spec.rb +0 -153
- data/spec/args/range_spec.rb +0 -41
- data/spec/args/save_batch_spec.rb +0 -51
- data/spec/args/scale_box_spec.rb +0 -71
- data/spec/args/sheet_spec.rb +0 -80
- data/spec/args/showcase_special_spec.rb +0 -15
- data/spec/args/transform_spec.rb +0 -25
- data/spec/args/typographer_spec.rb +0 -71
- data/spec/args/unit_conversion_spec.rb +0 -29
- data/spec/card_spec.rb +0 -11
- data/spec/commands/new_spec.rb +0 -48
- data/spec/conf_spec.rb +0 -47
- data/spec/data/conf/basic.yml +0 -1
- data/spec/data/conf/empty.yml +0 -1
- data/spec/data/conf/unrecognized.yml +0 -4
- data/spec/data/csv/basic.csv +0 -3
- data/spec/data/csv/custom_opts.csv +0 -2
- data/spec/data/csv/dup_cols.csv +0 -3
- data/spec/data/csv/newline.csv +0 -3
- data/spec/data/csv/qty.csv +0 -3
- data/spec/data/csv/qty_named.csv +0 -3
- data/spec/data/csv/with_spaces.csv +0 -3
- data/spec/data/csv/yield.csv +0 -3
- data/spec/data/layouts/easy-circular-extends.yml +0 -6
- data/spec/data/layouts/empty-rule.yml +0 -1
- data/spec/data/layouts/empty.yml +0 -1
- data/spec/data/layouts/extends-nonexists.yml +0 -3
- data/spec/data/layouts/extends-units-mixed.yml +0 -8
- data/spec/data/layouts/extends-units.yml +0 -8
- data/spec/data/layouts/hard-circular-extends.yml +0 -9
- data/spec/data/layouts/multi-extends-single-entry.yml +0 -14
- data/spec/data/layouts/multi-level-extends.yml +0 -10
- data/spec/data/layouts/multifile-a.yml +0 -4
- data/spec/data/layouts/multifile-b.yml +0 -4
- data/spec/data/layouts/multifile-extends-a.yml +0 -8
- data/spec/data/layouts/multifile-extends-b.yml +0 -9
- data/spec/data/layouts/no-extends.yml +0 -5
- data/spec/data/layouts/pre-extends.yml +0 -7
- data/spec/data/layouts/self-circular-extends.yml +0 -3
- data/spec/data/layouts/single-extends.yml +0 -7
- data/spec/data/layouts/single-level-multi-extends.yml +0 -12
- data/spec/data/samples/autoscale_font/_autoscale_font.rb.txt +0 -133
- data/spec/data/samples/basic.rb.txt +0 -248
- data/spec/data/samples/cairo_access.rb.txt +0 -59
- data/spec/data/samples/colors/_gradients.rb.txt +0 -84
- data/spec/data/samples/config_text_markup.rb.txt +0 -74
- data/spec/data/samples/custom_config.rb.txt +0 -59
- data/spec/data/samples/data/_csv.rb.txt +0 -231
- data/spec/data/samples/data/_excel.rb.txt +0 -704
- data/spec/data/samples/embed_text.rb.txt +0 -431
- data/spec/data/samples/hello_world.rb.txt +0 -38
- data/spec/data/samples/images/_more_load_images.rb.txt +0 -335
- data/spec/data/samples/layouts.rb.txt +0 -489
- data/spec/data/samples/ranges/_ranges.rb.txt +0 -484
- data/spec/data/samples/saves/_hand.rb.txt +0 -594
- data/spec/data/samples/saves/_portrait_landscape.rb.txt +0 -57
- data/spec/data/samples/saves/_save_pdf.rb.txt +0 -1601
- data/spec/data/samples/saves/_saves.rb.txt +0 -873
- data/spec/data/samples/saves/_showcase.rb.txt +0 -5942
- data/spec/data/samples/shapes/_draw_shapes.rb.txt +0 -757
- data/spec/data/samples/text_options.rb.txt +0 -1158
- data/spec/data/samples/tgc_proofs.rb.txt +0 -102
- data/spec/data/samples/units/_units.rb.txt +0 -53
- data/spec/data/xlsx/basic.xlsx +0 -0
- data/spec/data/xlsx/explode_quantities.xlsx +0 -0
- data/spec/data/xlsx/formulas.xlsx +0 -0
- data/spec/data/xlsx/whitespace.xlsx +0 -0
- data/spec/data/xlsx/with_macros.xlsm +0 -0
- data/spec/deck_spec.rb +0 -73
- data/spec/graphics/cairo_context_wrapper_spec.rb +0 -104
- data/spec/graphics/embedding_utils_spec.rb +0 -73
- data/spec/graphics/graphics_save_doc_spec.rb +0 -74
- data/spec/import/data_frame_spec.rb +0 -251
- data/spec/layout_parser_spec.rb +0 -226
- data/spec/logger_spec.rb +0 -12
- data/spec/samples/_diffs/gitkeep.txt +0 -0
- data/spec/samples/diff-with-css.example.html +0 -39
- data/spec/samples/expected/autoscale_00.png +0 -0
- data/spec/samples/expected/autoscale_01.png +0 -0
- data/spec/samples/expected/autoscale_02.png +0 -0
- data/spec/samples/expected/backend_00.png +0 -0
- data/spec/samples/expected/backend_00.svg +0 -78
- data/spec/samples/expected/backend_01.png +0 -0
- data/spec/samples/expected/backend_01.svg +0 -78
- data/spec/samples/expected/basic_00.png +0 -0
- data/spec/samples/expected/basic_01.png +0 -0
- data/spec/samples/expected/basic_02.png +0 -0
- data/spec/samples/expected/cairo_access_00.png +0 -0
- data/spec/samples/expected/cairo_access_01.png +0 -0
- data/spec/samples/expected/card_00.png +0 -0
- data/spec/samples/expected/card_01.png +0 -0
- data/spec/samples/expected/colors_00.png +0 -0
- data/spec/samples/expected/config_disable_text_00.png +0 -0
- data/spec/samples/expected/config_text_00.png +0 -0
- data/spec/samples/expected/custom-config_00.png +0 -0
- data/spec/samples/expected/embed_00.png +0 -0
- data/spec/samples/expected/embed_multisheet_00.png +0 -0
- data/spec/samples/expected/gitkeep.txt +0 -0
- data/spec/samples/expected/gradient_00.png +0 -0
- data/spec/samples/expected/hand.png +0 -0
- data/spec/samples/expected/hand_pretty.png +0 -0
- data/spec/samples/expected/landscape_00.png +0 -0
- data/spec/samples/expected/layout2_00.png +0 -0
- data/spec/samples/expected/layout_00.png +0 -0
- data/spec/samples/expected/layout_builtin_hand_00.png +0 -0
- data/spec/samples/expected/layout_builtin_playing_card_00.png +0 -0
- data/spec/samples/expected/load_images_00.png +0 -0
- data/spec/samples/expected/portrait_00.png +0 -0
- data/spec/samples/expected/ranges_00.png +0 -0
- data/spec/samples/expected/sample_csv_00.png +0 -0
- data/spec/samples/expected/sample_csv_01.png +0 -0
- data/spec/samples/expected/sample_excel_00.png +0 -0
- data/spec/samples/expected/sample_excel_01.png +0 -0
- data/spec/samples/expected/sample_excel_02.png +0 -0
- data/spec/samples/expected/save_sheet_00.png +0 -0
- data/spec/samples/expected/save_sheet_01.png +0 -0
- data/spec/samples/expected/save_sheet_range_00.png +0 -0
- data/spec/samples/expected/save_sheet_range_01.png +0 -0
- data/spec/samples/expected/save_single_sheet_00.png +0 -0
- data/spec/samples/expected/saves_notrim_01.png +0 -0
- data/spec/samples/expected/shape_00.png +0 -0
- data/spec/samples/expected/showcase.png +0 -0
- data/spec/samples/expected/showcase2.png +0 -0
- data/spec/samples/expected/showcase_individual_00.png +0 -0
- data/spec/samples/expected/showcase_individual_01.png +0 -0
- data/spec/samples/expected/showcase_individual_02.png +0 -0
- data/spec/samples/expected/showcase_individual_03.png +0 -0
- data/spec/samples/expected/text_00.png +0 -0
- data/spec/samples/expected/text_01.png +0 -0
- data/spec/samples/expected/text_02.png +0 -0
- data/spec/samples/expected/tgc_sample_00.png +0 -0
- data/spec/samples/expected/units_00.png +0 -0
- data/spec/samples/run_samples_spec.rb +0 -17
- data/spec/samples/samples_regression_spec.rb +0 -71
- data/spec/samples/sanity.html.erb +0 -28
- data/spec/samples/sanity.rb +0 -70
- data/spec/sanity/.gitignore +0 -1
- data/spec/sanity/sanity.html.erb +0 -42
- data/spec/sanity/sanity_test.rb +0 -42
- data/spec/sanity/tests.yml +0 -12
- data/spec/spec_helper.rb +0 -159
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0967cc973e482c45979cbb2f99f0465fbed5cedd'
|
4
|
+
data.tar.gz: 164a918856be128d6cc37dc4b16bf0c39c1132b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e773043d1beaea633037a97f52e650e095f98901d169e5567f0530db4c370fbfd9227d5ccca907fc950e5450af7dd3f5bb79a74d061ce88e2fb651a9963d7f7
|
7
|
+
data.tar.gz: 5f6a87f980bb94c251f95ceb9c900f3269a0f9057507936c092d55e6e5971f5513fe479ccf175b79721e4e33105347e0e6acbd61d35a0e6cf19077ddd8b20e9b
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,22 @@
|
|
1
1
|
# Squib CHANGELOG
|
2
2
|
Squib follows [semantic versioning](http://semver.org).
|
3
3
|
|
4
|
-
## v0.
|
4
|
+
## v0.13.0 / Unreleased
|
5
|
+
|
6
|
+
Features:
|
7
|
+
* `save_pdf`'s `crop marks` have a `:full` option that draw lines across the entire page.
|
8
|
+
|
9
|
+
Bugs
|
10
|
+
* Fix `Squib::DataFrame#to_pretty_text` modification issue (#191)
|
11
|
+
* Downgraded Pango et al. back to 3.0.9 from 3.1.0 because there are bugs in the new gobject-introspection library.
|
12
|
+
|
13
|
+
Chores:
|
14
|
+
* Shrank the gem itself by ignoring test data. From about 5mb to 64kb - yay!
|
15
|
+
* Bump roo to newest version (2.7.0).
|
16
|
+
* Bumped Nokogiri to latest version (1.7.0).
|
17
|
+
* Re-organized the samples folder for better regression and sanity testing prior to release.
|
18
|
+
|
19
|
+
## v0.12.0 / 2016-12-02
|
5
20
|
|
6
21
|
Features:
|
7
22
|
* `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)
|
data/appveyor.yml
CHANGED
@@ -4,8 +4,8 @@ skip_tags: true
|
|
4
4
|
|
5
5
|
environment:
|
6
6
|
matrix:
|
7
|
-
- ruby_version: "
|
8
|
-
- ruby_version: "
|
7
|
+
- ruby_version: "23"
|
8
|
+
- ruby_version: "23-x64"
|
9
9
|
|
10
10
|
install:
|
11
11
|
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
@@ -14,7 +14,6 @@ install:
|
|
14
14
|
- gem install bundler --quiet --no-ri --no-rdoc
|
15
15
|
- bundler --version
|
16
16
|
- bundle install
|
17
|
-
- git submodule update --init --recursive
|
18
17
|
|
19
18
|
test_script:
|
20
19
|
- rake
|
data/lib/squib/args/sheet.rb
CHANGED
@@ -60,6 +60,10 @@ module Squib
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
+
def validate_crop_marks(arg)
|
64
|
+
arg.to_s.downcase.to_sym unless arg == false
|
65
|
+
end
|
66
|
+
|
63
67
|
def validate_fill_color(arg)
|
64
68
|
colorify(arg, @custom_colors)
|
65
69
|
end
|
@@ -85,40 +89,68 @@ module Squib
|
|
85
89
|
end
|
86
90
|
|
87
91
|
def crop_coords(x, y, deck_w, deck_h)
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
92
|
+
case crop_marks
|
93
|
+
when false
|
94
|
+
[]
|
95
|
+
when :full
|
96
|
+
[
|
97
|
+
{
|
98
|
+
# Vertical, Left
|
99
|
+
x1: x + trim + crop_margin_left, y1: 0,
|
100
|
+
x2: x + trim + crop_margin_left, y2: height - margin + 1
|
101
|
+
},
|
102
|
+
{
|
103
|
+
# Vertical, Right
|
104
|
+
x1: x + deck_w - trim - crop_margin_right, y1: 0,
|
105
|
+
x2: x + deck_w - trim - crop_margin_right, y2: height - margin + 1
|
106
|
+
},
|
107
|
+
{
|
108
|
+
# Horizontal, Top
|
109
|
+
x1: 0 , y1: y + trim + crop_margin_top,
|
110
|
+
x2: width - margin + 1, y2: y + trim + crop_margin_top
|
111
|
+
},
|
112
|
+
{
|
113
|
+
# Horizontal, Bottom
|
114
|
+
x1: 0 , y1: y + deck_h - trim - crop_margin_bottom,
|
115
|
+
x2: width - margin + 1, y2: y + deck_h - trim - crop_margin_bottom
|
116
|
+
},
|
117
|
+
]
|
118
|
+
else # e.g. :margin
|
119
|
+
[
|
120
|
+
{ # Vertical, Upper-left
|
121
|
+
x1: x + trim + crop_margin_left, y1: 0,
|
122
|
+
x2: x + trim + crop_margin_left, y2: margin - 1
|
123
|
+
},
|
124
|
+
{ # Vertical , Upper-right
|
125
|
+
x1: x + deck_w - trim - crop_margin_right, y1: 0,
|
126
|
+
x2: x + deck_w - trim - crop_margin_right, y2: margin - 1
|
127
|
+
},
|
128
|
+
{ # Vertical , Lower-left
|
129
|
+
x1: x + trim + crop_margin_left, y1: height,
|
130
|
+
x2: x + trim + crop_margin_left, y2: height - margin + 1
|
131
|
+
},
|
132
|
+
{ # Vertical , Lower-right
|
133
|
+
x1: x + deck_w - trim - crop_margin_right, y1: height,
|
134
|
+
x2: x + deck_w - trim - crop_margin_right, y2: height - margin + 1
|
135
|
+
},
|
136
|
+
{ # Horizontal, Upper-left
|
137
|
+
x1: 0 , y1: y + trim + crop_margin_top,
|
138
|
+
x2: margin - 1, y2: y + trim + crop_margin_top
|
139
|
+
},
|
140
|
+
{ # Horizontal, Upper-Right
|
141
|
+
x1: width , y1: y + trim + crop_margin_top,
|
142
|
+
x2: width - margin + 1, y2: y + trim + crop_margin_top
|
143
|
+
},
|
144
|
+
{ # Horizontal, Lower-Left
|
145
|
+
x1: 0 , y1: y + deck_h - trim - crop_margin_bottom,
|
146
|
+
x2: margin - 1, y2: y + deck_h - trim - crop_margin_bottom
|
147
|
+
},
|
148
|
+
{ # Horizontal, Lower-Right
|
149
|
+
x1: width, y1: y + deck_h - trim - crop_margin_bottom,
|
150
|
+
x2: width - margin + 1, y2: y + deck_h - trim - crop_margin_bottom
|
151
|
+
},
|
152
|
+
]
|
153
|
+
end
|
122
154
|
end
|
123
155
|
|
124
156
|
end
|
@@ -38,7 +38,7 @@ module Squib
|
|
38
38
|
bar.increment
|
39
39
|
cc.reset_clip
|
40
40
|
cc.translate(-x, -y)
|
41
|
-
draw_crop_marks(cc, x, y, sheet)
|
41
|
+
draw_crop_marks(cc, x, y, sheet)
|
42
42
|
x += card.width + sheet.gap - 2 * sheet.trim
|
43
43
|
if x > (sheet.width - card_width - sheet.margin)
|
44
44
|
x = sheet.margin
|
@@ -86,13 +86,13 @@ module Squib
|
|
86
86
|
end
|
87
87
|
|
88
88
|
def wrap_n_pad(str, max_col)
|
89
|
-
str.to_s
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
89
|
+
new_str = str.to_s + ' ' # handle nil & empty strings
|
90
|
+
new_str = new_str.
|
91
|
+
scan(/.{1,34}/). # break down
|
92
|
+
map { |s| (' ' * max_col) + " | " + s.ljust(34) }.
|
93
|
+
join(" |\n").
|
94
|
+
lstrip # initially no whitespace next to key
|
95
|
+
return new_str + " |\n"
|
96
96
|
end
|
97
97
|
|
98
98
|
def def_column(col)
|
data/lib/squib/version.rb
CHANGED
@@ -7,16 +7,16 @@ Squib::Deck.new(width: 75, height: 75, cards: 2) do
|
|
7
7
|
|
8
8
|
build :print_n_play do
|
9
9
|
rect
|
10
|
-
save_sheet
|
10
|
+
save_sheet prefix: 'build_groups_bw_'
|
11
11
|
end
|
12
12
|
|
13
13
|
build :color do
|
14
14
|
rect stroke_color: :red, dash: '5 5'
|
15
|
-
save_png
|
15
|
+
save_png prefix: 'build_groups_color_'
|
16
16
|
end
|
17
17
|
|
18
18
|
build :test do
|
19
|
-
save_png range: 0,
|
19
|
+
save_png range: 0, prefix: 'build_groups_'
|
20
20
|
end
|
21
21
|
|
22
22
|
end
|
data/samples/colors/_colors.rb
CHANGED
@@ -20,6 +20,7 @@ end
|
|
20
20
|
|
21
21
|
# This script generates a table of the built-in constants
|
22
22
|
Squib::Deck.new(width: 3000, height: 1500) do
|
23
|
+
background color: :white
|
23
24
|
colors = (Cairo::Color.constants - %i(HEX_RE Base RGB CMYK HSV X11))
|
24
25
|
colors.sort_by! {|c| Cairo::Color.parse(c).to_s}
|
25
26
|
x, y, w, h = 0, 0, 300, 50
|
File without changes
|
File without changes
|
File without changes
|
data/samples/images/_images.rb
CHANGED
File without changes
|
data/samples/intro/01_hello.rb
CHANGED
data/samples/intro/02_options.rb
CHANGED
@@ -10,6 +10,5 @@ Squib::Deck.new cards: 1 do
|
|
10
10
|
svg file: 'robot-golem.svg', x: 75, y: 300, width: 675, height: :scale
|
11
11
|
text str: 'Draw two cards', font: 'Serif 36',
|
12
12
|
align: :center, width: :deck, color: '#DFDFE1', y: 1000
|
13
|
-
save_png prefix: 'part2_'
|
13
|
+
save_png prefix: 'part2_'
|
14
14
|
end
|
15
|
-
|
data/samples/intro/03_layout.rb
CHANGED
data/samples/intro/04_arrays.rb
CHANGED
data/samples/intro/05_excel.rb
CHANGED
@@ -8,8 +8,7 @@ Squib::Deck.new cards: 4, layout: 'part3_layout.yml' do
|
|
8
8
|
svg layout: data['class']
|
9
9
|
svg file: data['art'], layout: 'art'
|
10
10
|
text str: data['power'], layout: 'power'
|
11
|
-
save_png prefix: 'part5_'
|
12
|
-
hand file: 'part5_hand.png',
|
13
|
-
showcase file: 'part5_showcase.png'
|
11
|
+
save_png prefix: 'part5_'
|
12
|
+
hand file: 'part5_hand.png', trim_radius: 38
|
13
|
+
showcase file: 'part5_showcase.png'
|
14
14
|
end
|
15
|
-
|
@@ -9,10 +9,7 @@ Squib::Deck.new(width: 825, height: 1125, cards: 1) do
|
|
9
9
|
text str: 'Mastermind', x: 220, y: 78, font: 'Arial 54'
|
10
10
|
text str: 3, x: 75, y: 85, width: 128, font: 'Arial 72', align: :center
|
11
11
|
|
12
|
-
|
13
|
-
svg file: 'spanner.svg', x: 620, y: 218
|
14
|
-
|
15
|
-
# TGC proof overlay
|
12
|
+
# TGC proof overlay (using alpha-transparency)
|
16
13
|
png file: 'pokercard.png', x:0, y:0, alpha: 0.5
|
17
14
|
|
18
15
|
save_png prefix: 'tgc_sample_'
|
data/samples/saves/_save_pdf.rb
CHANGED
@@ -15,4 +15,11 @@ Squib::Deck.new(cards: 8) do
|
|
15
15
|
crop_stroke_dash: '5 5', crop_stroke_color: :red, crop_stroke_width: 4.0,
|
16
16
|
crop_margin_left: '0.3in', crop_margin_right: '0.45in',
|
17
17
|
crop_margin_top: '0.4in', crop_margin_bottom: '0.85in'
|
18
|
+
|
19
|
+
# Full crop marks
|
20
|
+
save_pdf file: 'crops-full.pdf', crop_marks: :full,
|
21
|
+
trim: 0, gap: 20,
|
22
|
+
crop_stroke_dash: '5 5', crop_stroke_color: :red, crop_stroke_width: 4.0,
|
23
|
+
crop_margin_left: '0.3in', crop_margin_right: '0.45in',
|
24
|
+
crop_margin_top: '0.4in', crop_margin_bottom: '0.85in'
|
18
25
|
end
|
@@ -116,6 +116,7 @@ Squib::Deck.new do
|
|
116
116
|
end
|
117
117
|
|
118
118
|
Squib::Deck.new(cards: 3) do
|
119
|
+
background color: :white
|
119
120
|
str = 'Take 1 :tool: and gain 2 :health:.'
|
120
121
|
text(str: str, font: 'Sans', font_size: [18, 26, 35],
|
121
122
|
x: 0, y: 0, width: 180, height: 300, valign: :bottom,
|
data/samples/text/_text.rb
CHANGED
File without changes
|
data/squib.gemspec
CHANGED
@@ -16,32 +16,33 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.summary = 'A Ruby DSL for prototyping card games'
|
17
17
|
spec.description = 'Squib is a Ruby DSL for prototyping card games'
|
18
18
|
spec.authors = ['Andy Meneely']
|
19
|
-
spec.email = '
|
19
|
+
spec.email = 'andy.meneely@gmail.com'
|
20
20
|
spec.homepage = 'https://github.com/andymeneely/squib'
|
21
21
|
|
22
22
|
spec.rdoc_options = ['--charset=UTF-8']
|
23
23
|
spec.extra_rdoc_files = Dir['README.md', 'samples/**/*.rb']
|
24
24
|
|
25
|
-
spec.files = `git ls-files -z`.
|
25
|
+
spec.files = `git ls-files -z`.
|
26
|
+
split("\x0").
|
27
|
+
reject { |f| f.match(%r{^(spec|samples|docs|benchmarks)/}) }
|
26
28
|
spec.executables = spec.files.grep(/^bin\//) { |f| File.basename(f) }
|
27
|
-
spec.test_files = spec.files.grep(/^(
|
29
|
+
spec.test_files = spec.files.grep(/^(spec|samples|docs|benchmarks)\//)
|
28
30
|
spec.require_paths = ['lib']
|
29
31
|
|
30
|
-
spec.add_runtime_dependency 'cairo',
|
31
|
-
spec.add_runtime_dependency '
|
32
|
-
spec.add_runtime_dependency '
|
33
|
-
spec.add_runtime_dependency '
|
34
|
-
spec.add_runtime_dependency '
|
35
|
-
spec.add_runtime_dependency '
|
36
|
-
spec.add_runtime_dependency '
|
37
|
-
spec.add_runtime_dependency '
|
38
|
-
spec.add_runtime_dependency '
|
39
|
-
|
40
|
-
|
32
|
+
spec.add_runtime_dependency 'cairo', '~> 1.15.3'
|
33
|
+
spec.add_runtime_dependency 'gio2', '3.0.9' # for bug 172 # NOT 3.1.0 - broken on Linux
|
34
|
+
spec.add_runtime_dependency 'gobject-introspection', '3.0.9' # NOT 3.1.0 - broken on Linux
|
35
|
+
spec.add_runtime_dependency 'mercenary', '~> 0.3.4'
|
36
|
+
spec.add_runtime_dependency 'nokogiri', '~> 1.7.0'
|
37
|
+
spec.add_runtime_dependency 'pango', '3.0.9' # NOT 3.1.0 - broken on Linux
|
38
|
+
spec.add_runtime_dependency 'roo', '~> 2.7.0'
|
39
|
+
spec.add_runtime_dependency 'rsvg2', '3.0.9' # NOT 3.1.0 - broken on Linux
|
40
|
+
spec.add_runtime_dependency 'ruby-progressbar', '~> 1.8'
|
41
|
+
|
42
|
+
|
43
|
+
spec.add_development_dependency 'bundler', '~> 1.13'
|
41
44
|
spec.add_development_dependency 'rake'
|
42
45
|
spec.add_development_dependency 'rspec', '~> 3.3'
|
43
|
-
spec.add_development_dependency 'redcarpet', '~> 3.1'
|
44
|
-
spec.add_development_dependency 'github-markup', '~> 1.3'
|
45
46
|
spec.add_development_dependency 'coveralls'
|
46
47
|
# spec.add_development_dependency 'byebug'
|
47
48
|
spec.add_development_dependency 'launchy'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: squib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Meneely
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cairo
|
@@ -25,131 +25,131 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.15.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: gio2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.
|
33
|
+
version: 3.0.9
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.
|
40
|
+
version: 3.0.9
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: gobject-introspection
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 3.0.9
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 3.0.9
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: mercenary
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.3.4
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.3.4
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: nokogiri
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.7.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.7.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: pango
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 3.0.9
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 3.0.9
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: roo
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 2.7.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 2.7.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: rsvg2
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 3.
|
117
|
+
version: 3.0.9
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 3.
|
124
|
+
version: 3.0.9
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: ruby-progressbar
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: '1.8'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: '1.8'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: bundler
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '1.
|
145
|
+
version: '1.13'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '1.
|
152
|
+
version: '1.13'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rake
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,34 +178,6 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '3.3'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: redcarpet
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '3.1'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '3.1'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: github-markup
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - "~>"
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '1.3'
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - "~>"
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '1.3'
|
209
181
|
- !ruby/object:Gem::Dependency
|
210
182
|
name: coveralls
|
211
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,7 +221,7 @@ dependencies:
|
|
249
221
|
- !ruby/object:Gem::Version
|
250
222
|
version: '0'
|
251
223
|
description: Squib is a Ruby DSL for prototyping card games
|
252
|
-
email:
|
224
|
+
email: andy.meneely@gmail.com
|
253
225
|
executables:
|
254
226
|
- squib
|
255
227
|
extensions: []
|
@@ -258,19 +230,18 @@ extra_rdoc_files:
|
|
258
230
|
- samples/autoscale_font/_autoscale_font.rb
|
259
231
|
- samples/backend/_backend.rb
|
260
232
|
- samples/basic.rb
|
261
|
-
- samples/bug134.rb
|
262
233
|
- samples/build_groups/build_groups.rb
|
263
|
-
- samples/cairo_access.rb
|
264
234
|
- samples/colors/_colors.rb
|
265
235
|
- samples/colors/_gradients.rb
|
266
|
-
- samples/config_text_markup.rb
|
267
|
-
- samples/custom_config.rb
|
236
|
+
- samples/config/config_text_markup.rb
|
237
|
+
- samples/config/custom_config.rb
|
268
238
|
- samples/data/_csv.rb
|
269
239
|
- samples/data/_excel.rb
|
270
|
-
- samples/embed_text.rb
|
271
240
|
- samples/hello_world.rb
|
241
|
+
- samples/images/_cairo_access.rb
|
272
242
|
- samples/images/_images.rb
|
273
243
|
- samples/images/_more_load_images.rb
|
244
|
+
- samples/images/_unicode.rb
|
274
245
|
- samples/intro/01_hello.rb
|
275
246
|
- samples/intro/02_options.rb
|
276
247
|
- samples/intro/03_layout.rb
|
@@ -280,6 +251,7 @@ extra_rdoc_files:
|
|
280
251
|
- samples/layouts/layouts.rb
|
281
252
|
- samples/project/src/characters.rb
|
282
253
|
- samples/project/src/skills.rb
|
254
|
+
- samples/proofs/_tgc_proofs.rb
|
283
255
|
- samples/ranges/_ranges.rb
|
284
256
|
- samples/saves/_hand.rb
|
285
257
|
- samples/saves/_portrait_landscape.rb
|
@@ -287,10 +259,10 @@ extra_rdoc_files:
|
|
287
259
|
- samples/saves/_save_pdf.rb
|
288
260
|
- samples/saves/_showcase.rb
|
289
261
|
- samples/shapes/_draw_shapes.rb
|
262
|
+
- samples/text/bug134.rb
|
263
|
+
- samples/text/_embed_text.rb
|
290
264
|
- samples/text/_text.rb
|
291
|
-
- samples/
|
292
|
-
- samples/tgc_proofs.rb
|
293
|
-
- samples/unicode.rb
|
265
|
+
- samples/text/_text_options.rb
|
294
266
|
- samples/units/_units.rb
|
295
267
|
files:
|
296
268
|
- ".gitignore"
|
@@ -303,95 +275,7 @@ files:
|
|
303
275
|
- RELEASE TODO.md
|
304
276
|
- Rakefile
|
305
277
|
- appveyor.yml
|
306
|
-
- benchmarks/antialias_best.rb
|
307
|
-
- benchmarks/antialias_best.yml
|
308
|
-
- benchmarks/antialias_fast.rb
|
309
|
-
- benchmarks/antialias_fast.yml
|
310
|
-
- benchmarks/backend-svg.yml
|
311
|
-
- benchmarks/backend_memory.rb
|
312
|
-
- benchmarks/backend_svg.rb
|
313
|
-
- benchmarks/shiny-purse.png
|
314
|
-
- benchmarks/spanner.svg
|
315
|
-
- benchmarks/tons_of_png.rb
|
316
|
-
- benchmarks/tons_of_svg.rb
|
317
|
-
- benchmarks/tons_of_text.rb
|
318
278
|
- bin/squib
|
319
|
-
- docs/Makefile
|
320
|
-
- docs/_static/css/squibdocs.css
|
321
|
-
- docs/args/draw.rst
|
322
|
-
- docs/args/expansion.rst
|
323
|
-
- docs/args/layout.rst
|
324
|
-
- docs/args/output_dir.rst
|
325
|
-
- docs/args/range.rst
|
326
|
-
- docs/args/transform.rst
|
327
|
-
- docs/args/trim.rst
|
328
|
-
- docs/args/wh.rst
|
329
|
-
- docs/args/xy.rst
|
330
|
-
- docs/arrays.rst
|
331
|
-
- docs/backends.rst
|
332
|
-
- docs/bleed.rst
|
333
|
-
- docs/build_groups.rst
|
334
|
-
- docs/colors.rst
|
335
|
-
- docs/conf.py
|
336
|
-
- docs/config.rst
|
337
|
-
- docs/data.rst
|
338
|
-
- docs/dsl/background.rst
|
339
|
-
- docs/dsl/build.rst
|
340
|
-
- docs/dsl/build_groups.rst
|
341
|
-
- docs/dsl/circle.rst
|
342
|
-
- docs/dsl/cm.rst
|
343
|
-
- docs/dsl/configure.rst
|
344
|
-
- docs/dsl/csv.rst
|
345
|
-
- docs/dsl/curve.rst
|
346
|
-
- docs/dsl/data_frame.rst
|
347
|
-
- docs/dsl/deck.rst
|
348
|
-
- docs/dsl/disable_build.rst
|
349
|
-
- docs/dsl/disable_build_globally.rst
|
350
|
-
- docs/dsl/ellipse.rst
|
351
|
-
- docs/dsl/enable_build.rst
|
352
|
-
- docs/dsl/enable_build_globally.rst
|
353
|
-
- docs/dsl/grid.rst
|
354
|
-
- docs/dsl/hand.rst
|
355
|
-
- docs/dsl/hint.rst
|
356
|
-
- docs/dsl/inches.rst
|
357
|
-
- docs/dsl/index.rst
|
358
|
-
- docs/dsl/line.rst
|
359
|
-
- docs/dsl/mm.rst
|
360
|
-
- docs/dsl/png.rst
|
361
|
-
- docs/dsl/polygon.rst
|
362
|
-
- docs/dsl/rect.rst
|
363
|
-
- docs/dsl/save.rst
|
364
|
-
- docs/dsl/save_pdf.rst
|
365
|
-
- docs/dsl/save_png.rst
|
366
|
-
- docs/dsl/save_sheet.rst
|
367
|
-
- docs/dsl/showcase.rst
|
368
|
-
- docs/dsl/star.rst
|
369
|
-
- docs/dsl/svg.rst
|
370
|
-
- docs/dsl/text.rst
|
371
|
-
- docs/dsl/triangle.rst
|
372
|
-
- docs/dsl/use_layout.rst
|
373
|
-
- docs/dsl/xlsx.rst
|
374
|
-
- docs/guides/game_icons.rst
|
375
|
-
- docs/guides/getting-started/index.rst
|
376
|
-
- docs/guides/getting-started/part_0_learning_ruby.rst
|
377
|
-
- docs/guides/getting-started/part_1_zero_to_game.rst
|
378
|
-
- docs/guides/getting-started/part_2_iconography.rst
|
379
|
-
- docs/guides/getting-started/part_3_workflows.rst
|
380
|
-
- docs/guides/getting-started/part_4_ruby_power.rst
|
381
|
-
- docs/guides/git.rst
|
382
|
-
- docs/guides/guard.rst
|
383
|
-
- docs/guides/hello_world.rst
|
384
|
-
- docs/guides/projects.rst
|
385
|
-
- docs/help.rst
|
386
|
-
- docs/index.rst
|
387
|
-
- docs/install.rst
|
388
|
-
- docs/layouts.rst
|
389
|
-
- docs/learning.rst
|
390
|
-
- docs/make.bat
|
391
|
-
- docs/parameters.rst
|
392
|
-
- docs/server.bat
|
393
|
-
- docs/text_feature.rst
|
394
|
-
- docs/units.rst
|
395
279
|
- lib/squib.rb
|
396
280
|
- lib/squib/api/background.rb
|
397
281
|
- lib/squib/api/data.rb
|
@@ -465,320 +349,43 @@ files:
|
|
465
349
|
- lib/squib/project_template/layout.yml
|
466
350
|
- lib/squib/sample_helpers.rb
|
467
351
|
- lib/squib/version.rb
|
468
|
-
- samples/_output/gitkeep.txt
|
469
|
-
- samples/autoscale_font/.gitignore
|
470
352
|
- samples/autoscale_font/_autoscale_font.rb
|
471
|
-
- samples/autoscale_font/card_00_expected.png
|
472
|
-
- samples/backend/.gitignore
|
473
|
-
- samples/backend/_backend-config.yml
|
474
353
|
- samples/backend/_backend.rb
|
475
|
-
- samples/backend/backend_00_expected.png
|
476
|
-
- samples/backend/backend_01_expected.png
|
477
|
-
- samples/backend/backend_vectorized_expected.pdf
|
478
|
-
- samples/backend/backend_vectors_00_expected.svg
|
479
|
-
- samples/backend/backend_vectors_01_expected.svg
|
480
|
-
- samples/backend/shiny-purse.png
|
481
|
-
- samples/backend/showcase_expected.png
|
482
|
-
- samples/backend/spanner.svg
|
483
|
-
- samples/ball.png
|
484
354
|
- samples/basic.rb
|
485
|
-
- samples/bug134.rb
|
486
|
-
- samples/build_groups/.gitignore
|
487
|
-
- samples/build_groups/Rakefile
|
488
355
|
- samples/build_groups/build_groups.rb
|
489
|
-
- samples/cairo_access.rb
|
490
|
-
- samples/colors/.gitignore
|
491
356
|
- samples/colors/_colors.rb
|
492
357
|
- samples/colors/_gradients.rb
|
493
|
-
- samples/
|
494
|
-
- samples/
|
495
|
-
- samples/colors/gradient_00_expected.png
|
496
|
-
- samples/config_disable_quotes.yml
|
497
|
-
- samples/config_text_markup.rb
|
498
|
-
- samples/config_text_markup.yml
|
499
|
-
- samples/custom-config.yml
|
500
|
-
- samples/custom_config.rb
|
501
|
-
- samples/customconfig-imgdir/shiny-purse2.png
|
502
|
-
- samples/customconfig-imgdir/spanner2.svg
|
503
|
-
- samples/data/.gitignore
|
358
|
+
- samples/config/config_text_markup.rb
|
359
|
+
- samples/config/custom_config.rb
|
504
360
|
- samples/data/_csv.rb
|
505
361
|
- samples/data/_excel.rb
|
506
|
-
- samples/data/explode_quantities.xlsx
|
507
|
-
- samples/data/quantity_explosion.csv
|
508
|
-
- samples/data/sample.csv
|
509
|
-
- samples/data/sample.xlsx
|
510
|
-
- samples/data/sample_csv_00_expected.png
|
511
|
-
- samples/data/sample_csv_01_expected.png
|
512
|
-
- samples/data/sample_csv_qty_00_expected.png
|
513
|
-
- samples/data/sample_excel_00_expected.png
|
514
|
-
- samples/data/sample_excel_01_expected.png
|
515
|
-
- samples/data/sample_excel_02_expected.png
|
516
|
-
- samples/data/sample_excel_resources_00_expected.png
|
517
|
-
- samples/data/sample_excel_resources_01_expected.png
|
518
|
-
- samples/data/sample_xlsx_qty_00_expected.png
|
519
|
-
- samples/embed_text.rb
|
520
|
-
- samples/glass-heart.svg
|
521
|
-
- samples/grit.png
|
522
362
|
- samples/hello_world.rb
|
523
|
-
- samples/images
|
363
|
+
- samples/images/_cairo_access.rb
|
524
364
|
- samples/images/_images.rb
|
525
|
-
- samples/images/_images_00_expected.png
|
526
365
|
- samples/images/_more_load_images.rb
|
527
|
-
- samples/images/
|
528
|
-
- samples/images/ball.png
|
529
|
-
- samples/images/glass-heart.svg
|
530
|
-
- samples/images/grit.png
|
531
|
-
- samples/images/offset.svg
|
532
|
-
- samples/images/robot-golem.svg
|
533
|
-
- samples/images/shiny-purse.png
|
534
|
-
- samples/images/spanner.svg
|
535
|
-
- samples/images/sprites.png
|
536
|
-
- samples/images/with-alpha.png
|
537
|
-
- samples/intro/.gitignore
|
366
|
+
- samples/images/_unicode.rb
|
538
367
|
- samples/intro/01_hello.rb
|
539
368
|
- samples/intro/02_options.rb
|
540
369
|
- samples/intro/03_layout.rb
|
541
370
|
- samples/intro/04_arrays.rb
|
542
371
|
- samples/intro/05_excel.rb
|
543
|
-
- samples/intro/auto-repair.svg
|
544
|
-
- samples/intro/crawling.svg
|
545
|
-
- samples/intro/data.xlsx
|
546
|
-
- samples/intro/humans.svg
|
547
|
-
- samples/intro/ninja-mask.svg
|
548
|
-
- samples/intro/part1_00_expected.png
|
549
|
-
- samples/intro/part2_00_expected.png
|
550
|
-
- samples/intro/part3_00_expected.png
|
551
|
-
- samples/intro/part3_layout.yml
|
552
|
-
- samples/intro/part4_00_expected.png
|
553
|
-
- samples/intro/part4_01_expected.png
|
554
|
-
- samples/intro/part5_00_expected.png
|
555
|
-
- samples/intro/part5_01_expected.png
|
556
|
-
- samples/intro/part5_02_expected.png
|
557
|
-
- samples/intro/part5_03_expected.png
|
558
|
-
- samples/intro/part5_hand_expected.png
|
559
|
-
- samples/intro/part5_showcase_expected.png
|
560
|
-
- samples/intro/pirate-skull.svg
|
561
|
-
- samples/intro/robot-golem.svg
|
562
|
-
- samples/layouts/_output/.gitignore
|
563
372
|
- samples/layouts/builtin_layouts.rb
|
564
|
-
- samples/layouts/custom-layout.yml
|
565
|
-
- samples/layouts/custom-layout2.yml
|
566
|
-
- samples/layouts/expected_layouts_builtin_economy_00.png
|
567
|
-
- samples/layouts/expected_layouts_builtin_fantasy_00.png
|
568
|
-
- samples/layouts/expected_layouts_builtin_hand_00.png
|
569
|
-
- samples/layouts/expected_layouts_builtin_playing_card_00.png
|
570
|
-
- samples/layouts/expected_layouts_builtin_tuck_box_00.png
|
571
373
|
- samples/layouts/layouts.rb
|
572
|
-
- samples/layouts/shiny-purse.png
|
573
|
-
- samples/layouts/spanner.svg
|
574
|
-
- samples/load_images_config.yml
|
575
|
-
- samples/offset.svg
|
576
|
-
- samples/pokercard.png
|
577
|
-
- samples/project/Gemfile
|
578
|
-
- samples/project/Guardfile
|
579
|
-
- samples/project/Rakefile
|
580
|
-
- samples/project/bw/robot-golem.svg
|
581
|
-
- samples/project/color/robot-golem.svg
|
582
|
-
- samples/project/config.yml
|
583
|
-
- samples/project/layouts/characters.yml
|
584
|
-
- samples/project/layouts/skills.yml
|
585
374
|
- samples/project/src/characters.rb
|
586
375
|
- samples/project/src/skills.rb
|
376
|
+
- samples/proofs/_tgc_proofs.rb
|
587
377
|
- samples/ranges/_ranges.rb
|
588
|
-
- samples/ranges/glass-heart.svg
|
589
|
-
- samples/ranges/ranges_00_expected.png
|
590
|
-
- samples/saves/.gitignore
|
591
378
|
- samples/saves/_hand.rb
|
592
379
|
- samples/saves/_portrait_landscape.rb
|
593
380
|
- samples/saves/_save_pdf.rb
|
594
381
|
- samples/saves/_saves.rb
|
595
382
|
- samples/saves/_showcase.rb
|
596
|
-
- samples/saves/hand_expected.png
|
597
|
-
- samples/saves/hand_pretty_expected.png
|
598
|
-
- samples/saves/save-pdf-small_expected.pdf
|
599
|
-
- samples/saves/save-pdf_expected.pdf
|
600
|
-
- samples/saves/save_png_00_expected.png
|
601
|
-
- samples/saves/save_png_trimmed_00_expected.png
|
602
|
-
- samples/saves/save_sheet_00_expected.png
|
603
|
-
- samples/saves/save_sheet_01_expected.png
|
604
|
-
- samples/saves/save_sheet_range_00_expected.png
|
605
|
-
- samples/saves/save_sheet_range_01_expected.png
|
606
|
-
- samples/saves/save_single_sheet_00_expected.png
|
607
|
-
- samples/saves/saves_notrim_01_expected.png
|
608
|
-
- samples/saves/showcase2_expected.png
|
609
|
-
- samples/saves/showcase_expected.png
|
610
|
-
- samples/saves/showcase_individual_00_expected.png
|
611
|
-
- samples/saves/showcase_individual_01_expected.png
|
612
|
-
- samples/saves/showcase_individual_02_expected.png
|
613
|
-
- samples/saves/showcase_individual_03_expected.png
|
614
|
-
- samples/saves/spanner.svg
|
615
|
-
- samples/shapes/.gitignore
|
616
383
|
- samples/shapes/_draw_shapes.rb
|
617
|
-
- samples/
|
618
|
-
- samples/shiny-purse.png
|
619
|
-
- samples/spanner.svg
|
620
|
-
- samples/sprites.png
|
621
|
-
- samples/text/.gitignore
|
622
|
-
- samples/text/README.md
|
384
|
+
- samples/text/_embed_text.rb
|
623
385
|
- samples/text/_text.rb
|
624
|
-
- samples/text/
|
625
|
-
- samples/text/
|
626
|
-
- samples/text_options.rb
|
627
|
-
- samples/tgc_proofs.rb
|
628
|
-
- samples/unicode.rb
|
386
|
+
- samples/text/_text_options.rb
|
387
|
+
- samples/text/bug134.rb
|
629
388
|
- samples/units/_units.rb
|
630
|
-
- samples/units/units_00_expected.png
|
631
|
-
- samples/units/using_units.yml
|
632
|
-
- spec/api/api_data_spec.rb
|
633
|
-
- spec/api/api_groups_spec.rb
|
634
|
-
- spec/api/api_settings_spec.rb
|
635
|
-
- spec/api/api_units_spec.rb
|
636
|
-
- spec/args/box_spec.rb
|
637
|
-
- spec/args/draw_spec.rb
|
638
|
-
- spec/args/embed_key_spec.rb
|
639
|
-
- spec/args/input_file_spec.rb
|
640
|
-
- spec/args/paint_spec.rb
|
641
|
-
- spec/args/paragraph_spec.rb
|
642
|
-
- spec/args/range_spec.rb
|
643
|
-
- spec/args/save_batch_spec.rb
|
644
|
-
- spec/args/scale_box_spec.rb
|
645
|
-
- spec/args/sheet_spec.rb
|
646
|
-
- spec/args/showcase_special_spec.rb
|
647
|
-
- spec/args/transform_spec.rb
|
648
|
-
- spec/args/typographer_spec.rb
|
649
|
-
- spec/args/unit_conversion_spec.rb
|
650
|
-
- spec/card_spec.rb
|
651
|
-
- spec/commands/new_spec.rb
|
652
|
-
- spec/conf_spec.rb
|
653
|
-
- spec/data/conf/basic.yml
|
654
|
-
- spec/data/conf/empty.yml
|
655
|
-
- spec/data/conf/unrecognized.yml
|
656
|
-
- spec/data/csv/basic.csv
|
657
|
-
- spec/data/csv/custom_opts.csv
|
658
|
-
- spec/data/csv/dup_cols.csv
|
659
|
-
- spec/data/csv/newline.csv
|
660
|
-
- spec/data/csv/qty.csv
|
661
|
-
- spec/data/csv/qty_named.csv
|
662
|
-
- spec/data/csv/with_spaces.csv
|
663
|
-
- spec/data/csv/yield.csv
|
664
|
-
- spec/data/layouts/easy-circular-extends.yml
|
665
|
-
- spec/data/layouts/empty-rule.yml
|
666
|
-
- spec/data/layouts/empty.yml
|
667
|
-
- spec/data/layouts/extends-nonexists.yml
|
668
|
-
- spec/data/layouts/extends-units-mixed.yml
|
669
|
-
- spec/data/layouts/extends-units.yml
|
670
|
-
- spec/data/layouts/hard-circular-extends.yml
|
671
|
-
- spec/data/layouts/multi-extends-single-entry.yml
|
672
|
-
- spec/data/layouts/multi-level-extends.yml
|
673
|
-
- spec/data/layouts/multifile-a.yml
|
674
|
-
- spec/data/layouts/multifile-b.yml
|
675
|
-
- spec/data/layouts/multifile-extends-a.yml
|
676
|
-
- spec/data/layouts/multifile-extends-b.yml
|
677
|
-
- spec/data/layouts/no-extends.yml
|
678
|
-
- spec/data/layouts/pre-extends.yml
|
679
|
-
- spec/data/layouts/self-circular-extends.yml
|
680
|
-
- spec/data/layouts/single-extends.yml
|
681
|
-
- spec/data/layouts/single-level-multi-extends.yml
|
682
|
-
- spec/data/samples/autoscale_font/_autoscale_font.rb.txt
|
683
|
-
- spec/data/samples/basic.rb.txt
|
684
|
-
- spec/data/samples/cairo_access.rb.txt
|
685
|
-
- spec/data/samples/colors/_gradients.rb.txt
|
686
|
-
- spec/data/samples/config_text_markup.rb.txt
|
687
|
-
- spec/data/samples/custom_config.rb.txt
|
688
|
-
- spec/data/samples/data/_csv.rb.txt
|
689
|
-
- spec/data/samples/data/_excel.rb.txt
|
690
|
-
- spec/data/samples/embed_text.rb.txt
|
691
|
-
- spec/data/samples/hello_world.rb.txt
|
692
|
-
- spec/data/samples/images/_more_load_images.rb.txt
|
693
|
-
- spec/data/samples/layouts.rb.txt
|
694
|
-
- spec/data/samples/ranges/_ranges.rb.txt
|
695
|
-
- spec/data/samples/saves/_hand.rb.txt
|
696
|
-
- spec/data/samples/saves/_portrait_landscape.rb.txt
|
697
|
-
- spec/data/samples/saves/_save_pdf.rb.txt
|
698
|
-
- spec/data/samples/saves/_saves.rb.txt
|
699
|
-
- spec/data/samples/saves/_showcase.rb.txt
|
700
|
-
- spec/data/samples/shapes/_draw_shapes.rb.txt
|
701
|
-
- spec/data/samples/text_options.rb.txt
|
702
|
-
- spec/data/samples/tgc_proofs.rb.txt
|
703
|
-
- spec/data/samples/units/_units.rb.txt
|
704
|
-
- spec/data/xlsx/basic.xlsx
|
705
|
-
- spec/data/xlsx/explode_quantities.xlsx
|
706
|
-
- spec/data/xlsx/formulas.xlsx
|
707
|
-
- spec/data/xlsx/whitespace.xlsx
|
708
|
-
- spec/data/xlsx/with_macros.xlsm
|
709
|
-
- spec/deck_spec.rb
|
710
|
-
- spec/graphics/cairo_context_wrapper_spec.rb
|
711
|
-
- spec/graphics/embedding_utils_spec.rb
|
712
|
-
- spec/graphics/graphics_save_doc_spec.rb
|
713
|
-
- spec/import/data_frame_spec.rb
|
714
|
-
- spec/layout_parser_spec.rb
|
715
|
-
- spec/logger_spec.rb
|
716
|
-
- spec/samples/_diffs/gitkeep.txt
|
717
|
-
- spec/samples/diff-with-css.example.html
|
718
|
-
- spec/samples/expected/autoscale_00.png
|
719
|
-
- spec/samples/expected/autoscale_01.png
|
720
|
-
- spec/samples/expected/autoscale_02.png
|
721
|
-
- spec/samples/expected/backend_00.png
|
722
|
-
- spec/samples/expected/backend_00.svg
|
723
|
-
- spec/samples/expected/backend_01.png
|
724
|
-
- spec/samples/expected/backend_01.svg
|
725
|
-
- spec/samples/expected/basic_00.png
|
726
|
-
- spec/samples/expected/basic_01.png
|
727
|
-
- spec/samples/expected/basic_02.png
|
728
|
-
- spec/samples/expected/cairo_access_00.png
|
729
|
-
- spec/samples/expected/cairo_access_01.png
|
730
|
-
- spec/samples/expected/card_00.png
|
731
|
-
- spec/samples/expected/card_01.png
|
732
|
-
- spec/samples/expected/colors_00.png
|
733
|
-
- spec/samples/expected/config_disable_text_00.png
|
734
|
-
- spec/samples/expected/config_text_00.png
|
735
|
-
- spec/samples/expected/custom-config_00.png
|
736
|
-
- spec/samples/expected/embed_00.png
|
737
|
-
- spec/samples/expected/embed_multisheet_00.png
|
738
|
-
- spec/samples/expected/gitkeep.txt
|
739
|
-
- spec/samples/expected/gradient_00.png
|
740
|
-
- spec/samples/expected/hand.png
|
741
|
-
- spec/samples/expected/hand_pretty.png
|
742
|
-
- spec/samples/expected/landscape_00.png
|
743
|
-
- spec/samples/expected/layout2_00.png
|
744
|
-
- spec/samples/expected/layout_00.png
|
745
|
-
- spec/samples/expected/layout_builtin_hand_00.png
|
746
|
-
- spec/samples/expected/layout_builtin_playing_card_00.png
|
747
|
-
- spec/samples/expected/load_images_00.png
|
748
|
-
- spec/samples/expected/portrait_00.png
|
749
|
-
- spec/samples/expected/ranges_00.png
|
750
|
-
- spec/samples/expected/sample_csv_00.png
|
751
|
-
- spec/samples/expected/sample_csv_01.png
|
752
|
-
- spec/samples/expected/sample_excel_00.png
|
753
|
-
- spec/samples/expected/sample_excel_01.png
|
754
|
-
- spec/samples/expected/sample_excel_02.png
|
755
|
-
- spec/samples/expected/save_sheet_00.png
|
756
|
-
- spec/samples/expected/save_sheet_01.png
|
757
|
-
- spec/samples/expected/save_sheet_range_00.png
|
758
|
-
- spec/samples/expected/save_sheet_range_01.png
|
759
|
-
- spec/samples/expected/save_single_sheet_00.png
|
760
|
-
- spec/samples/expected/saves_notrim_01.png
|
761
|
-
- spec/samples/expected/shape_00.png
|
762
|
-
- spec/samples/expected/showcase.png
|
763
|
-
- spec/samples/expected/showcase2.png
|
764
|
-
- spec/samples/expected/showcase_individual_00.png
|
765
|
-
- spec/samples/expected/showcase_individual_01.png
|
766
|
-
- spec/samples/expected/showcase_individual_02.png
|
767
|
-
- spec/samples/expected/showcase_individual_03.png
|
768
|
-
- spec/samples/expected/text_00.png
|
769
|
-
- spec/samples/expected/text_01.png
|
770
|
-
- spec/samples/expected/text_02.png
|
771
|
-
- spec/samples/expected/tgc_sample_00.png
|
772
|
-
- spec/samples/expected/units_00.png
|
773
|
-
- spec/samples/run_samples_spec.rb
|
774
|
-
- spec/samples/samples_regression_spec.rb
|
775
|
-
- spec/samples/sanity.html.erb
|
776
|
-
- spec/samples/sanity.rb
|
777
|
-
- spec/sanity/.gitignore
|
778
|
-
- spec/sanity/sanity.html.erb
|
779
|
-
- spec/sanity/sanity_test.rb
|
780
|
-
- spec/sanity/tests.yml
|
781
|
-
- spec/spec_helper.rb
|
782
389
|
- squib.gemspec
|
783
390
|
homepage: https://github.com/andymeneely/squib
|
784
391
|
licenses:
|
@@ -806,153 +413,40 @@ signing_key:
|
|
806
413
|
specification_version: 2
|
807
414
|
summary: A Ruby DSL for prototyping card games
|
808
415
|
test_files:
|
809
|
-
-
|
810
|
-
-
|
811
|
-
-
|
812
|
-
-
|
813
|
-
-
|
814
|
-
-
|
815
|
-
-
|
816
|
-
-
|
817
|
-
-
|
818
|
-
-
|
819
|
-
-
|
820
|
-
-
|
821
|
-
-
|
822
|
-
-
|
823
|
-
-
|
824
|
-
-
|
825
|
-
-
|
826
|
-
-
|
827
|
-
-
|
828
|
-
-
|
829
|
-
-
|
830
|
-
-
|
831
|
-
-
|
832
|
-
-
|
833
|
-
-
|
834
|
-
-
|
835
|
-
-
|
836
|
-
-
|
837
|
-
-
|
838
|
-
-
|
839
|
-
-
|
840
|
-
-
|
841
|
-
-
|
842
|
-
-
|
843
|
-
-
|
844
|
-
-
|
845
|
-
-
|
846
|
-
- spec/data/layouts/extends-units.yml
|
847
|
-
- spec/data/layouts/hard-circular-extends.yml
|
848
|
-
- spec/data/layouts/multi-extends-single-entry.yml
|
849
|
-
- spec/data/layouts/multi-level-extends.yml
|
850
|
-
- spec/data/layouts/multifile-a.yml
|
851
|
-
- spec/data/layouts/multifile-b.yml
|
852
|
-
- spec/data/layouts/multifile-extends-a.yml
|
853
|
-
- spec/data/layouts/multifile-extends-b.yml
|
854
|
-
- spec/data/layouts/no-extends.yml
|
855
|
-
- spec/data/layouts/pre-extends.yml
|
856
|
-
- spec/data/layouts/self-circular-extends.yml
|
857
|
-
- spec/data/layouts/single-extends.yml
|
858
|
-
- spec/data/layouts/single-level-multi-extends.yml
|
859
|
-
- spec/data/samples/autoscale_font/_autoscale_font.rb.txt
|
860
|
-
- spec/data/samples/basic.rb.txt
|
861
|
-
- spec/data/samples/cairo_access.rb.txt
|
862
|
-
- spec/data/samples/colors/_gradients.rb.txt
|
863
|
-
- spec/data/samples/config_text_markup.rb.txt
|
864
|
-
- spec/data/samples/custom_config.rb.txt
|
865
|
-
- spec/data/samples/data/_csv.rb.txt
|
866
|
-
- spec/data/samples/data/_excel.rb.txt
|
867
|
-
- spec/data/samples/embed_text.rb.txt
|
868
|
-
- spec/data/samples/hello_world.rb.txt
|
869
|
-
- spec/data/samples/images/_more_load_images.rb.txt
|
870
|
-
- spec/data/samples/layouts.rb.txt
|
871
|
-
- spec/data/samples/ranges/_ranges.rb.txt
|
872
|
-
- spec/data/samples/saves/_hand.rb.txt
|
873
|
-
- spec/data/samples/saves/_portrait_landscape.rb.txt
|
874
|
-
- spec/data/samples/saves/_save_pdf.rb.txt
|
875
|
-
- spec/data/samples/saves/_saves.rb.txt
|
876
|
-
- spec/data/samples/saves/_showcase.rb.txt
|
877
|
-
- spec/data/samples/shapes/_draw_shapes.rb.txt
|
878
|
-
- spec/data/samples/text_options.rb.txt
|
879
|
-
- spec/data/samples/tgc_proofs.rb.txt
|
880
|
-
- spec/data/samples/units/_units.rb.txt
|
881
|
-
- spec/data/xlsx/basic.xlsx
|
882
|
-
- spec/data/xlsx/explode_quantities.xlsx
|
883
|
-
- spec/data/xlsx/formulas.xlsx
|
884
|
-
- spec/data/xlsx/whitespace.xlsx
|
885
|
-
- spec/data/xlsx/with_macros.xlsm
|
886
|
-
- spec/deck_spec.rb
|
887
|
-
- spec/graphics/cairo_context_wrapper_spec.rb
|
888
|
-
- spec/graphics/embedding_utils_spec.rb
|
889
|
-
- spec/graphics/graphics_save_doc_spec.rb
|
890
|
-
- spec/import/data_frame_spec.rb
|
891
|
-
- spec/layout_parser_spec.rb
|
892
|
-
- spec/logger_spec.rb
|
893
|
-
- spec/samples/_diffs/gitkeep.txt
|
894
|
-
- spec/samples/diff-with-css.example.html
|
895
|
-
- spec/samples/expected/autoscale_00.png
|
896
|
-
- spec/samples/expected/autoscale_01.png
|
897
|
-
- spec/samples/expected/autoscale_02.png
|
898
|
-
- spec/samples/expected/backend_00.png
|
899
|
-
- spec/samples/expected/backend_00.svg
|
900
|
-
- spec/samples/expected/backend_01.png
|
901
|
-
- spec/samples/expected/backend_01.svg
|
902
|
-
- spec/samples/expected/basic_00.png
|
903
|
-
- spec/samples/expected/basic_01.png
|
904
|
-
- spec/samples/expected/basic_02.png
|
905
|
-
- spec/samples/expected/cairo_access_00.png
|
906
|
-
- spec/samples/expected/cairo_access_01.png
|
907
|
-
- spec/samples/expected/card_00.png
|
908
|
-
- spec/samples/expected/card_01.png
|
909
|
-
- spec/samples/expected/colors_00.png
|
910
|
-
- spec/samples/expected/config_disable_text_00.png
|
911
|
-
- spec/samples/expected/config_text_00.png
|
912
|
-
- spec/samples/expected/custom-config_00.png
|
913
|
-
- spec/samples/expected/embed_00.png
|
914
|
-
- spec/samples/expected/embed_multisheet_00.png
|
915
|
-
- spec/samples/expected/gitkeep.txt
|
916
|
-
- spec/samples/expected/gradient_00.png
|
917
|
-
- spec/samples/expected/hand.png
|
918
|
-
- spec/samples/expected/hand_pretty.png
|
919
|
-
- spec/samples/expected/landscape_00.png
|
920
|
-
- spec/samples/expected/layout2_00.png
|
921
|
-
- spec/samples/expected/layout_00.png
|
922
|
-
- spec/samples/expected/layout_builtin_hand_00.png
|
923
|
-
- spec/samples/expected/layout_builtin_playing_card_00.png
|
924
|
-
- spec/samples/expected/load_images_00.png
|
925
|
-
- spec/samples/expected/portrait_00.png
|
926
|
-
- spec/samples/expected/ranges_00.png
|
927
|
-
- spec/samples/expected/sample_csv_00.png
|
928
|
-
- spec/samples/expected/sample_csv_01.png
|
929
|
-
- spec/samples/expected/sample_excel_00.png
|
930
|
-
- spec/samples/expected/sample_excel_01.png
|
931
|
-
- spec/samples/expected/sample_excel_02.png
|
932
|
-
- spec/samples/expected/save_sheet_00.png
|
933
|
-
- spec/samples/expected/save_sheet_01.png
|
934
|
-
- spec/samples/expected/save_sheet_range_00.png
|
935
|
-
- spec/samples/expected/save_sheet_range_01.png
|
936
|
-
- spec/samples/expected/save_single_sheet_00.png
|
937
|
-
- spec/samples/expected/saves_notrim_01.png
|
938
|
-
- spec/samples/expected/shape_00.png
|
939
|
-
- spec/samples/expected/showcase.png
|
940
|
-
- spec/samples/expected/showcase2.png
|
941
|
-
- spec/samples/expected/showcase_individual_00.png
|
942
|
-
- spec/samples/expected/showcase_individual_01.png
|
943
|
-
- spec/samples/expected/showcase_individual_02.png
|
944
|
-
- spec/samples/expected/showcase_individual_03.png
|
945
|
-
- spec/samples/expected/text_00.png
|
946
|
-
- spec/samples/expected/text_01.png
|
947
|
-
- spec/samples/expected/text_02.png
|
948
|
-
- spec/samples/expected/tgc_sample_00.png
|
949
|
-
- spec/samples/expected/units_00.png
|
950
|
-
- spec/samples/run_samples_spec.rb
|
951
|
-
- spec/samples/samples_regression_spec.rb
|
952
|
-
- spec/samples/sanity.html.erb
|
953
|
-
- spec/samples/sanity.rb
|
954
|
-
- spec/sanity/.gitignore
|
955
|
-
- spec/sanity/sanity.html.erb
|
956
|
-
- spec/sanity/sanity_test.rb
|
957
|
-
- spec/sanity/tests.yml
|
958
|
-
- spec/spec_helper.rb
|
416
|
+
- samples/autoscale_font/_autoscale_font.rb
|
417
|
+
- samples/backend/_backend.rb
|
418
|
+
- samples/basic.rb
|
419
|
+
- samples/build_groups/build_groups.rb
|
420
|
+
- samples/colors/_colors.rb
|
421
|
+
- samples/colors/_gradients.rb
|
422
|
+
- samples/config/config_text_markup.rb
|
423
|
+
- samples/config/custom_config.rb
|
424
|
+
- samples/data/_csv.rb
|
425
|
+
- samples/data/_excel.rb
|
426
|
+
- samples/hello_world.rb
|
427
|
+
- samples/images/_cairo_access.rb
|
428
|
+
- samples/images/_images.rb
|
429
|
+
- samples/images/_more_load_images.rb
|
430
|
+
- samples/images/_unicode.rb
|
431
|
+
- samples/intro/01_hello.rb
|
432
|
+
- samples/intro/02_options.rb
|
433
|
+
- samples/intro/03_layout.rb
|
434
|
+
- samples/intro/04_arrays.rb
|
435
|
+
- samples/intro/05_excel.rb
|
436
|
+
- samples/layouts/builtin_layouts.rb
|
437
|
+
- samples/layouts/layouts.rb
|
438
|
+
- samples/project/src/characters.rb
|
439
|
+
- samples/project/src/skills.rb
|
440
|
+
- samples/proofs/_tgc_proofs.rb
|
441
|
+
- samples/ranges/_ranges.rb
|
442
|
+
- samples/saves/_hand.rb
|
443
|
+
- samples/saves/_portrait_landscape.rb
|
444
|
+
- samples/saves/_save_pdf.rb
|
445
|
+
- samples/saves/_saves.rb
|
446
|
+
- samples/saves/_showcase.rb
|
447
|
+
- samples/shapes/_draw_shapes.rb
|
448
|
+
- samples/text/_embed_text.rb
|
449
|
+
- samples/text/_text.rb
|
450
|
+
- samples/text/_text_options.rb
|
451
|
+
- samples/text/bug134.rb
|
452
|
+
- samples/units/_units.rb
|