Created
October 17, 2020 19:16
-
-
Save kermit-klein/4dd6b61c830ead2b47419670df065abd to your computer and use it in GitHub Desktop.
Gemspec2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative 'lib/check_parans/version' | |
Gem::Specification.new do |spec| | |
spec.name = "check_parans" | |
spec.version = CheckParans::VERSION | |
spec.authors = ["yourName"] | |
spec.email = ["yourEmail@gmail.com"] | |
spec.summary = "This is a test gem" | |
spec.description = "This gem checks parenthesis validity" | |
spec.homepage = "https://github.com/kermit-klein" | |
spec.license = "MIT" | |
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") | |
spec.metadata["allowed_push_host"] = "http://mygemserver.com" | |
# 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.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | |
spec.require_paths = ["lib"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment