From 7fb5261783bc975fdde6894a8c7f4ef778a19189 Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Wed, 30 Oct 2024 15:01:13 -0500 Subject: feat: Ruby (#33) * bundle gem locusts Signed-off-by: Matt Strapp * Add changeset and flesh out gemspec Signed-off-by: Matt Strapp * Oops Signed-off-by: Matt Strapp * nothing Signed-off-by: Matt Strapp * actually draw the owl Signed-off-by: Matt Strapp * oops Signed-off-by: Matt Strapp * oops 2 Signed-off-by: Matt Strapp --------- Signed-off-by: Matt Strapp --- locusts.gemspec | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 locusts.gemspec (limited to 'locusts.gemspec') diff --git a/locusts.gemspec b/locusts.gemspec new file mode 100644 index 0000000..75b0e6b --- /dev/null +++ b/locusts.gemspec @@ -0,0 +1,43 @@ +# frozen_string_literal: true + +Gem::Specification.new do |spec| + spec.name = "locusts" + spec.version = "0.0.0" + spec.authors = ["Matt Strapp"] + spec.email = ["matt@mattstrapp.net"] + + spec.summary = "A Ruby library that introduces locusts to your codebase." + # spec.description = "TODO: Write a longer description or delete this line." + spec.homepage = "https://github.com/locusts-r-us/locusts" + spec.required_ruby_version = ">= 1.6.7" + spec.license = "0BSD" + + # spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'" + + spec.metadata = { + "bug_tracker_uri" => "#{spec.homepage}/issues", + # "changelog_uri" => "#{spec.homepage}/blob/m/CHANGELOG.md", + "documentation_uri" => spec.homepage.to_s, + "homepage_uri" => spec.homepage.to_s, + "source_code_uri" => spec.homepage.to_s + } + + # Specify which files should be added to the gem when it is released. + # The `git ls-files -z` loads the files in the RubyGem that have been added into git. + gemspec = File.basename(__FILE__) + spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls| + ls.readlines("\x0", chomp: true).reject do |f| + (f == gemspec) || + f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile]) + end + end + spec.bindir = "dist" + # spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } + spec.require_paths = ["src"] + + # Uncomment to register a new dependency of your gem + # spec.add_dependency "example-gem", "~> 1.0" + + # For more information and examples about making a new gem, check out our + # guide at: https://bundler.io/guides/creating_gem.html +end -- cgit v1.2.3