Skip to content

Swift 3.0 #326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 132 commits into from
Sep 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
6a5d3ad
Swift 2.2 and 3.0 compatibility
norio-nomura Apr 1, 2016
7e0014b
Update to `swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a`
norio-nomura Apr 1, 2016
8146b55
Update tests to work with the latest swift-corelibs-xctest
briancroom Mar 6, 2016
310a573
Work around compiler crasher
briancroom Mar 6, 2016
4c5f081
Comply to updated XCTest
norio-nomura Apr 1, 2016
47b2b29
Remove invalid file reference of `Swift3to22.swift` from project.pbxproj
norio-nomura Apr 3, 2016
ee94bbf
Update to `swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a`
norio-nomura May 6, 2016
f4c6607
`swift build --clean` produces error when `.build` directory does not…
norio-nomura May 6, 2016
9fa10f3
Remove Swift 2.2 support
norio-nomura May 6, 2016
41a1190
Fix `XCTestObservation` adaption of `CurrentTestCaseTracker`
norio-nomura May 9, 2016
a025078
Update to `swift-DEVELOPMENT-SNAPSHOT-2016-04-25-a`
norio-nomura May 6, 2016
fe1fc19
Update to `swift-DEVELOPMENT-SNAPSHOT-2016-05-03-a`
norio-nomura May 6, 2016
2a8b8b8
Fix `NSNumber.testDescription`
norio-nomura May 10, 2016
88b6382
Update to `swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a`
norio-nomura May 11, 2016
2e0dc2c
Silence warning
norio-nomura May 11, 2016
15d1094
Update to cocoapods 1.0.0
norio-nomura May 11, 2016
08063f6
Update to Xcode 8 beta 1
norio-nomura Jun 16, 2016
46c095c
Move `Sources/Nimble/Adapters/ObjectiveC/*.[hm]` to `Sources/NimbleOb…
norio-nomura Jun 16, 2016
5390907
Update `Swift3to22.swift` and rename to `LinuxSupport.swift`
norio-nomura Jun 16, 2016
1924f70
MACOSX_DEPLOYMENT_TARGET = 10.10;
norio-nomura Jun 16, 2016
25eb0e8
Update test to swift-3.0-PREVIEW-1
norio-nomura Jun 16, 2016
cae7cf8
Update Travis-CI to Xcode 8
norio-nomura Jun 16, 2016
ce28591
Update `.swift-version` to swift-3.0-preview-1
norio-nomura Jun 16, 2016
681c71e
Fix `DispatchTime` conversion
norio-nomura Jun 16, 2016
c50f0a6
Let swift infer some parameters
norio-nomura Jun 16, 2016
1379f72
Fix Casting error on Swift Package Manager
norio-nomura Jun 16, 2016
770c11a
Merge branch 'master' into nn-swift-3-compatibility
norio-nomura Jun 16, 2016
32e6dec
Fix up expected error messages
liscio Jun 24, 2016
7c39fc4
Add support for the foundation Date class
liscio Jun 24, 2016
485c666
Merge branch 'cl-swift3-compatibility' into nn-swift-3-compatibility
norio-nomura Jun 25, 2016
6ff7913
Fix `postNotifications(_: fromNotificationCenter:)`
norio-nomura Jun 25, 2016
4f3b0f5
Change `NSDate` to `Date`
norio-nomura Jun 25, 2016
4e93899
Update `BeCloseToTest`
norio-nomura Jun 25, 2016
75cc506
Merge branch 'master' into nn-swift-3-compatibility
norio-nomura Jun 25, 2016
7a2836b
Silence warnings "result of call to 'evaluate()' is unused"
norio-nomura Jun 25, 2016
cbabb9c
Update Xcode settings
norio-nomura Jun 25, 2016
627d604
LastSwiftMigration = 0800;
norio-nomura Jun 25, 2016
9b01bec
Add `typealias Data = NSData` to LinuxSupport.swift
norio-nomura Jun 25, 2016
bdecb12
Remove needless brace
norio-nomura Jun 25, 2016
d5c3fe2
Fix `private_header_files` in podspec
norio-nomura Jun 25, 2016
f07d147
Update SDK_VERSIONs in .travis.yml
norio-nomura Jun 25, 2016
7fdd624
Update podspec and disable `TYPE=podspec` in .travis.yml
norio-nomura Jun 25, 2016
1f81535
bundle update
norio-nomura Jun 25, 2016
fd24842
Add `OTHER_CODE_SIGN_FLAGS = "--verbose"` to iOSTests and tvOSTests t…
norio-nomura Jun 26, 2016
1b9de95
Changes for Xcode 8 beta 2
NachoSoto Jul 5, 2016
b5009b7
Merge pull request #2 from NachoSoto/swift3-beta2
norio-nomura Jul 5, 2016
c4f4d75
Change internal enums to lowerCase
norio-nomura Jul 6, 2016
fc7eb3c
Set `LastSwiftMigration = 0800` in all targets
norio-nomura Jul 6, 2016
ade558d
Add `.self` on referencing metatype
norio-nomura Jul 6, 2016
2165b60
Remove `@warn_unused_result` without message
norio-nomura Jul 6, 2016
988caa4
Merge commit 'de76ce849ed9bb4c28d43869f55b0f3bae883014' into nn-swift…
norio-nomura Jul 6, 2016
e298383
Remove checking `NSHashTable` from `prettyCollectionType()`
norio-nomura Jul 6, 2016
97bc359
Fix Linux build
norio-nomura Jul 6, 2016
dfb8b9f
Lower deployment target to 10.9.
andersio Jul 11, 2016
62bd2c4
Merge pull request #3 from andersio/swift-3-10.9
norio-nomura Jul 11, 2016
1764cf5
Change deployment target of test to 10.9.
norio-nomura Jul 11, 2016
7ab626b
Update test to Xcode 8 beta 2
norio-nomura Jul 11, 2016
3e8074f
Update `.swift-version` to swift-3.0-preview-2
norio-nomura Jul 11, 2016
e40cca4
Merge commit '188caeb094bc342614d8a5c706cd8bb9a6c355eb' into nn-swift…
norio-nomura Jul 11, 2016
caf48b8
Update install script of swiftenv
norio-nomura Jul 11, 2016
b8cdd53
Change `.swift-version` from `3.0-preview-2` to `3.0-PREVIEW-2`
norio-nomura Jul 11, 2016
20bb2ea
Move deployment settings from targets to project
norio-nomura Jul 12, 2016
6d9476a
Merge branch 'nn-swift-3-compatibility'
norio-nomura Jul 14, 2016
c2f7853
Moved SWIFT_VERSION to project to avoid duplicating it in each target
NachoSoto Jul 18, 2016
0dd42e0
Merge pull request #4 from NachoSoto/nn-swift-3-compatibility
norio-nomura Jul 19, 2016
a073e72
Update Locale init with identifier syntax (Xcode 8 beta 4)
mokagio Aug 3, 2016
c05be2a
Replace ErrorProtocol with Error (Xcode 8 beta 4)
mokagio Aug 3, 2016
36ff4cd
Update DispatchTimeoutResult success case usages to lowercase 's'
mokagio Aug 3, 2016
9961215
Update DispatchSourceTimer generation syntax
mokagio Aug 3, 2016
3c09478
Update DispatchQueue generation syntax
mokagio Aug 3, 2016
684c572
Restructure condition clauses as per SE-99
mokagio Aug 3, 2016
8d067ce
Update ErrorProtocol into Error in test target
mokagio Aug 3, 2016
7278569
Tweak ConvertsToBool test enum definition
mokagio Aug 3, 2016
396b8eb
Use NS prefix for HashTable and MapTable
mokagio Aug 3, 2016
92227f8
Update how BeLogical defines its "Boolean" input
mokagio Aug 4, 2016
a8af193
Add workaround for NSNumber in beTruthy and beFalsy
mokagio Aug 8, 2016
c3fe2c5
Add OSX availability check for DispatchQueue().global(qos:) usages
mokagio Aug 11, 2016
4e52103
Use `priority: .default` rather than `.high` to replicate `.global()`
mokagio Aug 11, 2016
f22ff06
Refine ThrowErrorTest testNegativeMatchesWithClosure
mokagio Aug 11, 2016
16573d4
Update .swift-version to swift-3.0-PREVIEW-4
norio-nomura Aug 12, 2016
426eeb7
Exclude `Tests/Nimble/objc` on SPM
norio-nomura Aug 12, 2016
dd44da9
Update for Linux
norio-nomura Aug 12, 2016
225f29d
Workaround for “error: ambiguous reference to member 'expect(_:file:l…
norio-nomura Aug 12, 2016
a53850a
[Travis] Use `build-for-testing` and `test-without-building` build ac…
norio-nomura Aug 12, 2016
4fa1577
Merge pull request #1 from norio-nomura/nn/swift-3-preview-4-linux
mokagio Aug 14, 2016
9564ff2
Merge pull request #2 from norio-nomura/nn/xcodebuild-build-for-testing
mokagio Aug 14, 2016
d2febe4
Merge pull request #5 from mokagio/mokagio/xcode-8-beta-4
norio-nomura Aug 15, 2016
0367538
Update .swift-version to 3.0-PREVIEW-5
norio-nomura Aug 15, 2016
9dc751a
[Sources] Update to Xcode 8 beta 6
ikesyo Aug 18, 2016
14130f5
id as Any
ikesyo Aug 18, 2016
84fbe2e
3.0-PREVIEW-6
ikesyo Aug 18, 2016
e93d0ed
Adjust Tests directory layout for updated SwiftPM
ikesyo Aug 18, 2016
4caecb3
Pass the closure directly
ikesyo Aug 18, 2016
5b8757a
Fix exclude in Package.swift
norio-nomura Aug 20, 2016
0114c69
Update for Linux
norio-nomura Aug 20, 2016
2dd06fd
Apply `@escaping` in tests
norio-nomura Aug 20, 2016
67281eb
Change `dynamicType` to `type(of:)`
norio-nomura Aug 20, 2016
9351d13
Fix access levels
norio-nomura Aug 20, 2016
e4aada8
Cast keys of NSDictionary to Foundation types explicitly
norio-nomura Aug 20, 2016
44b7fdc
Change `NSExceptionName` casting to initializing
norio-nomura Aug 20, 2016
abb7f15
Add `ExpressibleByBooleanLiteral` extension of standard types to BeLo…
norio-nomura Aug 21, 2016
fae96c5
Add non optional variant to `allPass`
norio-nomura Aug 21, 2016
71e8289
Add `#if SUPPORT_IMPLICIT_BRIDGING_CONVERSION` conditional compilation
norio-nomura Aug 21, 2016
49f59c0
Change operators to use precedencegroup
norio-nomura Aug 21, 2016
7bf338a
Use `String.init(describing:)`
norio-nomura Aug 21, 2016
7dbc94b
Fix crash in `identityAsString()`
norio-nomura Aug 22, 2016
483b3e8
Fix `NSException` printed strings
norio-nomura Aug 22, 2016
ba75afe
Revert "Add non optional variant to `allPass`"
norio-nomura Aug 22, 2016
13f56fe
Add operators to `Optional` for conforming `Comparable` that removed …
norio-nomura Aug 22, 2016
767de47
Fix build error on Linux
norio-nomura Aug 22, 2016
57db13f
Fix failing tests on Linux
norio-nomura Aug 22, 2016
4028c7d
Merge pull request #1 from norio-nomura/swift3-beta-6
ikesyo Aug 22, 2016
f1df93f
Use NSExceptionName.init(_:)
ikesyo Aug 22, 2016
aa1e752
Use CharacterSet struct
ikesyo Aug 22, 2016
872a3fc
Use String.init(describing:) instead of NSStringFromClass
ikesyo Aug 22, 2016
e27eb28
Refactor identityAsString
ikesyo Aug 22, 2016
4f38620
Remove classAsString
ikesyo Aug 22, 2016
8ed5cb9
Merge pull request #6 from ikesyo/swift3-beta-6
norio-nomura Aug 22, 2016
b483a3d
CGFloat now conforms to NMBDoubleConvertible
raphaelcruzeiro Aug 23, 2016
ead0e39
Added CGFloat to the beCloseTo test
raphaelcruzeiro Aug 23, 2016
727b06b
Using CGFloat only for the correct targets. Moved the CGFloat test to…
raphaelcruzeiro Aug 23, 2016
512fd29
Merge pull request #7 from raphaelcruzeiro/rc-CGFloat-Matchers
norio-nomura Aug 23, 2016
c07b141
Add NMBDoubleConvertible conformance to CGFloat on Linux
ikesyo Aug 24, 2016
595c2a8
Work around `CGFloat(native: ...)` description on Linux
ikesyo Aug 24, 2016
3d82a18
Merge pull request #8 from ikesyo/cgfloat-on-linux
norio-nomura Aug 25, 2016
e629e4e
Merge branch 'master' into swift3-merge-master
ikesyo Sep 2, 2016
7952622
Merge pull request #9 from ikesyo/swift3-merge-master
norio-nomura Sep 2, 2016
4b539a2
Merge pull request #277 from norio-nomura/nn-swift-3-compatibility
ikesyo Sep 3, 2016
220152b
Fix Xcode 8 GM compatibility
ikesyo Sep 7, 2016
5f683b2
3.0-GM-CANDIDATE
ikesyo Sep 11, 2016
9dc342c
Fix 3.0-GM-CANDIDATE compatibility
ikesyo Sep 11, 2016
8dd5ba1
Remove unused return value of `nimblePrecondition`
ikesyo Sep 13, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DEVELOPMENT-SNAPSHOT-2016-02-25-a
3.0-GM-CANDIDATE
26 changes: 9 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,25 @@
osx_image: xcode7.3
osx_image: xcode8
language: generic
matrix:
include:
# - os: osx
# sudo: required
# env: TYPE=podspec
- os: osx
sudo: required
env: TYPE=podspec
- os: osx
env: TYPE=ios NIMBLE_XCODE_ACTION="build test" NIMBLE_RUNTIME_IOS_SDK_VERSION=9.0
env: TYPE=ios NIMBLE_RUNTIME_IOS_SDK_VERSION=10.0
- os: osx
env: TYPE=tvos NIMBLE_XCODE_ACTION="build test" NIMBLE_RUNTIME_TVOS_SDK_VERSION=9.0
env: TYPE=tvos NIMBLE_RUNTIME_TVOS_SDK_VERSION=10.0
- os: osx
env: TYPE=macos NIMBLE_XCODE_ACTION="build test"
env: TYPE=macos
- os: osx
env: TYPE=swiftpm
- os: osx
env: TYPE=ios NIMBLE_XCODE_ACTION="build-for-testing test-without-building" NIMBLE_RUNTIME_IOS_SDK_VERSION=10.0
osx_image: xcode8
- os: osx
env: TYPE=tvos NIMBLE_XCODE_ACTION="build-for-testing test-without-building" NIMBLE_RUNTIME_TVOS_SDK_VERSION=10.0
osx_image: xcode8
- os: osx
env: TYPE=macos NIMBLE_XCODE_ACTION="build-for-testing test-without-building"
osx_image: xcode8
- os: linux
dist: trusty
sudo: required
env: TYPE=swiftpm
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
install:
- if [[ "$TYPE" == "swiftpm" ]]; then eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"; fi
- if [[ "$TYPE" == "podspec" ]]; then sudo gem install bundler; bundle install; fi
script:
- ./test $TYPE
52 changes: 28 additions & 24 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,50 +7,54 @@ GEM
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
claide (0.9.1)
cocoapods (0.39.0)
claide (1.0.0)
cocoapods (1.0.1)
activesupport (>= 4.0.2)
claide (~> 0.9.1)
cocoapods-core (= 0.39.0)
cocoapods-downloader (~> 0.9.3)
cocoapods-plugins (~> 0.4.2)
cocoapods-search (~> 0.1.0)
cocoapods-stats (~> 0.6.2)
cocoapods-trunk (~> 0.6.4)
cocoapods-try (~> 0.5.1)
claide (>= 1.0.0, < 2.0)
cocoapods-core (= 1.0.1)
cocoapods-deintegrate (>= 1.0.0, < 2.0)
cocoapods-downloader (>= 1.0.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.0.0, < 2.0)
cocoapods-try (>= 1.0.0, < 2.0)
colored (~> 1.2)
escape (~> 0.0.4)
molinillo (~> 0.4.0)
fourflusher (~> 0.3.0)
molinillo (~> 0.4.5)
nap (~> 1.0)
xcodeproj (~> 0.28.2)
cocoapods-core (0.39.0)
xcodeproj (>= 1.1.0, < 2.0)
cocoapods-core (1.0.1)
activesupport (>= 4.0.2)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
cocoapods-downloader (0.9.3)
cocoapods-plugins (0.4.2)
cocoapods-deintegrate (1.0.0)
cocoapods-downloader (1.0.1)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (0.1.0)
cocoapods-stats (0.6.2)
cocoapods-trunk (0.6.4)
cocoapods-search (1.0.0)
cocoapods-stats (1.0.0)
cocoapods-trunk (1.0.0)
nap (>= 0.8, < 2.0)
netrc (= 0.7.8)
cocoapods-try (0.5.1)
cocoapods-try (1.0.0)
colored (1.2)
escape (0.0.4)
fourflusher (0.3.2)
fuzzy_match (2.0.4)
i18n (0.7.0)
json (1.8.3)
minitest (5.8.4)
molinillo (0.4.4)
minitest (5.9.0)
molinillo (0.4.5)
nap (1.1.0)
netrc (0.7.8)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
xcodeproj (0.28.2)
xcodeproj (1.1.0)
activesupport (>= 3)
claide (~> 0.9.1)
claide (>= 1.0.0, < 2.0)
colored (~> 1.2)

