ruby-changes:47732
From: hsbt <ko1@a...>
Date: Tue, 12 Sep 2017 17:38:12 +0900 (JST)
Subject: [ruby-changes:47732] hsbt:r59849 (trunk): Merge csv-0.1.0 from upstream.
hsbt 2017-09-12 17:38:06 +0900 (Tue, 12 Sep 2017) New Revision: 59849 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59849 Log: Merge csv-0.1.0 from upstream. * csv.gemspec: Update release version. * lib/csv.rb: Remove superfluous private clause. Modified files: trunk/lib/csv.gemspec trunk/lib/csv.rb Index: lib/csv.gemspec =================================================================== --- lib/csv.gemspec (revision 59848) +++ lib/csv.gemspec (revision 59849) @@ -1,17 +1,21 @@ https://github.com/ruby/ruby/blob/trunk/lib/csv.gemspec#L1 # frozen_string_literal: true -Gem::Specification.new do |s| - s.name = "csv" - s.version = '0.0.1' - s.date = '2017-01-30' - s.summary = "CSV Reading and Writing" - s.description = "the CSV library began its life as FasterCSV." - s.require_path = %w{lib} - s.files = %w{csv.rb} - s.required_ruby_version = ">= 2.5.0dev" +Gem::Specification.new do |spec| + spec.name = "csv" + spec.version = "0.1.0" + spec.date = "2017-09-12" + spec.authors = ["James Edward Gray II"] + spec.email = [nil] - s.authors = ["James Edward Gray II"] - s.email = [nil] - s.homepage = "https://www.ruby-lang.org" - s.license = "BSD-2-Clause" + spec.summary = "CSV Reading and Writing" + spec.description = "the CSV library began its life as FasterCSV." + spec.homepage = "https://github.com/ruby/csv" + spec.license = "BSD-2-Clause" + + spec.files = ["lib/csv.rb"] + spec.require_paths = ["lib"] + spec.required_ruby_version = ">= 2.5.0dev" + + spec.add_development_dependency "bundler", "~> 1.14" + spec.add_development_dependency "rake", "~> 12" end Index: lib/csv.rb =================================================================== --- lib/csv.rb (revision 59848) +++ lib/csv.rb (revision 59849) @@ -2297,8 +2297,6 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L2297 chunks.map { |chunk| chunk.encode(@encoding.name) }.join('') end - private - # # Returns the encoding of the internal IO object or the +default+ if the # encoding cannot be determined. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/