Sha256: 36ef87753e35481500a84dcb85ebba3dfd10fbc6ec665fbe152c71093ff92add

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

require 'rubygems'

Gem::Specification.new do |spec|
  spec.name        = 'pathname2'
  spec.version     = '1.8.4'
  spec.author      = 'Daniel J. Berger'
  spec.license     = 'Apache-2.0'
  spec.email       = 'djberg96@gmail.com'
  spec.homepage    = 'https://github.com/djberg96/pathname2'
  spec.summary     = 'An alternate implementation of the Pathname class'
  spec.files       = Dir['**/*'].reject{ |f| f.include?('git') }
  spec.cert_chain  = ['certs/djberg96_pub.pem']

  spec.add_dependency('facade')
  spec.add_development_dependency('test-unit')
  spec.add_development_dependency('rake')

  spec.metadata = {
    'homepage_uri'      => 'https://github.com/djberg96/pathname2',
    'bug_tracker_uri'   => 'https://github.com/djberg96/pathname2/issues',
    'changelog_uri'     => 'https://github.com/djberg96/pathname2/blob/ffi/CHANGES.md',
    'documentation_uri' => 'https://github.com/djberg96/pathname2/wiki',
    'source_code_uri'   => 'https://github.com/djberg96/pathname2',
    'wiki_uri'          => 'https://github.com/djberg96/pathname2/wiki'
  }

  if File::ALT_SEPARATOR
    spec.add_dependency('ffi')
    spec.test_files = Dir['test/windows/*.rb', 'test/test_version.rb']
    spec.platform = Gem::Platform.new(['universal', 'mingw32'])
  else
    spec.test_files = Dir['test/test_pathname.rb', 'test/test_version.rb']
  end

  spec.description = <<-EOF
    The pathname2 library provides an implementation of the Pathname
    class different from the one that ships as part of the Ruby standard
    library. It is a subclass of String, though several methods have been
    overridden to better fit a path context. In addition, it supports file
    URL's as paths, provides additional methods for Windows paths, and
    handles UNC paths on Windows properly. See the README file for more
    details.
  EOF
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pathname2-1.8.4 pathname2.gemspec