Skip to content

Commit

Permalink
chore: refine license header and file (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba authored Nov 21, 2024
1 parent 5084291 commit 7db2203
Show file tree
Hide file tree
Showing 40 changed files with 81 additions and 115 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ In Linux you should replace `host.docker.internal` with the host IP address, it
```shell
ip route | grep default | awk '{print $3}'
```

## Licensing

Voltaserve Swift is released under the [MIT License](LICENSE).
5 changes: 2 additions & 3 deletions Sources/Account.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Common/Error.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation

Expand Down
5 changes: 2 additions & 3 deletions Sources/Common/Request.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Common/URLRequest+AuthHeader.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Common/URLRequest+JSON.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/File+Wait.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation

Expand Down
5 changes: 2 additions & 3 deletions Sources/File.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Group.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/IdentityUser.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation

Expand Down
5 changes: 2 additions & 3 deletions Sources/Insights.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Invitation.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Mosaic.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Organization.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Permission.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Snapshot.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Storage.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Task+Wait.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation

Expand Down
5 changes: 2 additions & 3 deletions Sources/Task.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Token.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/User.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Sources/Workspace.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
#if canImport(FoundationNetworking)
Expand Down
5 changes: 2 additions & 3 deletions Tests/AccountTests.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

@testable import VoltaserveCore
import XCTest
Expand Down
5 changes: 2 additions & 3 deletions Tests/Common/ClientFactory.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import VoltaserveCore

Expand Down
5 changes: 2 additions & 3 deletions Tests/Common/DisposableFactory.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import VoltaserveCore

Expand Down
5 changes: 2 additions & 3 deletions Tests/Common/TokenFactory.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import VoltaserveCore

Expand Down
5 changes: 2 additions & 3 deletions Tests/Common/XCTestCase+Bundle.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
import XCTest
Expand Down
5 changes: 2 additions & 3 deletions Tests/Common/XCTestCase+Failure.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import XCTest

Expand Down
5 changes: 2 additions & 3 deletions Tests/FileTests.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

@testable import VoltaserveCore
import XCTest
Expand Down
5 changes: 2 additions & 3 deletions Tests/GroupTests.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

@testable import VoltaserveCore
import XCTest
Expand Down
5 changes: 2 additions & 3 deletions Tests/Infra/Config.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

import Foundation
import VoltaserveCore
Expand Down
5 changes: 2 additions & 3 deletions Tests/InsightsTests.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

@testable import VoltaserveCore
import XCTest
Expand Down
5 changes: 2 additions & 3 deletions Tests/InvitationTests.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

@testable import VoltaserveCore
import XCTest
Expand Down
5 changes: 2 additions & 3 deletions Tests/MosaicTests.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

@testable import VoltaserveCore
import XCTest
Expand Down
5 changes: 2 additions & 3 deletions Tests/OrganizationTests.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

@testable import VoltaserveCore
import XCTest
Expand Down
5 changes: 2 additions & 3 deletions Tests/SnapshotsTests.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Copyright (c) 2024 Anass Bouassaba.
//
// This software is licensed under the MIT License.
// See the LICENSE file in the root of this repository for details,
// or visit <https://opensource.org/licenses/MIT>.
// Use of this software is governed by the MIT License
// included in the file LICENSE in the root of this repository.

@testable import VoltaserveCore
import XCTest
Expand Down
Loading

0 comments on commit 7db2203

Please sign in to comment.