Skip to content

Commit 4b539a2

Browse files
authored
Merge pull request #277 from norio-nomura/nn-swift-3-compatibility
[WIP] Swift 3.0 Compatibility
2 parents ba5d0e8 + 7952622 commit 4b539a2

File tree

124 files changed

+1543
-1174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+1543
-1174
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DEVELOPMENT-SNAPSHOT-2016-02-25-a
1+
3.0-PREVIEW-6

.travis.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,25 @@
1-
osx_image: xcode7.3
1+
osx_image: xcode8
22
language: generic
33
matrix:
44
include:
5+
# - os: osx
6+
# sudo: required
7+
# env: TYPE=podspec
58
- os: osx
6-
sudo: required
7-
env: TYPE=podspec
8-
- os: osx
9-
env: TYPE=ios NIMBLE_XCODE_ACTION="build test" NIMBLE_RUNTIME_IOS_SDK_VERSION=9.0
9+
env: TYPE=ios NIMBLE_RUNTIME_IOS_SDK_VERSION=10.0
1010
- os: osx
11-
env: TYPE=tvos NIMBLE_XCODE_ACTION="build test" NIMBLE_RUNTIME_TVOS_SDK_VERSION=9.0
11+
env: TYPE=tvos NIMBLE_RUNTIME_TVOS_SDK_VERSION=10.0
1212
- os: osx
13-
env: TYPE=macos NIMBLE_XCODE_ACTION="build test"
13+
env: TYPE=macos
1414
- os: osx
1515
env: TYPE=swiftpm
16-
- os: osx
17-
env: TYPE=ios NIMBLE_XCODE_ACTION="build-for-testing test-without-building" NIMBLE_RUNTIME_IOS_SDK_VERSION=10.0
18-
osx_image: xcode8
19-
- os: osx
20-
env: TYPE=tvos NIMBLE_XCODE_ACTION="build-for-testing test-without-building" NIMBLE_RUNTIME_TVOS_SDK_VERSION=10.0
21-
osx_image: xcode8
22-
- os: osx
23-
env: TYPE=macos NIMBLE_XCODE_ACTION="build-for-testing test-without-building"
24-
osx_image: xcode8
2516
- os: linux
2617
dist: trusty
2718
sudo: required
2819
env: TYPE=swiftpm
20+
install:
21+
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
2922
install:
30-
- if [[ "$TYPE" == "swiftpm" ]]; then eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"; fi
3123
- if [[ "$TYPE" == "podspec" ]]; then sudo gem install bundler; bundle install; fi
3224
script:
3325
- ./test $TYPE

