From b64f2069c42531b673f85a42e3d03dec37001cc3 Mon Sep 17 00:00:00 2001 From: VetheonGames Date: Wed, 7 Jun 2023 16:01:47 -0600 Subject: [PATCH] fix up gemspec --- dynamic_curses_input.gemspec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/dynamic_curses_input.gemspec b/dynamic_curses_input.gemspec index 18be1fb..9d99280 100644 --- a/dynamic_curses_input.gemspec +++ b/dynamic_curses_input.gemspec @@ -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