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', '~> 2.1' 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 'gouteur', '~> 1.0.0' s.add_development_dependency 'rubocop', '~> 1.8' end end