Merge pull request #28 from yaslab/podspec

Update podspec summary
This commit is contained in:
Yasuhiro Hatta 2017-07-09 14:42:53 +09:00 committed by GitHub
commit 1f4719e8e2
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ Pod::Spec.new do |s|
s.name = 'CSV.swift' s.name = 'CSV.swift'
s.version = '2.0.0' s.version = '2.0.0'
s.license = 'MIT' s.license = 'MIT'
s.summary = 'CSV reading library written in Swift.' s.summary = 'CSV reading and writing library written in Swift.'
s.homepage = 'https://github.com/yaslab/CSV.swift' s.homepage = 'https://github.com/yaslab/CSV.swift'
s.authors = { 'Yasuhiro Hatta' => 'hatta.yasuhiro@gmail.com' } s.authors = { 'Yasuhiro Hatta' => 'hatta.yasuhiro@gmail.com' }
s.source = { :git => 'https://github.com/yaslab/CSV.swift.git', :tag => s.version } s.source = { :git => 'https://github.com/yaslab/CSV.swift.git', :tag => s.version }

View File

@ -354,10 +354,10 @@ extension CSVReader {
//extension CSVReader { //extension CSVReader {
// //
// public func enumerateRows(_ block: (([String], [String]?, inout Bool) throws -> Void)) throws { // public func enumerateRows(_ block: ((CSVReader, inout Bool) throws -> Void)) throws {
// var stop = false // var stop = false
// while let row = readRow() { // while next() != nil {
// try block(row, headerRow, &stop) // try block(self, &stop)
// if stop { // if stop {
// break // break
// } // }