diff --git a/.pubnub.yml b/.pubnub.yml index 9c21d96d..0b562024 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -1,9 +1,14 @@ --- name: swift scm: github.com/pubnub/swift -version: "6.2.1" +version: "6.2.2" schema: 1 changelog: + - date: 2023-10-30 + version: 6.2.2 + changes: + - type: improvement + text: "Update license information." - date: 2023-10-23 version: 6.2.1 changes: @@ -502,7 +507,7 @@ sdks: - distribution-type: source distribution-repository: GitHub release package-name: PubNub - location: https://github.com/pubnub/swift/archive/refs/tags/6.2.1.zip + location: https://github.com/pubnub/swift/archive/refs/tags/6.2.2.zip supported-platforms: supported-operating-systems: macOS: diff --git a/Examples/Sources/AppDelegate.swift b/Examples/Sources/AppDelegate.swift index e87048a6..4801535e 100644 --- a/Examples/Sources/AppDelegate.swift +++ b/Examples/Sources/AppDelegate.swift @@ -1,28 +1,11 @@ // // AppDelegate.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import UIKit diff --git a/Examples/Sources/ConfigDetailTableViewController.swift b/Examples/Sources/ConfigDetailTableViewController.swift index 353f0bda..a7986221 100644 --- a/Examples/Sources/ConfigDetailTableViewController.swift +++ b/Examples/Sources/ConfigDetailTableViewController.swift @@ -1,28 +1,11 @@ // // ConfigDetailTableViewController.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import UIKit diff --git a/Examples/Sources/File/FileAPIViewController.swift b/Examples/Sources/File/FileAPIViewController.swift index af53efc8..6d2cf3ad 100644 --- a/Examples/Sources/File/FileAPIViewController.swift +++ b/Examples/Sources/File/FileAPIViewController.swift @@ -1,28 +1,11 @@ // // FileAPIViewController.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import UIKit diff --git a/Examples/Sources/File/FileTableViewCell.swift b/Examples/Sources/File/FileTableViewCell.swift index 0f7d9ce0..33f6a5f5 100644 --- a/Examples/Sources/File/FileTableViewCell.swift +++ b/Examples/Sources/File/FileTableViewCell.swift @@ -1,28 +1,11 @@ // // FileTableViewCell.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import UIKit diff --git a/Examples/Sources/File/LocalFileExample.swift b/Examples/Sources/File/LocalFileExample.swift index e7baa2d7..52930cef 100644 --- a/Examples/Sources/File/LocalFileExample.swift +++ b/Examples/Sources/File/LocalFileExample.swift @@ -1,28 +1,11 @@ // // LocalFileExample.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Examples/Sources/MasterDetailTableViewController.swift b/Examples/Sources/MasterDetailTableViewController.swift index d23ca71d..96e7c78a 100644 --- a/Examples/Sources/MasterDetailTableViewController.swift +++ b/Examples/Sources/MasterDetailTableViewController.swift @@ -1,28 +1,11 @@ // // MasterDetailTableViewController.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // // swiftlint:disable file_length diff --git a/Package.swift b/Package.swift index 4dc1c322..4f86e35a 100644 --- a/Package.swift +++ b/Package.swift @@ -2,33 +2,11 @@ // // Package.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright (c) 2013 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. -// -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright (c) 2013 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PackageDescription diff --git a/PubNub.xcodeproj/project.pbxproj b/PubNub.xcodeproj/project.pbxproj index 6b053bbd..f940b031 100644 --- a/PubNub.xcodeproj/project.pbxproj +++ b/PubNub.xcodeproj/project.pbxproj @@ -3436,7 +3436,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 6.2.1; + MARKETING_VERSION = 6.2.2; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubUser; @@ -3483,7 +3483,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 6.2.1; + MARKETING_VERSION = 6.2.2; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubUser; @@ -3583,7 +3583,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 6.2.1; + MARKETING_VERSION = 6.2.2; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubSpace; @@ -3632,7 +3632,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 6.2.1; + MARKETING_VERSION = 6.2.2; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubSpace; @@ -3745,7 +3745,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 6.2.1; + MARKETING_VERSION = 6.2.2; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubMembership; @@ -3793,7 +3793,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 6.2.1; + MARKETING_VERSION = 6.2.2; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubMembership; @@ -4253,7 +4253,7 @@ "$(inherited)", "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx", ); - MARKETING_VERSION = 6.2.1; + MARKETING_VERSION = 6.2.2; OTHER_CFLAGS = "$(inherited)"; OTHER_LDFLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)"; @@ -4292,7 +4292,7 @@ "$(inherited)", "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx", ); - MARKETING_VERSION = 6.2.1; + MARKETING_VERSION = 6.2.2; OTHER_CFLAGS = "$(inherited)"; OTHER_LDFLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)"; diff --git a/PubNub.xcworkspace/xcshareddata/IDETemplateMacros.plist b/PubNub.xcworkspace/xcshareddata/IDETemplateMacros.plist index ac8ade26..b5aaf1c7 100644 --- a/PubNub.xcworkspace/xcshareddata/IDETemplateMacros.plist +++ b/PubNub.xcworkspace/xcshareddata/IDETemplateMacros.plist @@ -6,28 +6,11 @@ // ___FILENAME___ // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © ___YEAR___ PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // diff --git a/PubNubMembership/Sources/Membership+PubNub.swift b/PubNubMembership/Sources/Membership+PubNub.swift index 7b36fd8e..2c7f79f0 100644 --- a/PubNubMembership/Sources/Membership+PubNub.swift +++ b/PubNubMembership/Sources/Membership+PubNub.swift @@ -1,28 +1,11 @@ // // Membership+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubMembership/Sources/Patcher+PubNubMembership.swift b/PubNubMembership/Sources/Patcher+PubNubMembership.swift index 8007c0d5..969e2112 100644 --- a/PubNubMembership/Sources/Patcher+PubNubMembership.swift +++ b/PubNubMembership/Sources/Patcher+PubNubMembership.swift @@ -1,28 +1,11 @@ // // Patcher+PubNubMembership.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubMembership/Sources/PubNubMembership.swift b/PubNubMembership/Sources/PubNubMembership.swift index 3eef0410..5eb25066 100644 --- a/PubNubMembership/Sources/PubNubMembership.swift +++ b/PubNubMembership/Sources/PubNubMembership.swift @@ -1,28 +1,11 @@ // // PubNubMembership.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubMembership/Sources/PubNubMembershipEvent.swift b/PubNubMembership/Sources/PubNubMembershipEvent.swift index d0b74b2b..911d9cd7 100644 --- a/PubNubMembership/Sources/PubNubMembershipEvent.swift +++ b/PubNubMembership/Sources/PubNubMembershipEvent.swift @@ -1,28 +1,11 @@ // // PubNubMembershipEvent.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubMembership/Tests/Integration/SmokeTest+PubNubMembership.swift b/PubNubMembership/Tests/Integration/SmokeTest+PubNubMembership.swift index 3202c41e..001e6007 100644 --- a/PubNubMembership/Tests/Integration/SmokeTest+PubNubMembership.swift +++ b/PubNubMembership/Tests/Integration/SmokeTest+PubNubMembership.swift @@ -1,28 +1,11 @@ // // SmokeTest+PubNubMembership.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubMembership/Tests/MembershipTestHelpers.swift b/PubNubMembership/Tests/MembershipTestHelpers.swift index 5bc56503..142537e0 100644 --- a/PubNubMembership/Tests/MembershipTestHelpers.swift +++ b/PubNubMembership/Tests/MembershipTestHelpers.swift @@ -1,28 +1,11 @@ // // MembershipTestHelpers.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubMembership/Tests/Test+PubNubMembership.swift b/PubNubMembership/Tests/Test+PubNubMembership.swift index 430d687c..26c572a0 100644 --- a/PubNubMembership/Tests/Test+PubNubMembership.swift +++ b/PubNubMembership/Tests/Test+PubNubMembership.swift @@ -1,28 +1,11 @@ // // Test+PubNubMembership.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubMembership/Tests/Test+PubNubMembershipEvent.swift b/PubNubMembership/Tests/Test+PubNubMembershipEvent.swift index 33d3bbbb..55113b8e 100644 --- a/PubNubMembership/Tests/Test+PubNubMembershipEvent.swift +++ b/PubNubMembership/Tests/Test+PubNubMembershipEvent.swift @@ -1,28 +1,11 @@ // // Test+PubNubMembershipEvent.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubMembership/Tests/Test+PubNubMembershipInterface.swift b/PubNubMembership/Tests/Test+PubNubMembershipInterface.swift index eb4276e6..c21c469f 100644 --- a/PubNubMembership/Tests/Test+PubNubMembershipInterface.swift +++ b/PubNubMembership/Tests/Test+PubNubMembershipInterface.swift @@ -1,28 +1,11 @@ // // Test+PubNubMembershipInterface.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubMembership/Tests/Test+PubNubMembershipPatcher.swift b/PubNubMembership/Tests/Test+PubNubMembershipPatcher.swift index 804631cd..9ad76ae0 100644 --- a/PubNubMembership/Tests/Test+PubNubMembershipPatcher.swift +++ b/PubNubMembership/Tests/Test+PubNubMembershipPatcher.swift @@ -1,28 +1,11 @@ // // Test+PubNubMembershipPatcher.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubSpace/Sources/Patcher+PubNubSpace.swift b/PubNubSpace/Sources/Patcher+PubNubSpace.swift index fd2fa931..2e203fb8 100644 --- a/PubNubSpace/Sources/Patcher+PubNubSpace.swift +++ b/PubNubSpace/Sources/Patcher+PubNubSpace.swift @@ -1,28 +1,11 @@ // // Patcher+PubNubSpace.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubSpace/Sources/PubNubSpace.swift b/PubNubSpace/Sources/PubNubSpace.swift index 8045f2bb..e7572003 100644 --- a/PubNubSpace/Sources/PubNubSpace.swift +++ b/PubNubSpace/Sources/PubNubSpace.swift @@ -1,28 +1,11 @@ // // PubNubSpace.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubSpace/Sources/PubNubSpaceEvent.swift b/PubNubSpace/Sources/PubNubSpaceEvent.swift index a7fa2e38..d3b731c9 100644 --- a/PubNubSpace/Sources/PubNubSpaceEvent.swift +++ b/PubNubSpace/Sources/PubNubSpaceEvent.swift @@ -1,28 +1,11 @@ // // PubNubSpaceEvent.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubSpace/Sources/Space+PubNub.swift b/PubNubSpace/Sources/Space+PubNub.swift index 238bf254..8954f8ae 100644 --- a/PubNubSpace/Sources/Space+PubNub.swift +++ b/PubNubSpace/Sources/Space+PubNub.swift @@ -1,28 +1,11 @@ // // Space+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubSpace/Tests/Integration/SmokeTest+PubNubSpace.swift b/PubNubSpace/Tests/Integration/SmokeTest+PubNubSpace.swift index f4e034de..3d561ec7 100644 --- a/PubNubSpace/Tests/Integration/SmokeTest+PubNubSpace.swift +++ b/PubNubSpace/Tests/Integration/SmokeTest+PubNubSpace.swift @@ -1,28 +1,11 @@ // // SmokeTest+PubNubSpace.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubSpace/Tests/SpaceTestHelpers.swift b/PubNubSpace/Tests/SpaceTestHelpers.swift index acadc1d4..63acf60c 100644 --- a/PubNubSpace/Tests/SpaceTestHelpers.swift +++ b/PubNubSpace/Tests/SpaceTestHelpers.swift @@ -1,28 +1,11 @@ // // SpaceTestHelpers.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubSpace/Tests/Test+PubNubSpace.swift b/PubNubSpace/Tests/Test+PubNubSpace.swift index cbdac9cc..49d1dccd 100644 --- a/PubNubSpace/Tests/Test+PubNubSpace.swift +++ b/PubNubSpace/Tests/Test+PubNubSpace.swift @@ -1,28 +1,11 @@ // // Test+PubNubSpace.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubSpace/Tests/Test+PubNubSpaceEvent.swift b/PubNubSpace/Tests/Test+PubNubSpaceEvent.swift index d2276a69..7d8b03fd 100644 --- a/PubNubSpace/Tests/Test+PubNubSpaceEvent.swift +++ b/PubNubSpace/Tests/Test+PubNubSpaceEvent.swift @@ -1,28 +1,11 @@ // // Test+PubNubSpaceEvent.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubSpace/Tests/Test+PubNubSpaceInterface.swift b/PubNubSpace/Tests/Test+PubNubSpaceInterface.swift index e9df36e0..b4464b07 100644 --- a/PubNubSpace/Tests/Test+PubNubSpaceInterface.swift +++ b/PubNubSpace/Tests/Test+PubNubSpaceInterface.swift @@ -1,28 +1,11 @@ // // Test+PubNubSpaceInterface.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubSpace/Tests/Test+PubNubSpacePatcher.swift b/PubNubSpace/Tests/Test+PubNubSpacePatcher.swift index 9c2eb37c..0660125e 100644 --- a/PubNubSpace/Tests/Test+PubNubSpacePatcher.swift +++ b/PubNubSpace/Tests/Test+PubNubSpacePatcher.swift @@ -1,28 +1,11 @@ // // Test+PubNubSpacePatcher.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubSwift.podspec b/PubNubSwift.podspec index c665ce70..12157800 100644 --- a/PubNubSwift.podspec +++ b/PubNubSwift.podspec @@ -1,14 +1,12 @@ Pod::Spec.new do |s| s.name = 'PubNubSwift' - s.version = '6.2.1' + s.version = '6.2.2' s.homepage = 'https://github.com/pubnub/swift' s.documentation_url = 'https://www.pubnub.com/docs/swift-native/pubnub-swift-sdk' s.authors = { 'PubNub, Inc.' => 'support@pubnub.com' } s.social_media_url = 'https://twitter.com/pubnub' - s.license = { :type => 'MIT', :file => 'LICENSE' } - + s.license = { :type => 'PubNub Software Development Kit License', :file => 'LICENSE' } s.source = { :git => 'https://github.com/pubnub/swift.git', :tag => s.version } - s.summary = 'PubNub Swift-based SDK for iOS, macOS, tvOS, & watchOS' s.description = <<-DESC diff --git a/PubNubUser/Sources/Patcher+PubNubUser.swift b/PubNubUser/Sources/Patcher+PubNubUser.swift index 3cf7abee..2c8fa32d 100644 --- a/PubNubUser/Sources/Patcher+PubNubUser.swift +++ b/PubNubUser/Sources/Patcher+PubNubUser.swift @@ -1,28 +1,11 @@ // // Patcher+PubNubUser.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubUser/Sources/PubNubUser.swift b/PubNubUser/Sources/PubNubUser.swift index 1016b6c6..40bceade 100644 --- a/PubNubUser/Sources/PubNubUser.swift +++ b/PubNubUser/Sources/PubNubUser.swift @@ -1,28 +1,11 @@ // // PubNubUser.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubUser/Sources/PubNubUserEvent.swift b/PubNubUser/Sources/PubNubUserEvent.swift index 0f4c01bc..871ce3f1 100644 --- a/PubNubUser/Sources/PubNubUserEvent.swift +++ b/PubNubUser/Sources/PubNubUserEvent.swift @@ -1,28 +1,11 @@ // // PubNubUserEvent.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubUser/Sources/User+PubNub.swift b/PubNubUser/Sources/User+PubNub.swift index 1d921dcd..2ebf20a4 100644 --- a/PubNubUser/Sources/User+PubNub.swift +++ b/PubNubUser/Sources/User+PubNub.swift @@ -1,28 +1,11 @@ // // User+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/PubNubUser/Tests/Integration/SmokeTest+PubNubUser.swift b/PubNubUser/Tests/Integration/SmokeTest+PubNubUser.swift index 4a6ac326..c45e0768 100644 --- a/PubNubUser/Tests/Integration/SmokeTest+PubNubUser.swift +++ b/PubNubUser/Tests/Integration/SmokeTest+PubNubUser.swift @@ -1,28 +1,11 @@ // // SmokeTest+PubNubUser.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubUser/Tests/Test+PubNubUser.swift b/PubNubUser/Tests/Test+PubNubUser.swift index 865d73d9..33fd6dab 100644 --- a/PubNubUser/Tests/Test+PubNubUser.swift +++ b/PubNubUser/Tests/Test+PubNubUser.swift @@ -1,28 +1,11 @@ // // Test+PubNubUser.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubUser/Tests/Test+PubNubUserEvent.swift b/PubNubUser/Tests/Test+PubNubUserEvent.swift index 9a8e3fd6..12d33c22 100644 --- a/PubNubUser/Tests/Test+PubNubUserEvent.swift +++ b/PubNubUser/Tests/Test+PubNubUserEvent.swift @@ -1,28 +1,11 @@ // // Test+PubNubUserEvent.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubUser/Tests/Test+PubNubUserInterface.swift b/PubNubUser/Tests/Test+PubNubUserInterface.swift index 584b0535..34857e23 100644 --- a/PubNubUser/Tests/Test+PubNubUserInterface.swift +++ b/PubNubUser/Tests/Test+PubNubUserInterface.swift @@ -1,28 +1,11 @@ // // Test+PubNubUserInterface.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubUser/Tests/Test+PubNubUserPatcher.swift b/PubNubUser/Tests/Test+PubNubUserPatcher.swift index e6405618..cfdc3390 100644 --- a/PubNubUser/Tests/Test+PubNubUserPatcher.swift +++ b/PubNubUser/Tests/Test+PubNubUserPatcher.swift @@ -1,28 +1,11 @@ // // Test+PubNubUserPatcher.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/PubNubUser/Tests/UserTestHelpers.swift b/PubNubUser/Tests/UserTestHelpers.swift index 5a7ff5ac..84afb347 100644 --- a/PubNubUser/Tests/UserTestHelpers.swift +++ b/PubNubUser/Tests/UserTestHelpers.swift @@ -1,28 +1,11 @@ // // UserTestHelpers.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/APIs/File+PubNub.swift b/Sources/PubNub/APIs/File+PubNub.swift index 18d21ca9..f99b1d14 100644 --- a/Sources/PubNub/APIs/File+PubNub.swift +++ b/Sources/PubNub/APIs/File+PubNub.swift @@ -1,28 +1,11 @@ // // File+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/APIs/Objects+PubNub.swift b/Sources/PubNub/APIs/Objects+PubNub.swift index 14a018e3..c336e058 100644 --- a/Sources/PubNub/APIs/Objects+PubNub.swift +++ b/Sources/PubNub/APIs/Objects+PubNub.swift @@ -1,30 +1,12 @@ // // Objects+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. -// - import Foundation public extension PubNub { diff --git a/Sources/PubNub/Core/FlatJSONCodable.swift b/Sources/PubNub/Core/FlatJSONCodable.swift index 819c449a..01cbacf4 100644 --- a/Sources/PubNub/Core/FlatJSONCodable.swift +++ b/Sources/PubNub/Core/FlatJSONCodable.swift @@ -1,28 +1,11 @@ // // FlatJSONCodable.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Core/OptionalChange.swift b/Sources/PubNub/Core/OptionalChange.swift index 28b9bf98..ef32a00b 100644 --- a/Sources/PubNub/Core/OptionalChange.swift +++ b/Sources/PubNub/Core/OptionalChange.swift @@ -1,28 +1,11 @@ // // OptionalChange.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Errors/ErrorDescription.swift b/Sources/PubNub/Errors/ErrorDescription.swift index acb8cb80..fe1de8f7 100644 --- a/Sources/PubNub/Errors/ErrorDescription.swift +++ b/Sources/PubNub/Errors/ErrorDescription.swift @@ -1,28 +1,11 @@ // // ErrorDescription.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Errors/PubNubError.swift b/Sources/PubNub/Errors/PubNubError.swift index 26afabdb..d0cd6e9f 100644 --- a/Sources/PubNub/Errors/PubNubError.swift +++ b/Sources/PubNub/Errors/PubNubError.swift @@ -1,28 +1,11 @@ // // PubNubError.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Events/EventStream.swift b/Sources/PubNub/Events/EventStream.swift index 6fb6ecb1..595ec1ba 100644 --- a/Sources/PubNub/Events/EventStream.swift +++ b/Sources/PubNub/Events/EventStream.swift @@ -1,28 +1,11 @@ // // EventStream.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Events/Session/SessionStream.swift b/Sources/PubNub/Events/Session/SessionStream.swift index 2fc42ea7..2faf7172 100644 --- a/Sources/PubNub/Events/Session/SessionStream.swift +++ b/Sources/PubNub/Events/Session/SessionStream.swift @@ -1,28 +1,11 @@ // // SessionStream.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Events/Subscription/PubNubEntityEvent.swift b/Sources/PubNub/Events/Subscription/PubNubEntityEvent.swift index 36501d33..27426be3 100644 --- a/Sources/PubNub/Events/Subscription/PubNubEntityEvent.swift +++ b/Sources/PubNub/Events/Subscription/PubNubEntityEvent.swift @@ -1,28 +1,11 @@ // // PubNubEntityEvent.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Events/Subscription/SubscriptionStream.swift b/Sources/PubNub/Events/Subscription/SubscriptionStream.swift index 3b9b128c..e05ef765 100644 --- a/Sources/PubNub/Events/Subscription/SubscriptionStream.swift +++ b/Sources/PubNub/Events/Subscription/SubscriptionStream.swift @@ -1,28 +1,11 @@ // // SubscriptionStream.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// http://www.pubnub.com/ -// http://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/Bool+PubNub.swift b/Sources/PubNub/Extensions/Bool+PubNub.swift index ba401fef..8ce3520c 100644 --- a/Sources/PubNub/Extensions/Bool+PubNub.swift +++ b/Sources/PubNub/Extensions/Bool+PubNub.swift @@ -1,28 +1,11 @@ // // Bool+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/Collection+PubNub.swift b/Sources/PubNub/Extensions/Collection+PubNub.swift index 8d59a07d..5d24e507 100644 --- a/Sources/PubNub/Extensions/Collection+PubNub.swift +++ b/Sources/PubNub/Extensions/Collection+PubNub.swift @@ -1,28 +1,11 @@ // // Collection+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/Data+PubNub.swift b/Sources/PubNub/Extensions/Data+PubNub.swift index 25aac03b..9a18e14c 100644 --- a/Sources/PubNub/Extensions/Data+PubNub.swift +++ b/Sources/PubNub/Extensions/Data+PubNub.swift @@ -1,28 +1,11 @@ // // Data+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/DateFormatter+PubNub.swift b/Sources/PubNub/Extensions/DateFormatter+PubNub.swift index bc341c77..40284557 100644 --- a/Sources/PubNub/Extensions/DateFormatter+PubNub.swift +++ b/Sources/PubNub/Extensions/DateFormatter+PubNub.swift @@ -1,28 +1,11 @@ // // DateFormatter+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/DecodingError+PubNub.swift b/Sources/PubNub/Extensions/DecodingError+PubNub.swift index 0ab0970d..ed55a37c 100644 --- a/Sources/PubNub/Extensions/DecodingError+PubNub.swift +++ b/Sources/PubNub/Extensions/DecodingError+PubNub.swift @@ -1,9 +1,11 @@ // // DecodingError+PubNub.swift -// PubNub // -// Created by Craig Lane on 1/8/20. -// Copyright © 2020 PubNub. All rights reserved. +// Copyright (c) PubNub Inc. +// All rights reserved. +// +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/DispatchQueue+PubNub.swift b/Sources/PubNub/Extensions/DispatchQueue+PubNub.swift index 53ca9470..001ad26b 100644 --- a/Sources/PubNub/Extensions/DispatchQueue+PubNub.swift +++ b/Sources/PubNub/Extensions/DispatchQueue+PubNub.swift @@ -1,28 +1,11 @@ // // DispatchQueue+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/Encodable+PubNub.swift b/Sources/PubNub/Extensions/Encodable+PubNub.swift index dde8590b..98366cd3 100644 --- a/Sources/PubNub/Extensions/Encodable+PubNub.swift +++ b/Sources/PubNub/Extensions/Encodable+PubNub.swift @@ -1,28 +1,11 @@ // -// Data+PubNub.swift +// Encodable+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/Error+PubNub.swift b/Sources/PubNub/Extensions/Error+PubNub.swift index 4feb94cb..b292b811 100644 --- a/Sources/PubNub/Extensions/Error+PubNub.swift +++ b/Sources/PubNub/Extensions/Error+PubNub.swift @@ -1,28 +1,11 @@ // // Error+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/FileManager+PubNub.swift b/Sources/PubNub/Extensions/FileManager+PubNub.swift index dcfce328..8945d587 100644 --- a/Sources/PubNub/Extensions/FileManager+PubNub.swift +++ b/Sources/PubNub/Extensions/FileManager+PubNub.swift @@ -1,28 +1,11 @@ // // FileManager+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/Float32+PubNub.swift b/Sources/PubNub/Extensions/Float32+PubNub.swift index 715b69a2..2d886f7a 100644 --- a/Sources/PubNub/Extensions/Float32+PubNub.swift +++ b/Sources/PubNub/Extensions/Float32+PubNub.swift @@ -1,9 +1,11 @@ // // Float32+PubNub.swift -// PubNub // -// Created by Craig Lane on 1/8/20. -// Copyright © 2020 PubNub. All rights reserved. +// Copyright (c) PubNub Inc. +// All rights reserved. +// +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/HTTPURLResponse+PubNub.swift b/Sources/PubNub/Extensions/HTTPURLResponse+PubNub.swift index 57a205a2..e1ac77d2 100644 --- a/Sources/PubNub/Extensions/HTTPURLResponse+PubNub.swift +++ b/Sources/PubNub/Extensions/HTTPURLResponse+PubNub.swift @@ -1,28 +1,11 @@ // // HTTPURLResponse+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/InputStream+PubNub.swift b/Sources/PubNub/Extensions/InputStream+PubNub.swift index 440dac14..5ea6da95 100644 --- a/Sources/PubNub/Extensions/InputStream+PubNub.swift +++ b/Sources/PubNub/Extensions/InputStream+PubNub.swift @@ -1,28 +1,11 @@ // // InputStream+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/Int+PubNub.swift b/Sources/PubNub/Extensions/Int+PubNub.swift index fc984f0d..84981c2b 100644 --- a/Sources/PubNub/Extensions/Int+PubNub.swift +++ b/Sources/PubNub/Extensions/Int+PubNub.swift @@ -1,28 +1,11 @@ // // Int+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/NSLocking+PubNub.swift b/Sources/PubNub/Extensions/NSLocking+PubNub.swift index a89243d6..9dc63b3c 100644 --- a/Sources/PubNub/Extensions/NSLocking+PubNub.swift +++ b/Sources/PubNub/Extensions/NSLocking+PubNub.swift @@ -1,28 +1,11 @@ // // NSLocking+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/NSNumber+PubNub.swift b/Sources/PubNub/Extensions/NSNumber+PubNub.swift index 20b2b287..5c5e78ad 100644 --- a/Sources/PubNub/Extensions/NSNumber+PubNub.swift +++ b/Sources/PubNub/Extensions/NSNumber+PubNub.swift @@ -1,28 +1,11 @@ // // NSNumber+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/OperationQueue+PubNub.swift b/Sources/PubNub/Extensions/OperationQueue+PubNub.swift index 0fa0f4bd..c154e8c1 100644 --- a/Sources/PubNub/Extensions/OperationQueue+PubNub.swift +++ b/Sources/PubNub/Extensions/OperationQueue+PubNub.swift @@ -1,28 +1,11 @@ // // OperationQueue+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/Set+PubNub.swift b/Sources/PubNub/Extensions/Set+PubNub.swift index 75c85278..4588d0bc 100644 --- a/Sources/PubNub/Extensions/Set+PubNub.swift +++ b/Sources/PubNub/Extensions/Set+PubNub.swift @@ -1,28 +1,11 @@ // // Set+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/String+PubNub.swift b/Sources/PubNub/Extensions/String+PubNub.swift index 4d7f69a2..1b6c942b 100644 --- a/Sources/PubNub/Extensions/String+PubNub.swift +++ b/Sources/PubNub/Extensions/String+PubNub.swift @@ -1,28 +1,11 @@ // // String+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/Thread+PubNub.swift b/Sources/PubNub/Extensions/Thread+PubNub.swift index 27ed18df..16f4b05c 100644 --- a/Sources/PubNub/Extensions/Thread+PubNub.swift +++ b/Sources/PubNub/Extensions/Thread+PubNub.swift @@ -1,28 +1,11 @@ // // Thread+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/URL+PubNub.swift b/Sources/PubNub/Extensions/URL+PubNub.swift index e9b6974e..f09bde35 100644 --- a/Sources/PubNub/Extensions/URL+PubNub.swift +++ b/Sources/PubNub/Extensions/URL+PubNub.swift @@ -1,28 +1,11 @@ // // URL+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/URLQueryItem+PubNub.swift b/Sources/PubNub/Extensions/URLQueryItem+PubNub.swift index 95998ec5..5544e3c2 100644 --- a/Sources/PubNub/Extensions/URLQueryItem+PubNub.swift +++ b/Sources/PubNub/Extensions/URLQueryItem+PubNub.swift @@ -1,30 +1,12 @@ // // URLQueryItem+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. -// - import Foundation internal extension URLQueryItem { diff --git a/Sources/PubNub/Extensions/URLRequest+PubNub.swift b/Sources/PubNub/Extensions/URLRequest+PubNub.swift index 30d5e61d..4e9eb7d5 100644 --- a/Sources/PubNub/Extensions/URLRequest+PubNub.swift +++ b/Sources/PubNub/Extensions/URLRequest+PubNub.swift @@ -1,28 +1,11 @@ // // URLRequest+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Extensions/URLSessionConfiguration+PubNub.swift b/Sources/PubNub/Extensions/URLSessionConfiguration+PubNub.swift index c9bf3661..f95245c7 100644 --- a/Sources/PubNub/Extensions/URLSessionConfiguration+PubNub.swift +++ b/Sources/PubNub/Extensions/URLSessionConfiguration+PubNub.swift @@ -1,28 +1,11 @@ // -// URLSessionConfiguration.swift +// URLSessionConfiguration+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/AnyJSON.swift b/Sources/PubNub/Helpers/AnyJSON.swift index ca2bea34..e90393df 100644 --- a/Sources/PubNub/Helpers/AnyJSON.swift +++ b/Sources/PubNub/Helpers/AnyJSON.swift @@ -1,28 +1,11 @@ // // AnyJSON.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/AnyJSONType.swift b/Sources/PubNub/Helpers/AnyJSONType.swift index cb481746..749f4c74 100644 --- a/Sources/PubNub/Helpers/AnyJSONType.swift +++ b/Sources/PubNub/Helpers/AnyJSONType.swift @@ -1,28 +1,11 @@ // // AnyJSONType.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Atomic.swift b/Sources/PubNub/Helpers/Atomic.swift index 2a3682da..21967bb9 100644 --- a/Sources/PubNub/Helpers/Atomic.swift +++ b/Sources/PubNub/Helpers/Atomic.swift @@ -1,28 +1,11 @@ // // Atomic.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/CBOR/CBORDecoder.swift b/Sources/PubNub/Helpers/CBOR/CBORDecoder.swift index dc7877ef..2dcd6cc4 100644 --- a/Sources/PubNub/Helpers/CBOR/CBORDecoder.swift +++ b/Sources/PubNub/Helpers/CBOR/CBORDecoder.swift @@ -1,28 +1,11 @@ // // CBORDecoder.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/CBOR/CBORSerialization.swift b/Sources/PubNub/Helpers/CBOR/CBORSerialization.swift index 863d25d9..3ee0e000 100644 --- a/Sources/PubNub/Helpers/CBOR/CBORSerialization.swift +++ b/Sources/PubNub/Helpers/CBOR/CBORSerialization.swift @@ -1,9 +1,11 @@ // // CBORSerialization.swift -// PubNub // -// Created by Craig Lane on 1/8/20. -// Copyright © 2020 PubNub. All rights reserved. +// Copyright (c) PubNub Inc. +// All rights reserved. +// +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/CaseAccessible.swift b/Sources/PubNub/Helpers/CaseAccessible.swift index a35babfd..b46d78c3 100644 --- a/Sources/PubNub/Helpers/CaseAccessible.swift +++ b/Sources/PubNub/Helpers/CaseAccessible.swift @@ -1,28 +1,11 @@ // // CaseAccessible.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Constants.swift b/Sources/PubNub/Helpers/Constants.swift index cc1aa82a..ceaeae69 100644 --- a/Sources/PubNub/Helpers/Constants.swift +++ b/Sources/PubNub/Helpers/Constants.swift @@ -57,7 +57,7 @@ public enum Constant { static let pubnubSwiftSDKName: String = "PubNubSwift" - static let pubnubSwiftSDKVersion: String = "6.2.1" + static let pubnubSwiftSDKVersion: String = "6.2.2" static let appBundleId: String = { if let info = Bundle.main.infoDictionary, diff --git a/Sources/PubNub/Helpers/Crypto/Crypto.swift b/Sources/PubNub/Helpers/Crypto/Crypto.swift index ab8e3e77..3056c8f0 100644 --- a/Sources/PubNub/Helpers/Crypto/Crypto.swift +++ b/Sources/PubNub/Helpers/Crypto/Crypto.swift @@ -1,28 +1,11 @@ // // Crypto.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import CommonCrypto diff --git a/Sources/PubNub/Helpers/Crypto/CryptoModule.swift b/Sources/PubNub/Helpers/Crypto/CryptoModule.swift index 5db32dcf..f75db9b3 100644 --- a/Sources/PubNub/Helpers/Crypto/CryptoModule.swift +++ b/Sources/PubNub/Helpers/Crypto/CryptoModule.swift @@ -1,28 +1,11 @@ // // CryptoModule.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Crypto/Cryptors/AESCBCCryptor.swift b/Sources/PubNub/Helpers/Crypto/Cryptors/AESCBCCryptor.swift index 9e7a67fa..5b935c32 100644 --- a/Sources/PubNub/Helpers/Crypto/Cryptors/AESCBCCryptor.swift +++ b/Sources/PubNub/Helpers/Crypto/Cryptors/AESCBCCryptor.swift @@ -1,28 +1,11 @@ // -// ImprovedCryptoAlgorithm.swift +// AESCBCCryptor.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Crypto/Cryptors/Cryptor.swift b/Sources/PubNub/Helpers/Crypto/Cryptors/Cryptor.swift index eabe942a..c3a0d533 100644 --- a/Sources/PubNub/Helpers/Crypto/Cryptors/Cryptor.swift +++ b/Sources/PubNub/Helpers/Crypto/Cryptors/Cryptor.swift @@ -1,28 +1,11 @@ // -// CryptoAlgorithm.swift +// Cryptor.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Crypto/Cryptors/LegacyCryptor.swift b/Sources/PubNub/Helpers/Crypto/Cryptors/LegacyCryptor.swift index c28d3c84..28f324ce 100644 --- a/Sources/PubNub/Helpers/Crypto/Cryptors/LegacyCryptor.swift +++ b/Sources/PubNub/Helpers/Crypto/Cryptors/LegacyCryptor.swift @@ -1,28 +1,11 @@ // -// LegacyCryptoAlgorithm.swift +// LegacyCryptor.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Crypto/Header/CryptorHeader.swift b/Sources/PubNub/Helpers/Crypto/Header/CryptorHeader.swift index d4111000..96701ec7 100644 --- a/Sources/PubNub/Helpers/Crypto/Header/CryptorHeader.swift +++ b/Sources/PubNub/Helpers/Crypto/Header/CryptorHeader.swift @@ -1,28 +1,11 @@ // // CryptorHeader.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Crypto/Header/CryptorHeaderWithinStreamFinder.swift b/Sources/PubNub/Helpers/Crypto/Header/CryptorHeaderWithinStreamFinder.swift index 5d3b9720..7f1d9612 100644 --- a/Sources/PubNub/Helpers/Crypto/Header/CryptorHeaderWithinStreamFinder.swift +++ b/Sources/PubNub/Helpers/Crypto/Header/CryptorHeaderWithinStreamFinder.swift @@ -1,28 +1,11 @@ // -// CryptorHeaderFinder.swift +// CryptorHeaderWithinStreamFinder.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptoInputStream.swift b/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptoInputStream.swift index 30e54c81..b27ed002 100644 --- a/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptoInputStream.swift +++ b/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptoInputStream.swift @@ -1,28 +1,11 @@ // // CryptoInputStream.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptoStream.swift b/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptoStream.swift index 0a23a8af..a29c0911 100644 --- a/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptoStream.swift +++ b/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptoStream.swift @@ -1,28 +1,11 @@ // // CryptoStream.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import CommonCrypto diff --git a/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptorUtils.swift b/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptorUtils.swift index 9fa3abf4..8093be7a 100644 --- a/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptorUtils.swift +++ b/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptorUtils.swift @@ -1,28 +1,11 @@ // -// CryptoUtils.swift +// CryptorUtils.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptorVector.swift b/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptorVector.swift index 72eaf3a6..dbc4fcd7 100644 --- a/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptorVector.swift +++ b/Sources/PubNub/Helpers/Crypto/Miscellaneous/CryptorVector.swift @@ -1,28 +1,11 @@ // -// CryptoIVVector.swift +// CryptorVector.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Crypto/Miscellaneous/Data+CommonCrypto.swift b/Sources/PubNub/Helpers/Crypto/Miscellaneous/Data+CommonCrypto.swift index b1c092e0..d5d2a0cb 100644 --- a/Sources/PubNub/Helpers/Crypto/Miscellaneous/Data+CommonCrypto.swift +++ b/Sources/PubNub/Helpers/Crypto/Miscellaneous/Data+CommonCrypto.swift @@ -1,28 +1,11 @@ // // Data+CommonCrypto.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/JSONCodable.swift b/Sources/PubNub/Helpers/JSONCodable.swift index 4b396d28..1354aa96 100644 --- a/Sources/PubNub/Helpers/JSONCodable.swift +++ b/Sources/PubNub/Helpers/JSONCodable.swift @@ -1,28 +1,11 @@ // // JSONCodable.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/LogWriter.swift b/Sources/PubNub/Helpers/LogWriter.swift index 0bdd6dfb..3c15de72 100644 --- a/Sources/PubNub/Helpers/LogWriter.swift +++ b/Sources/PubNub/Helpers/LogWriter.swift @@ -1,28 +1,11 @@ // -// PubNubLogger.swift +// LogWriter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/PAMToken.swift b/Sources/PubNub/Helpers/PAMToken.swift index 172ec307..9262ec91 100644 --- a/Sources/PubNub/Helpers/PAMToken.swift +++ b/Sources/PubNub/Helpers/PAMToken.swift @@ -1,28 +1,11 @@ // -// PAMTokenStore.swift +// PAMToken.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/PubNubLogger.swift b/Sources/PubNub/Helpers/PubNubLogger.swift index fa7a08f6..fec81a48 100644 --- a/Sources/PubNub/Helpers/PubNubLogger.swift +++ b/Sources/PubNub/Helpers/PubNubLogger.swift @@ -1,28 +1,11 @@ // // PubNubLogger.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Streams/MultipartInputStream.swift b/Sources/PubNub/Helpers/Streams/MultipartInputStream.swift index db6ccfb9..753b5b38 100644 --- a/Sources/PubNub/Helpers/Streams/MultipartInputStream.swift +++ b/Sources/PubNub/Helpers/Streams/MultipartInputStream.swift @@ -1,28 +1,11 @@ // // MultipartInputStream.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Typealias+PubNub.swift b/Sources/PubNub/Helpers/Typealias+PubNub.swift index 83789eca..930ef991 100644 --- a/Sources/PubNub/Helpers/Typealias+PubNub.swift +++ b/Sources/PubNub/Helpers/Typealias+PubNub.swift @@ -1,28 +1,11 @@ // // Typealias+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/Validated.swift b/Sources/PubNub/Helpers/Validated.swift index c623cb11..5c6693f6 100644 --- a/Sources/PubNub/Helpers/Validated.swift +++ b/Sources/PubNub/Helpers/Validated.swift @@ -1,28 +1,11 @@ // // Validated.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/WeakBox.swift b/Sources/PubNub/Helpers/WeakBox.swift index eb3b8bc2..ffba2013 100644 --- a/Sources/PubNub/Helpers/WeakBox.swift +++ b/Sources/PubNub/Helpers/WeakBox.swift @@ -1,28 +1,11 @@ // // WeakBox.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// http://www.pubnub.com/ -// http://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/XML/XMLDecoder.swift b/Sources/PubNub/Helpers/XML/XMLDecoder.swift index bb5281d6..87012725 100644 --- a/Sources/PubNub/Helpers/XML/XMLDecoder.swift +++ b/Sources/PubNub/Helpers/XML/XMLDecoder.swift @@ -1,28 +1,11 @@ // // XMLDecoder.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Helpers/XML/XMLSerialization.swift b/Sources/PubNub/Helpers/XML/XMLSerialization.swift index 785c25dc..94afb205 100644 --- a/Sources/PubNub/Helpers/XML/XMLSerialization.swift +++ b/Sources/PubNub/Helpers/XML/XMLSerialization.swift @@ -1,28 +1,11 @@ // // XMLSerialization.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubAPNSPayload.swift b/Sources/PubNub/Models/PubNubAPNSPayload.swift index dcb724bd..19580ee6 100644 --- a/Sources/PubNub/Models/PubNubAPNSPayload.swift +++ b/Sources/PubNub/Models/PubNubAPNSPayload.swift @@ -1,28 +1,11 @@ // // PubNubAPNSPayload.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubChannelMetadata.swift b/Sources/PubNub/Models/PubNubChannelMetadata.swift index 2e215d28..76512bad 100644 --- a/Sources/PubNub/Models/PubNubChannelMetadata.swift +++ b/Sources/PubNub/Models/PubNubChannelMetadata.swift @@ -1,28 +1,11 @@ // // PubNubChannelMetadata.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubFCMPayload/FCMAndroidPayload.swift b/Sources/PubNub/Models/PubNubFCMPayload/FCMAndroidPayload.swift index 2e29f991..14b28531 100644 --- a/Sources/PubNub/Models/PubNubFCMPayload/FCMAndroidPayload.swift +++ b/Sources/PubNub/Models/PubNubFCMPayload/FCMAndroidPayload.swift @@ -1,28 +1,11 @@ // // FCMAndroidPayload.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubFCMPayload/FCMWebpushPayload.swift b/Sources/PubNub/Models/PubNubFCMPayload/FCMWebpushPayload.swift index 1d68f053..49f958d6 100644 --- a/Sources/PubNub/Models/PubNubFCMPayload/FCMWebpushPayload.swift +++ b/Sources/PubNub/Models/PubNubFCMPayload/FCMWebpushPayload.swift @@ -1,28 +1,11 @@ // // FCMWebpushPayload.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubFCMPayload/PubNubFCMPayload.swift b/Sources/PubNub/Models/PubNubFCMPayload/PubNubFCMPayload.swift index 60c5e846..275b465b 100644 --- a/Sources/PubNub/Models/PubNubFCMPayload/PubNubFCMPayload.swift +++ b/Sources/PubNub/Models/PubNubFCMPayload/PubNubFCMPayload.swift @@ -1,28 +1,11 @@ // // PubNubFCMPayload.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubFile.swift b/Sources/PubNub/Models/PubNubFile.swift index 24e2b204..5569f327 100644 --- a/Sources/PubNub/Models/PubNubFile.swift +++ b/Sources/PubNub/Models/PubNubFile.swift @@ -1,28 +1,12 @@ // // PubNubFile.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. import Foundation diff --git a/Sources/PubNub/Models/PubNubMembershipMetadata.swift b/Sources/PubNub/Models/PubNubMembershipMetadata.swift index cfaf866f..55ea0c05 100644 --- a/Sources/PubNub/Models/PubNubMembershipMetadata.swift +++ b/Sources/PubNub/Models/PubNubMembershipMetadata.swift @@ -1,28 +1,11 @@ // // PubNubMembershipMetadata.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubMessage.swift b/Sources/PubNub/Models/PubNubMessage.swift index fda1afae..e8ee729c 100644 --- a/Sources/PubNub/Models/PubNubMessage.swift +++ b/Sources/PubNub/Models/PubNubMessage.swift @@ -1,28 +1,11 @@ // // PubNubMessage.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// http://www.pubnub.com/ -// http://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubMessageAction.swift b/Sources/PubNub/Models/PubNubMessageAction.swift index b77b22c6..30ed93af 100644 --- a/Sources/PubNub/Models/PubNubMessageAction.swift +++ b/Sources/PubNub/Models/PubNubMessageAction.swift @@ -1,28 +1,11 @@ // // PubNubMessageAction.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubObjectMetadataPatcher.swift b/Sources/PubNub/Models/PubNubObjectMetadataPatcher.swift index ccf96851..00cea468 100644 --- a/Sources/PubNub/Models/PubNubObjectMetadataPatcher.swift +++ b/Sources/PubNub/Models/PubNubObjectMetadataPatcher.swift @@ -1,28 +1,11 @@ // // PubNubObjectMetadataPatcher.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubPage.swift b/Sources/PubNub/Models/PubNubPage.swift index 659c2253..e51e0bc1 100644 --- a/Sources/PubNub/Models/PubNubPage.swift +++ b/Sources/PubNub/Models/PubNubPage.swift @@ -1,28 +1,11 @@ // // PubNubPage.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubPresence.swift b/Sources/PubNub/Models/PubNubPresence.swift index dbb4f7b3..23af958a 100644 --- a/Sources/PubNub/Models/PubNubPresence.swift +++ b/Sources/PubNub/Models/PubNubPresence.swift @@ -1,28 +1,11 @@ // // PubNubPresence.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubPushMessage.swift b/Sources/PubNub/Models/PubNubPushMessage.swift index bc35aa22..008eaaec 100644 --- a/Sources/PubNub/Models/PubNubPushMessage.swift +++ b/Sources/PubNub/Models/PubNubPushMessage.swift @@ -1,28 +1,11 @@ // // PubNubPushMessage.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Models/PubNubUUIDMetadata.swift b/Sources/PubNub/Models/PubNubUUIDMetadata.swift index a3c43e9b..3a0cf161 100644 --- a/Sources/PubNub/Models/PubNubUUIDMetadata.swift +++ b/Sources/PubNub/Models/PubNubUUIDMetadata.swift @@ -1,28 +1,11 @@ // // PubNubUUIDMetadata.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Convertibles+PubNub.swift b/Sources/PubNub/Networking/Convertibles+PubNub.swift index ff84ec94..227a66c2 100644 --- a/Sources/PubNub/Networking/Convertibles+PubNub.swift +++ b/Sources/PubNub/Networking/Convertibles+PubNub.swift @@ -1,28 +1,11 @@ // // Convertibles+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/HTTPFileTask.swift b/Sources/PubNub/Networking/HTTPFileTask.swift index 6d05e828..90787c61 100644 --- a/Sources/PubNub/Networking/HTTPFileTask.swift +++ b/Sources/PubNub/Networking/HTTPFileTask.swift @@ -1,28 +1,11 @@ // // HTTPFileTask.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/HTTPRouter.swift b/Sources/PubNub/Networking/HTTPRouter.swift index fc907eaa..7c7ccf7a 100644 --- a/Sources/PubNub/Networking/HTTPRouter.swift +++ b/Sources/PubNub/Networking/HTTPRouter.swift @@ -1,28 +1,11 @@ // -// Router.swift +// HTTPRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/HTTPSession.swift b/Sources/PubNub/Networking/HTTPSession.swift index 21b8cdfc..dbdc97f4 100644 --- a/Sources/PubNub/Networking/HTTPSession.swift +++ b/Sources/PubNub/Networking/HTTPSession.swift @@ -1,28 +1,11 @@ // -// Session.swift +// HTTPSession.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/HTTPSessionDelegate.swift b/Sources/PubNub/Networking/HTTPSessionDelegate.swift index a66b5413..2b25506f 100644 --- a/Sources/PubNub/Networking/HTTPSessionDelegate.swift +++ b/Sources/PubNub/Networking/HTTPSessionDelegate.swift @@ -1,28 +1,11 @@ // // HTTPSessionDelegate.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Replaceables+PubNub.swift b/Sources/PubNub/Networking/Replaceables+PubNub.swift index 5add6b32..ae597ec8 100644 --- a/Sources/PubNub/Networking/Replaceables+PubNub.swift +++ b/Sources/PubNub/Networking/Replaceables+PubNub.swift @@ -1,28 +1,11 @@ // // Replaceables+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Request/Operators/AutomaticRetry.swift b/Sources/PubNub/Networking/Request/Operators/AutomaticRetry.swift index 5a29ac20..0c433b87 100644 --- a/Sources/PubNub/Networking/Request/Operators/AutomaticRetry.swift +++ b/Sources/PubNub/Networking/Request/Operators/AutomaticRetry.swift @@ -1,28 +1,11 @@ // // AutomaticRetry.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// http://www.pubnub.com/ -// http://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Request/Operators/InstanceIdOperator.swift b/Sources/PubNub/Networking/Request/Operators/InstanceIdOperator.swift index 8d657e54..731d349e 100644 --- a/Sources/PubNub/Networking/Request/Operators/InstanceIdOperator.swift +++ b/Sources/PubNub/Networking/Request/Operators/InstanceIdOperator.swift @@ -1,28 +1,11 @@ // // InstanceIdOperator.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Request/Operators/RequestIdOperator.swift b/Sources/PubNub/Networking/Request/Operators/RequestIdOperator.swift index b57c8b2a..eaa6a882 100644 --- a/Sources/PubNub/Networking/Request/Operators/RequestIdOperator.swift +++ b/Sources/PubNub/Networking/Request/Operators/RequestIdOperator.swift @@ -1,28 +1,11 @@ // // RequestIdOperator.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Request/Request.swift b/Sources/PubNub/Networking/Request/Request.swift index 1c4e5915..276890b8 100644 --- a/Sources/PubNub/Networking/Request/Request.swift +++ b/Sources/PubNub/Networking/Request/Request.swift @@ -1,28 +1,11 @@ // // Request.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Request/RequestOperator.swift b/Sources/PubNub/Networking/Request/RequestOperator.swift index 6540f520..3db8e85f 100644 --- a/Sources/PubNub/Networking/Request/RequestOperator.swift +++ b/Sources/PubNub/Networking/Request/RequestOperator.swift @@ -1,28 +1,11 @@ // // RequestOperator.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Response/EndpointResponse.swift b/Sources/PubNub/Networking/Response/EndpointResponse.swift index 2c2d1ddc..a5424379 100644 --- a/Sources/PubNub/Networking/Response/EndpointResponse.swift +++ b/Sources/PubNub/Networking/Response/EndpointResponse.swift @@ -1,28 +1,11 @@ // -// Response.swift +// EndpointResponse.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Response/GenericServicePayloadResponse.swift b/Sources/PubNub/Networking/Response/GenericServicePayloadResponse.swift index ce250e0c..ff8eddae 100644 --- a/Sources/PubNub/Networking/Response/GenericServicePayloadResponse.swift +++ b/Sources/PubNub/Networking/Response/GenericServicePayloadResponse.swift @@ -1,28 +1,11 @@ // // GenericServicePayloadResponse.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Response/ResponseOperator.swift b/Sources/PubNub/Networking/Response/ResponseOperator.swift index 57636c60..b2519edf 100644 --- a/Sources/PubNub/Networking/Response/ResponseOperator.swift +++ b/Sources/PubNub/Networking/Response/ResponseOperator.swift @@ -1,28 +1,11 @@ // // ResponseOperator.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/ChannelGroupsRouter.swift b/Sources/PubNub/Networking/Routers/ChannelGroupsRouter.swift index 9857a809..d0b0bdd0 100644 --- a/Sources/PubNub/Networking/Routers/ChannelGroupsRouter.swift +++ b/Sources/PubNub/Networking/Routers/ChannelGroupsRouter.swift @@ -1,28 +1,11 @@ // -// ChannelGroups.swift +// ChannelGroupsRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/FileManagementRouter.swift b/Sources/PubNub/Networking/Routers/FileManagementRouter.swift index 1bf5032e..f077005b 100644 --- a/Sources/PubNub/Networking/Routers/FileManagementRouter.swift +++ b/Sources/PubNub/Networking/Routers/FileManagementRouter.swift @@ -1,28 +1,11 @@ // // FileManagementRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/HistoryRouter.swift b/Sources/PubNub/Networking/Routers/HistoryRouter.swift index 16cde7dc..fdd728fa 100644 --- a/Sources/PubNub/Networking/Routers/HistoryRouter.swift +++ b/Sources/PubNub/Networking/Routers/HistoryRouter.swift @@ -1,28 +1,11 @@ // // HistoryRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/MembershipObjectsRouter.swift b/Sources/PubNub/Networking/Routers/MembershipObjectsRouter.swift index 64d9c387..4a5d0fc1 100644 --- a/Sources/PubNub/Networking/Routers/MembershipObjectsRouter.swift +++ b/Sources/PubNub/Networking/Routers/MembershipObjectsRouter.swift @@ -1,28 +1,12 @@ // // MembershipObjectsRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/MessageActionsRouter.swift b/Sources/PubNub/Networking/Routers/MessageActionsRouter.swift index 187c7432..5ae396b3 100644 --- a/Sources/PubNub/Networking/Routers/MessageActionsRouter.swift +++ b/Sources/PubNub/Networking/Routers/MessageActionsRouter.swift @@ -1,28 +1,11 @@ // // MessageActionsRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/ObjectsChannelRouter.swift b/Sources/PubNub/Networking/Routers/ObjectsChannelRouter.swift index d3f2b186..dd4c05bf 100644 --- a/Sources/PubNub/Networking/Routers/ObjectsChannelRouter.swift +++ b/Sources/PubNub/Networking/Routers/ObjectsChannelRouter.swift @@ -1,28 +1,11 @@ // // ObjectsChannelRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/ObjectsMembershipsRouter.swift b/Sources/PubNub/Networking/Routers/ObjectsMembershipsRouter.swift index 3b7ee653..0351dca4 100644 --- a/Sources/PubNub/Networking/Routers/ObjectsMembershipsRouter.swift +++ b/Sources/PubNub/Networking/Routers/ObjectsMembershipsRouter.swift @@ -1,28 +1,11 @@ // // ObjectsMembershipsRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/ObjectsUUIDRouter.swift b/Sources/PubNub/Networking/Routers/ObjectsUUIDRouter.swift index e359d48f..ad85d305 100644 --- a/Sources/PubNub/Networking/Routers/ObjectsUUIDRouter.swift +++ b/Sources/PubNub/Networking/Routers/ObjectsUUIDRouter.swift @@ -1,28 +1,11 @@ // // ObjectsUUIDRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/PresenceRouter.swift b/Sources/PubNub/Networking/Routers/PresenceRouter.swift index 24ccebf7..007cee70 100644 --- a/Sources/PubNub/Networking/Routers/PresenceRouter.swift +++ b/Sources/PubNub/Networking/Routers/PresenceRouter.swift @@ -1,28 +1,11 @@ // // PresenceRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/PublishRouter.swift b/Sources/PubNub/Networking/Routers/PublishRouter.swift index e7b497a6..b7246b75 100644 --- a/Sources/PubNub/Networking/Routers/PublishRouter.swift +++ b/Sources/PubNub/Networking/Routers/PublishRouter.swift @@ -1,28 +1,11 @@ // // PublishRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/PushRouter.swift b/Sources/PubNub/Networking/Routers/PushRouter.swift index cc855c50..4ceac639 100644 --- a/Sources/PubNub/Networking/Routers/PushRouter.swift +++ b/Sources/PubNub/Networking/Routers/PushRouter.swift @@ -1,28 +1,11 @@ // // PushRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribeMessageActionPayload.swift b/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribeMessageActionPayload.swift index 91bf1a87..ecb8553f 100644 --- a/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribeMessageActionPayload.swift +++ b/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribeMessageActionPayload.swift @@ -1,28 +1,11 @@ // // SubscribeMessageActionPayload.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribeObjectPayload.swift b/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribeObjectPayload.swift index 959b5bd9..58f119fb 100644 --- a/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribeObjectPayload.swift +++ b/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribeObjectPayload.swift @@ -1,28 +1,11 @@ // // SubscribeObjectPayload.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribePresencePayload.swift b/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribePresencePayload.swift index f70123b6..e71f97e4 100644 --- a/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribePresencePayload.swift +++ b/Sources/PubNub/Networking/Routers/Subscribe Payloads/SubscribePresencePayload.swift @@ -1,28 +1,11 @@ // // SubscribePresencePayload.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/SubscribeRouter.swift b/Sources/PubNub/Networking/Routers/SubscribeRouter.swift index 8e846f58..c1c3172a 100644 --- a/Sources/PubNub/Networking/Routers/SubscribeRouter.swift +++ b/Sources/PubNub/Networking/Routers/SubscribeRouter.swift @@ -1,28 +1,11 @@ // // SubscribeRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Networking/Routers/TimeRouter.swift b/Sources/PubNub/Networking/Routers/TimeRouter.swift index 6e4bad8c..66002811 100644 --- a/Sources/PubNub/Networking/Routers/TimeRouter.swift +++ b/Sources/PubNub/Networking/Routers/TimeRouter.swift @@ -1,28 +1,11 @@ // // TimeRouter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Property Wrappers/BoundedValue.swift b/Sources/PubNub/Property Wrappers/BoundedValue.swift index 937366cb..78a46cb4 100644 --- a/Sources/PubNub/Property Wrappers/BoundedValue.swift +++ b/Sources/PubNub/Property Wrappers/BoundedValue.swift @@ -1,28 +1,11 @@ // // BoundedValue.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/PubNub.h b/Sources/PubNub/PubNub.h index 947a585f..ef600bc7 100644 --- a/Sources/PubNub/PubNub.h +++ b/Sources/PubNub/PubNub.h @@ -1,28 +1,12 @@ // // PubNub.h -// -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: +// Copyright (c) PubNub Inc. +// All rights reserved. // -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. // #import diff --git a/Sources/PubNub/PubNub.swift b/Sources/PubNub/PubNub.swift index a33d7da9..9f05505e 100644 --- a/Sources/PubNub/PubNub.swift +++ b/Sources/PubNub/PubNub.swift @@ -1,28 +1,11 @@ // // PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/PubNubConfiguration.swift b/Sources/PubNub/PubNubConfiguration.swift index f8f66cac..4e7818f1 100644 --- a/Sources/PubNub/PubNubConfiguration.swift +++ b/Sources/PubNub/PubNubConfiguration.swift @@ -1,28 +1,11 @@ // // PubNubConfiguration.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Subscription/ConnectionStatus.swift b/Sources/PubNub/Subscription/ConnectionStatus.swift index cf3a3925..72f93b68 100644 --- a/Sources/PubNub/Subscription/ConnectionStatus.swift +++ b/Sources/PubNub/Subscription/ConnectionStatus.swift @@ -1,28 +1,11 @@ // // ConnectionStatus.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Subscription/SubscribeSessionFactory.swift b/Sources/PubNub/Subscription/SubscribeSessionFactory.swift index 99d4473f..92b63048 100644 --- a/Sources/PubNub/Subscription/SubscribeSessionFactory.swift +++ b/Sources/PubNub/Subscription/SubscribeSessionFactory.swift @@ -1,28 +1,11 @@ // // SubscribeSessionFactory.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Subscription/SubscriptionSession+Presence.swift b/Sources/PubNub/Subscription/SubscriptionSession+Presence.swift index f564648b..8a752602 100644 --- a/Sources/PubNub/Subscription/SubscriptionSession+Presence.swift +++ b/Sources/PubNub/Subscription/SubscriptionSession+Presence.swift @@ -1,28 +1,11 @@ // // SubscriptionSession+Presence.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Subscription/SubscriptionSession.swift b/Sources/PubNub/Subscription/SubscriptionSession.swift index 1ee17adc..c8164aa6 100644 --- a/Sources/PubNub/Subscription/SubscriptionSession.swift +++ b/Sources/PubNub/Subscription/SubscriptionSession.swift @@ -1,28 +1,11 @@ // // SubscriptionSession.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// http://www.pubnub.com/ -// http://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Sources/PubNub/Subscription/SubscriptionState.swift b/Sources/PubNub/Subscription/SubscriptionState.swift index 18168b7b..a798db54 100644 --- a/Sources/PubNub/Subscription/SubscriptionState.swift +++ b/Sources/PubNub/Subscription/SubscriptionState.swift @@ -1,30 +1,12 @@ // // SubscriptionState.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. -// - import Foundation /// State of a PubNub subscription lifecycle diff --git a/Tests/PubNubContractTest/PubNubContractTestCase.swift b/Tests/PubNubContractTest/PubNubContractTestCase.swift index 12f0b0d0..f7c4048a 100644 --- a/Tests/PubNubContractTest/PubNubContractTestCase.swift +++ b/Tests/PubNubContractTest/PubNubContractTestCase.swift @@ -1,28 +1,11 @@ // -// PubNubContractTest.swift +// PubNubContractTestCase.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Access/PubNubAccessContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Access/PubNubAccessContractTestSteps.swift index 6c396047..ce4035b1 100644 --- a/Tests/PubNubContractTest/Steps/Access/PubNubAccessContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Access/PubNubAccessContractTestSteps.swift @@ -1,28 +1,11 @@ // -// PNAccessContractTestSteps.swift +// PubNubAccessContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/CryptorModule/PubNubCryptoModuleContractTestSteps.swift b/Tests/PubNubContractTest/Steps/CryptorModule/PubNubCryptoModuleContractTestSteps.swift index 48373587..626dc24f 100644 --- a/Tests/PubNubContractTest/Steps/CryptorModule/PubNubCryptoModuleContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/CryptorModule/PubNubCryptoModuleContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubCryptoModuleContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Files/PubNubFilesContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Files/PubNubFilesContractTestSteps.swift index fc7fc68f..0f907a32 100644 --- a/Tests/PubNubContractTest/Steps/Files/PubNubFilesContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Files/PubNubFilesContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubFilesContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/History/PubNubHistoryContractTestSteps.swift b/Tests/PubNubContractTest/Steps/History/PubNubHistoryContractTestSteps.swift index 082068f7..3c1cc2e3 100644 --- a/Tests/PubNubContractTest/Steps/History/PubNubHistoryContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/History/PubNubHistoryContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubHistoryContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Message Actions/PubNubMessageActionsContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Message Actions/PubNubMessageActionsContractTestSteps.swift index c78bfb83..41ea0f10 100644 --- a/Tests/PubNubContractTest/Steps/Message Actions/PubNubMessageActionsContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Message Actions/PubNubMessageActionsContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubMessageActionsContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsChannelMetadataContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsChannelMetadataContractTestSteps.swift index b73e34e0..f23e0565 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsChannelMetadataContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsChannelMetadataContractTestSteps.swift @@ -1,28 +1,11 @@ // -// PubNubObjectsSpaceContractTestSteps.swift +// PubNubObjectsChannelMetadataContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsContractTests.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsContractTests.swift index 7ae5d38e..f79e6697 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsContractTests.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsContractTests.swift @@ -1,28 +1,11 @@ // -// PubNubObjectsContractTestState.swift +// PubNubObjectsContractTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembersContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembersContractTestSteps.swift index d4b1fd2e..81099775 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembersContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembersContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubObjectsMembersContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembershipsContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembershipsContractTestSteps.swift index 572dbf85..f9e793ef 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembershipsContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembershipsContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubObjectsMembershipsContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsTestHelpers.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsTestHelpers.swift index 8657cbef..9b5a3249 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsTestHelpers.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsTestHelpers.swift @@ -1,28 +1,11 @@ // // PubNubObjectsTestHelpers.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsUUIDMetadataContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsUUIDMetadataContractTestSteps.swift index 4ae73b46..5ce0fbee 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsUUIDMetadataContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsUUIDMetadataContractTestSteps.swift @@ -1,28 +1,11 @@ // -// PubNubObjectsUUIDContractTestSteps.swift +// PubNubObjectsUUIDMetadataContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Publish/PubNubPublishContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Publish/PubNubPublishContractTestSteps.swift index 757c5ab2..115876d3 100644 --- a/Tests/PubNubContractTest/Steps/Publish/PubNubPublishContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Publish/PubNubPublishContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubPublishContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Push/PubNubPushContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Push/PubNubPushContractTestSteps.swift index b0e4fb42..fc566e16 100644 --- a/Tests/PubNubContractTest/Steps/Push/PubNubPushContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Push/PubNubPushContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubPushContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Subscribe/PubNubSubscribeContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Subscribe/PubNubSubscribeContractTestSteps.swift index 093aa5c4..6f019fb2 100644 --- a/Tests/PubNubContractTest/Steps/Subscribe/PubNubSubscribeContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Subscribe/PubNubSubscribeContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubSubscribeContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubContractTest/Steps/Utilities/PubNubTimeContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Utilities/PubNubTimeContractTestSteps.swift index 074190d4..ebcd2ce3 100644 --- a/Tests/PubNubContractTest/Steps/Utilities/PubNubTimeContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Utilities/PubNubTimeContractTestSteps.swift @@ -1,28 +1,11 @@ // // PubNubTimeContractTestSteps.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2021 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Cucumberish diff --git a/Tests/PubNubTests/Events/EventStreamTests.swift b/Tests/PubNubTests/Events/EventStreamTests.swift index 38b95987..af6ef7ba 100644 --- a/Tests/PubNubTests/Events/EventStreamTests.swift +++ b/Tests/PubNubTests/Events/EventStreamTests.swift @@ -1,28 +1,11 @@ // // EventStreamTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Events/SessionStreamTests.swift b/Tests/PubNubTests/Events/SessionStreamTests.swift index 53c1bc4b..138913f8 100644 --- a/Tests/PubNubTests/Events/SessionStreamTests.swift +++ b/Tests/PubNubTests/Events/SessionStreamTests.swift @@ -1,28 +1,11 @@ // // SessionStreamTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Events/SubscriptionStreamTests.swift b/Tests/PubNubTests/Events/SubscriptionStreamTests.swift index eb8c1e49..6e4d00e9 100644 --- a/Tests/PubNubTests/Events/SubscriptionStreamTests.swift +++ b/Tests/PubNubTests/Events/SubscriptionStreamTests.swift @@ -1,28 +1,11 @@ // -// SubscriptionListenerTests.swift +// SubscriptionStreamTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/Bool+PubNubTests.swift b/Tests/PubNubTests/Extensions/Bool+PubNubTests.swift index 51713b6a..74a0face 100644 --- a/Tests/PubNubTests/Extensions/Bool+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Bool+PubNubTests.swift @@ -1,28 +1,11 @@ // // Bool+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/Collection+PubNubTests.swift b/Tests/PubNubTests/Extensions/Collection+PubNubTests.swift index 5ad98e75..57ca0b80 100644 --- a/Tests/PubNubTests/Extensions/Collection+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Collection+PubNubTests.swift @@ -1,28 +1,11 @@ // // Collection+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/Data+PubNubTests.swift b/Tests/PubNubTests/Extensions/Data+PubNubTests.swift index 9f4f0e74..b88e169d 100644 --- a/Tests/PubNubTests/Extensions/Data+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Data+PubNubTests.swift @@ -1,28 +1,11 @@ // // Data+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Tests/PubNubTests/Extensions/DateFormatter+PubNubTests.swift b/Tests/PubNubTests/Extensions/DateFormatter+PubNubTests.swift index 7655525d..d9a07a8b 100644 --- a/Tests/PubNubTests/Extensions/DateFormatter+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/DateFormatter+PubNubTests.swift @@ -1,28 +1,11 @@ // // DateFormatter+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/DispatchQueue+PubNub.swift b/Tests/PubNubTests/Extensions/DispatchQueue+PubNub.swift index 0be03e37..0cd7fdf2 100644 --- a/Tests/PubNubTests/Extensions/DispatchQueue+PubNub.swift +++ b/Tests/PubNubTests/Extensions/DispatchQueue+PubNub.swift @@ -1,28 +1,11 @@ // // DispatchQueue+PubNub.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/Error+PubNubTests.swift b/Tests/PubNubTests/Extensions/Error+PubNubTests.swift index 46c362d9..a1ca43d2 100644 --- a/Tests/PubNubTests/Extensions/Error+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Error+PubNubTests.swift @@ -1,28 +1,11 @@ // // Error+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/HTTPURLResponse+PubNubTests.swift b/Tests/PubNubTests/Extensions/HTTPURLResponse+PubNubTests.swift index b69376a3..3cecb377 100644 --- a/Tests/PubNubTests/Extensions/HTTPURLResponse+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/HTTPURLResponse+PubNubTests.swift @@ -1,28 +1,11 @@ // // HTTPURLResponse+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/Int+PubNubTests.swift b/Tests/PubNubTests/Extensions/Int+PubNubTests.swift index 3863c152..b0adce54 100644 --- a/Tests/PubNubTests/Extensions/Int+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Int+PubNubTests.swift @@ -1,28 +1,11 @@ // // Int+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/OperationQueue+PubNubTests.swift b/Tests/PubNubTests/Extensions/OperationQueue+PubNubTests.swift index 291789ee..6fc87b1a 100644 --- a/Tests/PubNubTests/Extensions/OperationQueue+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/OperationQueue+PubNubTests.swift @@ -1,28 +1,11 @@ // // OperationQueue+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/Set+PubNubTests.swift b/Tests/PubNubTests/Extensions/Set+PubNubTests.swift index 7b663303..130fbe4d 100644 --- a/Tests/PubNubTests/Extensions/Set+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Set+PubNubTests.swift @@ -1,28 +1,11 @@ // // Set+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/String+PubNubTests.swift b/Tests/PubNubTests/Extensions/String+PubNubTests.swift index 94e6c38d..9620ee4c 100644 --- a/Tests/PubNubTests/Extensions/String+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/String+PubNubTests.swift @@ -1,28 +1,11 @@ // // String+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/URL+PubNubTests.swift b/Tests/PubNubTests/Extensions/URL+PubNubTests.swift index 53fb0299..5f09679b 100644 --- a/Tests/PubNubTests/Extensions/URL+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/URL+PubNubTests.swift @@ -1,28 +1,11 @@ // // URL+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/URLQueryItem+PubNubTests.swift b/Tests/PubNubTests/Extensions/URLQueryItem+PubNubTests.swift index 958d8a62..48d0abb7 100644 --- a/Tests/PubNubTests/Extensions/URLQueryItem+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/URLQueryItem+PubNubTests.swift @@ -1,28 +1,12 @@ // -// URLQueryItem+PubNub.swift +// URLQueryItem+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/URLRequest+PubNubTests.swift b/Tests/PubNubTests/Extensions/URLRequest+PubNubTests.swift index 1a12b495..1d5afd4b 100644 --- a/Tests/PubNubTests/Extensions/URLRequest+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/URLRequest+PubNubTests.swift @@ -1,28 +1,11 @@ // // URLRequest+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Extensions/URLSessionConfiguration+PubNubTests.swift b/Tests/PubNubTests/Extensions/URLSessionConfiguration+PubNubTests.swift index 84babf27..16cd9396 100644 --- a/Tests/PubNubTests/Extensions/URLSessionConfiguration+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/URLSessionConfiguration+PubNubTests.swift @@ -1,28 +1,11 @@ // // URLSessionConfiguration+PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Helpers/AnyJSON+CodableTests.swift b/Tests/PubNubTests/Helpers/AnyJSON+CodableTests.swift index 499ef969..3695f073 100644 --- a/Tests/PubNubTests/Helpers/AnyJSON+CodableTests.swift +++ b/Tests/PubNubTests/Helpers/AnyJSON+CodableTests.swift @@ -1,28 +1,11 @@ // // AnyJSON+CodableTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Helpers/AnyJSONTests.swift b/Tests/PubNubTests/Helpers/AnyJSONTests.swift index 4553aeb8..e26f8b56 100644 --- a/Tests/PubNubTests/Helpers/AnyJSONTests.swift +++ b/Tests/PubNubTests/Helpers/AnyJSONTests.swift @@ -1,28 +1,11 @@ // // AnyJSONTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Helpers/AtomicTests.swift b/Tests/PubNubTests/Helpers/AtomicTests.swift index e2ea7f76..90fc5a1b 100644 --- a/Tests/PubNubTests/Helpers/AtomicTests.swift +++ b/Tests/PubNubTests/Helpers/AtomicTests.swift @@ -1,28 +1,11 @@ // // AtomicTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Helpers/ConstantsTests.swift b/Tests/PubNubTests/Helpers/ConstantsTests.swift index 8d2aea35..414274df 100644 --- a/Tests/PubNubTests/Helpers/ConstantsTests.swift +++ b/Tests/PubNubTests/Helpers/ConstantsTests.swift @@ -1,28 +1,11 @@ // // ConstantsTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Helpers/CryptoTests.swift b/Tests/PubNubTests/Helpers/CryptoTests.swift index 4d15be9c..868bd921 100644 --- a/Tests/PubNubTests/Helpers/CryptoTests.swift +++ b/Tests/PubNubTests/Helpers/CryptoTests.swift @@ -1,28 +1,11 @@ // // CryptoTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import CommonCrypto diff --git a/Tests/PubNubTests/Helpers/FlatJSONCodable+Test.swift b/Tests/PubNubTests/Helpers/FlatJSONCodable+Test.swift index 8d5c51f9..8166ffe0 100644 --- a/Tests/PubNubTests/Helpers/FlatJSONCodable+Test.swift +++ b/Tests/PubNubTests/Helpers/FlatJSONCodable+Test.swift @@ -1,28 +1,11 @@ // // FlatJSONCodable+Test.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2022 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Helpers/PAMTokenTests.swift b/Tests/PubNubTests/Helpers/PAMTokenTests.swift index 2472123c..9182dd64 100644 --- a/Tests/PubNubTests/Helpers/PAMTokenTests.swift +++ b/Tests/PubNubTests/Helpers/PAMTokenTests.swift @@ -1,28 +1,11 @@ // // PAMTokenTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Helpers/ValidatedTests.swift b/Tests/PubNubTests/Helpers/ValidatedTests.swift index bc3a7671..3cc6eb85 100644 --- a/Tests/PubNubTests/Helpers/ValidatedTests.swift +++ b/Tests/PubNubTests/Helpers/ValidatedTests.swift @@ -1,28 +1,11 @@ // // ValidatedTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Helpers/WeakBoxTests.swift b/Tests/PubNubTests/Helpers/WeakBoxTests.swift index c2b27fe7..bbef3d3c 100644 --- a/Tests/PubNubTests/Helpers/WeakBoxTests.swift +++ b/Tests/PubNubTests/Helpers/WeakBoxTests.swift @@ -1,28 +1,11 @@ // // WeakBoxTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Helpers/XMLCodingTests.swift b/Tests/PubNubTests/Helpers/XMLCodingTests.swift index 1067cccc..5c00cb66 100644 --- a/Tests/PubNubTests/Helpers/XMLCodingTests.swift +++ b/Tests/PubNubTests/Helpers/XMLCodingTests.swift @@ -1,28 +1,11 @@ // // XMLCodingTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Integration/ChannelObjectsEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/ChannelObjectsEndpointIntegrationTests.swift index 88a4b481..f11a76b2 100644 --- a/Tests/PubNubTests/Integration/ChannelObjectsEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/ChannelObjectsEndpointIntegrationTests.swift @@ -1,28 +1,11 @@ // // ChannelObjectsEndpointIntegrationTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/Tests/PubNubTests/Integration/MessageActionsEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/MessageActionsEndpointIntegrationTests.swift index 50b708c9..16b4bcbc 100644 --- a/Tests/PubNubTests/Integration/MessageActionsEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/MessageActionsEndpointIntegrationTests.swift @@ -1,28 +1,11 @@ // // MessageActionsEndpointIntegrationTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/Tests/PubNubTests/Integration/OnboardingSnippets.swift b/Tests/PubNubTests/Integration/OnboardingSnippets.swift index 6489465c..47a51444 100644 --- a/Tests/PubNubTests/Integration/OnboardingSnippets.swift +++ b/Tests/PubNubTests/Integration/OnboardingSnippets.swift @@ -1,28 +1,11 @@ // // OnboardingSnippets.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/Tests/PubNubTests/Integration/PresenceEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/PresenceEndpointIntegrationTests.swift index b8f36ad7..535e0a23 100644 --- a/Tests/PubNubTests/Integration/PresenceEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/PresenceEndpointIntegrationTests.swift @@ -1,28 +1,11 @@ // // PresenceEndpointIntegrationTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/Tests/PubNubTests/Integration/PubNub+Integration.swift b/Tests/PubNubTests/Integration/PubNub+Integration.swift index 975a251a..f626306c 100644 --- a/Tests/PubNubTests/Integration/PubNub+Integration.swift +++ b/Tests/PubNubTests/Integration/PubNub+Integration.swift @@ -1,28 +1,11 @@ // // PubNub+Integration.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Tests/PubNubTests/Integration/PublishEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/PublishEndpointIntegrationTests.swift index c2e5bc43..130372bc 100644 --- a/Tests/PubNubTests/Integration/PublishEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/PublishEndpointIntegrationTests.swift @@ -1,28 +1,11 @@ // // PublishEndpointIntegrationTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/Tests/PubNubTests/Integration/PushIntegrationTests.swift b/Tests/PubNubTests/Integration/PushIntegrationTests.swift index 05786942..aeb957d7 100644 --- a/Tests/PubNubTests/Integration/PushIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/PushIntegrationTests.swift @@ -1,30 +1,12 @@ // // PushIntegrationTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. -// - import XCTest import PubNub diff --git a/Tests/PubNubTests/Integration/SubscriptionIntegrationTests.swift b/Tests/PubNubTests/Integration/SubscriptionIntegrationTests.swift index 7a3d3f29..f26e395f 100644 --- a/Tests/PubNubTests/Integration/SubscriptionIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/SubscriptionIntegrationTests.swift @@ -1,28 +1,11 @@ // // SubscriptionIntegrationTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/Tests/PubNubTests/Integration/UUIDObjectsEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/UUIDObjectsEndpointIntegrationTests.swift index c82018b6..94561e05 100644 --- a/Tests/PubNubTests/Integration/UUIDObjectsEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/UUIDObjectsEndpointIntegrationTests.swift @@ -1,28 +1,11 @@ // // UUIDObjectsEndpointIntegrationTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import PubNub diff --git a/Tests/PubNubTests/Mocking/ImportTestResource.swift b/Tests/PubNubTests/Mocking/ImportTestResource.swift index 3ecc7583..afe0d48c 100644 --- a/Tests/PubNubTests/Mocking/ImportTestResource.swift +++ b/Tests/PubNubTests/Mocking/ImportTestResource.swift @@ -1,28 +1,11 @@ // -// ImportJSON.swift +// ImportTestResource.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Mocking/MockRequestOperators.swift b/Tests/PubNubTests/Mocking/MockRequestOperators.swift index 06a83908..7fa2fb21 100644 --- a/Tests/PubNubTests/Mocking/MockRequestOperators.swift +++ b/Tests/PubNubTests/Mocking/MockRequestOperators.swift @@ -1,28 +1,11 @@ // // MockRequestOperators.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Mocking/MockURLSession.swift b/Tests/PubNubTests/Mocking/MockURLSession.swift index ab491f6e..72b9b500 100644 --- a/Tests/PubNubTests/Mocking/MockURLSession.swift +++ b/Tests/PubNubTests/Mocking/MockURLSession.swift @@ -1,28 +1,11 @@ // // MockURLSession.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Tests/PubNubTests/Mocking/SessionStreamAwait.swift b/Tests/PubNubTests/Mocking/SessionStreamAwait.swift index 6396fbb4..cf08415a 100644 --- a/Tests/PubNubTests/Mocking/SessionStreamAwait.swift +++ b/Tests/PubNubTests/Mocking/SessionStreamAwait.swift @@ -1,28 +1,11 @@ // // SessionStreamAwait.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Tests/PubNubTests/Mocking/TestLogWriter.swift b/Tests/PubNubTests/Mocking/TestLogWriter.swift index df0572f8..33595e4d 100644 --- a/Tests/PubNubTests/Mocking/TestLogWriter.swift +++ b/Tests/PubNubTests/Mocking/TestLogWriter.swift @@ -1,28 +1,11 @@ // // TestLogWriter.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Tests/PubNubTests/Mocking/TestSetup.swift b/Tests/PubNubTests/Mocking/TestSetup.swift index 7e6841d4..a00b1b6d 100644 --- a/Tests/PubNubTests/Mocking/TestSetup.swift +++ b/Tests/PubNubTests/Mocking/TestSetup.swift @@ -1,28 +1,11 @@ // // TestSetup.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Tests/PubNubTests/Mocking/XMLEncoder.swift b/Tests/PubNubTests/Mocking/XMLEncoder.swift index 2474977a..cec9ca8d 100644 --- a/Tests/PubNubTests/Mocking/XMLEncoder.swift +++ b/Tests/PubNubTests/Mocking/XMLEncoder.swift @@ -1,28 +1,11 @@ // // XMLEncoder.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // import Foundation diff --git a/Tests/PubNubTests/Networking/Operators/AutomaticRetryTests.swift b/Tests/PubNubTests/Networking/Operators/AutomaticRetryTests.swift index 68b10075..d7b474a4 100644 --- a/Tests/PubNubTests/Networking/Operators/AutomaticRetryTests.swift +++ b/Tests/PubNubTests/Networking/Operators/AutomaticRetryTests.swift @@ -1,28 +1,11 @@ // // AutomaticRetryTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Operators/InstanceIdOperatorTests.swift b/Tests/PubNubTests/Networking/Operators/InstanceIdOperatorTests.swift index f0742166..fed9e972 100644 --- a/Tests/PubNubTests/Networking/Operators/InstanceIdOperatorTests.swift +++ b/Tests/PubNubTests/Networking/Operators/InstanceIdOperatorTests.swift @@ -1,28 +1,11 @@ // // InstanceIdOperatorTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Operators/RequestIdOperatorTests.swift b/Tests/PubNubTests/Networking/Operators/RequestIdOperatorTests.swift index 10fa7a00..2b3b97ad 100644 --- a/Tests/PubNubTests/Networking/Operators/RequestIdOperatorTests.swift +++ b/Tests/PubNubTests/Networking/Operators/RequestIdOperatorTests.swift @@ -1,28 +1,11 @@ // // RequestIdOperatorTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Operators/RequestMutatorTests.swift b/Tests/PubNubTests/Networking/Operators/RequestMutatorTests.swift index b3fb5efa..6c5cbc0d 100644 --- a/Tests/PubNubTests/Networking/Operators/RequestMutatorTests.swift +++ b/Tests/PubNubTests/Networking/Operators/RequestMutatorTests.swift @@ -1,28 +1,11 @@ // // RequestMutatorTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Operators/RequestRetrierTests.swift b/Tests/PubNubTests/Networking/Operators/RequestRetrierTests.swift index c6c5b88b..c2587bf2 100644 --- a/Tests/PubNubTests/Networking/Operators/RequestRetrierTests.swift +++ b/Tests/PubNubTests/Networking/Operators/RequestRetrierTests.swift @@ -1,28 +1,11 @@ // // RequestRetrierTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/ChannelGroupEndpointTests.swift b/Tests/PubNubTests/Networking/Routers/ChannelGroupEndpointTests.swift index efc38a5e..fd49d8c7 100644 --- a/Tests/PubNubTests/Networking/Routers/ChannelGroupEndpointTests.swift +++ b/Tests/PubNubTests/Networking/Routers/ChannelGroupEndpointTests.swift @@ -1,28 +1,11 @@ // -// ChannelGroupsRouterTests.swift +// ChannelGroupEndpointTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/FileManagementRouterTests.swift b/Tests/PubNubTests/Networking/Routers/FileManagementRouterTests.swift index 45ada59e..f67aa1e2 100644 --- a/Tests/PubNubTests/Networking/Routers/FileManagementRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/FileManagementRouterTests.swift @@ -1,28 +1,11 @@ // // FileManagementRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/HistoryRouterTests.swift b/Tests/PubNubTests/Networking/Routers/HistoryRouterTests.swift index 4dde8da4..53d763e8 100644 --- a/Tests/PubNubTests/Networking/Routers/HistoryRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/HistoryRouterTests.swift @@ -1,28 +1,11 @@ // // HistoryRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // // swiftlint:disable file_length diff --git a/Tests/PubNubTests/Networking/Routers/MessageActionsRouterTests.swift b/Tests/PubNubTests/Networking/Routers/MessageActionsRouterTests.swift index f004c4d2..cdb70e63 100644 --- a/Tests/PubNubTests/Networking/Routers/MessageActionsRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/MessageActionsRouterTests.swift @@ -1,28 +1,11 @@ // // MessageActionsRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/ObjectsChannelRouterTests.swift b/Tests/PubNubTests/Networking/Routers/ObjectsChannelRouterTests.swift index cab5847d..f9911bac 100644 --- a/Tests/PubNubTests/Networking/Routers/ObjectsChannelRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/ObjectsChannelRouterTests.swift @@ -1,28 +1,11 @@ // // ObjectsChannelRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/ObjectsMembershipsRouterTests.swift b/Tests/PubNubTests/Networking/Routers/ObjectsMembershipsRouterTests.swift index e6f77ac6..5839cc2c 100644 --- a/Tests/PubNubTests/Networking/Routers/ObjectsMembershipsRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/ObjectsMembershipsRouterTests.swift @@ -1,28 +1,11 @@ // // ObjectsMembershipsRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2020 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/ObjectsUUIDRouterTests.swift b/Tests/PubNubTests/Networking/Routers/ObjectsUUIDRouterTests.swift index 3925615a..6dec83f9 100644 --- a/Tests/PubNubTests/Networking/Routers/ObjectsUUIDRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/ObjectsUUIDRouterTests.swift @@ -1,28 +1,11 @@ // // ObjectsUUIDRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/PresenceRouterTests.swift b/Tests/PubNubTests/Networking/Routers/PresenceRouterTests.swift index 002da477..2506ffd3 100644 --- a/Tests/PubNubTests/Networking/Routers/PresenceRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/PresenceRouterTests.swift @@ -1,28 +1,11 @@ // // PresenceRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/PublishRouterTests.swift b/Tests/PubNubTests/Networking/Routers/PublishRouterTests.swift index b5e85da2..af50512f 100644 --- a/Tests/PubNubTests/Networking/Routers/PublishRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/PublishRouterTests.swift @@ -1,28 +1,11 @@ // // PublishRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/PushRouterTests.swift b/Tests/PubNubTests/Networking/Routers/PushRouterTests.swift index 066a57fa..f1357f4d 100644 --- a/Tests/PubNubTests/Networking/Routers/PushRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/PushRouterTests.swift @@ -1,28 +1,11 @@ // // PushRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/SubscribeRouterTests.swift b/Tests/PubNubTests/Networking/Routers/SubscribeRouterTests.swift index e2fb9af4..c4488b41 100644 --- a/Tests/PubNubTests/Networking/Routers/SubscribeRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/SubscribeRouterTests.swift @@ -1,28 +1,11 @@ // // SubscribeRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Routers/TimeRouterTests.swift b/Tests/PubNubTests/Networking/Routers/TimeRouterTests.swift index e9213c9c..76a0cc27 100644 --- a/Tests/PubNubTests/Networking/Routers/TimeRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/TimeRouterTests.swift @@ -1,28 +1,11 @@ // // TimeRouterTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Session+EndpointErrorTests.swift b/Tests/PubNubTests/Networking/Session+EndpointErrorTests.swift index 6726ad37..ad47d5bb 100644 --- a/Tests/PubNubTests/Networking/Session+EndpointErrorTests.swift +++ b/Tests/PubNubTests/Networking/Session+EndpointErrorTests.swift @@ -1,28 +1,11 @@ // -// Session+GeneralSystemError.swift +// Session+EndpointErrorTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Networking/Session+URLErrorTests.swift b/Tests/PubNubTests/Networking/Session+URLErrorTests.swift index f3937d17..ad3df63c 100644 --- a/Tests/PubNubTests/Networking/Session+URLErrorTests.swift +++ b/Tests/PubNubTests/Networking/Session+URLErrorTests.swift @@ -1,28 +1,11 @@ // -// Session+URLError.swift +// Session+URLErrorTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/PubNubConfigurationTests.swift b/Tests/PubNubTests/PubNubConfigurationTests.swift index c7c65c6e..fe7de13a 100644 --- a/Tests/PubNubTests/PubNubConfigurationTests.swift +++ b/Tests/PubNubTests/PubNubConfigurationTests.swift @@ -1,28 +1,11 @@ // // PubNubConfigurationTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/PubNubTests.swift b/Tests/PubNubTests/PubNubTests.swift index 16e6e56b..8a1546ea 100644 --- a/Tests/PubNubTests/PubNubTests.swift +++ b/Tests/PubNubTests/PubNubTests.swift @@ -1,28 +1,11 @@ // // PubNubTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Push/PubNubPushTargetTests.swift b/Tests/PubNubTests/Push/PubNubPushTargetTests.swift index e4e21f9c..05f19698 100644 --- a/Tests/PubNubTests/Push/PubNubPushTargetTests.swift +++ b/Tests/PubNubTests/Push/PubNubPushTargetTests.swift @@ -1,28 +1,11 @@ // // PubNubPushTargetTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2023 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub diff --git a/Tests/PubNubTests/Subscription/SubscribeSessionFactoryTests.swift b/Tests/PubNubTests/Subscription/SubscribeSessionFactoryTests.swift index 63c12ed1..be09221a 100644 --- a/Tests/PubNubTests/Subscription/SubscribeSessionFactoryTests.swift +++ b/Tests/PubNubTests/Subscription/SubscribeSessionFactoryTests.swift @@ -1,28 +1,11 @@ // // SubscribeSessionFactoryTests.swift // -// PubNub Real-time Cloud-Hosted Push API and Push Notification Client Frameworks -// Copyright © 2019 PubNub Inc. -// https://www.pubnub.com/ -// https://www.pubnub.com/terms +// Copyright (c) PubNub Inc. +// All rights reserved. // -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND 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. +// This source code is licensed under the license found in the +// LICENSE file in the root directory of this source tree. // @testable import PubNub