Skip to content

Commit

Permalink
Updated for 0.44.17 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Jul 12, 2020
1 parent 945ef15 commit 3a131ff
Show file tree
Hide file tree
Showing 33 changed files with 47 additions and 36 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,16 @@
# Change Log

## [0.44.17](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.44.17) (2020-07-12)

- The `wrapArguments` rule now keeps internal and external parameter labels on the same line
- Multiline string literals are now indented more consistently
- Fixed infinite recursion bug in the `redundantSelf` rule
- Fixed duplicate file path logging in `--verbose` mode
- Indented braces are now always balanced
- Add `--stdinpath` option, allowing git pre-commit hook to support file header info
- Updated instructions for git pre-commit hook (again)
- Added inference for `--noSpaceOperators` option

## [0.44.16](https://github.com/nicklockwood/SwiftFormat/releases/tag/0.44.16) (2020-07-02)

- Fixed bug in `--output stdout` processing
Expand Down
Binary file modified CommandLineTool/swiftformat
Binary file not shown.
Expand Up @@ -157,7 +157,7 @@ final class RulesViewController: NSViewController {
var updatedRule = rule
updatedRule.isEnabled = $0
self?.ruleStore.save(updatedRule)
})
})

results.append(UserSelectionType.binary(d))
results.append(contentsOf: associatedOptions)
Expand Down
2 changes: 1 addition & 1 deletion EditorExtension/Extension/Info.plist
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.44.16</string>
<string>0.44.17</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSMinimumSystemVersion</key>
Expand Down
Binary file modified EditorExtension/SwiftFormat for Xcode.app/Contents/CodeResources
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Expand Up @@ -36,7 +36,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.44.15</string>
<string>0.44.17</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down
Binary file not shown.
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>0.44.15</string>
<string>0.44.17</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Expand Up @@ -10,31 +10,31 @@
</data>
<key>Resources/Assets.car</key>
<data>
e4T2tdpzR5tmXCW9VuipTGeTNlE=
AsJHGU59Cs8sn+mWqMC1WAGUuIc=
</data>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<data>
fTBw2awon556WoXhF7E9BOaSAK4=
4NyEnHhRm1EIg6X9yJoCdpBHZKk=
</data>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<data>
Xy6/J6pXE/l8g9ayywoP2QOCv48=
1MZfOogVNcXcQ95ehwFLTXCFCc0=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<data>
nO6NF1xrbMiFDY5iPM1hYQtjfas=
MoF05WUtIm49loknlPnYkx7RMJ8=
</data>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<data>
0ThE5IBnT+vDiz7iJPL4yF/HI6Y=
0YBYN6NdWTMikvI7nnF/73EvPnk=
</data>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<data>
e/f7ibwA0SkOu0052BnT27s/ZEA=
CuEuKzaJrt+cp9jFmjQkjp/HnMs=
</data>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<data>
gBKDXDJ5NhrXvNRQT+5aR8EGm88=
om6QYqMOc8xgP+eMbdoss8nL0Uo=
</data>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
<data>
Expand Down Expand Up @@ -119,7 +119,7 @@
<dict>
<key>cdhash</key>
<data>
UcRU+ivX1pM35Ga6lcvhYcn9P/c=
h39h2DAV+ZJ8Jb08LytQpSpRSdU=
</data>
<key>requirement</key>
<string>anchor apple generic and identifier "com.charcoaldesign.SwiftFormat-for-Xcode.SourceEditorExtension" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "8VQKF583ED")</string>
Expand All @@ -139,77 +139,77 @@
<dict>
<key>hash</key>
<data>
e4T2tdpzR5tmXCW9VuipTGeTNlE=
AsJHGU59Cs8sn+mWqMC1WAGUuIc=
</data>
<key>hash2</key>
<data>
9nSbPoP2m2JerwbX3EQR/Hx+3H2IFvmvXf8fGncLW1A=
NlVfZKvlMrliped1OxG6TQw4Kl2fs+KNs9zXfGtdp7Q=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/9ZR-Qg-hHT-view-iDF-FY-6tf.nib</key>
<dict>
<key>hash</key>
<data>
fTBw2awon556WoXhF7E9BOaSAK4=
4NyEnHhRm1EIg6X9yJoCdpBHZKk=
</data>
<key>hash2</key>
<data>
0EwrhYFJbbiOevOF6ZfbLyEbYKJuFKziywCgyYhwWQo=
Vu2CeCegyEHMjQozw0FPI0DaviI5HhXmLP6Dnk2KJSc=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/Info.plist</key>
<dict>
<key>hash</key>
<data>
Xy6/J6pXE/l8g9ayywoP2QOCv48=
1MZfOogVNcXcQ95ehwFLTXCFCc0=
</data>
<key>hash2</key>
<data>
aKohK4NSIRMK2Mh4CNBiclpaZ/hQNfzhAB3Yn0s697Y=
yY5prXRkJr9OY+rFuB6sFPdPt73YZxIk/wR6bdOjeg8=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainMenu.nib</key>
<dict>
<key>hash</key>
<data>
nO6NF1xrbMiFDY5iPM1hYQtjfas=
MoF05WUtIm49loknlPnYkx7RMJ8=
</data>
<key>hash2</key>
<data>
W3O9QPoKl8ZIUt6QQ72kEU9qeF6K1Mzl00q0Ddayixs=
MWLhL8eBYCo1a3xmNSYaDzpzMYj30CtmJ8FIDAG2kXc=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/MainWindowTabViewController.nib</key>
<dict>
<key>hash</key>
<data>
0ThE5IBnT+vDiz7iJPL4yF/HI6Y=
0YBYN6NdWTMikvI7nnF/73EvPnk=
</data>
<key>hash2</key>
<data>
rAZaoLsdbrEwc78sP/GZOBVj7nwU+MTbIK7HAQYbfyw=
ED1LpqNpS27z/Ssyy/xNFRsePIJdaVIYOFIUZid9fSc=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib</key>
<dict>
<key>hash</key>
<data>
e/f7ibwA0SkOu0052BnT27s/ZEA=
CuEuKzaJrt+cp9jFmjQkjp/HnMs=
</data>
<key>hash2</key>
<data>
lgnWbK3DAqAJFLXhmJ9zoCsirRC6vPsMP9ixDtDR32M=
CbHeBBgHu+bNV5VjsSwgmZvn928wIuZWGeyuRuySc7g=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/RulesViewController.nib</key>
<dict>
<key>hash</key>
<data>
gBKDXDJ5NhrXvNRQT+5aR8EGm88=
om6QYqMOc8xgP+eMbdoss8nL0Uo=
</data>
<key>hash2</key>
<data>
n3BWm4vPv/c/openlsLGHoNeNvN4pPUcfsJdkzUjWtg=
VUH3WoezUYfUNn2pDBrq/XtgFHkQKGYXYA+sK/+VV+Q=
</data>
</dict>
<key>Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib</key>
Expand Down
2 changes: 1 addition & 1 deletion Sources/Formatter.swift
Expand Up @@ -2,7 +2,7 @@
// Formatter.swift
// SwiftFormat
//
// Version 0.44.16
// Version 0.44.17
//
// Created by Nick Lockwood on 12/08/2016.
// Copyright 2016 Nick Lockwood
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.44.16</string>
<string>0.44.17</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Sources/OptionsDescriptor.swift
Expand Up @@ -154,7 +154,7 @@ extension FormatOptions {
return key
}
return keys[0]
})
})
type = .enum(keys)
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftFormat.swift
Expand Up @@ -32,7 +32,7 @@
import Foundation

