-
Notifications
You must be signed in to change notification settings - Fork 419
/
concurrent-ruby-edge.gemspec
29 lines (25 loc) · 1.47 KB
/
concurrent-ruby-edge.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
version = File.read("#{__dir__}/lib/concurrent-ruby/concurrent/version.rb")[/'(.+)'/, 1] or raise
edge_version = File.read("#{__dir__}/lib/concurrent-ruby-edge/concurrent/edge/version.rb")[/'(.+)'/, 1] or raise
Gem::Specification.new do |s|
git_files = `git ls-files`.split("\n")
s.name = 'concurrent-ruby-edge'
s.version = edge_version
s.platform = Gem::Platform::RUBY
s.authors = ["Jerry D'Antonio", 'Petr Chalupa', 'The Ruby Concurrency Team']
s.email = 'concurrent-ruby@googlegroups.com'
s.homepage = 'http://www.concurrent-ruby.com'
s.summary = 'Edge features and additions to the concurrent-ruby gem.'
s.license = 'MIT'
s.date = Time.now.strftime('%Y-%m-%d')
s.files = Dir['lib/concurrent-ruby-edge/**/*.rb'] & git_files
s.extra_rdoc_files = Dir['README*', 'LICENSE*', 'CHANGELOG*']
s.require_paths = ['lib/concurrent-ruby-edge']
s.description = <<-TXT
These features are under active development and may change frequently. They are expected not to
keep backward compatibility (there may also lack tests and documentation). Semantic versions will
be obeyed though. Features developed in `concurrent-ruby-edge` are expected to move to `concurrent-ruby` when final.
Please see http://concurrent-ruby.com for more information.
TXT
s.required_ruby_version = '>= 2.3'
s.add_runtime_dependency 'concurrent-ruby', "~> #{version.split('.')[0..1].join('.')}"
end