From d7e343571547dbed0bb034bfeb82498b27223baf Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Tue, 22 Jul 2014 15:34:12 -0400 Subject: [PATCH] Renaming files to be more conventional --- samples/{custom-config.rb => custom_config.rb} | 0 samples/{hello-world.rb => hello_world.rb} | 0 samples/{load-images.rb => load_images.rb} | 0 samples/save-pdf.rb | 13 ------------- samples/{text-options.rb => text_options.rb} | 0 samples/{tgc-proofs.rb => tgc_proofs.rb} | 0 6 files changed, 13 deletions(-) rename samples/{custom-config.rb => custom_config.rb} (100%) rename samples/{hello-world.rb => hello_world.rb} (100%) rename samples/{load-images.rb => load_images.rb} (100%) delete mode 100644 samples/save-pdf.rb rename samples/{text-options.rb => text_options.rb} (100%) rename samples/{tgc-proofs.rb => tgc_proofs.rb} (100%) diff --git a/samples/custom-config.rb b/samples/custom_config.rb similarity index 100% rename from samples/custom-config.rb rename to samples/custom_config.rb diff --git a/samples/hello-world.rb b/samples/hello_world.rb similarity index 100% rename from samples/hello-world.rb rename to samples/hello_world.rb diff --git a/samples/load-images.rb b/samples/load_images.rb similarity index 100% rename from samples/load-images.rb rename to samples/load_images.rb diff --git a/samples/save-pdf.rb b/samples/save-pdf.rb deleted file mode 100644 index a1e6aa8..0000000 --- a/samples/save-pdf.rb +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env ruby -require 'squib' - -Squib::Deck.new(width: 825, height: 1125, cards: 16) do - background color: :gray - rect x: 38, y: 38, width: 750, height: 1050, x_radius: 38, y_radius: 38 - - text str: (1..16).to_a, x: 220, y: 78, font: 'Arial 54' - - save_pdf file: "sample.pdf", margin: 50, gap: 5, trim: 38 -end - -puts "Done!" \ No newline at end of file diff --git a/samples/text-options.rb b/samples/text_options.rb similarity index 100% rename from samples/text-options.rb rename to samples/text_options.rb diff --git a/samples/tgc-proofs.rb b/samples/tgc_proofs.rb similarity index 100% rename from samples/tgc-proofs.rb rename to samples/tgc_proofs.rb