Skip to content

Commit

Permalink
Merge pull request MakeAWishFoundation#307 from ohitsdaniel/updateSou…
Browse files Browse the repository at this point in the history
…rceryDependency

Bumps Sourcery dependency to 1.8.0
  • Loading branch information
spaluchiewicz authored Apr 21, 2022
2 parents eded168 + c5bcba7 commit 5802e6e
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Mintfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MakeAWishFoundation/[email protected]
krzysztofzablocki/Sourcery@1.6.0
krzysztofzablocki/Sourcery@1.8.0
12 changes: 7 additions & 5 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
PODS:
- Sourcery (1.6.0)
- Sourcery (1.8.0):
- Sourcery/CLI-Only (= 1.8.0)
- Sourcery/CLI-Only (1.8.0)
- SwiftyMocky (4.1.0):
- Sourcery (= 1.6.0)
- Sourcery (= 1.8.0)

DEPENDENCIES:
- SwiftyMocky (from `./`)
Expand All @@ -15,9 +17,9 @@ EXTERNAL SOURCES:
:path: "./"

SPEC CHECKSUMS:
Sourcery: 744f43178637c79bf23127dfe34e2103b3f28499
SwiftyMocky: 014739247afadb65efb5bb92ede32c22b9365762
Sourcery: 6f5fe49b82b7e02e8c65560cbd52e1be67a1af2e
SwiftyMocky: 308ec8314ed9a2f72e5b16537ffff046fec8779f

PODFILE CHECKSUM: bdcefa827bbd4d82b3bb801ca8e42fd57d9afed5

COCOAPODS: 1.9.3
COCOAPODS: 1.11.3
2 changes: 1 addition & 1 deletion Sources/CLI/Core/Utils/Global.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation
import PathKit

public var kSwiftyMockyCommand = Path("mocky")
public var kSourceryVersion = "1.6.0"
public var kSourceryVersion = "1.8.0"
public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}

public protocol AutoMockable {}
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftyMocky/Mock.swifttemplate
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func stringArray(fromArguments arguments: [String: Any], forKey key: String) ->
}
_%>
// Generated with SwiftyMocky 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0

<%_ for rule in swiftLintRules(argument) { -%>
<%_ %><%= rule %>
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftyPrototype/Prototype.swifttemplate
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func stringArray(fromArguments arguments: [String: Any], forKey key: String) ->
}
_%>
// Generated with SwiftyPrototype 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0

<%_ for rule in swiftLintRules(argument) { -%>
<%_ %><%= rule %>
Expand Down
4 changes: 2 additions & 2 deletions SwiftyMocky-Tests/iOS/Mocks/Mock.15.generated.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Generated using Sourcery 1.6.0 — https://github.com/krzysztofzablocki/Sourcery
// Generated using Sourcery 1.8.0 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT


// Generated with SwiftyMocky 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0


import SwiftyMocky
Expand Down
4 changes: 2 additions & 2 deletions SwiftyMocky-Tests/iOS/Mocks/Mock.generated.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Generated using Sourcery 1.6.0 — https://github.com/krzysztofzablocki/Sourcery
// Generated using Sourcery 1.8.0 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT


// Generated with SwiftyMocky 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0


import SwiftyMocky
Expand Down
4 changes: 2 additions & 2 deletions SwiftyMocky-Tests/macOS/Mocks/Mock.generated.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Generated using Sourcery 1.6.0 — https://github.com/krzysztofzablocki/Sourcery
// Generated using Sourcery 1.8.0 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT


// Generated with SwiftyMocky 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0


import SwiftyMocky
Expand Down
4 changes: 2 additions & 2 deletions SwiftyMocky-Tests/tvOS/Mocks/Mock.generated.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Generated using Sourcery 1.6.0 — https://github.com/krzysztofzablocki/Sourcery
// Generated using Sourcery 1.8.0 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT


// Generated with SwiftyMocky 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0


import SwiftyMocky
Expand Down
2 changes: 1 addition & 1 deletion SwiftyMocky.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Library that uses metaprogramming technique to generate mocks based on sources,
s.resources = '{Sources/SwiftyMocky/Mock.swifttemplate}'
s.frameworks = 'Foundation'
s.weak_framework = "XCTest"
s.dependency 'Sourcery', '1.6.0'
s.dependency 'Sourcery', '1.8.0'
s.pod_target_xcconfig = {
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
'ENABLE_BITCODE' => 'NO',
Expand Down
2 changes: 1 addition & 1 deletion SwiftyPrototype.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Library that uses metaprogramming technique to generate fakes/prototypes based o
s.source_files = 'Sources/{SwiftyPrototype,Shared}/**/*.swift'
s.resources = '{Sources/SwiftyPrototype/Prototype.swifttemplate}'
s.frameworks = 'Foundation'
s.dependency 'Sourcery', '~> 1.6.0'
s.dependency 'Sourcery', '~> 1.8.0'
end
2 changes: 1 addition & 1 deletion Templates/Header-Mock.swifttemplate
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with SwiftyMocky 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0

<%_ for rule in swiftLintRules(argument) { -%>
<%_ %><%= rule %>
Expand Down
2 changes: 1 addition & 1 deletion Templates/Header-Prototype.swifttemplate
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Generated with SwiftyPrototype 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0

<%_ for rule in swiftLintRules(argument) { -%>
<%_ %><%= rule %>
Expand Down
4 changes: 2 additions & 2 deletions Tests/SwiftyMockyCLICoreTests/Mock.generated.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Generated using Sourcery 1.6.0 — https://github.com/krzysztofzablocki/Sourcery
// Generated using Sourcery 1.8.0 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT


// Generated with SwiftyMocky 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0


import SwiftyMocky
Expand Down
4 changes: 2 additions & 2 deletions Tests/SwiftyMockyTests/Mock.generated.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Generated using Sourcery 1.6.0 — https://github.com/krzysztofzablocki/Sourcery
// Generated using Sourcery 1.8.0 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT


// Generated with SwiftyMocky 4.1.0
// Required Sourcery: 1.6.0
// Required Sourcery: 1.8.0


import SwiftyMocky
Expand Down

0 comments on commit 5802e6e

Please sign in to comment.