From 024e351433d3d09b9e7e243615ee15d0bcc8493b Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 17 Jul 2026 23:46:23 +0200 Subject: Initial commit --- bulk_rename.gemspec | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 bulk_rename.gemspec (limited to 'bulk_rename.gemspec') diff --git a/bulk_rename.gemspec b/bulk_rename.gemspec new file mode 100644 index 0000000..880cf01 --- /dev/null +++ b/bulk_rename.gemspec @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +require_relative "lib/bulk_rename/version" + +Gem::Specification.new do |spec| + spec.name = "bulk_rename" + spec.version = BulkRename::VERSION + spec.authors = ["you"] + spec.summary = "Safely bulk-rename every file in a directory, from a list or sequentially." + spec.description = "Renames every file in a directory either to names read from a list file " \ + "or sequentially via a pattern, using a two-phase staged rename so an " \ + "in-progress batch can never clobber a file that hasn't been processed yet." + spec.license = "GPL-3.0-or-later" + + spec.files = Dir["lib/**/*.rb", "bin/*", "README.md", "LICENSE"] + spec.bindir = "bin" + spec.executables = ["bulk-rename"] + spec.require_paths = ["lib"] + + spec.required_ruby_version = ">= 3.0" +end -- cgit v1.2.3