Skip to content

Commit

Permalink
Merge pull request #3 from bloom/dehesa-master
Browse files Browse the repository at this point in the history
Keep updated with the original repo
  • Loading branch information
nghialuong authored Sep 10, 2024
2 parents 1cb90c0 + beb6252 commit 9b7e102
Show file tree
Hide file tree
Showing 63 changed files with 7,714 additions and 7,600 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Steps to reproduce the behavior:
A clear and concise description of what you expected to happen.

## System
- OS: [e.g. macOS 11.2, iOS 14.4, Ubuntu 20.04]
- CodableCSV: [e.g. 0.6.6]
- OS: [e.g. macOS 11.5, iOS 14.7, Ubuntu 20.04]
- CodableCSV: [e.g. 0.6.7]
You can check this in your SPM `Package.swift` file (or `Package.resolved` file). Alternatively, go to Xcode's Source Control Navigator (`⌘+2`) and click on `CodableCSV`.

## Additional context
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Add any other context about the question here (or delete this section if it is u

## System
Delete section if not applicable
- OS: [e.g. macOS 11.2, iOS 14.4, Ubuntu 20.04]
- CodableCSV: [e.g. 0.6.6]
- OS: [e.g. macOS 11.5, iOS 14.7, Ubuntu 20.04]
- CodableCSV: [e.g. 0.6.7]
You can check this in your SPM `Package.swift` file (or `Package.resolved` file). Alternatively, go to Xcode's Source Control Navigator (`⌘+2`) and click on `CodableCSV`.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v -c release
run: swift build -v -c debug
- name: Run tests
run: swift test -v -c release --filter CodableCSVTests
run: swift test -v -c debug --filter CodableCSVTests

unittests_on_Ubuntu:
name: Unit tests on Ubuntu
Expand All @@ -20,6 +20,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v -c release
run: swift build -v -c debug
- name: Run tests
run: swift test -v -c release --filter CodableCSVTests --enable-test-discovery
run: swift test -v -c debug --filter CodableCSVTests --enable-test-discovery
6 changes: 3 additions & 3 deletions CodableCSV.podspec
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
Pod::Spec.new do |s|
s.name = "CodableCSV"
s.version = "0.6.6"
s.version = "0.6.7"
s.summary = "Read and write CSV files row-by-row or through Swift's Codable interface."
s.description = <<-DESC
CodableCSV offers imperative and declarative ways to read and write CSV files. It is extensively configurable and is capable of reading multiple types of entries and write to many outputs.
DESC
s.homepage = "https://github.com/dehesa/CodableCSV"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Marcos Sánchez-Dehesa Carballo" => "[email protected]" }
s.ios.deployment_target = "9.0"
s.ios.deployment_target = "11.0"
s.osx.deployment_target = "10.10"
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"
s.swift_version = ["5.1", "5.2", "5.3"]
s.swift_version = ["5.3", "5.4", "5.5"]
s.source = { :git => "https://github.com/dehesa/CodableCSV.git", :tag => "#{s.version}" }
s.source_files = "sources", "sources/**/*.swift"

Expand Down
28 changes: 14 additions & 14 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// swift-tools-version:5.1
// swift-tools-version:5.3
import PackageDescription

let package = Package(
name: "CodableCSV",
platforms: [
.macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)
],
products: [
.library(name: "CodableCSV", targets: ["CodableCSV"]),
],
dependencies: [],
targets: [
.target(name: "CodableCSV", dependencies: [], path: "sources"),
.testTarget(name: "CodableCSVTests", dependencies: ["CodableCSV"], path: "tests"),
.testTarget(name: "CodableCSVBenchmarks", dependencies: ["CodableCSV"], path: "benchmarks")
]
name: "CodableCSV",
platforms: [
.macOS(.v10_10), .iOS(.v11), .tvOS(.v9), .watchOS(.v2)
],
products: [
.library(name: "CodableCSV", targets: ["CodableCSV"]),
],
dependencies: [],
targets: [
.target(name: "CodableCSV", dependencies: [], path: "sources"),
.testTarget(name: "CodableCSVTests", dependencies: ["CodableCSV"], path: "tests"),
.testTarget(name: "CodableCSVBenchmarks", dependencies: ["CodableCSV"], path: "benchmarks")
]
)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You can choose to add the library through SPM or Cocoapods:
let package = Package(
/* Your package name, supported platforms, and generated products go here */
dependencies: [
.package(url: "https://github.com/dehesa/CodableCSV.git", from: "0.6.6")
.package(url: "https://github.com/dehesa/CodableCSV.git", from: "0.6.7")
],
targets: [
.target(name: /* Your target name here */, dependencies: ["CodableCSV"])
Expand All @@ -48,7 +48,7 @@ You can choose to add the library through SPM or Cocoapods:
- [Cocoapods](https://cocoapods.org).

```
pod 'CodableCSV', '~> 0.6.6'
pod 'CodableCSV', '~> 0.6.7'
```

</p></details>
Expand Down
20 changes: 10 additions & 10 deletions benchmarks/PerformanceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ import CodableCSV

/// Tests checking the regular encoding usage.
final class PerformanceTests: XCTestCase {
override func setUp() {
self.continueAfterFailure = false
}
override func setUp() {
self.continueAfterFailure = false
}
}

extension PerformanceTests {
/// Tests the encoding of an empty.
func testEmptyFile() throws {
// XCTSkipUnless(<#T##expression: Bool##Bool#>, <#T##message: String?##String?#>)
#if !DEBUG
print("Hello RELEASE")
#endif
}
/// Tests the encoding of an empty.
func testEmptyFile() throws {
// XCTSkipUnless(<#T##expression: Bool##Bool#>, <#T##message: String?##String?#>)
#if !DEBUG
print("Hello RELEASE")
#endif
}
}
2 changes: 1 addition & 1 deletion docs/assets/badges/Apple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9b7e102

Please sign in to comment.