-
Notifications
You must be signed in to change notification settings - Fork 3
/
unf.gemspec
35 lines (31 loc) · 1.42 KB
/
unf.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/unf/version', __FILE__)
Gem::Specification.new do |gem|
gem.name = "unf"
gem.version = UNF::VERSION
gem.authors = ["Akinori MUSHA"]
gem.email = ["knu@idaemons.org"]
gem.description = <<-'EOS'
This is a wrapper library to bring Unicode Normalization Form support
to Ruby/JRuby.
EOS
gem.summary = %q{A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby}
gem.homepage = "https://github.com/knu/ruby-unf"
gem.platform = defined?(JRUBY_VERSION) ? 'java' : Gem::Platform::RUBY
gem.license = "2-clause BSDL"
gem.files = `git ls-files`.split("\n")
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/.*\.rb})
gem.require_paths = ["lib"]
gem.extra_rdoc_files = ['README.md', 'LICENSE']
gem.add_dependency 'unf_ext', '>= 0' unless defined?(JRUBY_VERSION)
gem.add_development_dependency 'shoulda', [RUBY_VERSION < '1.9' ? '< 3.5.0' : '>= 0']
if RUBY_VERSION < '1.9'
# Cap dependency on activesupport with < 4.0 on behalf of
# shoulda-matchers to satisfy bundler.
gem.add_development_dependency 'activesupport', ['< 4.0']
end
gem.add_development_dependency 'bundler', '>= 1.2.0'
gem.add_development_dependency 'rake', '>= 0.9.2.2'
gem.add_development_dependency 'rdoc', '> 2.4.2'
end