[前][次][番号順一覧][スレッド一覧]

ruby-changes:46206

From: hsbt <ko1@a...>
Date: Wed, 12 Apr 2017 07:41:26 +0900 (JST)
Subject: [ruby-changes:46206] hsbt:r58321 (trunk): Merge upstream of ruby/etc.

hsbt	2017-04-12 07:41:21 +0900 (Wed, 12 Apr 2017)

  New Revision: 58321

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58321

  Log:
    Merge upstream of ruby/etc.
    
      * Do not use `git ls-files` for file listing.
      * Fix extconf.rb path.

  Modified files:
    trunk/ext/etc/etc.gemspec
Index: ext/etc/etc.gemspec
===================================================================
--- ext/etc/etc.gemspec	(revision 58320)
+++ ext/etc/etc.gemspec	(revision 58321)
@@ -12,13 +12,25 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/ext/etc/etc.gemspec#L12
   spec.homepage      = "https://github.com/ruby/etc"
   spec.license       = "BSD-2-Clause"
 
-  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
-    f.match(%r{^(test|spec|features)/})
-  end
+  spec.files         = %w[
+    .gitignore
+    .travis.yml
+    Gemfile
+    LICENSE.txt
+    README.md
+    Rakefile
+    bin/console
+    bin/setup
+    etc.gemspec
+    ext/etc/etc.c
+    ext/etc/extconf.rb
+    ext/etc/mkconstants.rb
+    test/etc/test_etc.rb
+  ]
   spec.bindir        = "exe"
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
   spec.require_paths = ["lib"]
-  spec.extensions    = %w{extconf.rb}
+  spec.extensions    = %w{ext/etc/extconf.rb}
 
   spec.required_ruby_version = ">= 2.5.0dev"
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]