Skip to content

Commit 8abcb18

Browse files
committed
Split of clearly edge gem files
1 parent 106dcb2 commit 8abcb18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+155
-22
lines changed

concurrent-ruby-edge.gemspec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require_relative 'lib/concurrent/version'
2-
require_relative 'support/file_map'
32

43
Gem::Specification.new do |s|
54
git_files = `git ls-files`.split("\n")
@@ -13,9 +12,9 @@ Gem::Specification.new do |s|
1312
s.summary = 'Edge features and additions to the concurrent-ruby gem.'
1413
s.license = 'MIT'
1514
s.date = Time.now.strftime('%Y-%m-%d')
16-
s.files = FileMap::MAP.fetch(:edge)
15+
s.files = Dir['lib-edge/**/*.rb'] & git_files
1716
s.extra_rdoc_files = Dir['README*', 'LICENSE*']
18-
s.require_paths = ['lib']
17+
s.require_paths = ['lib-edge']
1918
s.description = <<-TXT
2019
These features are under active development and may change frequently. They are expected not to
2120
keep backward compatibility (there may also lack tests and documentation). Semantic versions will

concurrent-ruby.gemspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ require_relative 'lib/concurrent/utility/engine'
33
require_relative 'support/file_map'
44

55
Gem::Specification.new do |s|
6+
git_files = `git ls-files`.split("\n")
7+
68
s.name = 'concurrent-ruby'
79
s.version = Concurrent::VERSION
810
s.platform = Concurrent.on_jruby? ? Gem::Platform::JAVA : Gem::Platform::RUBY
@@ -12,8 +14,7 @@ Gem::Specification.new do |s|
1214
s.summary = 'Modern concurrency tools for Ruby. Inspired by Erlang, Clojure, Scala, Haskell, F#, C#, Java, and classic concurrency patterns.'
1315
s.license = 'MIT'
1416
s.date = Time.now.strftime('%Y-%m-%d')
15-
s.files = [*FileMap::MAP.fetch(:core),
16-
*FileMap::MAP.fetch(:spec),
17+
s.files = [*Dir['lib/**/*.rb'] & git_files,
1718
*(Dir['lib/**/*.jar'] if Concurrent.on_jruby?)]
1819
s.extra_rdoc_files = Dir['README*', 'LICENSE*', 'CHANGELOG*']
1920
s.require_paths = ['lib']
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)