Commit Graph

108 Commits

Author SHA1 Message Date
Kyle Fuller 226becb258 Release 0.4.0 0.4.0 2015-10-30 12:35:33 -07:00
Kyle Fuller 507cc5c661 [for block] Handle empty nodes
Closes #35
2015-10-26 08:26:16 -07:00
Kyle Fuller 9b26b7d71a [Context] Convenience push with block function 2015-10-26 08:26:16 -07:00
Kyle Fuller 19366ec71b Merge pull request #36 from AliSoftware/fix/if-node
Fix IfNode when using Array of arbitrary types
2015-10-26 08:23:37 -07:00
Olivier Halligon ba65ab5fbe Fix IfNode when using Array of arbitrary types (which made the cast to [AnyObject] fail) 2015-10-26 14:26:41 +01:00
Kyle Fuller 8ac6e26876 Allow template filters to throw errors 2015-10-24 14:41:37 -07:00
Kyle Fuller f35be4b701 Add test around custom template filters 2015-10-24 14:35:25 -07:00
Kyle Fuller 033ae61e42 Restore code style 2015-10-24 14:26:32 -07:00
Kyle Fuller 1ea58b70f3 Error for unknown blocks 2015-10-24 14:24:34 -07:00
Kyle Fuller 5883775f37 [Extends] Make sure we don't leave endblock behind 2015-10-24 14:24:06 -07:00
Kyle Fuller d1891038f8 Merge pull request #33 from AliSoftware/guards
Adding Guards 👮
2015-10-24 13:28:47 -07:00
Kyle Fuller d5acc7298c Switch to Conche and Spectre 2015-10-22 21:13:26 -07:00
Kyle Fuller 6464b3170a Improve support for native Swift types 2015-10-22 11:42:50 -07:00
Kyle Fuller d03df12cba Move to JSON podspec 2015-10-22 10:05:46 -07:00
Kyle Fuller 62f6016e94 [README] Syntax highlight 2015-10-22 09:49:26 -07:00
Kyle Fuller 16da9ac034 Introduce variable filters 2015-10-22 09:47:45 -07:00
Kyle Fuller 7d5d226017 Include missing import to Foundation 2015-10-21 21:59:40 -07:00
Olivier Halligon 05dc420808 Add more safeguards 🚓🛂 2015-10-18 22:30:33 +02:00
Olivier Halligon f4ed872a45 guard all the things! 👮 2015-10-18 22:30:25 +02:00
Kyle Fuller f0abd34c32 [Template] Throw when initialising with non-existant file 2015-10-18 10:53:10 -07:00
Kyle Fuller 4d76fb4e60 [Template] Include tests for bundle/url initialiser 2015-10-18 09:41:16 -07:00
Kyle Fuller 9bdef5fee0 Merge pull request #34 from AliSoftware/fix/public
Made Token's `components()` & `contents` functions public
2015-10-18 09:12:30 -07:00
Olivier Halligon 20cc95fb87 Made Token's components & contents functions public so we can use it to implement custom tags with registerTag() 2015-10-18 15:48:03 +02:00
Kyle Fuller 1136ca8fca [Template] Set default value for bundle initialiser 2015-10-02 12:20:42 -07:00
Kyle Fuller 8f334563bf Merge pull request #30 from chunkerchunker/master
Allow Template.render() to be called multiple times
2015-10-02 12:15:49 -07:00
Andy Choi b03ec50a42 Allow Template.render() to be called multiple times
Allow Template.render() to be called multiple times, for the use case where a single template is rendered against multiple Contexts.
2015-09-30 20:56:54 -07:00
Kyle Fuller 2ab9b85305 Merge pull request #29 from chunkerchunker/template-url-init
bugfix for loading Template from URL
2015-09-29 17:08:18 -07:00
chunkerchunker a297b4ec42 bugfix for loading Template from URL
NSURL.absoluteString includes "file://", which Path() doesn't expect.
2015-09-29 16:54:07 -07:00
Kyle Fuller 9de84d5ca4 [Circle] Deploy on all tags 0.3.0 2015-09-25 15:13:32 -07:00
Kyle Fuller e5378b7603 [circleci] Update tag regex 2015-09-25 15:09:02 -07:00
Kyle Fuller 29dc14855c Release 0.3.0 2015-09-25 15:06:18 -07:00
Kyle Fuller 3935dac021 Publish releases to Circle CI 2015-09-25 15:03:31 -07:00
Kyle Fuller 9c335caeb6 Remove custom Result type and throw errors 2015-09-25 12:53:45 -07:00
Kyle Fuller 25f5583542 [Template] Initialisers to throw on failure 2015-09-25 11:17:04 -07:00
Kyle Fuller 878c5cfde8 Use modern Swift 2.0 2015-09-25 10:40:58 -07:00
Kyle Fuller a0bde992c2 Upgrade to PathKit ~> 0.4.0 2015-09-25 10:26:55 -07:00
Kyle Fuller 554d2ee07f [circleci] Use Xcode 7 2015-09-14 16:05:33 -07:00
Kyle Fuller 4dc8bf3d1f Merge pull request #26 from kylef/swift-2.0
Switch to Swift 2.0
2015-09-09 18:55:23 -07:00
Kyle Fuller dcf2611ac2 Switch to Swift 2.0 2015-09-08 18:44:01 -07:00
Kyle Fuller c1a485c429 Merge pull request #24 from kattrali/patch-1
Fix title typo
2015-08-24 02:23:22 -07:00
Delisa Mason f9006d515a Fix title typo 2015-08-24 00:10:18 -07:00
Kyle Fuller 6d01792cd6 Release 0.2.0 0.2.0 2015-06-29 21:45:28 -07:00
Kyle Fuller 620154e721 Include template inheritence
Closes #15
2015-06-29 18:36:27 -07:00
Kyle Fuller 53d5a4f8c3 [Project] Use 2 spaces for indentation 2015-06-29 16:40:15 -07:00
Kyle Fuller 59bab00c97 [README] Fix broken badge URI 2015-06-29 16:37:20 -07:00
Kyle Fuller 3839bc4147 Merge pull request #23 from kylef/kylef/swift-1.2
Support Swift 1.2
2015-06-29 16:36:41 -07:00
Kyle Fuller 84f117b40c Revert "Implement universal framework"
This reverts commit 5a080f92cc.

Conflicts:
	.travis.yml
	Stencil.xcodeproj/project.pbxproj
2015-06-29 16:33:30 -07:00
Kyle Fuller d1d8e6e17f [Podspec] Include missing TemplateLoader source 2015-06-29 16:20:12 -07:00
Kyle Fuller 44810a82e7 [Podspec] Target iOS > 8.0 2015-06-29 16:16:50 -07:00
Kyle Fuller 028b340b54 Switch to Circle CI 2015-06-29 16:11:54 -07:00