Merge branch 'master' into develop
* master: Ignore xcuserdata Delete .swift-version s.swift_versions = ['4.0', '4.2', '5.0', '5.1'] bump version 2.2.2 Fix hang on Xcode 11
This commit is contained in:
commit
04ed48a128
|
@ -1,2 +1,5 @@
|
|||
# OS X
|
||||
.DS_Store
|
||||
|
||||
# Xcode user settings
|
||||
xcuserdata/
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
4.2
|
|
@ -78,10 +78,8 @@ public class StructuralEvaluator: Evaluator {
|
|||
var parent = element.parent()
|
||||
while (true) {
|
||||
do {
|
||||
if parent != nil {
|
||||
if (try evaluator.matches(root, parent!)) {
|
||||
return true
|
||||
}
|
||||
if let p = parent, try evaluator.matches(root, p) {
|
||||
return true
|
||||
}
|
||||
} catch {}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'SwiftSoup'
|
||||
s.version = '2.2.1'
|
||||
s.version = '2.2.2'
|
||||
s.summary = 'Swift HTML Parser / Reader, XML , with best of DOM, CSS, and jquery'
|
||||
s.description = <<-DESC
|
||||
SwiftSoup is a Swift library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods.
|
||||
|
@ -26,6 +26,7 @@ SwiftSoup is a Swift library for working with real-world HTML. It provides a ver
|
|||
s.tvos.deployment_target = "9.0"
|
||||
|
||||
s.source_files = 'Sources/**/*.swift'
|
||||
s.swift_versions = ['4.0', '4.2', '5.0', '5.1']
|
||||
|
||||
#s.resource_bundles = {
|
||||
# 'SwiftSoup' => ['Assets/*.properties']
|
||||
|
|
Loading…
Reference in New Issue