Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump SWXMLHash to 6.0.0 #112

Merged
merged 3 commits into from May 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/swift.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Build and Test on Linux
strategy:
matrix:
swift-version: ["5.1", "5.2", "5.3", "5.4", "5.5"]
swift-version: ["5.3", "5.4", "5.5"]
runs-on: Ubuntu-18.04
steps:
- uses: actions/checkout@v2
Expand All @@ -32,7 +32,6 @@ jobs:
strategy:
matrix:
xcode:
- { os: macOS-10.15, path: /Applications/Xcode_11.4.1.app }
- { os: macOS-10.15, path: /Applications/Xcode_12.3.app }
- { os: macOS-10.15, path: /Applications/Xcode_12.4.app }
- { os: macOS-11, path: /Applications/Xcode_13.2.1.app }
Expand Down
6 changes: 3 additions & 3 deletions IBDecodable.podspec
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = 'IBDecodable'
s.version = '0.1.0'
s.summary = 'A linter tool for Interface Builder.'
s.version = '0.5.0'
s.summary = 'A tool to translate xib and storyboard XML into Swift models.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! 😓

s.homepage = 'https://github.com/IBDecodable/IBDecodable'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { 'Steven Deutsch' => 'stevensdeutsch@yahoo.com' }
s.source = { :git => "https://github.com/IBDecodable/IBDecodable.git", :tag => s.version }
s.source_files = 'Sources/*.swift'
s.platform = :osx, '10.9'
s.dependency "SWXMLHash", "~> 4.0"
s.dependency "SWXMLHash", "~> 6.0.0"
end
4 changes: 2 additions & 2 deletions Package.resolved
Expand Up @@ -6,8 +6,8 @@
"repositoryURL": "https://github.com/drmohundro/SWXMLHash.git",
"state": {
"branch": null,
"revision": "a4931e5c3bafbedeb1601d3bb76bbe835c6d475a",
"version": "5.0.1"
"revision": "6469881a3f30417c5bb02404ea4b69207f297592",
"version": "6.0.0"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Expand Up @@ -9,7 +9,7 @@ let package = Package(
.library(name: "IBDecodable", targets: ["IBDecodable"])
],
dependencies: [
.package(url: "https://github.com/drmohundro/SWXMLHash.git", from: "5.0.1")
.package(url: "https://github.com/drmohundro/SWXMLHash.git", from: "6.0.0")
],
targets: [
.target(name: "IBDecodable", dependencies: ["SWXMLHash"], path: "Sources"),
Expand Down
4 changes: 2 additions & 2 deletions Sources/Parsers/InterfaceBuilderParser.swift
Expand Up @@ -28,10 +28,10 @@ public struct InterfaceBuilderParser {
}
}

let xmlParser: SWXMLHash
let xmlParser: XMLHash

public init(detectParsingErrors: Bool = true) {
xmlParser = SWXMLHash.config { options in
xmlParser = XMLHash.config { options in
options.detectParsingErrors = detectParsingErrors
}
}
Expand Down