fix up gemspec

This commit is contained in:
VetheonGames 2023-06-07 16:01:47 -06:00
parent 532b1d2cd4
commit b64f2069c4

View File

@ -10,15 +10,13 @@ Gem::Specification.new do |spec|
spec.summary = "A simple library for making Curses TUI input more dynamic and user-friendly"
spec.description = "Dynamic Curses Input is a highly simple, yet powerful gem that allows simple implementation of dynamic typing in curses TUI menus built in Ruby. For example, one can't simply use their arrow keys to navigate and edit inputs in Cursese TUI menus without adding a bunch of extra code to your project to handle it. A lot of which can be tricky to handle. This gem eliminates the need for that code, by providing simple to use methods that allow developers to capture user input, while allowing the special keys to work as the average user would expect. IE: When you press the left arrow key, the cursor moves to the left and allows you to delete a character you entered that isn't the last character you entered."
spec.homepage = "TODO: Put your gem's website or public repo URL here."
spec.homepage = "https://github.com/Pixelated-Studios/dynamic_curses_input"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
#spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
spec.metadata["source_code_uri"] = "https://github.com/Pixelated-Studios/dynamic_curses_input"
spec.metadata["changelog_uri"] = "https://github.com/Pixelated-Studios/dynamic_curses_input/blob/main/CHANGELOG.md"
# 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.
@ -27,13 +25,7 @@ Gem::Specification.new do |spec|
(File.expand_path(f) == __FILE__) || f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor])
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
# 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
spec.add_dependency "curses"
end