-
Notifications
You must be signed in to change notification settings - Fork 1
/
unnatural.gemspec
29 lines (22 loc) · 975 Bytes
/
unnatural.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
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'unnatural/version'
Gem::Specification.new do |spec|
spec.name = 'unnatural'
spec.version = Unnatural::VERSION
spec.authors = ['Ben Miller']
spec.email = ['[email protected]']
spec.summary = 'A natural sort.'
spec.description = 'A natural sort implementation with an emphasis on speed.'
spec.homepage = 'https://github.com/bjmllr/unnatural'
spec.license = 'MIT'
spec.files = `git ls-files -z`
.split("\x0")
.reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.files += Dir.glob('ext/unnatural/*')
spec.require_paths = ['lib']
spec.extensions = ['ext/unnatural/Rakefile']
spec.add_dependency 'ffi-compiler', '~> 1.0'
spec.add_development_dependency 'benchmark-ips'
spec.add_development_dependency 'minitest', '~> 5.0'
end