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:
Nabil Chatbi 2019-12-20 21:26:11 +01:00
commit 04ed48a128
4 changed files with 7 additions and 6 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
# OS X
.DS_Store
# Xcode user settings
xcuserdata/

View File

@ -1 +0,0 @@
4.2

View File

@ -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 {}

View File

@ -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']