Skip to content

Commit

Permalink
Add a commit-only release to test data
Browse files Browse the repository at this point in the history
Beefs up the rendering tests a bit, covering more bases
  • Loading branch information
cookpete committed Jan 2, 2016
1 parent db92947 commit 99927a9
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 5 deletions.
8 changes: 7 additions & 1 deletion test/data/changelog-compact.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ All notable changes to this project will be documented in this file. This projec
Generated by [auto-changelog](https://github.com/CookPete/auto-changelog)
#### [Unreleased](https://github.com/user/repo/compare/v0.0.2...HEAD)
#### [Unreleased](https://github.com/user/repo/compare/v0.1.0...HEAD)
* Unreleased commit [\`#6\`](https://github.com/user/repo/issues/6)
#### [v0.1.0](https://github.com/user/repo/compare/v0.0.2...v0.1.0)
> 29 December 2015
* Commit that fixes nothing [\`12c0624\`](https://github.com/user/repo/commit/12c0624e7e419a70bd5f3b403d7e0bd8f23ec617)
#### [v0.0.2](https://github.com/user/repo/compare/v0.0.1...v0.0.2)
> 28 December 2015
Expand Down
8 changes: 7 additions & 1 deletion test/data/changelog-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ All notable changes to this project will be documented in this file. This projec
Generated by [auto-changelog](https://github.com/CookPete/auto-changelog)
## [Unreleased](https://github.com/user/repo/compare/v0.0.2...HEAD)
## [Unreleased](https://github.com/user/repo/compare/v0.1.0...HEAD)
### Fixed
* Unreleased commit [\`#6\`](https://github.com/user/repo/issues/6)
## [v0.1.0](https://github.com/user/repo/compare/v0.0.2...v0.1.0) - 2015-12-29
### Commits
* Commit that fixes nothing [\`12c0624\`](https://github.com/user/repo/commit/12c0624e7e419a70bd5f3b403d7e0bd8f23ec617)
## [v0.0.2](https://github.com/user/repo/compare/v0.0.1...v0.0.2) - 2015-12-28
### Merged
Expand Down
24 changes: 23 additions & 1 deletion test/data/commits.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,34 @@ export default [{
tag: null,
author: 'Pete Cook',
email: '[email protected]',
date: '2015-12-28T21:57:19+00:00',
date: '2015-12-29T21:57:19+00:00',
subject: 'Unreleased commit',
message: 'Unreleased commit\n\nFixes #6',
files: 5,
insertions: 10,
deletions: 10
}, {
hash: 'db92947e6129cc20cd7777b7ed90b2bd547918c0',
tag: 'v0.1.0',
author: 'Pete Cook',
email: '[email protected]',
date: '2015-12-29T21:19:17+00:00',
subject: '0.1.0',
message: '0.1.0',
files: 2,
insertions: 8,
deletions: 2
}, {
hash: '12c0624e7e419a70bd5f3b403d7e0bd8f23ec617',
tag: null,
author: 'Pete Cook',
email: '[email protected]',
date: '2015-12-29T21:18:19+00:00',
subject: 'Commit that fixes nothing',
message: 'Commit that fixes nothing',
files: 1,
insertions: 2,
deletions: 3
}, {
hash: 'ef17dcc732d282f027aa3bddf8f91cbb05998cc8',
tag: 'v0.0.2',
Expand Down
20 changes: 19 additions & 1 deletion test/data/git-log.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default `===COMMIT_SEPARATOR===b0b304049847d9568585bc11399fa6cfa4cab5dc
HEAD -> master, origin/master
2015-12-28T21:57:19+00:00
2015-12-29T21:57:19+00:00
Pete Cook
[email protected]
Unreleased commit
Expand All @@ -9,6 +9,24 @@ Fixes #6
---MESSAGE_SEPARATOR---
5 files changed, 10 insertions(+), 10 deletions(-)
===COMMIT_SEPARATOR===db92947e6129cc20cd7777b7ed90b2bd547918c0
tag: v0.1.0
2015-12-29T21:19:17+00:00
Pete Cook
[email protected]
0.1.0
---MESSAGE_SEPARATOR---
2 files changed, 8 insertions(+), 2 deletions(-)
===COMMIT_SEPARATOR===12c0624e7e419a70bd5f3b403d7e0bd8f23ec617
2015-12-29T21:18:19+00:00
Pete Cook
[email protected]
Commit that fixes nothing
---MESSAGE_SEPARATOR---
1 files changed, 2 insertions(+), 3 deletions(-)
===COMMIT_SEPARATOR===ef17dcc732d282f027aa3bddf8f91cbb05998cc8
tag: v0.0.2
2015-12-28T21:17:17+00:00
Expand Down
19 changes: 18 additions & 1 deletion test/data/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default [{
tag: null,
author: 'Pete Cook',
email: '[email protected]',
date: '2015-12-28T21:57:19+00:00',
date: '2015-12-29T21:57:19+00:00',
subject: 'Unreleased commit',
message: 'Unreleased commit\n\nFixes #6',
files: 5,
Expand All @@ -16,6 +16,23 @@ export default [{
}
}],
merges: []
}, {
commits: [{
hash: '12c0624e7e419a70bd5f3b403d7e0bd8f23ec617',
tag: null,
author: 'Pete Cook',
email: '[email protected]',
date: '2015-12-29T21:18:19+00:00',
subject: 'Commit that fixes nothing',
message: 'Commit that fixes nothing',
files: 1,
insertions: 2,
deletions: 3
}],
fixes: [],
merges: [],
tag: 'v0.1.0',
date: '2015-12-29T21:19:17+00:00'
}, {
commits: [],
fixes: [{
Expand Down

0 comments on commit 99927a9

Please sign in to comment.