Skip to content

Commit

Permalink
v0.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Jan 25, 2018
1 parent 6d7cef4 commit eeef728
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 20 deletions.
42 changes: 27 additions & 15 deletions docs-src/_data/coverage.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"total": {
"lines": { "total": 1133, "covered": 981, "skipped": 0, "pct": 86.58 },
"statements": { "total": 1133, "covered": 981, "skipped": 0, "pct": 86.58 },
"functions": { "total": 253, "covered": 209, "skipped": 0, "pct": 82.61 },
"branches": { "total": 316, "covered": 257, "skipped": 0, "pct": 81.33 }
"lines": { "total": 1153, "covered": 997, "skipped": 0, "pct": 86.47 },
"statements": { "total": 1153, "covered": 997, "skipped": 0, "pct": 86.47 },
"functions": { "total": 255, "covered": 211, "skipped": 0, "pct": 82.75 },
"branches": { "total": 331, "covered": 271, "skipped": 0, "pct": 81.87 }
},
"/Users/zachleat/Code/eleventy/config.js": {
"lines": { "total": 18, "covered": 18, "skipped": 0, "pct": 100 },
"functions": { "total": 3, "covered": 3, "skipped": 0, "pct": 100 },
"statements": { "total": 18, "covered": 18, "skipped": 0, "pct": 100 },
"branches": { "total": 19, "covered": 19, "skipped": 0, "pct": 100 }
"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": 4, "covered": 4, "skipped": 0, "pct": 100 },
Expand Down Expand Up @@ -48,10 +48,10 @@
"branches": { "total": 6, "covered": 5, "skipped": 0, "pct": 83.33 }
},
"/Users/zachleat/Code/eleventy/src/TemplateConfig.js": {
"lines": { "total": 35, "covered": 33, "skipped": 0, "pct": 94.29 },
"lines": { "total": 38, "covered": 34, "skipped": 0, "pct": 89.47 },
"functions": { "total": 4, "covered": 3, "skipped": 0, "pct": 75 },
"statements": { "total": 35, "covered": 33, "skipped": 0, "pct": 94.29 },
"branches": { "total": 12, "covered": 11, "skipped": 0, "pct": 91.67 }
"statements": { "total": 38, "covered": 34, "skipped": 0, "pct": 89.47 },
"branches": { "total": 14, "covered": 13, "skipped": 0, "pct": 92.86 }
},
"/Users/zachleat/Code/eleventy/src/TemplateData.js": {
"lines": { "total": 70, "covered": 69, "skipped": 0, "pct": 98.57 },
Expand Down Expand Up @@ -84,10 +84,10 @@
"branches": { "total": 0, "covered": 0, "skipped": 0, "pct": 100 }
},
"/Users/zachleat/Code/eleventy/src/TemplatePath.js": {
"lines": { "total": 23, "covered": 23, "skipped": 0, "pct": 100 },
"functions": { "total": 8, "covered": 7, "skipped": 0, "pct": 87.5 },
"statements": { "total": 23, "covered": 23, "skipped": 0, "pct": 100 },
"branches": { "total": 7, "covered": 7, "skipped": 0, "pct": 100 }
"lines": { "total": 31, "covered": 31, "skipped": 0, "pct": 100 },
"functions": { "total": 10, "covered": 9, "skipped": 0, "pct": 90 },
"statements": { "total": 31, "covered": 31, "skipped": 0, "pct": 100 },
"branches": { "total": 13, "covered": 13, "skipped": 0, "pct": 100 }
},
"/Users/zachleat/Code/eleventy/src/TemplatePermalink.js": {
"lines": { "total": 31, "covered": 31, "skipped": 0, "pct": 100 },
Expand Down Expand Up @@ -173,6 +173,18 @@
"statements": { "total": 31, "covered": 30, "skipped": 0, "pct": 96.77 },
"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": 18, "covered": 16, "skipped": 0, "pct": 88.89 },
"functions": { "total": 1, "covered": 1, "skipped": 0, "pct": 100 },
"statements": { "total": 18, "covered": 16, "skipped": 0, "pct": 88.89 },
"branches": { "total": 26, "covered": 25, "skipped": 0, "pct": 96.15 }
},
"/Users/zachleat/Code/eleventy/src/Plugins/Pagination.js": {
"lines": { "total": 76, "covered": 71, "skipped": 0, "pct": 93.42 },
"functions": { "total": 11, "covered": 11, "skipped": 0, "pct": 100 },
Expand Down
10 changes: 6 additions & 4 deletions docs/coverage.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Code Coverage for Eleventy v0.2.9
# Code Coverage for Eleventy v0.2.10

| Filename | % Lines | % Statements | % Functions | % Branches |
| ------------------------------- | ------- | ------------ | ----------- | ---------- |
| `total` | 86.58% | 86.58% | 82.61% | 81.33% |
| `total` | 86.47% | 86.47% | 82.75% | 81.87% |
| `config.js` | 100% | 100% | 100% | 100% |
| `src/Config.js` | 100% | 100% | 100% | 100% |
| `src/Eleventy.js` | 62.39% | 62.39% | 38.89% | 45.45% |
| `src/EleventyConfig.js` | 90.91% | 90.91% | 84.62% | 75% |
| `src/EleventyError.js` | 7.69% | 7.69% | 0% | 0% |
| `src/Template.js` | 86.15% | 86.15% | 82.93% | 77.03% |
| `src/TemplateCollection.js` | 92.31% | 92.31% | 100% | 83.33% |
| `src/TemplateConfig.js` | 94.29% | 94.29% | 75% | 91.67% |
| `src/TemplateConfig.js` | 89.47% | 89.47% | 75% | 92.86% |
| `src/TemplateData.js` | 98.57% | 98.57% | 100% | 75% |
| `src/TemplateGlob.js` | 93.75% | 93.75% | 100% | 87.5% |
| `src/TemplateLayout.js` | 97.44% | 97.44% | 100% | 93.75% |
| `src/TemplateMap.js` | 96.97% | 96.97% | 100% | 80% |
| `src/TemplatePassthrough.js` | 77.78% | 77.78% | 66.67% | 100% |
| `src/TemplatePath.js` | 100% | 100% | 87.5% | 100% |
| `src/TemplatePath.js` | 100% | 100% | 90% | 100% |
| `src/TemplatePermalink.js` | 100% | 100% | 100% | 100% |
| `src/TemplateRender.js` | 97.3% | 97.3% | 100% | 85.71% |
| `src/TemplateWriter.js` | 72.03% | 72.03% | 60% | 63.33% |
Expand All @@ -31,6 +31,8 @@
| `src/Engines/Nunjucks.js` | 100% | 100% | 100% | 100% |
| `src/Engines/Pug.js` | 100% | 100% | 100% | 100% |
| `src/Engines/TemplateEngine.js` | 96.77% | 96.77% | 88.89% | 100% |
| `src/Filters/Slug.js` | 100% | 100% | 100% | 100% |
| `src/Filters/Url.js` | 88.89% | 88.89% | 100% | 96.15% |
| `src/Plugins/Pagination.js` | 93.42% | 93.42% | 100% | 87.5% |
| `src/Util/Capitalize.js` | 100% | 100% | 100% | 100% |
| `src/Util/Pluralize.js` | 100% | 100% | 100% | 100% |
Expand Down
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.2.9",
"version": "0.2.10",
"description": "Transform a directory of templates into HTML.",
"main": "src/Eleventy.js",
"license": "MIT",
Expand Down

0 comments on commit eeef728

Please sign in to comment.