Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
patternlibrary
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
js
patternlibrary
Commits
71473a20
Commit
71473a20
authored
Apr 07, 2018
by
Björn Bartels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PATLAB-7
update adapter tests
parent
fa9752f0
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
510 additions
and
104 deletions
+510
-104
gitinfo.js
lib/adapters/gitinfo.js
+0
-2
sourcecode.js
lib/adapters/sourcecode.js
+0
-1
specs.js
lib/adapters/specs.js
+0
-1
categories.json
test/fixtures/adapters/changelog/build/pl/categories.json
+32
-6
patternlibrary.json
.../fixtures/adapters/changelog/build/pl/patternlibrary.json
+48
-9
patterns.json
test/fixtures/adapters/changelog/build/pl/patterns.json
+16
-3
index.html
...dapters/changelog/build/pl/patterns/atoms/link/index.html
+5
-1
categories.json
test/fixtures/adapters/example/build/pl/categories.json
+32
-6
patternlibrary.json
test/fixtures/adapters/example/build/pl/patternlibrary.json
+48
-9
patterns.json
test/fixtures/adapters/example/build/pl/patterns.json
+16
-3
index.html
.../adapters/example/build/pl/patterns/atoms/link/index.html
+5
-1
categories.json
...fixtures/adapters/examplemissing/build/pl/categories.json
+32
-6
patternlibrary.json
...ures/adapters/examplemissing/build/pl/patternlibrary.json
+48
-9
patterns.json
test/fixtures/adapters/examplemissing/build/pl/patterns.json
+16
-3
index.html
...rs/examplemissing/build/pl/patterns/atoms/link/index.html
+5
-1
categories.json
test/fixtures/adapters/nochangelog/build/pl/categories.json
+32
-6
patternlibrary.json
...ixtures/adapters/nochangelog/build/pl/patternlibrary.json
+48
-9
patterns.json
test/fixtures/adapters/nochangelog/build/pl/patterns.json
+16
-3
index.html
...pters/nochangelog/build/pl/patterns/atoms/link/index.html
+5
-1
categories.json
test/fixtures/adapters/noexample/build/pl/categories.json
+32
-6
patternlibrary.json
.../fixtures/adapters/noexample/build/pl/patternlibrary.json
+48
-9
patterns.json
test/fixtures/adapters/noexample/build/pl/patterns.json
+16
-3
index.html
...dapters/noexample/build/pl/patterns/atoms/link/index.html
+5
-1
test.20.adapter.js
test/test.20.adapter.js
+5
-5
No files found.
lib/adapters/gitinfo.js
View file @
71473a20
...
...
@@ -36,8 +36,6 @@ module.exports.search = function(items, link) {
function
getGitInfo
(
value
,
config
,
pl
)
{
if
(
!
fs
.
existsSync
(
value
))
return
false
;
var
logFormatYaml
=
'- date:
\'
%cd
\'
'
+
'%n'
+
' timestamp: %ct'
+
'%n'
+
...
...
lib/adapters/sourcecode.js
View file @
71473a20
...
...
@@ -40,7 +40,6 @@ module.exports.search = function(items, link) {
function
getSourceCode
(
value
,
config
,
pl
)
{
if
(
!
fs
.
existsSync
(
value
)
||
fs
.
statSync
(
value
).
isDirectory
())
return
false
;
var
sourceFile
=
frontMatter
(
fs
.
readFileSync
(
value
).
toString
());
var
renderedCode
=
highlightCode
(
'html'
,
sourceFile
.
body
);
...
...
lib/adapters/specs.js
View file @
71473a20
...
...
@@ -32,7 +32,6 @@ module.exports.search = function(items, link) {
function
getPatternSpecs
(
value
,
config
,
pl
)
{
if
(
!
fs
.
existsSync
(
value
))
return
false
;
var
sourceFile
=
frontMatter
(
fs
.
readFileSync
(
value
).
toString
());
if
(
sourceFile
.
attributes
.
pattern
&&
!
sourceFile
.
attributes
.
pattern
.
type
)
{
...
...
test/fixtures/adapters/changelog/build/pl/categories.json
View file @
71473a20
...
...
@@ -1581,9 +1581,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -3172,9 +3185,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/changelog/build/pl/patternlibrary.json
View file @
71473a20
...
...
@@ -1578,9 +1578,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -3168,9 +3181,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -4759,9 +4785,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/changelog/build/pl/patterns.json
View file @
71473a20
...
...
@@ -1577,9 +1577,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/changelog/build/pl/patterns/atoms/link/index.html
View file @
71473a20
...
...
@@ -908,7 +908,11 @@
<h2
id=
"git-log-"
class=
"docs-heading"
data-magellan-target=
"git-log-"
>
Git-Log:
<a
class=
"docs-heading-icon"
href=
"#git-log-"
></a></h2>
<article>
<h3
id=
"07042018"
>
07/04/2018
</h3>
<ul>
<li>
PATLAB-7 add adapter tests (fa9752f, by
<a
href=
"mailto:me@bjoernbartels.earth"
>
Björn Bartels
</a>
,
<a
href=
"mailto:me@bjoernbartels.earth"
>
me@bjoernbartels.earth
</a>
)
</li>
</ul>
</article>
</section>
...
...
test/fixtures/adapters/example/build/pl/categories.json
View file @
71473a20
...
...
@@ -84,9 +84,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -178,9 +191,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/example/build/pl/patternlibrary.json
View file @
71473a20
...
...
@@ -81,9 +81,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -174,9 +187,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -268,9 +294,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/example/build/pl/patterns.json
View file @
71473a20
...
...
@@ -80,9 +80,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/example/build/pl/patterns/atoms/link/index.html
View file @
71473a20
...
...
@@ -310,7 +310,11 @@
<h2
id=
"git-log-"
class=
"docs-heading"
data-magellan-target=
"git-log-"
>
Git-Log:
<a
class=
"docs-heading-icon"
href=
"#git-log-"
></a></h2>
<article>
<h3
id=
"07042018"
>
07/04/2018
</h3>
<ul>
<li>
PATLAB-7 add adapter tests (fa9752f, by
<a
href=
"mailto:me@bjoernbartels.earth"
>
Björn Bartels
</a>
,
<a
href=
"mailto:me@bjoernbartels.earth"
>
me@bjoernbartels.earth
</a>
)
</li>
</ul>
</article>
</section>
...
...
test/fixtures/adapters/examplemissing/build/pl/categories.json
View file @
71473a20
...
...
@@ -80,9 +80,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -170,9 +183,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/examplemissing/build/pl/patternlibrary.json
View file @
71473a20
...
...
@@ -77,9 +77,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -166,9 +179,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -256,9 +282,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/examplemissing/build/pl/patterns.json
View file @
71473a20
...
...
@@ -76,9 +76,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/examplemissing/build/pl/patterns/atoms/link/index.html
View file @
71473a20
...
...
@@ -290,7 +290,11 @@
<h2
id=
"git-log-"
class=
"docs-heading"
data-magellan-target=
"git-log-"
>
Git-Log:
<a
class=
"docs-heading-icon"
href=
"#git-log-"
></a></h2>
<article>
<h3
id=
"07042018"
>
07/04/2018
</h3>
<ul>
<li>
PATLAB-7 add adapter tests (fa9752f, by
<a
href=
"mailto:me@bjoernbartels.earth"
>
Björn Bartels
</a>
,
<a
href=
"mailto:me@bjoernbartels.earth"
>
me@bjoernbartels.earth
</a>
)
</li>
</ul>
</article>
</section>
...
...
test/fixtures/adapters/nochangelog/build/pl/categories.json
View file @
71473a20
...
...
@@ -84,9 +84,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -178,9 +191,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
test/fixtures/adapters/nochangelog/build/pl/patternlibrary.json
View file @
71473a20
...
...
@@ -81,9 +81,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -174,9 +187,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,
"commit"
:
"fa9752f"
,
"hash"
:
"fa9752f0c84ab2d18770a282ff527b37be7c5a94"
,
"body"
:
""
}
]
},
"list"
:
"<h3 id=
\"
07042018
\"
>07/04/2018</h3>
\n
<ul>
\n
<li>PATLAB-7 add adapter tests (fa9752f, by <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a>, <a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</li>
\n
</ul>
\n
"
,
"full"
:
"<h3 id=
\"
sat-7-apr-2018-231733-0200
\"
>Sat, 7 Apr 2018 23:17:33 +0200</h3>
\n
<ul>
\n
<li>
\n
<p>Author: <a href=
\"
mailto:me@bjoernbartels.earth
\"
>Björn Bartels</a> (<a href=
\"
mailto:me@bjoernbartels.earth
\"
>me@bjoernbartels.earth</a>)</p>
\n
<p>Commit: fa9752f0c84ab2d18770a282ff527b37be7c5a94</p>
\n
<p>Message: PATLAB-7 add adapter tests</p>
\n
</li>
\n
</ul>
\n
"
}
}
}
...
...
@@ -268,9 +294,22 @@
"tests"
:
false
,
"gitinfo"
:
{
"log"
:
{
"data"
:
{},
"list"
:
""
,
"full"
:
""
"data"
:
{
"07/04/2018"
:
[
{
"date"
:
"07/04/2018"
,
"timestamp"
:
1523135853
,
"author"
:
"Björn Bartels"
,
"email"
:
"me@bjoernbartels.earth"
,
"message"
:
"PATLAB-7 add adapter tests"
,