Skip to content

Commit c0228b6

Browse files
committed
Update for Swift 5
1 parent c36d126 commit c0228b6

File tree

17 files changed

+162
-136
lines changed

17 files changed

+162
-136
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.2
1+
5.0.1

.travis.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
language: objective-c
2-
osx_image: xcode10
3-
xcode_sdk: iphonesimulator12.0
2+
osx_image: xcode10.2
3+
xcode_sdk: iphonesimulator12.2
44
install:
55
- gem install xcpretty
6-
- carthage bootstrap
6+
- carthage bootstrap --platform iOS
77
script:
88
- set -o pipefail
9-
- travis_retry xcodebuild -project KRProgressHUD.xcodeproj -scheme KRProgressHUD -destination "platform=iOS Simulator,name=iPhone 8" build-for-testing test | xcpretty
10-
env:
11-
global:
12-
secure: H2F4FRck9DrekGj3GVscqwrK+Sf53UZeENw59GPXXIL3drotK0xn1sOS6kUe3vq+zOOa3s8QRixMB0XfEsu2lALz5/QA7rdaRQTIgybDs7bPUuJte4l/CIBY0c56vIUIIYTRSd2kjeCQp0xWWn9mhK5sHYDkDLMxINEx78+coEuwp0tOhPRrVczhtbTCfdi8CZI94RwxHHem1H7FNCvl7tPBh4hIxIryCFoXkodGYMfYbJ1td6HXvQFU8qIS7IHta63jEbZPXLOHUC4o4bFNtgtj9n6Qh/lb5DrWvSdmCwxebaiXEMQ0chyev17X2koIzqpTo7zgSFEZWaqKj+WpAHUeUEcWlc0P7fMRTE/jOhSm4YnuMXSWRbFPWy//Jl07dZAZaZY9Yf6nQ4j4r3rzQubfrm336ofWv4RTdsQ2JuNUX9NHB2829ctj2hEsMjJfh6r7rnkzZt7VgG7vRQTKU/U/kwfW2NQmOwZNu2zSBXQArIGu6fE6WmwZcZbVA9fZF7l40do71KFywYgECBnWkmt6xEpdeH6Me6BI9tG5I5em1Do3x+UBQmPvilPe2r+vOqcZdBRL3zu7sQXgiBeeE3pqttxcV/QYQjZfQrZTaBbjke/Ov+fHdKZ+vyzIy82gGnsU0zhK7iYaDhtV6PW3E9lMFOY1AEI61mEy7untJQU=
9+
- travis_retry xcodebuild -project KRProgressHUD.xcodeproj -scheme KRProgressHUD -destination "platform=iOS Simulator,name=iPhone Xs" build-for-testing test | xcpretty
1310
notifications:
1411
email: false

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "krimpedance/KRActivityIndicatorView" == 3.0.0
1+
github "krimpedance/KRActivityIndicatorView" == 3.0.2

Cartfile.resolved

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
github "Quick/Nimble" "v7.3.1"
2-
github "Quick/Quick" "v1.3.2"
3-
github "krimpedance/KRActivityIndicatorView" "3.0.0"
1+
github "Quick/Nimble" "v8.0.1"
2+
github "Quick/Quick" "v2.1.0"
3+
github "krimpedance/KRActivityIndicatorView" "3.0.2"

DEMO/.swiftlint.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
disabled_rules: # 適用したくないチェック項目を記述
1+
disabled_rules:
22
- line_length
33
- file_length
4-
included: # Lint対象のファイルのあるパスを記述、通常はプロジェクト名になると思います
5-
- KRProgressHUDDEMO
6-
excluded: # Lint対象から外すファイルのあるパスを記述、CocoaPodsやCarthage
4+
included:
5+
- KRProgressHUDDemo
6+
excluded:
77
- Pods
8-
# パラメータ(ここではline_lengthの値)をカスタマイズする、warningを出す値でerrorは出なくなる
9-
line_length: 360
10-
# パラメータ(ここではtype_body_lengthの値)をカスタマイズする、最初の値がwarningで2つ目の値がerror
118
type_body_length:
129
- 400 # warning
1310
- 500 # error

DEMO/KRProgressHUDDemo.xcodeproj/project.pbxproj

Lines changed: 72 additions & 95 deletions
Large diffs are not rendered by default.

DEMO/KRProgressHUDDemo.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

DEMO/KRProgressHUDDemo/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.4.0</string>
18+
<string>3.4.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

DEMO/Podfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Podfile
2+
platform :ios, '12.2'
3+
4+
target 'KRProgressHUDDemo' do
5+
use_frameworks!
6+
pod 'KRProgressHUD', path: '../KRProgressHUD.podspec'
7+
end

0 commit comments

Comments
 (0)