Skip to content

Commit 3a3d730

Browse files
authored
Merge pull request #44 from DivineDominion/swift-3.0.1
[Merge?] Swift 3.0.1 compatibility upgraded
2 parents 9f7a966 + 17940e9 commit 3a3d730

File tree

107 files changed

+3242
-608
lines changed

Some content is hidden

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

107 files changed

+3242
-608
lines changed

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "ReSwift/ReSwift" ~> 2.1.0
1+
github "ReSwift/ReSwift" ~> 3.0.0

Cartfile.private

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "Quick/Quick" "swift-3.0"
1+
github "Quick/Quick"
22
github "Quick/Nimble"

Cartfile.resolved

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
github "Quick/Nimble" "v5.0.0"
2-
github "Quick/Quick" "36ebbc75e093c7553a5145ed5dd21484364cd78d"
3-
github "ReSwift/ReSwift" "2.1.0"
1+
github "Quick/Nimble" "v5.1.1"
2+
github "Quick/Quick" "v0.10.0"
3+
github "ReSwift/ReSwift" "3.0.0"

Carthage/Checkouts/Nimble/.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.DS_Store
2-
xcuserdata/
2+
**/xcuserdata/*
3+
**/*.xccheckout
4+
**/*.xcscmblueprint
35
build/
46
.idea
57
DerivedData/

Carthage/Checkouts/Nimble/.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ osx_image: xcode8
22
language: generic
33
matrix:
44
include:
5-
# - os: osx
6-
# sudo: required
7-
# env: TYPE=podspec
5+
- os: osx
6+
sudo: required
7+
env: TYPE=podspec
88
- os: osx
99
env: TYPE=ios NIMBLE_RUNTIME_IOS_SDK_VERSION=10.0
1010
- os: osx

Carthage/Checkouts/Nimble/CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ Be sure to include in your issue:
4646

4747
- Use `Nimble.xcodeproj` to work on Nimble.
4848

49+
## Running the Swift Package Manager tests
50+
51+
1. Install `swiftenv` by running a line from the build script (`.travis.yml`):
52+
53+
eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
54+
55+
2. Run `./test swiftpm`
56+
4957
## Pull Requests
5058

5159
- Nothing is trivial. Submit pull requests for anything: typos,

Carthage/Checkouts/Nimble/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# A sample Gemfile
22
source "https://rubygems.org"
33

4-
gem 'cocoapods'
4+
gem 'cocoapods', '1.1.0.rc.3'
Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,69 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (4.2.6)
4+
activesupport (4.2.7.1)
55
i18n (~> 0.7)
66
json (~> 1.7, >= 1.7.7)
77
minitest (~> 5.1)
88
thread_safe (~> 0.3, >= 0.3.4)
99
tzinfo (~> 1.1)
10-
claide (1.0.0)
11-
cocoapods (1.0.1)
12-
activesupport (>= 4.0.2)
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)
10+
claide (1.0.1)
11+
cocoapods (1.1.0.rc.3)
12+
activesupport (>= 4.0.2, < 5)
13+
claide (>= 1.0.1, < 2.0)
14+
cocoapods-core (= 1.1.0.rc.3)
15+
cocoapods-deintegrate (>= 1.0.1, < 2.0)
16+
cocoapods-downloader (>= 1.1.1, < 2.0)
1717
cocoapods-plugins (>= 1.0.0, < 2.0)
1818
cocoapods-search (>= 1.0.0, < 2.0)
1919
cocoapods-stats (>= 1.0.0, < 2.0)
20-
cocoapods-trunk (>= 1.0.0, < 2.0)
21-
cocoapods-try (>= 1.0.0, < 2.0)
20+
cocoapods-trunk (= 1.1.0.beta.1)
21+
cocoapods-try (>= 1.1.0, < 2.0)
2222
colored (~> 1.2)
2323
escape (~> 0.0.4)
24-
fourflusher (~> 0.3.0)
25-
molinillo (~> 0.4.5)
24+
fourflusher (~> 2.0)
25+
gh_inspector (~> 1.0)
26+
molinillo (~> 0.5.1)
2627
nap (~> 1.0)
27-
xcodeproj (>= 1.1.0, < 2.0)
28-
cocoapods-core (1.0.1)
29-
activesupport (>= 4.0.2)
28+
xcodeproj (>= 1.3.2, < 2.0)
29+
cocoapods-core (1.1.0.rc.3)
30+
activesupport (>= 4.0.2, < 5)
3031
fuzzy_match (~> 2.0.4)
3132
nap (~> 1.0)
32-
cocoapods-deintegrate (1.0.0)
33-
cocoapods-downloader (1.0.1)
33+
cocoapods-deintegrate (1.0.1)
34+
cocoapods-downloader (1.1.1)
3435
cocoapods-plugins (1.0.0)
3536
nap
3637
cocoapods-search (1.0.0)
3738
cocoapods-stats (1.0.0)
38-
cocoapods-trunk (1.0.0)
39+
cocoapods-trunk (1.1.0.beta.1)
3940
nap (>= 0.8, < 2.0)
4041
netrc (= 0.7.8)
41-
cocoapods-try (1.0.0)
42+
cocoapods-try (1.1.0)
4243
colored (1.2)
4344
escape (0.0.4)
44-
fourflusher (0.3.2)
45+
fourflusher (2.0.1)
4546
fuzzy_match (2.0.4)
47+
gh_inspector (1.0.2)
4648
i18n (0.7.0)
4749
json (1.8.3)
48-
minitest (5.9.0)
49-
molinillo (0.4.5)
50+
minitest (5.9.1)
51+
molinillo (0.5.1)
5052
nap (1.1.0)
5153
netrc (0.7.8)
5254
thread_safe (0.3.5)
5355
tzinfo (1.2.2)
5456
thread_safe (~> 0.1)
55-
xcodeproj (1.1.0)
57+
xcodeproj (1.3.2)
5658
activesupport (>= 3)
57-
claide (>= 1.0.0, < 2.0)
59+
claide (>= 1.0.1, < 2.0)
5860
colored (~> 1.2)
5961

6062
PLATFORMS
6163
ruby
6264

6365
DEPENDENCIES
64-
cocoapods
66+
cocoapods (= 1.1.0.rc.3)
6567

6668
BUNDLED WITH
67-
1.12.3
69+
1.13.1
Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Nimble"
3-
s.version = "5.0.0"
3+
s.version = "5.1.1"
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.
@@ -11,12 +11,37 @@ Pod::Spec.new do |s|
1111
s.ios.deployment_target = "8.0"
1212
s.osx.deployment_target = "10.10"
1313
s.tvos.deployment_target = "9.0"
14-
s.source = { :git => "https://github.com/Quick/Nimble.git", :tag => "v#{s.version}" }
14+
s.source = { :git => "https://github.com/Quick/Nimble.git",
15+
:tag => "v#{s.version}" }
16+
17+
s.source_files = "Sources/**/*.{swift,h,m,c}"
18+
19+
s.osx.exclude_files = [
20+
"Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift",
21+
]
22+
s.ios.exclude_files = [
23+
"Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstructionPOSIX.swift",
24+
]
25+
s.tvos.exclude_files = [
26+
"Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.swift",
27+
"Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.m",
28+
"Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlBadInstructionException.swift",
29+
"Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/CwlDarwinDefinitions.swift",
30+
"Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/mach_excServer.{h,c}",
31+
"Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.swift",
32+
"Sources/Lib/CwlPreconditionTesting/CwlCatchException/CwlCatchException.m",
33+
]
1534

16-
s.source_files = "Sources/**/**/*.{swift,h,m}"
1735
s.private_header_files = "Sources/NimbleObjectiveC/CurrentTestCaseTracker.h"
36+
s.tvos.private_header_files = "Sources/Lib/CwlPreconditionTesting/CwlPreconditionTesting/mach_excServer.h"
37+
1838
s.exclude_files = "Sources/Nimble/Adapters/NonObjectiveC/*.swift"
1939
s.weak_framework = "XCTest"
2040
s.requires_arc = true
21-
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO', 'OTHER_LDFLAGS' => '-weak-lswiftXCTest', 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks"' }
41+
s.compiler_flags = '-DPRODUCT_NAME=Nimble/Nimble'
42+
s.pod_target_xcconfig = {
43+
'ENABLE_BITCODE' => 'NO',
44+
'OTHER_LDFLAGS' => '-weak-lswiftXCTest',
45+
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks"',
46+
}
2247
end

0 commit comments

Comments
 (0)