/// The current SwiftFormat version
let swiftFormatVersion = "0.44.16"
let swiftFormatVersion = "0.44.17"
public let version = swiftFormatVersion

/// The standard SwiftFormat config file name
Expand Down
2 changes: 1 addition & 1 deletion Sources/Tokenizer.swift
Expand Up @@ -2,7 +2,7 @@
// Tokenizer.swift
// SwiftFormat
//
// Version 0.44.16
// Version 0.44.17
//
// Created by Nick Lockwood on 11/08/2016.
// Copyright 2016 Nick Lockwood
Expand Down
4 changes: 2 additions & 2 deletions SwiftFormat.podspec.json
@@ -1,6 +1,6 @@
{
"name": "SwiftFormat",
"version": "0.44.16",
"version": "0.44.17",
"license": {
"type": "MIT",
"file": "LICENSE.md"
Expand All @@ -10,7 +10,7 @@
"authors": "Nick Lockwood",
"source": {
"git": "https://github.com/nicklockwood/SwiftFormat.git",
"tag": "0.44.16"
"tag": "0.44.17"
},
"default_subspecs": "Core",
"subspecs": [
Expand Down
4 changes: 2 additions & 2 deletions SwiftFormat.xcodeproj/project.pbxproj
Expand Up @@ -1161,7 +1161,7 @@
INFOPLIST_FILE = EditorExtension/Application/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
MARKETING_VERSION = 0.44.15;
MARKETING_VERSION = 0.44.17;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1188,7 +1188,7 @@
INFOPLIST_FILE = EditorExtension/Application/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
MARKETING_VERSION = 0.44.15;
MARKETING_VERSION = 0.44.17;
PRODUCT_BUNDLE_IDENTIFIER = "com.charcoaldesign.SwiftFormat-for-Xcode";
PRODUCT_NAME = "SwiftFormat for Xcode";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion Tests/Info.plist
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.44.16</string>
<string>0.44.17</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 3a131ff

Please sign in to comment.