Skip to content

Commit 6dd1e00

Browse files
authored
Merge pull request #25 from SomaticLabs/swift4
Swift4
2 parents c0fcd8c + 79ac2c0 commit 6dd1e00

Some content is hidden

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

55 files changed

+1845
-1220
lines changed

Cartfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
github "SomaticLabs/SwiftyBluetooth" ~> 0.3
2-
github "Alamofire/Alamofire" ~> 4.0
3-
github "SwiftyJSON/SwiftyJSON" ~> 3.1
1+
github "SomaticLabs/SwiftyBluetooth" ~> 1.0
2+
github "Alamofire/Alamofire" ~> 4.5
3+
github "SwiftyJSON/SwiftyJSON" ~> 4.0

Cartfile.resolved

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
github "Alamofire/Alamofire" "4.5.0"
2-
github "SomaticLabs/SwiftyBluetooth" "0.3.4"
3-
github "SwiftyJSON/SwiftyJSON" "3.1.4"
1+
github "Alamofire/Alamofire" "4.5.1"
2+
github "SomaticLabs/SwiftyBluetooth" "1.0.0"
3+
github "SwiftyJSON/SwiftyJSON" "4.0.0"

Carthage/Checkouts/Alamofire

Submodule Alamofire updated 214 files
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
### What did you do?
2+
3+
Please replace this with what you did.
4+
5+
### What did you expect to happen?
6+
7+
Please replace this with what you expected to happen.
8+
9+
### What actually happened instead?
10+
11+
Please replace this with what happened instead.
12+
13+
### Environment
14+
15+
List the software versions you're using:
16+
17+
- SwiftyJSON: *?.?.?*
18+
- Xcode Version: *?.? (????)* (Open Xcode; In menubar: Xcode > About Xcode)
19+
- Swift Version: *?.?* (Open Xcode Preferences; Components > Toolchains. If none, use `Xcode Default`.)
20+
21+
Please also mention which package manager you used and its version. Delete the
22+
other package managers in this list:
23+
24+
- Cocoapods: *?.?.?* (Use `pod --version` in Terminal)
25+
- Carthage: *?.?* (Use `carthage version` in Terminal)
26+
- Swift Package Manager *?.?.? (swiftpm-???)* (Use `swift build --version` in Terminal)
27+
28+
### Project that demonstrates the issue
29+
30+
Please link to a project we can download that reproduces the issue. Feel free
31+
to delete this section if it's not relevant to the issue (eg - feature request).
32+
33+
The project should be [short, self-contained, and correct example](http://sscce.org/).
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
The PR should summarize what was changed and why. Here are some questions to
2+
help you if you're not sure:
3+
4+
- What behavior was changed?
5+
- What code was refactored / updated to support this change?
6+
- What issues are related to this PR? Or why was this change introduced?
7+
8+
Checklist - While not every PR needs it, new features should consider this list:
9+
10+
- [ ] Does this have tests?
11+
- [ ] Does this have documentation?
12+
- [ ] Does this break the public API (Requires major version bump)?
13+
- [ ] Is this a new feature (Requires minor version bump)?
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
swift:
2+
config_file: .swiftlint.yml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
disabled_rules:
2+
- force_cast
3+
- force_try
4+
- variable_name
5+
- type_name
6+
- file_length
7+
- line_length
8+
- type_body_length
9+
- cyclomatic_complexity
10+
- function_body_length
Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,8 @@
11
language: objective-c
2-
osx_image: xcode8
2+
osx_image: xcode9
33
xcode_sdk: iphonesimulator10.0
4-
env:
5-
global:
6-
- FRAMEWORK_NAME=SwiftyJSON
7-
before_install:
8-
- rvm get head
9-
- brew update
10-
- brew outdated carthage || brew upgrade carthage
11-
before_deploy:
12-
- carthage build --no-skip-current
13-
- carthage archive $FRAMEWORK_NAME
144
script:
155
- set -o pipefail
166
- travis_retry xcodebuild -workspace SwiftyJSON.xcworkspace -scheme "SwiftyJSON iOS" -destination "platform=iOS Simulator,name=iPhone 6" build-for-testing test | xcpretty
17-
- travis_retry xcodebuild -workspace SwiftyJSON.xcworkspace -scheme "SwiftyJSON OSX" build-for-testing test | xcpretty
7+
- travis_retry xcodebuild -workspace SwiftyJSON.xcworkspace -scheme "SwiftyJSON macOS" build-for-testing test | xcpretty
188
- travis_retry xcodebuild -workspace SwiftyJSON.xcworkspace -scheme "SwiftyJSON tvOS" -destination "platform=tvOS Simulator,name=Apple TV 1080p" build-for-testing test | xcpretty
19-
deploy:
20-
provider: releases
21-
api_key:
22-
secure: MufQRIzcHPU5fn9gyXl7kDGaLihN6zGABx9UWqNtkwq0AxV0aYNWys11nrKDIgoZFR+MbQHMoodpZK03yDdCLG03ncnOr3aytLOpI0imuDFWx16sieiVoYmnP5bfNFTN0qqXdfBy0OOsx4wO+F5Pwg5y1TgGYnKpXtEfdIU3Om4=
23-
file: SwiftyJSON.framework.zip
24-
skip_cleanup: true
25-
on:
26-
repo: SwiftyJSON/SwiftyJSON
27-
tags: true

Carthage/Checkouts/SwiftyJSON/Example/Example.xcodeproj/project.pbxproj

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
isa = PBXProject;
125125
attributes = {
126126
LastSwiftUpdateCheck = 0700;
127-
LastUpgradeCheck = 0800;
127+
LastUpgradeCheck = 0900;
128128
ORGANIZATIONNAME = swiftyjson;
129129
TargetAttributes = {
130130
A82A1C1819D926B8009A653D = {
@@ -206,14 +206,20 @@
206206
CLANG_CXX_LIBRARY = "libc++";
207207
CLANG_ENABLE_MODULES = YES;
208208
CLANG_ENABLE_OBJC_ARC = YES;
209+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
209210
CLANG_WARN_BOOL_CONVERSION = YES;
211+
CLANG_WARN_COMMA = YES;
210212
CLANG_WARN_CONSTANT_CONVERSION = YES;
211213
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
212214
CLANG_WARN_EMPTY_BODY = YES;
213215
CLANG_WARN_ENUM_CONVERSION = YES;
214216
CLANG_WARN_INFINITE_RECURSION = YES;
215217
CLANG_WARN_INT_CONVERSION = YES;
218+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
219+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
216220
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
221+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
222+
CLANG_WARN_STRICT_PROTOTYPES = YES;
217223
CLANG_WARN_SUSPICIOUS_MOVE = YES;
218224
CLANG_WARN_UNREACHABLE_CODE = YES;
219225
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -254,14 +260,20 @@
254260
CLANG_CXX_LIBRARY = "libc++";
255261
CLANG_ENABLE_MODULES = YES;
256262
CLANG_ENABLE_OBJC_ARC = YES;
263+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
257264
CLANG_WARN_BOOL_CONVERSION = YES;
265+
CLANG_WARN_COMMA = YES;
258266
CLANG_WARN_CONSTANT_CONVERSION = YES;
259267
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
260268
CLANG_WARN_EMPTY_BODY = YES;
261269
CLANG_WARN_ENUM_CONVERSION = YES;
262270
CLANG_WARN_INFINITE_RECURSION = YES;
263271
CLANG_WARN_INT_CONVERSION = YES;
272+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
273+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
264274
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
275+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
276+
CLANG_WARN_STRICT_PROTOTYPES = YES;
265277
CLANG_WARN_SUSPICIOUS_MOVE = YES;
266278
CLANG_WARN_UNREACHABLE_CODE = YES;
267279
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;

0 commit comments

Comments
 (0)