Skip to content

Commit 38798db

Browse files
authored
Update Travis-CI: Remove Swift 4.x support, Add Swift 5.4; update github org references (#62)
1 parent 2b14531 commit 38798db

34 files changed

+1079
-608
lines changed

.jazzy.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ readme: README.md
1010

1111
skip_undocumented: false
1212
hide_documentation_coverage: false
13-
14-
xcodebuild_arguments: [-project, HTMLEntities.xcodeproj, -target, HTMLEntities]

.travis.yml

Lines changed: 9 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -15,55 +15,28 @@ matrix:
1515
dist: xenial
1616
sudo: required
1717
services: docker
18-
env: DOCKER_IMAGE=swift:4.0.3 SWIFT_SNAPSHOT=4.0.3
18+
env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu16.04:5.1.5
1919
- os: linux
20-
dist: xenial
21-
sudo: required
22-
services: docker
23-
env: DOCKER_IMAGE=swift:4.1.3 SWIFT_SNAPSHOT=4.1.3
24-
- os: linux
25-
dist: xenial
26-
sudo: required
27-
services: docker
28-
env: DOCKER_IMAGE=swift:4.2.4 SWIFT_SNAPSHOT=4.2.4
29-
- os: linux
30-
dist: xenial
31-
sudo: required
32-
services: docker
33-
env: DOCKER_IMAGE=swift:5.0.3-xenial SWIFT_SNAPSHOT=5.0.3
34-
- os: linux
35-
dist: xenial
20+
dist: bionic
3621
sudo: required
3722
services: docker
38-
env: DOCKER_IMAGE=swift:5.1
23+
env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu18.04:5.4
3924
- os: linux
4025
dist: xenial
4126
sudo: required
4227
services: docker
43-
env: DOCKER_IMAGE=swift:5.1 SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
44-
- os: osx
45-
osx_image: xcode9.2
46-
sudo: required
47-
env: SWIFT_SNAPSHOT=4.0.3
48-
- os: osx
49-
osx_image: xcode9.4
50-
sudo: required
51-
env: SWIFT_SNAPSHOT=4.1.2
28+
env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu18.04:latest USE_SWIFT_DEVELOPMENT_SNAPSHOT=1
5229
- os: osx
53-
osx_image: xcode10.1
30+
osx_image: xcode11
5431
sudo: required
55-
env: SWIFT_SNAPSHOT=4.2.1
32+
env: SWIFT_SNAPSHOT=5.1.5 JAZZY_ELIGIBLE=true
5633
- os: osx
57-
osx_image: xcode10.2
34+
osx_image: xcode12.2
5835
sudo: required
59-
env: SWIFT_SNAPSHOT=5.0.1 JAZZY_ELIGIBLE=true
6036
- os: osx
61-
osx_image: xcode11
62-
sudo: required
63-
- os: osx
64-
osx_image: xcode11
37+
osx_image: xcode12.5
6538
sudo: required
66-
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
39+
env: USE_SWIFT_DEVELOPMENT_SNAPSHOT=1
6740

6841
before_install:
6942
- git clone https://github.com/Kitura/Package-Builder.git

HTMLEntities.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "HTMLEntities"
19-
s.version = "3.0.13"
19+
s.version = "4.0.0"
2020
s.summary = "HTML5 spec-compliant character encoder/decoder for Swift"
2121

2222
# This description is used to generate tags and improve search results.
@@ -34,7 +34,7 @@ Includes support for HTML5 named character references. You can find the list of
3434
In addition, `HTMLEntities` can unescape encoded HTML text that contains decimal, hexadecimal, or HTML5 named character references.
3535
DESC
3636

37-
s.homepage = "https://github.com/IBM-Swift/swift-html-entities"
37+
s.homepage = "https://github.com/Kitura/swift-html-entities"
3838
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
3939

4040

@@ -83,7 +83,7 @@ In addition, `HTMLEntities` can unescape encoded HTML text that contains decimal
8383
# Supports git, hg, bzr, svn and HTTP.
8484
#
8585

86-
s.source = { :git => "https://github.com/IBM-Swift/swift-html-entities.git", :tag => "#{s.version}" }
86+
s.source = { :git => "https://github.com/Kitura/swift-html-entities.git", :tag => "#{s.version}" }
8787

8888

8989
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

Package@swift-4.swift

Lines changed: 0 additions & 42 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# HTMLEntities
22

3-
[![Build Status - Master](https://api.travis-ci.org/IBM-Swift/swift-html-entities.svg?branch=master)](https://travis-ci.org/IBM-Swift/swift-html-entities)
3+
[![Build Status - Master](https://api.travis-ci.org/Kitura/swift-html-entities.svg?branch=master)](https://travis-ci.org/Kitura/swift-html-entities)
44
![macOS](https://img.shields.io/badge/os-macOS-green.svg?style=flat)
55
![Linux](https://img.shields.io/badge/os-linux-green.svg?style=flat)
66
![Apache 2](https://img.shields.io/badge/license-Apache2-blue.svg?style=flat)
7-
[![codecov](https://codecov.io/gh/IBM-Swift/swift-html-entities/branch/master/graph/badge.svg)](https://codecov.io/gh/IBM-Swift/swift-html-entities)
7+
[![codecov](https://codecov.io/gh/Kitura/swift-html-entities/branch/master/graph/badge.svg)](https://codecov.io/gh/Kitura/swift-html-entities)
88
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
99

1010
## Summary

Tests/HTMLEntitiesTests/HTMLEntitiesTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ class HTMLEntitiesTests: XCTestCase {
278278
XCTFail("Wrong error thrown")
279279
}
280280

281-
// unit test for fix to https://github.com/IBM-Swift/swift-html-entities/issues/29
281+
// unit test for fix to https://github.com/Kitura/swift-html-entities/issues/29
282282
XCTAssertEqual("&+&#4370ᅡ&#4523".htmlUnescape(), "&+한")
283283

284284
// test various parse errors

docs/Enums.html

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<title>Enums Reference</title>
4+
<title>Enumerations Reference</title>
55
<link rel="stylesheet" type="text/css" href="css/jazzy.css" />
66
<link rel="stylesheet" type="text/css" href="css/highlight.css" />
77
<meta charset="utf-8">
@@ -14,13 +14,14 @@
1414
</head>
1515
<body>
1616

17+
<a name="//apple_ref/swift/Section/Enumerations" class="dashAnchor"></a>
1718

18-
<a title="Enums Reference"></a>
19+
<a title="Enumerations Reference"></a>
1920

2021
<header class="header">
2122
<p class="header-col header-col--primary">
2223
<a class="header-link" href="index.html">
23-
HTMLEntities Docs
24+
HTMLEntities 4.0.0 Docs
2425
</a>
2526
(100% documented)
2627
</p>
@@ -32,7 +33,7 @@
3233
</p>
3334

3435
<p class="header-col header-col--secondary">
35-
<a class="header-link" href="https://github.com/IBM-Swift/swift-html-entities">
36+
<a class="header-link" href="https://github.com/Kitura/swift-html-entities">
3637
<img class="header-icon" src="img/gh.png"/>
3738
View on GitHub
3839
</a>
@@ -43,14 +44,14 @@
4344
<p class="breadcrumbs">
4445
<a class="breadcrumb" href="index.html">HTMLEntities Reference</a>
4546
<img class="carat" src="img/carat.png" />
46-
Enums Reference
47+
Enumerations Reference
4748
</p>
4849

4950
<div class="content-wrapper">
5051
<nav class="navigation">
5152
<ul class="nav-groups">
5253
<li class="nav-group-name">
53-
<a class="nav-group-name-link" href="Enums.html">Enums</a>
54+
<a class="nav-group-name-link" href="Enums.html">Enumerations</a>
5455
<ul class="nav-group-tasks">
5556
<li class="nav-group-task">
5657
<a class="nav-group-task-link" href="Enums/ParseError.html">ParseError</a>
@@ -73,9 +74,9 @@
7374
<article class="main-content">
7475

7576
<section class="section">
76-
<div class="section-content">
77-
<h1>Enums</h1>
78-
<p>The following enums are available globally.</p>
77+
<div class="section-content top-matter">
78+
<h1>Enumerations</h1>
79+
<p>The following enumerations are available globally.</p>
7980

8081
</div>
8182
</section>
@@ -108,7 +109,7 @@ <h1>Enums</h1>
108109
<h4>Declaration</h4>
109110
<div class="language">
110111
<p class="aside-title">Swift</p>
111-
<pre class="highlight"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">ParseError</span><span class="p">:</span> <span class="kt">Error</span></code></pre>
112+
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">ParseError</span> <span class="p">:</span> <span class="kt">Error</span></code></pre>
112113

113114
</div>
114115
</div>
@@ -123,8 +124,8 @@ <h4>Declaration</h4>
123124
</article>
124125
</div>
125126
<section class="footer">
126-
<p>&copy; 2017 <a class="link" href="https://github.com/IBM-Swift/swift-html-entities" target="_blank" rel="external">IBM</a>. All rights reserved. (Last updated: 2017-10-02)</p>
127-
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.8.1</a>, a <a class="link" href="http://realm.io" target="_blank" rel="external">Realm</a> project.</p>
127+
<p>&copy; 2021 <a class="link" href="https://github.com/Kitura/swift-html-entities" target="_blank" rel="external">IBM and the Kitura project authors</a>. All rights reserved. (Last updated: 2021-08-28)</p>
128+
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.7</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
128129
</section>
129130
</body>
130131
</div>

0 commit comments

Comments
 (0)