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

ruby-changes:51170

From: hsbt <ko1@a...>
Date: Wed, 9 May 2018 20:44:36 +0900 (JST)
Subject: [ruby-changes:51170] hsbt:r63377 (trunk): Use hard-coded file list instead of Dir.glob.

hsbt	2018-05-09 20:44:30 +0900 (Wed, 09 May 2018)

  New Revision: 63377

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

  Log:
    Use hard-coded file list instead of Dir.glob.

  Modified files:
    trunk/lib/csv/csv.gemspec
Index: lib/csv/csv.gemspec
===================================================================
--- lib/csv/csv.gemspec	(revision 63376)
+++ lib/csv/csv.gemspec	(revision 63377)
@@ -13,8 +13,7 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/csv/csv.gemspec#L13
   spec.homepage      = "https://github.com/ruby/csv"
   spec.license       = "BSD-2-Clause"
 
-  spec.files         = Dir.glob("lib/**/*.rb")
-  spec.files         += ["README.md", "LICENSE.txt", "news.md"]
+  spec.files         = ["lib/csv.rb", "lib/csv/table.rb", "lib/csv/core_ext/string.rb", "lib/csv/core_ext/array.rb", "lib/csv/row.rb", "lib/csv/version.rb", "README.md", "LICENSE.txt", "news.md"]
   spec.require_paths = ["lib"]
   spec.required_ruby_version = ">= 2.3.0"
 

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

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