Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Jun 20, 2018
1 parent ba58c6e commit 4f1f595
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions docs-src/_data/coverage.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{"total": {"lines":{"total":1818,"covered":1550,"skipped":0,"pct":85.26},"statements":{"total":1820,"covered":1552,"skipped":0,"pct":85.27},"functions":{"total":404,"covered":334,"skipped":0,"pct":82.67},"branches":{"total":611,"covered":464,"skipped":0,"pct":75.94}}
{"total": {"lines":{"total":1841,"covered":1572,"skipped":0,"pct":85.39},"statements":{"total":1843,"covered":1574,"skipped":0,"pct":85.4},"functions":{"total":411,"covered":341,"skipped":0,"pct":82.97},"branches":{"total":625,"covered":476,"skipped":0,"pct":76.16}}
,"/Users/zachleat/Code/eleventy/config.js": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":6,"covered":6,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/Config.js": {"lines":{"total":5,"covered":5,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":5,"covered":5,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/Eleventy.js": {"lines":{"total":171,"covered":90,"skipped":0,"pct":52.63},"functions":{"total":23,"covered":8,"skipped":0,"pct":34.78},"statements":{"total":171,"covered":90,"skipped":0,"pct":52.63},"branches":{"total":44,"covered":10,"skipped":0,"pct":22.73}}
,"/Users/zachleat/Code/eleventy/src/Eleventy.js": {"lines":{"total":172,"covered":91,"skipped":0,"pct":52.91},"functions":{"total":24,"covered":9,"skipped":0,"pct":37.5},"statements":{"total":172,"covered":91,"skipped":0,"pct":52.91},"branches":{"total":44,"covered":10,"skipped":0,"pct":22.73}}
,"/Users/zachleat/Code/eleventy/src/EleventyCommandCheck.js": {"lines":{"total":27,"covered":27,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":27,"covered":27,"skipped":0,"pct":100},"branches":{"total":8,"covered":7,"skipped":0,"pct":87.5}}
,"/Users/zachleat/Code/eleventy/src/EleventyConfig.js": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/EleventyError.js": {"lines":{"total":12,"covered":12,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":12,"covered":12,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
Expand All @@ -15,13 +15,13 @@
,"/Users/zachleat/Code/eleventy/src/TemplateFileSlug.js": {"lines":{"total":19,"covered":19,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":19,"covered":19,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/TemplateGlob.js": {"lines":{"total":15,"covered":14,"skipped":0,"pct":93.33},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":15,"covered":14,"skipped":0,"pct":93.33},"branches":{"total":8,"covered":7,"skipped":0,"pct":87.5}}
,"/Users/zachleat/Code/eleventy/src/TemplateLayout.js": {"lines":{"total":38,"covered":37,"skipped":0,"pct":97.37},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":38,"covered":37,"skipped":0,"pct":97.37},"branches":{"total":14,"covered":13,"skipped":0,"pct":92.86}}
,"/Users/zachleat/Code/eleventy/src/TemplateMap.js": {"lines":{"total":78,"covered":77,"skipped":0,"pct":98.72},"functions":{"total":14,"covered":14,"skipped":0,"pct":100},"statements":{"total":78,"covered":77,"skipped":0,"pct":98.72},"branches":{"total":14,"covered":12,"skipped":0,"pct":85.71}}
,"/Users/zachleat/Code/eleventy/src/TemplateMap.js": {"lines":{"total":78,"covered":77,"skipped":0,"pct":98.72},"functions":{"total":14,"covered":14,"skipped":0,"pct":100},"statements":{"total":78,"covered":77,"skipped":0,"pct":98.72},"branches":{"total":18,"covered":14,"skipped":0,"pct":77.78}}
,"/Users/zachleat/Code/eleventy/src/TemplatePassthrough.js": {"lines":{"total":12,"covered":10,"skipped":0,"pct":83.33},"functions":{"total":4,"covered":3,"skipped":0,"pct":75},"statements":{"total":12,"covered":10,"skipped":0,"pct":83.33},"branches":{"total":2,"covered":0,"skipped":0,"pct":0}}
,"/Users/zachleat/Code/eleventy/src/TemplatePassthroughManager.js": {"lines":{"total":52,"covered":33,"skipped":0,"pct":63.46},"functions":{"total":13,"covered":10,"skipped":0,"pct":76.92},"statements":{"total":52,"covered":33,"skipped":0,"pct":63.46},"branches":{"total":12,"covered":8,"skipped":0,"pct":66.67}}
,"/Users/zachleat/Code/eleventy/src/TemplatePath.js": {"lines":{"total":70,"covered":68,"skipped":0,"pct":97.14},"functions":{"total":15,"covered":14,"skipped":0,"pct":93.33},"statements":{"total":70,"covered":68,"skipped":0,"pct":97.14},"branches":{"total":44,"covered":42,"skipped":0,"pct":95.45}}
,"/Users/zachleat/Code/eleventy/src/TemplatePath.js": {"lines":{"total":73,"covered":71,"skipped":0,"pct":97.26},"functions":{"total":17,"covered":16,"skipped":0,"pct":94.12},"statements":{"total":73,"covered":71,"skipped":0,"pct":97.26},"branches":{"total":44,"covered":42,"skipped":0,"pct":95.45}}
,"/Users/zachleat/Code/eleventy/src/TemplatePermalink.js": {"lines":{"total":31,"covered":31,"skipped":0,"pct":100},"functions":{"total":7,"covered":7,"skipped":0,"pct":100},"statements":{"total":31,"covered":31,"skipped":0,"pct":100},"branches":{"total":20,"covered":20,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/TemplateRender.js": {"lines":{"total":79,"covered":78,"skipped":0,"pct":98.73},"functions":{"total":17,"covered":17,"skipped":0,"pct":100},"statements":{"total":79,"covered":78,"skipped":0,"pct":98.73},"branches":{"total":36,"covered":34,"skipped":0,"pct":94.44}}
,"/Users/zachleat/Code/eleventy/src/TemplateWriter.js": {"lines":{"total":154,"covered":129,"skipped":0,"pct":83.77},"functions":{"total":30,"covered":22,"skipped":0,"pct":73.33},"statements":{"total":154,"covered":129,"skipped":0,"pct":83.77},"branches":{"total":32,"covered":25,"skipped":0,"pct":78.13}}
,"/Users/zachleat/Code/eleventy/src/TemplateWriter.js": {"lines":{"total":156,"covered":130,"skipped":0,"pct":83.33},"functions":{"total":31,"covered":23,"skipped":0,"pct":74.19},"statements":{"total":156,"covered":130,"skipped":0,"pct":83.33},"branches":{"total":32,"covered":25,"skipped":0,"pct":78.13}}
,"/Users/zachleat/Code/eleventy/src/UserConfig.js": {"lines":{"total":90,"covered":68,"skipped":0,"pct":75.56},"functions":{"total":29,"covered":18,"skipped":0,"pct":62.07},"statements":{"total":91,"covered":69,"skipped":0,"pct":75.82},"branches":{"total":28,"covered":16,"skipped":0,"pct":57.14}}
,"/Users/zachleat/Code/eleventy/src/Engines/Ejs.js": {"lines":{"total":22,"covered":21,"skipped":0,"pct":95.45},"functions":{"total":7,"covered":6,"skipped":0,"pct":85.71},"statements":{"total":22,"covered":21,"skipped":0,"pct":95.45},"branches":{"total":6,"covered":4,"skipped":0,"pct":66.67}}
,"/Users/zachleat/Code/eleventy/src/Engines/Haml.js": {"lines":{"total":10,"covered":10,"skipped":0,"pct":100},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":10,"covered":10,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
Expand All @@ -33,10 +33,10 @@
,"/Users/zachleat/Code/eleventy/src/Engines/Mustache.js": {"lines":{"total":12,"covered":12,"skipped":0,"pct":100},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":12,"covered":12,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/Engines/Nunjucks.js": {"lines":{"total":20,"covered":19,"skipped":0,"pct":95},"functions":{"total":7,"covered":7,"skipped":0,"pct":100},"statements":{"total":20,"covered":19,"skipped":0,"pct":95},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
,"/Users/zachleat/Code/eleventy/src/Engines/Pug.js": {"lines":{"total":17,"covered":17,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":17,"covered":17,"skipped":0,"pct":100},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
,"/Users/zachleat/Code/eleventy/src/Engines/TemplateEngine.js": {"lines":{"total":34,"covered":34,"skipped":0,"pct":100},"functions":{"total":11,"covered":11,"skipped":0,"pct":100},"statements":{"total":34,"covered":34,"skipped":0,"pct":100},"branches":{"total":6,"covered":6,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/Engines/TemplateEngine.js": {"lines":{"total":35,"covered":35,"skipped":0,"pct":100},"functions":{"total":11,"covered":11,"skipped":0,"pct":100},"statements":{"total":35,"covered":35,"skipped":0,"pct":100},"branches":{"total":6,"covered":6,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/Filters/Slug.js": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/Filters/Url.js": {"lines":{"total":19,"covered":19,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":19,"covered":19,"skipped":0,"pct":100},"branches":{"total":23,"covered":23,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/Plugins/Pagination.js": {"lines":{"total":79,"covered":71,"skipped":0,"pct":89.87},"functions":{"total":11,"covered":10,"skipped":0,"pct":90.91},"statements":{"total":79,"covered":71,"skipped":0,"pct":89.87},"branches":{"total":32,"covered":25,"skipped":0,"pct":78.13}}
,"/Users/zachleat/Code/eleventy/src/Plugins/Pagination.js": {"lines":{"total":95,"covered":87,"skipped":0,"pct":91.58},"functions":{"total":14,"covered":13,"skipped":0,"pct":92.86},"statements":{"total":95,"covered":87,"skipped":0,"pct":91.58},"branches":{"total":42,"covered":35,"skipped":0,"pct":83.33}}
,"/Users/zachleat/Code/eleventy/src/Util/Capitalize.js": {"lines":{"total":4,"covered":4,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":4,"covered":4,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/Util/Pluralize.js": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
,"/Users/zachleat/Code/eleventy/src/Util/Sortable.js": {"lines":{"total":56,"covered":46,"skipped":0,"pct":82.14},"functions":{"total":26,"covered":18,"skipped":0,"pct":69.23},"statements":{"total":56,"covered":46,"skipped":0,"pct":82.14},"branches":{"total":20,"covered":19,"skipped":0,"pct":95}}
Expand Down
14 changes: 7 additions & 7 deletions docs/coverage.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Code Coverage for Eleventy v0.3.6
# Code Coverage for Eleventy v0.4.0

| Filename | % Lines | % Statements | % Functions | % Branches |
| ------------------------------------------ | ------- | ------------ | ----------- | ---------- |
| `total` | 85.26% | 85.27% | 82.67% | 75.94% |
| `total` | 85.39% | 85.4% | 82.97% | 76.16% |
| `config.js` | 100% | 100% | 100% | 100% |
| `src/Config.js` | 100% | 100% | 100% | 100% |
| `src/Eleventy.js` | 52.63% | 52.63% | 34.78% | 22.73% |
| `src/Eleventy.js` | 52.91% | 52.91% | 37.5% | 22.73% |
| `src/EleventyCommandCheck.js` | 100% | 100% | 100% | 87.5% |
| `src/EleventyConfig.js` | 100% | 100% | 100% | 100% |
| `src/EleventyError.js` | 100% | 100% | 100% | 100% |
Expand All @@ -19,13 +19,13 @@
| `src/TemplateFileSlug.js` | 100% | 100% | 100% | 100% |
| `src/TemplateGlob.js` | 93.33% | 93.33% | 100% | 87.5% |
| `src/TemplateLayout.js` | 97.37% | 97.37% | 100% | 92.86% |
| `src/TemplateMap.js` | 98.72% | 98.72% | 100% | 85.71% |
| `src/TemplateMap.js` | 98.72% | 98.72% | 100% | 77.78% |
| `src/TemplatePassthrough.js` | 83.33% | 83.33% | 75% | 0% |
| `src/TemplatePassthroughManager.js` | 63.46% | 63.46% | 76.92% | 66.67% |
| `src/TemplatePath.js` | 97.14% | 97.14% | 93.33% | 95.45% |
| `src/TemplatePath.js` | 97.26% | 97.26% | 94.12% | 95.45% |
| `src/TemplatePermalink.js` | 100% | 100% | 100% | 100% |
| `src/TemplateRender.js` | 98.73% | 98.73% | 100% | 94.44% |
| `src/TemplateWriter.js` | 83.77% | 83.77% | 73.33% | 78.13% |
| `src/TemplateWriter.js` | 83.33% | 83.33% | 74.19% | 78.13% |
| `src/UserConfig.js` | 75.56% | 75.82% | 62.07% | 57.14% |
| `src/Engines/Ejs.js` | 95.45% | 95.45% | 85.71% | 66.67% |
| `src/Engines/Haml.js` | 100% | 100% | 100% | 100% |
Expand All @@ -40,7 +40,7 @@
| `src/Engines/TemplateEngine.js` | 100% | 100% | 100% | 100% |
| `src/Filters/Slug.js` | 100% | 100% | 100% | 100% |
| `src/Filters/Url.js` | 100% | 100% | 100% | 100% |
| `src/Plugins/Pagination.js` | 89.87% | 89.87% | 90.91% | 78.13% |
| `src/Plugins/Pagination.js` | 91.58% | 91.58% | 92.86% | 83.33% |
| `src/Util/Capitalize.js` | 100% | 100% | 100% | 100% |
| `src/Util/Pluralize.js` | 100% | 100% | 100% | 100% |
| `src/Util/Sortable.js` | 82.14% | 82.14% | 69.23% | 95% |
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@11ty/eleventy",
"version": "0.3.6",
"version": "0.4.0",
"description": "Transform a directory of templates into HTML.",
"main": "src/Eleventy.js",
"license": "MIT",
Expand Down

0 comments on commit 4f1f595

Please sign in to comment.