Sha256: 26cb5c577ee438b6492207a3b926605215dc1b06ce9d6f3eea5140909cc4b111

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 KB

Contents

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'character_set/version'

Gem::Specification.new do |s|
  s.name          = 'character_set'
  s.version       = CharacterSet::VERSION
  s.authors       = ['Janosch Mùˆller']
  s.email         = ['janosch84@gmail.com']

  s.summary       = 'Build, read, write and compare sets of Unicode codepoints.'
  s.homepage      = 'https://github.com/jaynetics/character_set'
  s.license       = 'MIT'

  s.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  s.require_paths = ['lib']

  s.extensions  = %w[ext/character_set/extconf.rb]

  s.required_ruby_version = '>= 2.1.0'

  # SortedSet, needed for RubyFallback, was moved to a gem in Ruby 3.
  # This dependency is only used if the C extension is unavailable.
  # JRuby has it in the stdlib.
  if RUBY_VERSION.to_f >= 3.0 && !RUBY_PLATFORM[/java/i]
    s.add_dependency 'sorted_set', '~> 1.0'
  end

  s.add_development_dependency 'benchmark-ips', '~> 2.7'
  s.add_development_dependency 'get_process_mem', '~> 0.2.3'
  s.add_development_dependency 'rake', '~> 13.0'
  s.add_development_dependency 'rake-compiler', '~> 1.1'
  s.add_development_dependency 'range_compressor', '~> 1.0'
  s.add_development_dependency 'regexp_parser', '~> 1.6'
  s.add_development_dependency 'regexp_property_values', '~> 1.0'
  s.add_development_dependency 'rspec', '~> 3.8'
  if RUBY_VERSION.to_f >= 2.7
    s.add_development_dependency 'codecov', '~> 0.2.12'
    s.add_development_dependency 'rubocop', '~> 1.8'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
character_set-1.4.1-java character_set.gemspec
character_set-1.4.1 character_set.gemspec