Sha256: c8096e59af2c9b2ea3ff5009551e4680e0bc35b7dd151a5b98e58f16fefc7f5d

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "uuid/ncname/version"

Gem::Specification.new do |spec|
  spec.name          = "uuid-ncname"
  spec.version       = UUID::NCName::VERSION
  spec.authors       = ["Dorian Taylor"]
  spec.email         = ["code@doriantaylor.com"]
  spec.license       = 'Apache-2.0'
  spec.homepage      = "https://github.com/doriantaylor/rb-uuid-ncname"
  spec.summary       = %q{Format a UUID as a valid NCName.}
  spec.description   = <<DESC
This module creates an isomorphic representation of a UUID which is
guaranteed to fit into the grammar of the XML NCName construct, which
also happens to exhibit (modulo case and hyphens) the same constraints
as identifiers in nearly all programming languages. Provides case
sensitive (Base64) and case-insensitive (Base32) variants.
DESC

  spec.files         = `git ls-files -z`.split("\x0").reject do |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"]

  # surprisingly do not need this
  # spec.add_runtime_dependency 'uuidtools', '~> 2.1.5'
  spec.add_runtime_dependency 'base32',    '~> 0.3.2'

  spec.add_development_dependency 'bundler', '~> 1.16'
  spec.add_development_dependency 'rake',    '~> 10.0'
  spec.add_development_dependency 'rspec',   '~> 3.0'

  # only need it for testing, who knew
  # spec.add_development_dependency 'uuidtools', '~> 2.1.5'
  # actually don't even need it for that
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
uuid-ncname-0.1.3 uuid-ncname.gemspec
uuid-ncname-0.1.2 uuid-ncname.gemspec