Skip to content

Commit

Permalink
Merge branch 'master' into feature/swift-templates-cache
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
#	docs/Classes/TypeName.html
#	docs/docsets/Sourcery.docset/Contents/Resources/Documents/Classes/TypeName.html
#	docs/docsets/Sourcery.docset/Contents/Resources/Documents/search.json
#	docs/docsets/Sourcery.docset/Contents/Resources/docSet.dsidx
#	docs/docsets/Sourcery.tgz
#	docs/search.json
  • Loading branch information
ilyapuchka committed May 2, 2017
2 parents 83b201c + 50fff7d commit 172ec96
Show file tree
Hide file tree
Showing 134 changed files with 3,094 additions and 1,345 deletions.
1 change: 1 addition & 0 deletions .jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ custom_categories:
- TupleElement
- ArrayType
- DictionaryType
- ClosureType
- Attribute
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@
- Added support for includes in EJS templates (for example: `<%- include('myTemplate.js') %>`)
- Add the `lowerFirst` filter for Stencil templates.
- Added `isRequired` property for `Method`
- Improved parsing of closure types
- Improved swift templates performance

### Bug fixes

- Fixed detecting computed properties
- Fixed typo in `isConvenienceInitialiser` property
- Fixed creating cache folder when cache is disabled

### Internal changes

- Improved `AutoMockable.stencil` to support protocols with `init` methods
- Improved `AutoCases.stencil` to use `let` instead of computed `var`
- Updated StencilSwiftKit to 1.0.2 which includes Stencil 0.9.0

## 0.6.0

Expand Down
8 changes: 4 additions & 4 deletions Package.pins
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"package": "SourceKitten",
"reason": null,
"repositoryURL": "https://github.com/jpsim/SourceKitten.git",
"version": "0.17.1"
"version": "0.17.2"
},
{
"package": "Spectre",
Expand All @@ -65,13 +65,13 @@
"package": "Stencil",
"reason": null,
"repositoryURL": "https://github.com/kylef/Stencil.git",
"version": "0.8.0"
"version": "0.9.0"
},
{
"package": "StencilSwiftKit",
"reason": null,
"repositoryURL": "https://github.com/SwiftGen/StencilSwiftKit.git",
"version": "1.0.1"
"version": "1.0.2"
},
{
"package": "SwiftTryCatch",
Expand All @@ -89,7 +89,7 @@
"package": "Yams",
"reason": null,
"repositoryURL": "https://github.com/jpsim/Yams.git",
"version": "0.3.0"
"version": "0.3.2"
}
],
"version": 1
Expand Down
1 change: 0 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ let package = Package(
],
dependencies: [
// https://github.com/kylef/Stencil/pull/84
.Package(url: "https://github.com/kylef/Stencil.git", majorVersion: 0, minor: 8),
.Package(url: "https://github.com/kylef/Commander.git", majorVersion: 0, minor: 6),
.Package(url: "https://github.com/kylef/PathKit.git", majorVersion: 0, minor: 8),
.Package(url: "https://github.com/jpsim/SourceKitten.git", majorVersion: 0, minor: 17),
Expand Down
3 changes: 1 addition & 2 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
target 'Sourcery' do
use_frameworks!

pod 'Stencil', '~> 0.8.0'
pod 'StencilSwiftKit', '~> 1.0.0'
pod 'StencilSwiftKit', '~> 1.0'
pod 'Commander'
pod 'PathKit'
pod 'XcodeEdit', '~> 1.0'
Expand Down
21 changes: 10 additions & 11 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ PODS:
- SourceKittenFramework (0.17.2):
- SWXMLHash (~> 3.0)
- Yams (~> 0.3)
- Stencil (0.8.0):
- Stencil (0.9.0):
- PathKit (~> 0.8.0)
- StencilSwiftKit (1.0.1):
- Stencil (~> 0.8.0)
- StencilSwiftKit (1.0.2):
- Stencil (~> 0.9.0)
- SwiftTryCatch (1.0.0)
- SWXMLHash (3.0.4)
- XcodeEdit (1.0.0)
- Yams (0.3.1)
- Yams (0.3.2)

DEPENDENCIES:
- Commander
Expand All @@ -23,8 +23,7 @@ DEPENDENCIES:
- PathKit
- Quick
- SourceKittenFramework (~> 0.17)
- Stencil (~> 0.8.0)
- StencilSwiftKit (~> 1.0.0)
- StencilSwiftKit (~> 1.0)
- SwiftTryCatch (from `git@github.com:seanparsons/SwiftTryCatch`, commit `798c512`)
- XcodeEdit (~> 1.0)

Expand All @@ -45,13 +44,13 @@ SPEC CHECKSUMS:
PathKit: dcab05d701474011aae0e40cf892298a831f63d6
Quick: dafc587e21eed9f4cab3249b9f9015b0b7a7f71d
SourceKittenFramework: 4e780f9b34bf751f26c12f1806a3426bcdd98864
Stencil: 6669684db0262e6eb316ce233e7e02d6df0a6cd9
StencilSwiftKit: fb7366766d03db6011e132bf4a845cb6cf1f27d6
Stencil: 510f0b0518a366b67b6a9c5085a0399741b6d2f9
StencilSwiftKit: 2c1391877b0bd92f25cac563b54c6d73f69f2eb9
SwiftTryCatch: 8dec58919b07ddba4f23c80e814f7e49f05da548
SWXMLHash: 29d20b84692fc319ea8ed933058fe7d8d005139b
XcodeEdit: 35c213ce807063332a26857d816639dd9fbdaa9e
Yams: eb91a8d6c017e3ecdfb8fb44df735cbb1e34a536
Yams: 644c63a27a9be79239e6328f462ea7778aaa3cab

PODFILE CHECKSUM: 2707a8f3d9abef954ea54614603bff0402d3cc60
PODFILE CHECKSUM: c9ec67ba6b30eb56b9cba7d500fe7f602b6084c5

COCOAPODS: 1.2.1.beta.1
COCOAPODS: 1.2.0
21 changes: 10 additions & 11 deletions Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 172ec96

Please sign in to comment.