Fill gemspec structure

This commit is contained in:
Glenn Y. Rolland 2019-12-29 13:06:36 +01:00
parent e9a7d7a815
commit b268319dfd
3 changed files with 30 additions and 23 deletions

View file

@ -4,15 +4,6 @@ source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
# gem "rails"
gem "nokogiri", "~> 1.10"
gem "curses", "~> 1.3"
source "https://rubygems.org"
# Specify your gem's dependencies in noozoid.gemspec
gemspec
gem "rake", "~> 12.0"

View file

@ -1,3 +1,11 @@
PATH
remote: .
specs:
noozoid (0.1.0)
curses (~> 1.3)
nokogiri (~> 1.10)
thor
GEM
remote: https://rubygems.org/
specs:
@ -5,13 +13,15 @@ GEM
mini_portile2 (2.4.0)
nokogiri (1.10.7)
mini_portile2 (~> 2.4.0)
rake (12.3.3)
thor (1.0.1)
PLATFORMS
ruby
DEPENDENCIES
curses (~> 1.3)
nokogiri (~> 1.10)
noozoid!
rake (~> 12.0)
BUNDLED WITH
2.1.2

View file

@ -1,28 +1,34 @@
require_relative 'lib/noozoid/version'
Gem::Specification.new do |spec|
spec.name = "noozoid"
spec.name = 'noozoid'
spec.version = Noozoid::VERSION
spec.authors = ["Glenn Y. Rolland"]
spec.email = ["glenux@glenux.net"]
spec.authors = ['Glenn Y. Rolland']
spec.email = ['glenux@glenux.net']
spec.summary = %q{TODO: Write a short summary, because RubyGems requires one.}
spec.description = %q{TODO: Write a longer description or delete this line.}
spec.homepage = "TODO: Put your gem's website or public repo URL here."
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
spec.summary = %q{A terminal-based mindmap editor for geeks.}
spec.description = %q{A terminal-based mindmap editor for geeks - longer text.}
spec.homepage = "https://glenux.net"
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.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"] = "TODO: Put your gem's public repo URL here."
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
# 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.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "exe"
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.require_paths = ['lib']
spec.add_dependency 'thor'
spec.add_dependency 'nokogiri', '~> 1.10'
spec.add_dependency 'curses', '~> 1.3'
spec.add_development_dependency 'rake', '~> 12.0'
end