Sha256: 4a7c4683b89bea84989b88aba24f02041f540c267aa28386517f97c75ff06761

Contents?: true

Size: 1.83 KB

Versions: 2

Compression:

Stored size: 1.83 KB

Contents

# frozen_string_literal: true

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'spandx/version'

Gem::Specification.new do |spec|
  spec.name          = 'spandx'
  spec.version       = Spandx::VERSION
  spec.authors       = ['mo khan']
  spec.email         = ['mo@mokhan.ca']

  spec.summary       = 'A ruby interface to the SPDX catalogue.'
  spec.description   = 'A ruby interface to the SPDX catalogue.'
  spec.homepage      = 'https://github.com/mokhan/spandx'
  spec.license       = 'MIT'

  spec.metadata['homepage_uri'] = spec.homepage
  spec.metadata['source_code_uri'] = 'https://github.com/mokhan/spandx'
  spec.metadata['changelog_uri'] = 'https://github.com/mokhan/spandx/blob/master/CHANGELOG.md'

  spec.files = Dir.chdir(File.expand_path(__dir__)) do
    Dir.glob('exe/*') +
      Dir.glob('lib/**/**/*.{rb}') +
      Dir.glob('*.{md,gemspec,txt}')
  end

  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.required_ruby_version = '>= 2.4.0'
  spec.add_dependency 'addressable', '~> 2.7'
  spec.add_dependency 'bundler', '>= 1.16', '< 3.0.0'
  spec.add_dependency 'concurrent-ruby-ext', '~> 1.1'
  spec.add_dependency 'net-hippie', '~> 0.3'
  spec.add_dependency 'nokogiri', '~> 1.10'
  spec.add_dependency 'text', '~> 1.3'
  spec.add_dependency 'thor', '~> 0.1'
  spec.add_development_dependency 'bundler-audit', '~> 0.6'
  spec.add_development_dependency 'rake', '~> 13.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'rspec-benchmark', '~> 0.5'
  spec.add_development_dependency 'rubocop', '~> 0.52'
  spec.add_development_dependency 'rubocop-rspec', '~> 1.22'
  spec.add_development_dependency 'vcr', '~> 5.0'
  spec.add_development_dependency 'webmock', '~> 3.7'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spandx-0.4.1 spandx.gemspec
spandx-0.4.0 spandx.gemspec