Skip to content

Commit 2b14531

Browse files
dannys42Fouad Hatem
andauthored
Misc community version (#61)
* Update copyright and package references * Update .travis.yml * Update copyright info * Update README.md * Reset unicode in README to original value Co-authored-by: Fouad Hatem <fouadhatem@icloud.com>
1 parent 744c094 commit 2b14531

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.jazzy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module: HTMLEntities
2-
author: IBM
3-
github_url: https://github.com/IBM-Swift/swift-html-entities
2+
author: IBM and the Kitura project authors
3+
github_url: https://github.com/Kitura/swift-html-entities
44

55
theme: fullwidth
66
clean: true

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ matrix:
6666
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
6767

6868
before_install:
69-
- git clone https://github.com/IBM-Swift/Package-Builder.git
69+
- git clone https://github.com/Kitura/Package-Builder.git
7070

7171
script:
7272
- ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
/**
5-
* Copyright IBM Corporation 2016, 2017
5+
* Copyright IBM Corporation and the Kitura project authors 2016-2020
66
*
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

Package@swift-4.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
/**
5-
* Copyright IBM Corporation 2016, 2017
5+
* Copyright IBM Corporation and the Kitura project authors 2016-2020
66
*
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In addition, `HTMLEntities` can unescape encoded HTML text that contains decimal
1818

1919
## API Documentation
2020

21-
API documentation for `HTMLEntities` is located [here](https://ibm-swift.github.io/swift-html-entities/).
21+
API documentation for `HTMLEntities` is located [here](https://kitura.github.io/swift-html-entities/).
2222

2323
## Features
2424

@@ -45,7 +45,7 @@ let package = Package(
4545
name: "<package-name>",
4646
...
4747
dependencies: [
48-
.package(url: "https://github.com/IBM-Swift/swift-html-entities.git", from: "3.0.0")
48+
.package(url: "https://github.com/Kitura/swift-html-entities.git", from: "3.0.0")
4949
]
5050
// Also, make sure to add HTMLEntities to your package target's dependencies
5151
)
@@ -57,7 +57,7 @@ Add `HTMLEntities` to your `Podfile`:
5757

5858
```
5959
target '<project-name>' do
60-
pod 'HTMLEntities', :git => 'https://github.com/IBM-Swift/swift-html-entities.git'
60+
pod 'HTMLEntities', :git => 'https://github.com/Kitura/swift-html-entities.git'
6161
end
6262
```
6363

@@ -66,7 +66,7 @@ end
6666
Add `HTMLEntities` to your `Cartfile`:
6767

6868
```
69-
github "IBM-Swift/swift-html-entities"
69+
github "Kitura/swift-html-entities"
7070
```
7171

7272
## Usage
@@ -197,15 +197,15 @@ import HTMLEntities
197197
let text = "&#4370&#4449&#4523"
198198

199199
print(text.htmlUnescape())
200-
// Prints "한"
200+
// Prints ""
201201

202202
print(try text.htmlUnescape(strict: true))
203203
// Throws a `ParseError.MissingSemicolon` instance
204204

205205
// a throwing function because `strict` is passed in argument
206206
// but no error is thrown because `strict: false`
207207
print(try text.htmlUnescape(strict: false))
208-
// Prints "한"
208+
// Prints ""
209209
```
210210

211211
## Acknowledgments

0 commit comments

Comments
 (0)