2018-07-31 08:56:17 -04:00
|
|
|
begin
|
|
|
|
require_relative "lib/sync"
|
|
|
|
rescue LoadError
|
|
|
|
# for Ruby core repository
|
|
|
|
require_relative "sync"
|
|
|
|
end
|
2018-07-17 08:21:29 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "sync"
|
|
|
|
spec.version = Sync::VERSION
|
|
|
|
spec.authors = ["Keiju ISHITSUKA"]
|
|
|
|
spec.email = ["keiju@ruby-lang.org"]
|
|
|
|
|
|
|
|
spec.summary = %q{A module that provides a two-phase lock with a counter.}
|
|
|
|
spec.description = %q{A module that provides a two-phase lock with a counter.}
|
|
|
|
spec.homepage = "https://github.com/ruby/sync"
|
|
|
|
spec.license = "BSD-2-Clause"
|
|
|
|
|
|
|
|
spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/sync.rb", "sync.gemspec"]
|
|
|
|
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
|