Skip to content

Commit 2dfbf25

Browse files
authored
Merge branch 'master' into feature/swift6
2 parents 346c1f6 + 8113269 commit 2dfbf25

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.github/workflows/check-pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ jobs:
1818
run: swift build
1919

2020
- name: Test
21-
run: swift test
21+
run: swift test
22+
23+
- name: Lint with cocoapods
24+
run: pod lib lint --allow-warnings

GRMustache.swift.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
Pod::Spec.new do |s|
22
s.name = 'GRMustache.swift'
3-
s.version = '5.0.0'
3+
s.version = '6.0.0'
44
s.license = { :type => 'MIT', :file => 'LICENSE' }
55
s.summary = 'Flexible Mustache templates for Swift.'
66
s.homepage = 'https://github.com/groue/GRMustache.swift'
77
s.author = { 'Gwendal Roué' => '[email protected]' }
88
s.source = { :git => 'https://github.com/groue/GRMustache.swift.git', :tag => s.version }
99
s.source_files = 'Sources/**/*.{h,m,swift}', 'ObjC/**/*.{h,m,swift}'
1010
s.module_name = 'Mustache'
11-
s.swift_version = '5.0'
12-
s.ios.deployment_target = '8.0'
13-
s.osx.deployment_target = '10.10'
11+
s.swift_version = '5.9'
12+
s.ios.deployment_target = '11.0'
13+
s.osx.deployment_target = '10.11'
1414
s.tvos.deployment_target = '9.0'
1515
s.requires_arc = true
1616
s.framework = 'Foundation'

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ GRMustache.swift [![Swift](https://img.shields.io/badge/swift-6-orange.svg?style
1212
- Swift 4.0: use the [version 3.0.0](https://github.com/groue/GRMustache.swift/tree/3.0.0)
1313
- Swift 4.2: use the [version 3.1.0](https://github.com/groue/GRMustache.swift/tree/3.1.0)
1414
- Swift 5.0: use the [version 4.0.0](https://github.com/groue/GRMustache.swift/tree/4.0.0)
15-
- Swift 6.0: use the [version 5.1.0](https://github.com/groue/GRMustache.swift/tree/5.1.0)
15+
- Swift 5.9: use the [version 6.0.0](https://github.com/groue/GRMustache.swift/tree/6.0.0)
16+
- Swift 6.0: use the [version 7.0.0](https://github.com/groue/GRMustache.swift/tree/7.0.0) or later
1617

1718
Follow [@groue](http://twitter.com/groue) on Twitter for release announcements and usage tips.
1819

@@ -119,7 +120,7 @@ To use GRMustache.swift with the Swift Package Manager, add https://github.com/g
119120

120121
```swift
121122
dependencies: [
122-
.package(url: "https://github.com/groue/GRMustache.swift", from: "5.0.0")
123+
.package(url: "https://github.com/groue/GRMustache.swift", from: "6.0.0")
123124
]
124125
```
125126

@@ -141,7 +142,7 @@ targets: [
141142

142143
```sh
143144
cd [GRMustache.swift directory]
144-
git checkout 2.0.0
145+
git checkout 6.0.0
145146
````
146147

147148
3. Embed the `Mustache.xcodeproj` project in your own project.

Sources/Foundation.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
// THE SOFTWARE.
2222

2323
import Foundation
24+
#if canImport(GRMustacheKeyAccess)
2425
import GRMustacheKeyAccess
26+
#endif
2527

2628
/// GRMustache provides built-in support for rendering `NSObject`.
2729
extension NSObject : MustacheBoxable {

0 commit comments

Comments
 (0)