Sha256: 9d3e28ff640cd036c0acc757b115940f2a70c578acddc0f086918e21a51c95a7

Contents?: true

Size: 1013 Bytes

Versions: 2

Compression:

Stored size: 1013 Bytes

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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
character_set-1.6.0-java character_set.gemspec
character_set-1.6.0 character_set.gemspec