aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-concurrent-ruby/ungit-gemspec.patch
blob: 28cf2edbf6d3519baedfd3eb98342d9f52570f1b (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
--- a/concurrent-ruby.gemspec
+++ b/concurrent-ruby.gemspec
@@ -2,8 +2,6 @@
 require File.join(File.dirname(__FILE__ ), 'lib/concurrent-ruby/concurrent/utility/engine')
 
 Gem::Specification.new do |s|
-  git_files = `git ls-files`.split("\n")
-
   s.name             = 'concurrent-ruby'
   s.version          = Concurrent::VERSION
   s.platform         = Gem::Platform::RUBY
@@ -13,8 +11,8 @@
   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,
+  s.files            = [*Dir['lib/concurrent-ruby/**/*.rb'],
+                        *Dir['ext/concurrent-ruby/**/*'],
                         'Rakefile',
                         'Gemfile',
                         'lib/concurrent-ruby/concurrent/concurrent_ruby.jar'
--- a/concurrent-ruby-edge.gemspec
+++ b/concurrent-ruby-edge.gemspec
@@ -2,8 +2,6 @@
 require File.join(File.dirname(__FILE__ ), 'lib/concurrent-ruby-edge/concurrent/edge/version')
 
 Gem::Specification.new do |s|
-  git_files = `git ls-files`.split("\n")
-
   s.name             = 'concurrent-ruby-edge'
   s.version          = Concurrent::EDGE_VERSION
   s.platform         = Gem::Platform::RUBY
@@ -13,7 +11,7 @@
   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.files            = Dir['lib/concurrent-ruby-edge/**/*.rb']
   s.extra_rdoc_files = Dir['README*', 'LICENSE*', 'CHANGELOG*']
   s.require_paths    = ['lib/concurrent-ruby-edge']
   s.description      = <<-TXT