Skip to content
This repository was archived by the owner on Jun 11, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 2.1.0
This is for Xcode 8.1, Swift 3.0.1

# 2.0.0
This is the Swift 3.0 compatible version.

Expand Down
180 changes: 91 additions & 89 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (2.3.3)
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
Expand All @@ -9,29 +10,29 @@ GEM
tzinfo (~> 1.1)
addressable (2.4.0)
babosa (1.0.2)
cert (1.4.2)
fastlane_core (>= 0.50.3, < 1.0.0)
spaceship (>= 0.32.0, < 1.0.0)
claide (1.0.0)
cert (1.4.3)
fastlane_core (>= 0.52.1, < 1.0.0)
spaceship (>= 0.34.2, < 1.0.0)
claide (1.0.1)
clamp (0.6.5)
colored (1.2)
commander (4.4.0)
highline (~> 1.7.2)
credentials_manager (0.16.0)
credentials_manager (0.16.2)
colored
commander (>= 4.3.5)
highline (>= 1.7.1)
security
deliver (1.13.3)
credentials_manager (>= 0.16.0, < 1.0.0)
deliver (1.14.5)
credentials_manager (>= 0.16.2, < 1.0.0)
fastimage (~> 1.6)
fastlane_core (>= 0.50.3, < 1.0.0)
plist (~> 3.1.0)
spaceship (>= 0.31.6, < 1.0.0)
domain_name (0.5.20160615)
fastlane_core (>= 0.53.0, < 1.0.0)
plist (>= 3.1.0, < 4.0.0)
spaceship (>= 0.36.2, < 1.0.0)
domain_name (0.5.20161021)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.1.1)
excon (0.45.4)
excon (0.54.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
Expand All @@ -41,56 +42,56 @@ GEM
faraday (>= 0.7.4, < 0.10)
fastimage (1.6.8)
addressable (~> 2.3, >= 2.3.5)
fastlane (1.102.0)
fastlane (1.106.2)
activesupport (< 5)
addressable (~> 2.3)
addressable (>= 2.3, < 3.0.0)
bundler (~> 1.12)
cert (>= 1.4.1, < 2.0.0)
credentials_manager (>= 0.16.0, < 1.0.0)
deliver (>= 1.13.3, < 2.0.0)
fastlane_core (>= 0.50.2, < 1.0.0)
frameit (>= 2.7.0, < 3.0.0)
gym (>= 1.7.0, < 2.0.0)
krausefx-shenzhen (>= 0.14.10)
match (>= 0.6.3, < 1.0.0)
cert (>= 1.4.3, < 2.0.0)
credentials_manager (>= 0.16.2, < 1.0.0)
deliver (>= 1.14.4, < 2.0.0)
fastlane_core (>= 0.53.0, < 1.0.0)
frameit (>= 3.0.0, < 4.0.0)
gym (>= 1.11.3, < 2.0.0)
krausefx-shenzhen (>= 0.14.10, < 1.0.0)
match (>= 0.9.0, < 1.0.0)
multipart-post (~> 2.0.0)
pem (>= 1.3.2, < 2.0.0)
pilot (>= 1.10.0, < 2.0.0)
plist (~> 3.1.0)
produce (>= 1.2.0, < 2.0.0)
scan (>= 0.11.3, < 2.0.0)
screengrab (>= 0.5.0, < 1.0.0)
sigh (>= 1.10.0, < 2.0.0)
slack-notifier (~> 1.3)
snapshot (>= 1.14.0, < 2.0.0)
spaceship (>= 0.32.0, < 1.0.0)
supply (>= 0.7.0, < 1.0.0)
terminal-notifier (~> 1.6.2)
terminal-table (~> 1.4.5)
pilot (>= 1.11.1, < 2.0.0)
plist (>= 3.1.0, < 4.0.0)
produce (>= 1.2.1, < 2.0.0)
scan (>= 0.13.1, < 1.0.0)
screengrab (>= 0.5.2, < 1.0.0)
sigh (>= 1.11.2, < 2.0.0)
slack-notifier (>= 1.3, < 2.0.0)
snapshot (>= 1.16.2, < 2.0.0)
spaceship (>= 0.36.2, < 1.0.0)
supply (>= 0.7.1, < 1.0.0)
terminal-notifier (>= 1.6.2, < 2.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
word_wrap (~> 1.0.0)
xcode-install (~> 2.0.0)
xcodeproj (>= 0.20, < 2.0.0)
xcpretty (>= 0.2.1)
fastlane_core (0.50.3)
xcpretty (>= 0.2.4, < 1.0.0)
fastlane_core (0.53.0)
babosa
colored
commander (>= 4.4.0, <= 5.0.0)
credentials_manager (>= 0.16.0, < 1.0.0)
excon (~> 0.45.0)
credentials_manager (>= 0.16.2, < 1.0.0)
excon (>= 0.45.0, < 1.0)
gh_inspector (>= 1.0.1, < 2.0.0)
highline (>= 1.7.2)
json
multi_json
plist (~> 3.1)
plist (>= 3.1.0, < 4.0.0)
rubyzip (~> 1.1.6)
terminal-table (~> 1.4.5)
frameit (2.7.0)
terminal-table (>= 1.4.5, < 2.0.0)
frameit (3.0.0)
deliver (> 0.3)
fastimage (~> 1.6.3)
fastlane_core (>= 0.36.1, < 1.0.0)
fastlane_core (>= 0.53.0, < 1.0.0)
mini_magick (~> 4.5.1)
gh_inspector (1.0.2)
google-api-client (0.9.13)
google-api-client (0.9.19)
addressable (~> 2.3)
googleauth (~> 0.5)
httpclient (~> 2.7)
Expand All @@ -107,20 +108,20 @@ GEM
multi_json (~> 1.11)
os (~> 0.9)
signet (~> 0.7)
gym (1.8.0)
fastlane_core (>= 0.50.0, < 1.0.0)
plist
gym (1.11.3)
fastlane_core (>= 0.52.1, < 1.0.0)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 1.1.7)
terminal-table
xcpretty (>= 0.2.1)
terminal-table (>= 1.4.5, < 2.0.0)
xcpretty (>= 0.2.4, < 1.0.0)
highline (1.7.8)
http-cookie (1.0.2)
http-cookie (1.0.3)
domain_name (~> 0.5)
httpclient (2.8.2.3)
httpclient (2.8.2.4)
hurley (0.2)
i18n (0.7.0)
json (1.8.3)
jwt (1.5.4)
jwt (1.5.6)
krausefx-shenzhen (0.14.10)
commander (>= 4.3, < 5.0)
dotenv (>= 0.7)
Expand All @@ -137,61 +138,60 @@ GEM
logging (2.1.0)
little-plugger (~> 1.1)
multi_json (~> 1.10)
match (0.6.3)
cert (>= 1.4.1, < 2.0.0)
credentials_manager (>= 0.16.0, < 1.0.0)
fastlane_core (>= 0.50.3, < 1.0.0)
match (0.10.0)
cert (>= 1.4.3, < 2.0.0)
credentials_manager (>= 0.16.2, < 1.0.0)
fastlane_core (>= 0.53.0, < 1.0.0)
security
sigh (>= 1.9.0, < 2.0.0)
spaceship (>= 0.31.10, < 1.0.0)
sigh (>= 1.11.2, < 2.0.0)
spaceship (>= 0.36.1, < 1.0.0)
memoist (0.15.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_magick (4.5.1)
mini_portile2 (2.1.0)
minitest (5.9.0)
minitest (5.9.1)
multi_json (1.12.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
nanaimo (0.1.2)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (3.2.0)
nokogiri (1.6.8)
nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
os (0.9.6)
pem (1.3.2)
fastlane_core (>= 0.43.1, < 1.0.0)
spaceship (>= 0.26.2, < 1.0.0)
pilot (1.10.0)
credentials_manager (>= 0.3.0)
fastlane_core (>= 0.46.2, < 1.0.0)
spaceship (>= 0.29.0, < 1.0.0)
terminal-table (~> 1.4.5)
pkg-config (1.1.7)
pilot (1.11.1)
credentials_manager (>= 0.16.0)
fastlane_core (>= 0.53.0, < 1.0.0)
spaceship (>= 0.36.2, < 1.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
plist (3.1.0)
produce (1.2.0)
fastlane_core (>= 0.30.0, < 1.0.0)
spaceship (>= 0.31.1, < 1.0.0)
produce (1.2.1)
fastlane_core (>= 0.52.1, < 1.0.0)
spaceship (>= 0.34.2, < 1.0.0)
representable (2.3.0)
uber (~> 0.0.7)
retriable (2.1.0)
rouge (1.11.1)
rubyzip (1.1.7)
scan (0.11.3)
fastlane_core (>= 0.50.0, < 1.0.0)
scan (0.13.1)
fastlane_core (>= 0.52.1, < 1.0.0)
slack-notifier (~> 1.3)
terminal-table
xcpretty (>= 0.2.1)
xcpretty (>= 0.2.2)
xcpretty-travis-formatter (>= 0.0.3)
screengrab (0.5.1)
fastlane_core (>= 0.50.3, < 1.0.0)
screengrab (0.5.5)
fastlane_core (>= 0.52.1, < 1.0.0)
security (0.1.3)
sigh (1.10.1)
fastlane_core (>= 0.36.1, < 1.0.0)
sigh (1.11.2)
fastlane_core (>= 0.52.1, < 1.0.0)
plist (~> 3.1)
spaceship (>= 0.29.1, < 1.0.0)
spaceship (>= 0.34.2, < 1.0.0)
signet (0.7.3)
addressable (~> 2.3)
faraday (~> 0.9)
Expand All @@ -203,25 +203,25 @@ GEM
clamp (~> 0.6)
nokogiri (~> 1.6.3)
xcodeproj (>= 0.20, < 2.0.0)
snapshot (1.14.0)
snapshot (1.16.3)
fastimage (~> 1.6.3)
fastlane_core (>= 0.50.3, < 1.0.0)
plist (~> 3.1.0)
xcpretty (>= 0.2.1)
spaceship (0.32.0)
fastlane_core (>= 0.53.0, < 1.0.0)
plist (>= 3.1.0, < 4.0.0)
xcpretty (>= 0.2.4, < 1.0.0)
spaceship (0.36.2)
colored
credentials_manager (>= 0.16.0)
faraday (~> 0.9)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 0.9)
fastimage (~> 1.6)
multi_xml (~> 0.5)
plist (~> 3.1)
plist (>= 3.1.0, < 4.0.0)
supply (0.7.1)
credentials_manager (>= 0.15.0)
fastlane_core (>= 0.43.4)
google-api-client (~> 0.9.1)
terminal-notifier (1.6.3)
terminal-notifier (1.7.1)
terminal-table (1.4.5)
thread_safe (0.3.5)
tzinfo (1.2.2)
Expand All @@ -231,14 +231,16 @@ GEM
unf_ext
unf_ext (0.0.7.2)
word_wrap (1.0.0)
xcode-install (2.0.2)
xcode-install (2.0.8)
claide (>= 0.9.1, < 1.1.0)
spaceship (>= 0.25.1, < 1.0.0)
xcodeproj (1.2.0)
xcodeproj (1.4.0)
CFPropertyList (~> 2.3.3)
activesupport (>= 3)
claide (>= 1.0.0, < 2.0)
claide (>= 1.0.1, < 2.0)
colored (~> 1.2)
xcpretty (0.2.2)
nanaimo (~> 0.1.0)
xcpretty (0.2.4)
rouge (~> 1.8)
xcpretty-travis-formatter (0.0.4)
xcpretty (~> 0.2, >= 0.0.7)
Expand All @@ -253,4 +255,4 @@ DEPENDENCIES
xcpretty

BUNDLED WITH
1.12.5
1.13.6
6 changes: 3 additions & 3 deletions Sources/ValueCoding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public extension ValueCoding where Coder: NSCoding, Coder.Value == Self {
be of `Coder` type.
- returns: an optional `Self`
*/
static func decode(_ object: AnyObject?) -> Self? {
static func decode(_ object: Any?) -> Self? {
return (object as? Coder)?.value
}

Expand All @@ -89,7 +89,7 @@ public extension ValueCoding where Coder: NSCoding, Coder.Value == Self {
- parameter objects: a `SequenceType` of `AnyObject`.
- returns: the array of values which were able to be unarchived.
*/
static func decode<S: Sequence>(_ objects: S?) -> [Self] where S.Iterator.Element: AnyObject {
static func decode<S: Sequence>(_ objects: S?) -> [Self] where S.Iterator.Element: Any {
return objects?.flatMap(Self.decode) ?? []
}

Expand All @@ -99,7 +99,7 @@ public extension ValueCoding where Coder: NSCoding, Coder.Value == Self {
- parameter objects: a `SequenceType` of `SequenceType` of `AnyObject`.
- returns: the array of arrays of values which were able to be unarchived.
*/
static func decode<S: Sequence>(_ objects: S?) -> [[Self]] where S.Iterator.Element: Sequence, S.Iterator.Element.Iterator.Element: AnyObject {
static func decode<S: Sequence>(_ objects: S?) -> [[Self]] where S.Iterator.Element: Sequence, S.Iterator.Element.Iterator.Element: Any {
return objects?.flatMap(Self.decode) ?? []
}

Expand Down
1 change: 1 addition & 0 deletions Supporting Files/ValueCoding.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ LD_RUNPATH_SEARCH_PATHS_framework = @executable_path/../Frameworks @loader_path/
LD_RUNPATH_SEARCH_PATHS_xctest = @loader_path/Frameworks @executable_path/Frameworks @loader_path/../Frameworks @executable_path/../Frameworks
LD_RUNPATH_SEARCH_PATHS = $(LD_RUNPATH_SEARCH_PATHS_$(WRAPPER_EXTENSION))

#include "Warnings.xcconfig"
2 changes: 1 addition & 1 deletion Supporting Files/Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VALUECODING_VERSION = 2.0.0
VALUECODING_VERSION = 2.1.0
27 changes: 27 additions & 0 deletions Supporting Files/Warnings.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//
// ValueCoding
//
// Copyright © 2016 ProcedureKit. All rights reserved.
//

CLANG_WARN_DOCUMENTATION_COMMENTS = YES
CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
CLANG_WARN_EMPTY_BODY = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INFINITE_RECURSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_SUSPICIOUS_MOVE = YES
CLANG_WARN_UNREACHABLE_CODE = YES
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
ENABLE_STRICT_OBJC_MSGSEND = YES
ENABLE_TESTABILITY = YES
GCC_NO_COMMON_BLOCKS = YES
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_VARIABLE = YES
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
CLANG_ANALYZER_NONNULL = YES
Loading