diff --git a/.travis.yml b/.travis.yml index 4f6cc25..8579c5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ matrix: include: - os: osx language: objective-c - osx_image: xcode8.2 + osx_image: xcode8.3 before_install: - git submodule update --init --recursive script: @@ -14,7 +14,7 @@ matrix: - carthage build --no-skip-current - os: osx language: objective-c - osx_image: xcode8 + osx_image: xcode8.3 before_install: - git submodule update --init --recursive script: @@ -37,9 +37,9 @@ matrix: before_install: - git submodule update --init --recursive - wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import - - - wget https://swift.org/builds/swift-3.0-release/ubuntu1404/swift-3.0-RELEASE/swift-3.0-RELEASE-ubuntu14.04.tar.gz - - tar xzf swift-3.0-RELEASE-ubuntu14.04.tar.gz - - export PATH=${PWD}/swift-3.0-RELEASE-ubuntu14.04/usr/bin:"${PATH}" + - wget https://swift.org/builds/swift-3.1-release/ubuntu1404/swift-3.1-RELEASE/swift-3.1-RELEASE-ubuntu14.04.tar.gz + - tar xzf swift-3.1-RELEASE-ubuntu14.04.tar.gz + - export PATH=${PWD}/swift-3.1-RELEASE-ubuntu14.04/usr/bin:"${PATH}" script: - swift build notifications: diff --git a/Cartfile.private b/Cartfile.private index a8a0c94..0b434f7 100644 --- a/Cartfile.private +++ b/Cartfile.private @@ -1,4 +1,4 @@ -github "typelift/Swiftx" "master" +github "typelift/Swiftx" github "typelift/SwiftCheck" github "typelift/Operadics" diff --git a/Cartfile.resolved b/Cartfile.resolved index de77c9a..3af5f92 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,3 +1,3 @@ github "typelift/Operadics" "0.2.2" -github "typelift/SwiftCheck" "0.7.2" -github "typelift/Swiftx" "7945839e1a173911879a3552a5d2265554d9337b" +github "typelift/SwiftCheck" "0.8.0" +github "typelift/Swiftx" "0.5.2" diff --git a/Carthage/Checkouts/SwiftCheck b/Carthage/Checkouts/SwiftCheck index 0e2d31c..97a244b 160000 --- a/Carthage/Checkouts/SwiftCheck +++ b/Carthage/Checkouts/SwiftCheck @@ -1 +1 @@ -Subproject commit 0e2d31cbf718cc31bb2f80a65760439ecc3ee7fc +Subproject commit 97a244b4c48e5823e82f50562fc4e32b3d6507a8 diff --git a/Carthage/Checkouts/Swiftx b/Carthage/Checkouts/Swiftx index 7945839..0d481bb 160000 --- a/Carthage/Checkouts/Swiftx +++ b/Carthage/Checkouts/Swiftx @@ -1 +1 @@ -Subproject commit 7945839e1a173911879a3552a5d2265554d9337b +Subproject commit 0d481bbe0617c38bb816c9cbbf54ab93edb813b9 diff --git a/Sources/Bounded.swift b/Sources/Bounded.swift index 2261546..00ecc8b 100644 --- a/Sources/Bounded.swift +++ b/Sources/Bounded.swift @@ -149,21 +149,21 @@ extension Int64 : Bounded { #if os(OSX) extension Float : Bounded { public static func minBound() -> Float { - return FLT_MIN + return Float.leastNormalMagnitude } public static func maxBound() -> Float { - return FLT_MAX + return Float.greatestFiniteMagnitude } } extension Double : Bounded { public static func minBound() -> Double { - return DBL_MIN + return Double.leastNormalMagnitude } public static func maxBound() -> Double { - return DBL_MAX + return Double.greatestFiniteMagnitude } } #endif