Sha256: 8356891a3de9712a7ccf3c8dbc857760fdc58103df238899a0a17088780c1598

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

require 'rbconfig'

Gem::Specification.new do |spec|
  spec.name       = 'ptools'
  spec.version    = '1.4.3'
  spec.license    = 'Artistic-2.0'
  spec.author     = 'Daniel J. Berger'
  spec.email      = 'djberg96@gmail.com'
  spec.homepage   = 'https://github.com/djberg96/ptools'
  spec.summary    = 'Extra methods for the File class'
  spec.test_files = Dir['spec/_spec*']
  spec.files      = Dir['**/*'].reject{ |f| f.include?('git') }
  spec.cert_chain = ['certs/djberg96_pub.pem']

  spec.description = <<-EOF
    The ptools (power tools) library provides several handy methods to
    Ruby's core File class, such as File.which for finding executables,
    File.null to return the null device on your platform, and so on.
  EOF

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

  spec.add_development_dependency('rake')
  spec.add_development_dependency('rspec', '~> 3.9')
  spec.add_development_dependency('rubocop')
  spec.add_development_dependency('rubocop-rspec')

  if File::ALT_SEPARATOR
    spec.platform = Gem::Platform.new(['universal', 'mingw32'])
    spec.add_dependency('win32-file')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ptools-1.4.3-universal-mingw32 ptools.gemspec