From 8a1758516865574bb4e09c05788a64803b673b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Tue, 9 Jun 2020 07:32:50 +0200 Subject: [PATCH 1/4] Update formula to version 0.8.2 --- Formula/anylint.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/anylint.rb b/Formula/anylint.rb index a1e35b6..6a7fe13 100644 --- a/Formula/anylint.rb +++ b/Formula/anylint.rb @@ -1,7 +1,7 @@ class Anylint < Formula desc "Lint anything by combining the power of Swift & regular expressions" homepage "https://github.com/Flinesoft/AnyLint" - url "https://github.com/Flinesoft/AnyLint.git", :tag => "0.8.1", :revision => "fcc0975f934235bf0fbee196c01cd44fbc2c1fd4" + url "https://github.com/Flinesoft/AnyLint.git", :tag => "0.8.2", :revision => "73cb2c9de3ed8e027fddf8df16e998c552dd7823" head "https://github.com/Flinesoft/AnyLint.git" depends_on :xcode => ["11.4", :build] From 123800329419b59e8e0934e7b11a662b3206a66a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Tue, 9 Jun 2020 07:40:36 +0200 Subject: [PATCH 2/4] Update LinuxMain.swift file --- Tests/LinuxMain.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift index d59ccb2..ae7fdcc 100644 --- a/Tests/LinuxMain.swift +++ b/Tests/LinuxMain.swift @@ -15,7 +15,8 @@ extension ArrayExtTests { extension AutoCorrectionTests { static var allTests: [(String, (AutoCorrectionTests) -> () throws -> Void)] = [ - ("testInitWithDictionaryLiteral", testInitWithDictionaryLiteral) + ("testInitWithDictionaryLiteral", testInitWithDictionaryLiteral), + ("testAppliedMessageLines", testAppliedMessageLines) ] } @@ -30,7 +31,8 @@ extension FileContentsCheckerTests { ("testPerformCheck", testPerformCheck), ("testSkipInFile", testSkipInFile), ("testSkipHere", testSkipHere), - ("testSkipIfEqualsToAutocorrectReplacement", testSkipIfEqualsToAutocorrectReplacement) + ("testSkipIfEqualsToAutocorrectReplacement", testSkipIfEqualsToAutocorrectReplacement), + ("testRepeatIfAutoCorrected", testRepeatIfAutoCorrected) ] } From b847d3e14e2d05c159050454ca3ee9d153787db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Sat, 9 Oct 2021 12:42:34 +0200 Subject: [PATCH 3/4] Upgrade Swift tools version to 5.4 & improve gitignore --- .github/workflows/main.yml | 1 - .gitignore | 58 +++++++++++++++++++++++++++++++++----- Package.resolved | 25 ---------------- Package.swift | 4 +-- 4 files changed, 53 insertions(+), 35 deletions(-) delete mode 100644 Package.resolved diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3f545b6..f4f8c71 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,7 +92,6 @@ jobs: - name: Run tests run: swift test -v - test-macos: runs-on: macos-latest diff --git a/.gitignore b/.gitignore index 81b332f..e05a150 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,53 @@ +# General .DS_Store -/.build -/Packages -/*.xcodeproj +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# Xcode +## User settings xcuserdata/ -/AnyLintTempTests -.codacy-coverage -*.lcov -codacy-coverage.json + +## Obj-C/Swift specific +*.hmap + +## App packaging +*.ipa +*.dSYM.zip +*.dSYM + +## Playgrounds +timeline.xctimeline +playground.xcworkspace + +# Swift Package Manager +Packages/ +Package.pins +Package.resolved +*.xcodeproj +.swiftpm +.build/ + +# AnyLint specific +anylint-test-results.json diff --git a/Package.resolved b/Package.resolved deleted file mode 100644 index aa38a47..0000000 --- a/Package.resolved +++ /dev/null @@ -1,25 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "Rainbow", - "repositoryURL": "https://github.com/onevcat/Rainbow.git", - "state": { - "branch": null, - "revision": "9c52c1952e9b2305d4507cf473392ac2d7c9b155", - "version": "3.1.5" - } - }, - { - "package": "SwiftCLI", - "repositoryURL": "https://github.com/jakeheis/SwiftCLI.git", - "state": { - "branch": null, - "revision": "c72c4564f8c0a24700a59824880536aca45a4cae", - "version": "6.0.1" - } - } - ] - }, - "version": 1 -} diff --git a/Package.swift b/Package.swift index b266fdf..d89f368 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.1 +// swift-tools-version:5.4 import PackageDescription let package = Package( @@ -20,7 +20,7 @@ let package = Package( name: "AnyLintTests", dependencies: ["AnyLint"] ), - .target( + .executableTarget( name: "AnyLintCLI", dependencies: ["Rainbow", "SwiftCLI", "Utility"] ), From ef44dceef6a47c8679a011a433829408efd18e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Wed, 13 Oct 2021 08:40:34 +0200 Subject: [PATCH 4/4] Bump version num & finalize new changelog section --- CHANGELOG.md | 7 +++++++ README.md | 4 ++-- Sources/Utility/Constants.swift | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5663247..a395c02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,13 @@ If needed, pluralize to `Tasks`, `PRs` or `Authors` and list multiple entries se ### Security - None. +## [0.8.3] - 2021-10-13 +### Changed +- Bumped minimum required Swift tools version to 5.4. + Author: [Cihat Gündüz](https://github.com/Jeehut) +- Removed `Package.resolved` file to prevent pinning dependency versions. + Author: [Cihat Gündüz](https://github.com/Jeehut) + ## [0.8.2] - 2020-06-09 ### Changed - Made internal extension methos public for usage in `customCheck`. diff --git a/README.md b/README.md index 8cfcdc3..26121fd 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ alt="Coverage"/> - Version: 0.8.2 + Version: 0.8.3