Skip to content

Commit

Permalink
Misc community version (#61)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
dannys42 and Fouad Hatem authored Oct 9, 2020
1 parent 744c094 commit 2b14531
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .jazzy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module: HTMLEntities
author: IBM
github_url: https://github.com/IBM-Swift/swift-html-entities
author: IBM and the Kitura project authors
github_url: https://github.com/Kitura/swift-html-entities

theme: fullwidth
clean: true
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ matrix:
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT

before_install:
- git clone https://github.com/IBM-Swift/Package-Builder.git
- git clone https://github.com/Kitura/Package-Builder.git

script:
- ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The swift-tools-version declares the minimum version of Swift required to build this package.

/**
* Copyright IBM Corporation 2016, 2017
* Copyright IBM Corporation and the Kitura project authors 2016-2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The swift-tools-version declares the minimum version of Swift required to build this package.

/**
* Copyright IBM Corporation 2016, 2017
* Copyright IBM Corporation and the Kitura project authors 2016-2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ In addition, `HTMLEntities` can unescape encoded HTML text that contains decimal

## API Documentation

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

## Features

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

```
target '<project-name>' do
pod 'HTMLEntities', :git => 'https://github.com/IBM-Swift/swift-html-entities.git'
pod 'HTMLEntities', :git => 'https://github.com/Kitura/swift-html-entities.git'
end
```

Expand All @@ -66,7 +66,7 @@ end
Add `HTMLEntities` to your `Cartfile`:

```
github "IBM-Swift/swift-html-entities"
github "Kitura/swift-html-entities"
```

## Usage
Expand Down Expand Up @@ -197,15 +197,15 @@ import HTMLEntities
let text = "&#4370&#4449&#4523"

print(text.htmlUnescape())
// Prints "한"
// Prints ""

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

// a throwing function because `strict` is passed in argument
// but no error is thrown because `strict: false`
print(try text.htmlUnescape(strict: false))
// Prints "한"
// Prints ""
```

## Acknowledgments
Expand Down

0 comments on commit 2b14531

Please sign in to comment.