Skip to content

Commit

Permalink
Merge pull request #200 from qutheory/hd/04-25
Browse files Browse the repository at this point in the history
Updated to Swift 3.0 Snapshot 04-25
  • Loading branch information
tanner0101 committed Apr 28, 2016
2 parents 6e4396c + 98e7eb2 commit 87dbc75
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .swift-version
@@ -1 +1 @@
DEVELOPMENT-SNAPSHOT-2016-04-12-a
DEVELOPMENT-SNAPSHOT-2016-04-25-a
4 changes: 2 additions & 2 deletions Package.swift
Expand Up @@ -16,8 +16,8 @@ let package = Package(
.Package(url: "https://github.com/ketzusaka/Hummingbird.git", majorVersion: 1, minor: 4),

//SHA2 + HMAC hashing. Used by the core to create session identifiers.
.Package(url: "https://github.com/CryptoKitten/HMAC.git", majorVersion: 0, minor: 4),
.Package(url: "https://github.com/CryptoKitten/SHA2.git", majorVersion: 0, minor: 3)
.Package(url: "https://github.com/CryptoKitten/HMAC.git", majorVersion: 0, minor: 5),
.Package(url: "https://github.com/CryptoKitten/SHA2.git", majorVersion: 0, minor: 5)
],
exclude: [
"XcodeProject"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Vapor/Log/Log.swift
Expand Up @@ -42,7 +42,7 @@ public class Log {
Enabled log levels. Default is to log all levels. This
can be overridden.
*/
public static var enabledLevels: [Log.Level] = Log.Level.all
public static var enabledLevels: [Level] = Log.Level.all

/**
Logs verbose messages if .Verbose is enabled
Expand Down
2 changes: 1 addition & 1 deletion Sources/Vapor/Routing/Application+Route.swift
Expand Up @@ -243,7 +243,7 @@ extension Application {
Create multiple routes with the same base URL
without repeating yourself.
*/
public func group(_ prefix: String, @noescape handler: () -> Void) {
public func group(_ prefix: String, handler: @noescape () -> Void) {
let original = scopedPrefix

//append original with a trailing slash
Expand Down
2 changes: 1 addition & 1 deletion Sources/Vapor/Utilities/Lock.swift
Expand Up @@ -30,7 +30,7 @@ class Lock {
pthread_mutex_unlock(mutex)
}

func locked(@noescape closure: () throws -> Void) rethrows {
func locked(closure: @noescape () throws -> Void) rethrows {
lock()
defer { unlock() }
try closure()
Expand Down

0 comments on commit 87dbc75

Please sign in to comment.