Sha256: bad53f54bd7000d7c18e59141a924c98bc2a95e1e93d49208d347de42dc3340c

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

# frozen_string_literal: true

require_relative "lib/version"

Gem::Specification.new do |spec|
  spec.name          = "github-username-regex-ruby"
  spec.version       = GitHubUsernameRegex::Version::VERSION
  spec.authors       = ["Grant Birkinbine"]
  spec.email         = "grant.birkinbine@gmail.com"
  spec.license       = "MIT"

  spec.summary       = "A lightweight Ruby Gem to check if a GitHub username / handle is valid"
  spec.description   = <<~SPEC_DESC
    A lightweight Ruby Gem to check if a GitHub username / handle is valid using regex
  SPEC_DESC

  spec.homepage = "https://github.com/grantbirki/github-username-regex-ruby"
  spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")

  # 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(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
  end
  spec.require_paths = ["lib"]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github-username-regex-ruby-0.0.5 github-username-regex-ruby.gemspec