changelog.js in angularjs-rails-resource-1.0.1 vs changelog.js in angularjs-rails-resource-1.0.2
- old
+ new
@@ -140,11 +140,11 @@
var writeChangelog = function(stream, commits, version) {
var sections = {
fix: {},
feat: {},
perf: {},
- deprecates: {},
+ deprecate: {},
breaks: {}
};
sections.breaks[EMPTY_COMPONENT] = [];
@@ -153,18 +153,9 @@
var component = commit.component || EMPTY_COMPONENT;
if (section) {
section[component] = section[component] || [];
section[component].push(commit);
- }
-
- if (commit.deprecates) {
- sections.deprecates[component] = sections.deprecates[component] || [];
- commit.deprecates.forEach(function (deprecation) {
- sections.deprecates[component].push({
- subject: deprecation
- });
- });
}
if (commit.breaking) {
sections.breaks[component] = sections.breaks[component] || [];
sections.breaks[component].push({
\ No newline at end of file