Adam Fowler
f029081b61
Project template updates ( #25 )
...
* Project template updates
* More changes
* run swiftformat
2024-03-08 12:04:49 +00:00
Adam Fowler
f5177888f9
Merge pull request #24 from hummingbird-project/2.x.x
...
Merge 2.x.x into main
2024-03-08 10:53:44 +00:00
Adam Fowler
071b182a00
2.x.x Template struct ( #22 )
...
* Start of turning template into a struct
* Everything is Sendable now, just doesnt work
* Add library to context
* Make sure render is initialized with library
* comment about inheritance spec
* Add register back in
* Re-instate register functions
* Re-instate commented out print
* Fix tabbing in Partial tests
* Make HBMustacheLibrary.loadTemplates async
* Update platforms, swift version
2024-01-31 15:43:46 +00:00
Adam Fowler
bec77d1f2b
More GH action updates
2024-01-30 17:01:09 +00:00
Adam Fowler
52663ae87b
Update CI
2024-01-30 16:56:07 +00:00
Adam Fowler
6e08bcf4d2
Swift 5.8
2023-04-10 10:21:02 +01:00
Adam Fowler
85114c9ecb
Project template update
2023-03-27 09:47:54 +01:00
Adam Fowler
48918c1d2a
Use codecov@v3 action
2023-01-17 14:45:31 +00:00
Adam Fowler
fa56176223
Fix issue with indented partials ( #19 )
...
* Fix issue with indented partials
* Add test
* Add empty transform for string
2023-01-14 08:50:51 +00:00
Adam Fowler
185004fdce
Template updates (Swift 5.7)
2022-11-22 14:19:27 +00:00
Adam Fowler
f95e19206e
Use special set of chars for partial filename ( #18 )
2022-08-08 11:18:41 +01:00
Adam Fowler
02d019b632
Swift 5.6
2022-03-17 11:23:21 +00:00
Adam Fowler
90414dfc9f
Update project settings
2022-02-14 12:27:36 +00:00
Adam Fowler
100eb5eb7a
Add .vscode to .gitignore
2021-12-05 10:24:16 +00:00
Adam Fowler
d6839d689e
sanity.sh -> validate.sh
2021-11-12 17:02:42 +00:00
Adam Fowler
94bbca47ae
Swift Format 0.48.17
2021-10-30 11:23:58 +01:00
Adam Fowler
8b38438f17
Make HBMustacheParent public
2021-09-28 15:41:11 +01:00
Adam Fowler
ba7cbfbb09
Update to swift 5.5 docker in CI
2021-09-22 10:07:09 +01:00
Adam Fowler
e544cd568e
Updates from Package update
2021-09-21 10:49:25 +01:00
Adam Fowler
dffe63d330
Run nightly only on Sunday
2021-06-25 08:08:51 +01:00
Adam Fowler
187c7f977c
Help text for HBMustacheCustomRenderable
2021-05-03 17:05:17 +01:00
Adam Fowler
c65a7956c8
Custom renderable fixups ( #13 )
...
* Mark HBMustacheCustomRenderable public
* Add HBMustacheCustomRenderable tests
* swift format
2021-05-03 16:55:10 +01:00
Adam Fowler
a2569dd667
Use newly merged inheritance spec tests
2021-05-03 15:58:50 +01:00
Adam Fowler
4a78d44712
Add HBMustacheCustomRenderable
...
Support custom rendering of swift types
Fixes tests that rely on NSNull
2021-05-03 15:33:28 +01:00
Adam Fowler
f852bc1d00
Use mint to run swift-format in sanity CI
2021-04-24 18:09:34 +01:00
Adam Fowler
e86018f068
Update README.md
2021-04-09 09:50:52 +01:00
Adam Fowler
1c51fcfe8c
Add file header via swift format
2021-04-08 17:36:54 +01:00
Adam Fowler
883e1e3446
No need to ignore Variable test in spec tests
2021-04-06 16:22:19 +01:00
Adam Fowler
4dbcfba7b8
Minor read me edit
2021-03-25 10:26:01 +00:00
Adam Fowler
a7ae931f3e
Update README.md
2021-03-25 10:24:33 +00:00
Adam Fowler
87068659b3
Added pragmas, template inheritance docs
2021-03-25 09:43:01 +00:00
Adam Fowler
b331d4c440
Documentation ( #12 )
...
* Create Mustache Syntax.md
* Update Mustache Syntax.md
* Create Transforms.md
* Update Transforms.md
* Update Mustache Syntax.md
* Update Mustache Syntax.md
* Create Lambdas.md
* Update Lambdas.md
2021-03-24 18:13:37 +00:00
Adam Fowler
c1d3f491b5
Update README.md
2021-03-24 16:23:48 +00:00
Adam Fowler
eaaeea0166
If running a transform and object doesn't recognise it return nil
2021-03-24 16:20:06 +00:00
Adam Fowler
7ebd84a328
Stop context stack climbing with "." prefix
2021-03-24 11:12:38 +00:00
Adam Fowler
f7bd02267e
Add transforms empty() and equalzero()
2021-03-23 18:17:44 +00:00
Adam Fowler
40ef59c897
Allow for space after value in {{%var:value}}
2021-03-23 17:45:17 +00:00
Adam Fowler
d3edef1b8e
Add support for custom text escaping ( #11 )
...
* Add support for custom text escaping
* swift format
* Remove withDefaultDelimiters
* Update README.md
* Don't pass content type into partial
2021-03-23 17:36:28 +00:00
Adam Fowler
ef4eb40eb7
Comments
2021-03-22 14:14:34 +00:00
Adam Fowler
1abc469037
Add template inheritance section
2021-03-22 13:57:08 +00:00
Adam Fowler
9f5894b0c1
Update README.md
2021-03-22 12:29:43 +00:00
Adam Fowler
c21651ce50
method -> transform
2021-03-22 12:11:22 +00:00
Adam Fowler
35d52603e2
Template inheritance ( #9 )
...
* Move all context variables into HBMustacheContext
* Add support for reading inherited sections
* Render inherited tokens
* Test inheritance spec, fix two minor issues
* fix warning
* swift format
2021-03-22 12:02:22 +00:00
Adam Fowler
af345e9138
Link FoundationNetworking on Linux
2021-03-22 11:46:04 +00:00
Adam Fowler
c4f8aea756
Use mustache spec json files for tests ( #10 )
...
* swift format
* Use json files for mustache/spec repo for testing spec
* Add option to ignore certain tests
* Clean up error messages, swift format
* more swift format
2021-03-22 11:41:52 +00:00
Adam Fowler
ef4f016863
Update README.md
2021-03-22 07:55:30 +00:00
Adam Fowler
fb849f063d
Minor update from project-template
2021-03-21 18:57:24 +00:00
Adam Fowler
a08b1e8087
Swift format, swift 5.3
2021-03-21 11:56:08 +00:00
Adam Fowler
3c50d1c15c
comments
2021-03-19 17:49:02 +00:00
Adam Fowler
66cbb25e16
Readme updates ( #7 )
...
* Add Additional features to readme
* Edits
* Update README.md
2021-03-19 15:08:57 +00:00