mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge csv-0.1.0 from upstream.
* csv.gemspec: Update release version. * lib/csv.rb: Remove superfluous private clause. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c08f7b8088
commit
0593c6a510
2 changed files with 17 additions and 15 deletions
|
@ -1,17 +1,21 @@
|
||||||
# frozen_string_literal: true
|
# 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}
|
Gem::Specification.new do |spec|
|
||||||
s.files = %w{csv.rb}
|
spec.name = "csv"
|
||||||
s.required_ruby_version = ">= 2.5.0dev"
|
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"]
|
spec.summary = "CSV Reading and Writing"
|
||||||
s.email = [nil]
|
spec.description = "the CSV library began its life as FasterCSV."
|
||||||
s.homepage = "https://www.ruby-lang.org"
|
spec.homepage = "https://github.com/ruby/csv"
|
||||||
s.license = "BSD-2-Clause"
|
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
|
end
|
||||||
|
|
|
@ -2297,8 +2297,6 @@ class CSV
|
||||||
chunks.map { |chunk| chunk.encode(@encoding.name) }.join('')
|
chunks.map { |chunk| chunk.encode(@encoding.name) }.join('')
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Returns the encoding of the internal IO object or the +default+ if the
|
# Returns the encoding of the internal IO object or the +default+ if the
|
||||||
# encoding cannot be determined.
|
# encoding cannot be determined.
|
||||||
|
|
Loading…
Reference in a new issue