aboutsummaryrefslogtreecommitdiffstats
path: root/locusts.gemspec
diff options
context:
space:
mode:
authorMatthew Strapp <matt@mattstrapp.net>2024-10-30 15:01:13 -0500
committerGitHub <noreply@github.com>2024-10-30 15:01:13 -0500
commit7fb5261783bc975fdde6894a8c7f4ef778a19189 (patch)
tree34fcb0ba4055382a5bf5093661e39ec8eccf5bbd /locusts.gemspec
parentdocs: Fix error in .NET example (diff)
downloadlocusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.gz
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.bz2
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.lz
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.xz
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.zst
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.zip
feat: Ruby (#33)
* bundle gem locusts Signed-off-by: Matt Strapp <matt@mattstrapp.net> * Add changeset and flesh out gemspec Signed-off-by: Matt Strapp <matt@mattstrapp.net> * Oops Signed-off-by: Matt Strapp <matt@mattstrapp.net> * nothing Signed-off-by: Matt Strapp <matt@mattstrapp.net> * actually draw the owl Signed-off-by: Matt Strapp <matt@mattstrapp.net> * oops Signed-off-by: Matt Strapp <matt@mattstrapp.net> * oops 2 Signed-off-by: Matt Strapp <matt@mattstrapp.net> --------- Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--locusts.gemspec43
1 files changed, 43 insertions, 0 deletions
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