Gemfile.lock

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,50 +7,54 @@ GEM
77
minitest (~> 5.1)
88
thread_safe (~> 0.3, >= 0.3.4)
99
tzinfo (~> 1.1)
10-
claide (0.9.1)
11-
cocoapods (0.39.0)
10+
claide (1.0.0)
11+
cocoapods (1.0.1)
1212
activesupport (>= 4.0.2)
13-
claide (~> 0.9.1)
14-
cocoapods-core (= 0.39.0)
15-
cocoapods-downloader (~> 0.9.3)
16-
cocoapods-plugins (~> 0.4.2)
17-
cocoapods-search (~> 0.1.0)
18-
cocoapods-stats (~> 0.6.2)
19-
cocoapods-trunk (~> 0.6.4)
20-
cocoapods-try (~> 0.5.1)
13+
claide (>= 1.0.0, < 2.0)
14+
cocoapods-core (= 1.0.1)
15+
cocoapods-deintegrate (>= 1.0.0, < 2.0)
16+
cocoapods-downloader (>= 1.0.0, < 2.0)
17+
cocoapods-plugins (>= 1.0.0, < 2.0)
18+
cocoapods-search (>= 1.0.0, < 2.0)
19+
cocoapods-stats (>= 1.0.0, < 2.0)
20+
cocoapods-trunk (>= 1.0.0, < 2.0)
21+
cocoapods-try (>= 1.0.0, < 2.0)
2122
colored (~> 1.2)
2223
escape (~> 0.0.4)
23-
molinillo (~> 0.4.0)
24+
fourflusher (~> 0.3.0)
25+
molinillo (~> 0.4.5)
2426
nap (~> 1.0)
25-
xcodeproj (~> 0.28.2)
26-
cocoapods-core (0.39.0)
27+
xcodeproj (>= 1.1.0, < 2.0)
28+
cocoapods-core (1.0.1)
2729
activesupport (>= 4.0.2)
2830
fuzzy_match (~> 2.0.4)
2931
nap (~> 1.0)
30-
cocoapods-downloader (0.9.3)
31-
cocoapods-plugins (0.4.2)
32+
cocoapods-deintegrate (1.0.0)
33+
cocoapods-downloader (1.0.1)
34+
cocoapods-plugins (1.0.0)
3235
nap
33-
cocoapods-search (0.1.0)
34-
cocoapods-stats (0.6.2)
35-
cocoapods-trunk (0.6.4)
36+
cocoapods-search (1.0.0)
37+
cocoapods-stats (1.0.0)
38+
cocoapods-trunk (1.0.0)
3639
nap (>= 0.8, < 2.0)
3740
netrc (= 0.7.8)
38-
cocoapods-try (0.5.1)
41+
cocoapods-try (1.0.0)
3942
colored (1.2)
4043
escape (0.0.4)
44+
fourflusher (0.3.2)
4145
fuzzy_match (2.0.4)
4246
i18n (0.7.0)
4347
json (1.8.3)
44-
minitest (5.8.4)
45-
molinillo (0.4.4)
48+
minitest (5.9.0)
49+
molinillo (0.4.5)
4650
nap (1.1.0)
4751
netrc (0.7.8)
4852
thread_safe (0.3.5)
4953
tzinfo (1.2.2)
5054
thread_safe (~> 0.1)
51-
xcodeproj (0.28.2)
55+
xcodeproj (1.1.0)
5256
activesupport (>= 3)
53-
claide (~> 0.9.1)
57+
claide (>= 1.0.0, < 2.0)
5458
colored (~> 1.2)
5559

5660
PLATFORMS
@@ -60,4 +64,4 @@ DEPENDENCIES
6064
cocoapods
6165

6266
BUNDLED WITH
63-
1.11.2
67+
1.12.3

Nimble.podspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
Pod::Spec.new do |s|
22
s.name = "Nimble"
3-
s.version = "4.1.0"
3+
s.version = "5.0.0-alpha.30p1"
44
s.summary = "A Matcher Framework for Swift and Objective-C"
55
s.description = <<-DESC
66
Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar.
77
DESC
88
s.homepage = "https://github.com/Quick/Nimble"
99
s.license = { :type => "Apache 2.0", :file => "LICENSE.md" }
1010
s.author = "Quick Contributors"
11-
s.ios.deployment_target = "7.0"
12-
s.osx.deployment_target = "10.9"
11+
s.ios.deployment_target = "8.0"
12+
s.osx.deployment_target = "10.10"
1313
s.tvos.deployment_target = "9.0"
1414
s.source = { :git => "https://github.com/Quick/Nimble.git", :tag => "v#{s.version}" }
1515

16-
s.source_files = "Sources/Nimble/**/*.{swift,h,m}"
17-
s.private_header_files = "Sources/Nimble/Adapters/ObjectiveC/CurrentTestCaseTracker.h"
16+
s.source_files = "Sources/**/**/*.{swift,h,m}"
17+
s.private_header_files = "Sources/NimbleObjectiveC/CurrentTestCaseTracker.h"
1818
s.exclude_files = "Sources/Nimble/Adapters/NonObjectiveC/*.swift"
1919
s.weak_framework = "XCTest"
2020
s.requires_arc = true

0 commit comments

Comments
 (0)