2018-07-31 15:56:17 +03:00
|
|
|
begin
|
|
|
|
require_relative "lib/mutex_m"
|
|
|
|
rescue LoadError
|
|
|
|
# for Ruby core repository
|
|
|
|
require_relative "mutex_m"
|
|
|
|
end
|
2018-07-25 15:28:17 +03:00
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "mutex_m"
|
|
|
|
spec.version = Mutex_m::VERSION
|
|
|
|
spec.authors = ["Keiju ISHITSUKA"]
|
|
|
|
spec.email = ["keiju@ruby-lang.org"]
|
|
|
|
|
|
|
|
spec.summary = %q{Mixin to extend objects to be handled like a Mutex.}
|
|
|
|
spec.description = %q{Mixin to extend objects to be handled like a Mutex.}
|
|
|
|
spec.homepage = "https://github.com/ruby/mutex_m"
|
2020-08-18 14:15:59 +03:00
|
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
2018-07-25 15:28:17 +03:00
|
|
|
|
2020-12-22 15:43:30 +03:00
|
|
|
spec.files = ["Gemfile", "LICENSE.txt", "README.md", "Rakefile", "lib/mutex_m.rb", "mutex_m.gemspec"]
|
2018-07-25 15:28:17 +03:00
|
|
|
spec.bindir = "exe"
|
|
|
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
|
|
|
|
spec.add_development_dependency "bundler"
|
|
|
|
spec.add_development_dependency "rake"
|
|
|
|
spec.add_development_dependency "test-unit"
|
|
|
|
end
|