-
Notifications
You must be signed in to change notification settings - Fork 419
/
concurrent-ruby.gemspec
30 lines (28 loc) · 1.58 KB
/
concurrent-ruby.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
30
version = File.read("#{__dir__}/lib/concurrent-ruby/concurrent/version.rb")[/'(.+)'/, 1] or raise
Gem::Specification.new do |s|
git_files = `git ls-files`.split("\n")
s.name = 'concurrent-ruby'
s.version = version
s.platform = Gem::Platform::RUBY
s.authors = ["Jerry D'Antonio", 'Petr Chalupa', 'The Ruby Concurrency Team']
s.email = '[email protected]'
s.homepage = 'http://www.concurrent-ruby.com'
s.summary = 'Modern concurrency tools for Ruby. Inspired by Erlang, Clojure, Scala, Haskell, F#, C#, Java, and classic concurrency patterns.'
s.license = 'MIT'
s.date = Time.now.strftime('%Y-%m-%d')
s.files = [*Dir['lib/concurrent-ruby/**/*.rb'] & git_files,
*Dir['ext/concurrent-ruby/**/*'] & git_files,
'Rakefile',
'Gemfile',
'lib/concurrent-ruby/concurrent/concurrent_ruby.jar'
]
s.extra_rdoc_files = Dir['README*', 'LICENSE*', 'CHANGELOG*']
s.require_paths = ['lib/concurrent-ruby']
s.description = <<-TXT.gsub(/^ +/, '')
Modern concurrency tools including agents, futures, promises, thread pools, actors, supervisors, and more.
Inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency patterns.
TXT
s.metadata["source_code_uri"] = "https://github.com/ruby-concurrency/concurrent-ruby"
s.metadata["changelog_uri"] = "https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md"
s.required_ruby_version = '>= 2.3'
end