Skip to content

Commit

Permalink
Uppercased test filenames and unified copyright header.
Browse files Browse the repository at this point in the history
  • Loading branch information
freak4pc committed Dec 12, 2017
1 parent 6bf998b commit 755283f
Show file tree
Hide file tree
Showing 51 changed files with 247 additions and 232 deletions.
13 changes: 12 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,21 @@ disabled_rules:
- trailing_comma
identifier_name:
min_length: 1
opt_in_rules:
- file_header
type_name:
excluded: T
function_body_length: 100
type_body_length: 500
cyclomatic_complexity:
warning: 15
error: 25
error: 25
file_header:
required_pattern: |
\/\/
\/\/ .*?\.swift
\/\/ RxSwiftExt
\/\/
\/\/ Created by .*? on \d{1,2}\/\d{1,2}\/(\d{2}|\d{4})\.
\/\/ Copyright © \d{4} RxSwift Community\. All rights reserved\.
\/\/
305 changes: 153 additions & 152 deletions RxSwiftExt.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Source/RxCocoa/distinct+RxCocoa.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Rafael Ferreira on 3/8/17.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import RxCocoa
Expand Down
4 changes: 2 additions & 2 deletions Source/RxCocoa/mapTo+RxCocoa.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// mapTo+RxCocoa.swift
// RxSwiftExtDemo
// MapTo+RxCocoa.swift
// RxSwiftExt
//
// Created by Rafael Ferreira on 3/7/17.
// Copyright © 2017 RxSwift Community. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion Source/RxCocoa/not+RxCocoa.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Rafael Ferreira on 3/7/17.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import RxCocoa
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/ObservableType+Weak.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ObservableType+Weak.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Ian Keen on 17/04/2016.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
5 changes: 3 additions & 2 deletions Source/RxSwift/and.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// and.swift
// RxSwiftExt
//
// Created by Florent Pillet on 26/11/17
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Created by Florent Pillet on 26/11/17.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import Foundation
import RxSwift

Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/apply.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Andy Chou on 2/22/17.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/cascade.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// cascade.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Florent Pillet on 17/04/16.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/catchErrorJustComplete.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// catchErrorJustComplete.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Florent Pillet on 21/05/16.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions Source/RxSwift/distinct.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// distinct.swift
// Pods
// RxSwiftExt
//
// Created by Segii Shulga on 5/4/16.
//
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/filterMap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Jeremie Girault on 31/05/2017.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import RxSwift
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/flatMapSync.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Jeremie Girault on 31/05/2017.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import RxSwift
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/fromAsync.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Vincent on 12/08/2017.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/ignore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Florent Pillet on 10/04/16.
// Copyright (c) 2016 RxSwiftCommunity https://github.com/RxSwiftCommunity
// Copyright © 2016 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/ignoreErrors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Florent Pillet on 18/05/16.
// Copyright (c) 2016 RxSwiftCommunity https://github.com/RxSwiftCommunity
// Copyright © 2016 RxSwift Community. All rights reserved.
//

import RxSwift
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/mapTo.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// mapTo.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Marin Todorov on 4/12/16.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
8 changes: 5 additions & 3 deletions Source/RxSwift/materialized+elements.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
//
// Created by Adam Borek on 12.04.2017.
// Originally created by Andy Chou on 1/5/17
// Copyright (c) 2017 RxSwiftCommunity. All rights reserved.
// materialized+elements.swift
// RxSwiftExt
//
// Created by Andy Chou on 1/5/17.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
4 changes: 2 additions & 2 deletions Source/RxSwift/not.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// ignore.swift
// RxSwiftExt
//
// Created by Thane Gill 18/04/16.
// Copyright (c) 2016 RxSwiftCommunity https://github.com/RxSwiftCommunity
// Created by Thane Gill on 18/04/16.
// Copyright © 2016 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
4 changes: 2 additions & 2 deletions Source/RxSwift/nwise.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// nwise.swift
// RxSwiftExt
//
// Created by Zsolt Váradi on 2017. 12. 09..
// Copyright © 2017. RxSwiftCommunity. All rights reserved.
// Created by Zsolt Váradi on 09/12/2017.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import RxSwift
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/once.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Florent Pillet on 12/04/16.
// Copyright (c) 2016 RxSwiftCommunity https://github.com/RxSwiftCommunity
// Copyright © 2016 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/pausableBuffered.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Tanguy Helesbeux on 24/05/2017.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
3 changes: 2 additions & 1 deletion Source/RxSwift/repeatWithBehavior.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//
// repeatWithBehavior.swift
// RxSwiftExt
//
// Created by Marin Todorov
// Created by Marin Todorov on 05/08/2017.
// Copyright © 2016 RxSwift Community. All rights reserved.
//

