Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / fl / flatito / flatito.gemspec
blob83381c6a6b3ed1f08373567bdd256f87e0a2e325
1 # frozen_string_literal: true
3 require_relative "lib/flatito/version"
5 Gem::Specification.new do |spec|
6   spec.name = "flatito"
7   spec.version = Flatito::VERSION
8   spec.authors = ["José Galisteo"]
9   spec.email = ["ceritium@gmail.com"]
11   spec.summary = "Grep for YAML and JSON files"
12   spec.description = "A kind of grep for YAML and JSON files. It allows you to search for a key and get the value and the line number where it is located."
14   spec.homepage = "https://github.com/ceritium/flatito"
15   spec.license = "MIT"
16   spec.required_ruby_version = ">= 3.0.0"
18   spec.metadata["homepage_uri"] = spec.homepage
19   spec.metadata["source_code_uri"] = spec.homepage
20   # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
22   # Specify which files should be added to the gem when it is released.
23   # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24   spec.files = Dir.chdir(__dir__) do
25     `git ls-files -z`.split("\x0").reject do |f|
26       (File.expand_path(f) == __FILE__) ||
27         f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
28     end
29   end
30   spec.bindir = "exe"
31   spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32   spec.require_paths = ["lib"]
34   # Uncomment to register a new dependency of your gem
35   spec.add_dependency "colorize"
37   # For more information and examples about making a new gem, check out our
38   # guide at: https://bundler.io/guides/creating_gem.html
39   spec.metadata["rubygems_mfa_required"] = "true"
40 end