Skip to content

Commit dc3de62

Browse files
committed
Release OneTimePassword 3.1
2 parents 05942de + 62949b1 commit dc3de62

26 files changed

+417
-194
lines changed

.codecov.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Configuration for Codecov (https://codecov.io)
22

3+
codecov:
4+
# Use `develop` as the default branch
5+
branch: develop
6+
7+
ignore:
8+
- Tests
9+
- OneTimePasswordLegacyTests
10+
311
coverage:
4-
ignore:
5-
- "Tests"
6-
- "OneTimePasswordLegacyTests"
12+
status:
13+
patch:
14+
default:
15+
# Allow patch to be 0% covered without marking a PR with a failing status.
16+
target: 0

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2
1+
4.0

.swiftlint.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,51 @@
33
excluded:
44
- Carthage
55
opt_in_rules:
6+
- array_init
67
- attributes
78
- closure_end_indentation
89
- closure_spacing
910
- conditional_returns_on_newline
11+
- contains_over_first_not_nil
12+
- discouraged_object_literal
13+
- discouraged_optional_boolean
1014
- empty_count
15+
- explicit_enum_raw_value
1116
- explicit_init
17+
- extension_access_modifier
18+
- fatal_error_message
1219
- file_header
1320
- first_where
14-
# - missing_docs
21+
- implicit_return
22+
- implicitly_unwrapped_optional
23+
- joined_default_parameter
24+
- let_var_whitespace
25+
- literal_expression_end_indentation
26+
- multiline_parameters
1527
- nimble_operator
1628
- operator_usage_whitespace
1729
- overridden_super_call
30+
- override_in_extension
31+
- pattern_matching_keywords
1832
- private_outlet
1933
- prohibited_super_call
2034
- redundant_nil_coalescing
35+
- single_test_class
36+
- sorted_first_last
2137
- switch_case_on_newline
22-
- vertical_whitespace
38+
- unneeded_parentheses_in_closure_argument
39+
- vertical_parameter_alignment_on_call
40+
- yoda_condition
2341
disabled_rules:
2442
- colon
2543
- comma
2644
- cyclomatic_complexity
27-
- function_body_length
28-
- syntactic_sugar
29-
- valid_docs
3045

3146
trailing_comma:
3247
mandatory_comma: true
3348

3449
line_length:
35-
warning: 120
50+
ignores_function_declarations: true
3651

3752
file_header:
3853
required_pattern: |

.travis.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,26 @@ language: objective-c
55
xcode_workspace: OneTimePassword.xcworkspace
66
xcode_scheme: OneTimePassword (iOS)
77

8-
osx_image: xcode8.2
8+
osx_image: xcode9
99

1010
env:
1111
- RUNTIME="iOS 8.1" DEVICE="iPad 2"
12-
- RUNTIME="iOS 8.2" DEVICE="iPhone 4s"
13-
- RUNTIME="iOS 8.3" DEVICE="iPhone 5"
14-
- RUNTIME="iOS 8.4" DEVICE="iPhone 5s"
15-
- RUNTIME="iOS 9.0" DEVICE="iPhone 6"
16-
- RUNTIME="iOS 9.1" DEVICE="iPhone 6 Plus"
17-
- RUNTIME="iOS 9.2" DEVICE="iPhone 6s"
18-
- RUNTIME="iOS 9.3" DEVICE="iPhone 6s Plus"
12+
- RUNTIME="iOS 8.4" DEVICE="iPhone 4s"
13+
- RUNTIME="iOS 9.0" DEVICE="iPhone 5s"
14+
- RUNTIME="iOS 9.3" DEVICE="iPhone 6s"
1915
- RUNTIME="iOS 10.0" DEVICE="iPhone SE"
20-
- RUNTIME="iOS 10.1" DEVICE="iPhone 7"
21-
- RUNTIME="iOS 10.2" DEVICE="iPhone 7 Plus"
16+
- RUNTIME="iOS 10.3" DEVICE="iPhone 7 Plus"
17+
- RUNTIME="iOS 11.0" DEVICE="iPhone X"
2218

2319
# Include builds for watchOS
2420
matrix:
2521
include:
2622
- xcode_scheme: OneTimePassword (watchOS)
27-
env: BUILD_ONLY="YES" RUNTIME="watchOS 3.1" DEVICE="Apple Watch Series 2 - 42mm"
23+
env: BUILD_ONLY="YES" RUNTIME="watchOS 4.0" DEVICE="Apple Watch Series 3 - 38mm"
2824
- xcode_scheme: OneTimePassword (watchOS)
29-
env: BUILD_ONLY="YES" RUNTIME="watchOS 2.0" DEVICE="Apple Watch - 38mm"
25+
env: BUILD_ONLY="YES" RUNTIME="watchOS 3.2" DEVICE="Apple Watch Series 2 - 42mm"
26+
- xcode_scheme: OneTimePassword (watchOS)
27+
env: BUILD_ONLY="YES" RUNTIME="watchOS 2.2" DEVICE="Apple Watch - 38mm"
3028

3129
# Check out nested dependencies
3230
before_install: git submodule update --init --recursive

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,34 @@
22

33
<!--## [In development][develop]-->
44

5+
## [3.1][] (2018-03-27)
6+
- Upgrade to Swift 4 and Xcode 9.
7+
([#147](https://github.com/mattrubin/OneTimePassword/pull/147),
8+
[#149](https://github.com/mattrubin/OneTimePassword/pull/149),
9+
[#151](https://github.com/mattrubin/OneTimePassword/pull/151),
10+
[#153](https://github.com/mattrubin/OneTimePassword/pull/153),
11+
[#160](https://github.com/mattrubin/OneTimePassword/pull/160))
12+
- Handle keychain deserialization errors.
13+
([#161](https://github.com/mattrubin/OneTimePassword/pull/161))
14+
- Refactor token URL parsing.
15+
([#150](https://github.com/mattrubin/OneTimePassword/pull/150))
16+
- Refactor Generator validation.
17+
([#155](https://github.com/mattrubin/OneTimePassword/pull/155))
18+
- Update SwiftLint configuration and improve code formatting.
19+
([#148](https://github.com/mattrubin/OneTimePassword/pull/148),
20+
[#154](https://github.com/mattrubin/OneTimePassword/pull/154),
21+
[#159](https://github.com/mattrubin/OneTimePassword/pull/159))
22+
- Update CodeCov configuration.
23+
([#162](https://github.com/mattrubin/OneTimePassword/pull/162))
24+
25+
526
## [3.0.1][] (2018-03-08)
627
- Fix an issue where CocoaPods was trying to build OneTimePassword with Swift 4. ([#157](https://github.com/mattrubin/OneTimePassword/pull/157))
728
- Fix the Base32-decoding function in the token creation example code. ([#134](https://github.com/mattrubin/OneTimePassword/pull/134))
829
- Tweak the Travis CI configuration to work around test timeout flakiness. ([#131](https://github.com/mattrubin/OneTimePassword/pull/131))
930
- Clean up some old Keychain code which was used to provide Xcode 7 backwards compatibility. ([#133](https://github.com/mattrubin/OneTimePassword/pull/133))
1031

32+
1133
## [3.0][] (2017-02-07)
1234
- Convert to Swift 3 and update the library API to follow the Swift [API Design Guidelines](https://swift.org/documentation/api-design-guidelines/).
1335
([#74](https://github.com/mattrubin/OneTimePassword/pull/74),
@@ -121,8 +143,9 @@ Changes between prerelease versions of OneTimePassword version 2 can be found be
121143

122144
## [1.0.0][] (2014-07-17)
123145

124-
[develop]: https://github.com/mattrubin/OneTimePassword/compare/3.0.1...develop
146+
[develop]: https://github.com/mattrubin/OneTimePassword/compare/3.1...develop
125147

148+
[3.1]: https://github.com/mattrubin/OneTimePassword/compare/3.0.1...3.1
126149
[3.0.1]: https://github.com/mattrubin/OneTimePassword/compare/3.0...3.0.1
127150
[3.0]: https://github.com/mattrubin/OneTimePassword/compare/2.1.1...3.0
128151
[2.1.1]: https://github.com/mattrubin/OneTimePassword/compare/2.1...2.1.1

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Configuration for Carthage (https://github.com/Carthage/Carthage)
22

3-
github "mattrubin/Base32" "1.1.2+carthage"
3+
github "mattrubin/Base32" "xcode9"

Cartfile.private

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Configuration for Carthage (https://github.com/Carthage/Carthage)
22

3-
github "jspahrsummers/xcconfigs" ~> 0.10
3+
github "jspahrsummers/xcconfigs" ~> 0.11

Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "mattrubin/Base32" "1.1.2+carthage"
2-
github "jspahrsummers/xcconfigs" "0.10"
1+
github "jspahrsummers/xcconfigs" "0.11"
2+
github "mattrubin/Base32" "xcode9"

Carthage/Checkouts/xcconfigs

0 commit comments

Comments
 (0)