Expand Down
4 changes: 2 additions & 2 deletions Source/RxSwift/retryWithBehavior.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//
// retryWithBehavior.swift
// Pods
// RxSwiftExt
//
// Created by Anton Efimenko on 17.07.16.
// Created by Anton Efimenko on 17/07/16.
// Copyright © 2016 RxSwift Community. All rights reserved.
//

Expand Down
2 changes: 1 addition & 1 deletion Source/RxSwift/unwrap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Marin Todorov on 4/7/16.
// Copyright (c) 2016 RxSwiftCommunity https://github.com/RxSwiftCommunity
// Copyright © 2016 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Source/Tools/curry.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Vincent on 12/08/2017.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Rafael Ferreira on 3/8/17.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import XCTest
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MapToCocoaTests.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Rafael Ferreira on 3/7/17.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Rafael Ferreira on 3/7/17.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/RxSwift/DistinctTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// DistinctTests.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Segii Shulga on 5/4/16.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions Tests/RxSwift/IgnoreTests.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// IgnoreTests.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Florent Pillet on 10/04/16.
// Copyright (c) 2016 RxSwiftCommunity https://github.com/RxSwiftCommunity
// Copyright © 2016 RxSwift Community. All rights reserved.
//

import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/RxSwift/OnceTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// OnceTests.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Florent Pillet on 12/04/16.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
6 changes: 3 additions & 3 deletions Tests/RxSwift/UnwrapTests.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// RxSwiftExtDemoTests.swift
// RxSwiftExtDemoTests
// UnwrapTests.swift
// RxSwiftExt
//
// Created by Marin Todorov on 4/7/16.
// Copyright © 2016 Underplot. All rights reserved.
// Copyright © 2016 RxSwift Community. All rights reserved.
//

import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/RxSwift/WeakTarget.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// WeakTarget.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Ian Keen on 17/04/2016.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion Tests/RxSwift/WeakTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// WeakTests.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Ian Keen on 17/04/2016.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions Tests/RxSwift/andTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// andTests.swift
// RxSwiftExt
//
// Created by Florent Pillet on 26/11/17
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Created by Florent Pillet on 26/11/17.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/RxSwift/applyTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RxSwiftExt
//
// Created by Andy Chou on 2/22/17.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import XCTest
Expand Down
2 changes: 1 addition & 1 deletion Tests/RxSwift/cascadeTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// cascadeTests.swift
// RxSwiftExtDemo
// RxSwiftExt
//
// Created by Florent Pillet on 17/04/16.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions Tests/RxSwift/catchErrorJustCompleteTests.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// catchErrorJustCompleteTests.swift
// RxSwiftExtDemo
// CatchErrorJustCompleteTests.swift
// RxSwiftExt
//
// Created by Florent Pillet on 31/07/16.
// Copyright © 2016 RxSwift Community. All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions Tests/RxSwift/filterMapTests.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// filterMapTests.swift
// FilterMapTests.swift
// RxSwiftExt
//
// Created by Jeremie Girault on 31/05/2017.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import XCTest
Expand Down
4 changes: 2 additions & 2 deletions Tests/RxSwift/fromAsyncTests.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// fromAsyncTests.swift
// FromAsyncTests.swift
// RxSwiftExt
//
// Created by Vincent on 12/08/2017.
// Copyright © 2017 RxSwiftCommunity. All rights reserved.
// Copyright © 2017 RxSwift Community. All rights reserved.
//

import XCTest
Expand Down
Loading

0 comments on commit 755283f

Please sign in to comment.