PLATFORMS
Expand All @@ -60,4 +64,4 @@ DEPENDENCIES
cocoapods

BUNDLED WITH
1.11.2
1.12.3
10 changes: 5 additions & 5 deletions Nimble.podspec
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
Pod::Spec.new do |s|
s.name = "Nimble"
s.version = "4.1.0"
s.version = "5.0.0-alpha.30p1"
s.summary = "A Matcher Framework for Swift and Objective-C"
s.description = <<-DESC
Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar.
DESC
s.homepage = "https://github.com/Quick/Nimble"
s.license = { :type => "Apache 2.0", :file => "LICENSE.md" }
s.author = "Quick Contributors"
s.ios.deployment_target = "7.0"
s.osx.deployment_target = "10.9"
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = "9.0"
s.source = { :git => "https://github.com/Quick/Nimble.git", :tag => "v#{s.version}" }

s.source_files = "Sources/Nimble/**/*.{swift,h,m}"
s.private_header_files = "Sources/Nimble/Adapters/ObjectiveC/CurrentTestCaseTracker.h"
s.source_files = "Sources/**/**/*.{swift,h,m}"
s.private_header_files = "Sources/NimbleObjectiveC/CurrentTestCaseTracker.h"
s.exclude_files = "Sources/Nimble/Adapters/NonObjectiveC/*.swift"
s.weak_framework = "XCTest"
s.requires_arc = true
Expand Down
Loading