-
Notifications
You must be signed in to change notification settings - Fork 0
/
thread_hazardous.gemspec
28 lines (24 loc) · 1.28 KB
/
thread_hazardous.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'thread_hazardous/version'
Gem::Specification.new do |spec|
spec.name = 'thread_hazardous'
spec.version = ThreadHazardous::VERSION
spec.authors = ['Jean Boussier']
spec.email = ['[email protected]']
spec.summary = %q{Monkey patch thread_safe to make it faster in non thread safe applications}
spec.description = %Q{CAUTION: Use this gem at your own risk. If you use gems that depends on the thread_safe gem,
e.g. Rails, but your application is not doing any threading, then thread_hazardous can bring you a few performance
improvements at the cost of making these dependencies non thread safe.}
spec.homepage = 'https://github.com/byroot/thread_hazardous'
spec.license = 'MIT'
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_runtime_dependency 'thread_safe', '~> 0.3.4'
spec.add_development_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'minitest', '>= 4'
end