diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-25 12:15:45 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-25 12:15:45 +0000 |
commit | bbb5dbe8ee0fca661e915d01b2927d05622b5918 (patch) | |
tree | c62110f2f8d73e03ec7670cede172b976200b0ea /lib | |
parent | 2b80b8bcec2934a9d8b3a1b33f8e4b697af242c3 (diff) |
Promote ThWait to Default gems.
* lib/thwait.gemspec: Added initial gemspec.
* lib/thwait/version.rb: Added ThWait::VERSION for gemspec.
* tool/sync_default_gems.rb: Support ThWait.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/thwait.gemspec | 21 | ||||
-rw-r--r-- | lib/thwait/version.rb | 3 |
2 files changed, 24 insertions, 0 deletions
diff --git a/lib/thwait.gemspec b/lib/thwait.gemspec new file mode 100644 index 0000000000..9a0355f0b5 --- /dev/null +++ b/lib/thwait.gemspec @@ -0,0 +1,21 @@ +require_relative "thwait/version" + +Gem::Specification.new do |spec| + spec.name = "thwait" + spec.version = ThreadsWait::VERSION + spec.authors = ["Keiju ISHITSUKA"] + spec.email = ["keiju@ruby-lang.org"] + + spec.summary = %q{Watches for termination of multiple threads.} + spec.description = %q{Watches for termination of multiple threads.} + spec.homepage = "https://github.com/ruby/thwait" + spec.license = "BSD-2-Clause" + + spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/thwait.rb", "lib/thwait/version.rb", "thwait.gemspec"] + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + + spec.add_development_dependency "bundler", "~> 1.16" + spec.add_development_dependency "rake", "~> 10.0" +end diff --git a/lib/thwait/version.rb b/lib/thwait/version.rb new file mode 100644 index 0000000000..a3ffb3af16 --- /dev/null +++ b/lib/thwait/version.rb @@ -0,0 +1,3 @@ +class ThreadsWait + VERSION = "0.1.0" +end |