milestoner 18.12.0 → 19.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +85 -71
- data/lib/milestoner/builders/adoc/container.rb +15 -0
- data/lib/milestoner/builders/adoc/dependencies.rb +9 -0
- data/lib/milestoner/builders/adoc/indexer.rb +28 -0
- data/lib/milestoner/builders/adoc/pager.rb +35 -0
- data/lib/milestoner/builders/ascii_doc.rb +10 -18
- data/lib/milestoner/builders/{import.rb → dependencies.rb} +1 -1
- data/lib/milestoner/builders/feed.rb +6 -15
- data/lib/milestoner/builders/markdown.rb +10 -18
- data/lib/milestoner/builders/md/container.rb +15 -0
- data/lib/milestoner/builders/md/dependencies.rb +9 -0
- data/lib/milestoner/builders/md/indexer.rb +28 -0
- data/lib/milestoner/builders/md/pager.rb +35 -0
- data/lib/milestoner/builders/path_resolver.rb +23 -0
- data/lib/milestoner/builders/site/container.rb +16 -0
- data/lib/milestoner/builders/site/dependencies.rb +9 -0
- data/lib/milestoner/builders/site/indexer.rb +33 -0
- data/lib/milestoner/builders/site/pager.rb +35 -0
- data/lib/milestoner/builders/site/styler.rb +47 -0
- data/lib/milestoner/builders/stream.rb +3 -3
- data/lib/milestoner/builders/syndication/builder.rb +125 -0
- data/lib/milestoner/builders/syndication/indexer.rb +29 -0
- data/lib/milestoner/builders/syndication/refine.rb +27 -0
- data/lib/milestoner/builders/syndication/shared.rb +27 -0
- data/lib/milestoner/builders/web.rb +11 -43
- data/lib/milestoner/cli/actions/build/basename.rb +1 -1
- data/lib/milestoner/cli/actions/build/format.rb +1 -1
- data/lib/milestoner/cli/actions/build/index.rb +26 -0
- data/lib/milestoner/cli/actions/build/label.rb +1 -1
- data/lib/milestoner/cli/actions/build/layout.rb +1 -1
- data/lib/milestoner/cli/actions/build/max.rb +1 -1
- data/lib/milestoner/cli/actions/build/output.rb +25 -0
- data/lib/milestoner/cli/actions/build/stylesheet.rb +5 -7
- data/lib/milestoner/cli/actions/build/tail.rb +1 -1
- data/lib/milestoner/cli/actions/build/version.rb +1 -1
- data/lib/milestoner/cli/actions/cache/create.rb +1 -1
- data/lib/milestoner/cli/actions/cache/delete.rb +1 -1
- data/lib/milestoner/cli/actions/cache/find.rb +1 -1
- data/lib/milestoner/cli/actions/cache/info.rb +1 -1
- data/lib/milestoner/cli/actions/cache/list.rb +1 -1
- data/lib/milestoner/cli/actions/next.rb +1 -1
- data/lib/milestoner/cli/actions/publish.rb +1 -1
- data/lib/milestoner/cli/commands/build.rb +4 -5
- data/lib/milestoner/cli/commands/cache.rb +1 -1
- data/lib/milestoner/cli/shell.rb +1 -1
- data/lib/milestoner/commits/categorizer.rb +7 -5
- data/lib/milestoner/commits/collector.rb +1 -1
- data/lib/milestoner/commits/enricher.rb +7 -5
- data/lib/milestoner/commits/enrichers/author.rb +1 -1
- data/lib/milestoner/commits/enrichers/body.rb +1 -1
- data/lib/milestoner/commits/enrichers/colleague.rb +1 -1
- data/lib/milestoner/commits/enrichers/container.rb +2 -2
- data/lib/milestoner/commits/enrichers/{import.rb → dependencies.rb} +1 -1
- data/lib/milestoner/commits/enrichers/format.rb +1 -1
- data/lib/milestoner/commits/enrichers/issue.rb +1 -1
- data/lib/milestoner/commits/enrichers/milestone.rb +1 -1
- data/lib/milestoner/commits/enrichers/note.rb +1 -1
- data/lib/milestoner/commits/enrichers/review.rb +1 -1
- data/lib/milestoner/commits/enrichers/uri.rb +1 -1
- data/lib/milestoner/commits/versioner.rb +1 -1
- data/lib/milestoner/configuration/contract.rb +6 -2
- data/lib/milestoner/configuration/defaults.yml +10 -4
- data/lib/milestoner/configuration/model.rb +5 -1
- data/lib/milestoner/configuration/transformers/gems/description.rb +1 -1
- data/lib/milestoner/configuration/transformers/gems/label.rb +2 -2
- data/lib/milestoner/configuration/transformers/gems/name.rb +1 -1
- data/lib/milestoner/configuration/transformers/gems/uri.rb +1 -1
- data/lib/milestoner/configuration/transformers/generator/label.rb +1 -1
- data/lib/milestoner/configuration/transformers/generator/uri.rb +1 -1
- data/lib/milestoner/configuration/transformers/generator/version.rb +1 -1
- data/lib/milestoner/configuration/transformers/project/author.rb +1 -1
- data/lib/milestoner/container.rb +3 -2
- data/lib/milestoner/{import.rb → dependencies.rb} +1 -1
- data/lib/milestoner/durationer.rb +25 -0
- data/lib/milestoner/models/commit.rb +2 -1
- data/lib/milestoner/renderers/universal.rb +1 -1
- data/lib/milestoner/tags/builder.rb +40 -0
- data/lib/milestoner/tags/creator.rb +7 -9
- data/lib/milestoner/{commits/tagger.rb → tags/enricher.rb} +27 -15
- data/lib/milestoner/tags/publisher.rb +1 -1
- data/lib/milestoner/tags/pusher.rb +1 -1
- data/lib/milestoner/templates/layouts/page.adoc.erb +4 -0
- data/lib/milestoner/templates/layouts/page.git.erb +1 -0
- data/lib/milestoner/templates/layouts/page.html.erb +17 -10
- data/lib/milestoner/templates/layouts/page.md.erb +3 -0
- data/lib/milestoner/templates/layouts/page.stream.erb +2 -1
- data/lib/milestoner/templates/layouts/page.xml.erb +4 -0
- data/lib/milestoner/templates/milestones/_commit.adoc.erb +4 -4
- data/lib/milestoner/templates/milestones/_commit.html.erb +7 -4
- data/lib/milestoner/templates/milestones/_commit.stream.erb +1 -1
- data/lib/milestoner/templates/milestones/_commit.xml.erb +2 -6
- data/lib/milestoner/templates/milestones/_logo.adoc.erb +1 -1
- data/lib/milestoner/templates/milestones/_logo.html.erb +1 -1
- data/lib/milestoner/templates/milestones/index.adoc.erb +13 -0
- data/lib/milestoner/templates/milestones/index.html.erb +31 -0
- data/lib/milestoner/templates/milestones/index.md.erb +13 -0
- data/lib/milestoner/templates/milestones/show.adoc.erb +17 -1
- data/lib/milestoner/templates/milestones/show.git.erb +8 -0
- data/lib/milestoner/templates/milestones/show.html.erb +119 -1
- data/lib/milestoner/templates/milestones/show.md.erb +16 -1
- data/lib/milestoner/templates/milestones/show.stream.erb +17 -1
- data/lib/milestoner/templates/milestones/show.xml.erb +22 -1
- data/lib/milestoner/templates/public/page.css.erb +402 -299
- data/lib/milestoner/views/context.rb +2 -1
- data/lib/milestoner/views/milestones/index.rb +23 -0
- data/lib/milestoner/views/milestones/show.rb +2 -2
- data/lib/milestoner/views/parts/commit.rb +47 -37
- data/lib/milestoner/views/parts/tag.rb +25 -17
- data/lib/milestoner/views/parts/user.rb +1 -1
- data/lib/milestoner.rb +5 -1
- data/milestoner.gemspec +18 -18
- data.tar.gz.sig +0 -0
- metadata +68 -57
- metadata.gz.sig +0 -0
- data/lib/milestoner/cli/actions/build/root.rb +0 -25
- data/lib/milestoner/configuration/transformers/build/root.rb +0 -21
- data/lib/milestoner/syndication/builder.rb +0 -123
- data/lib/milestoner/syndication/refine.rb +0 -25
- data/lib/milestoner/syndication/shared.rb +0 -25
- data/lib/milestoner/templates/milestones/_tag.adoc.erb +0 -13
- data/lib/milestoner/templates/milestones/_tag.html.erb +0 -56
- data/lib/milestoner/templates/milestones/_tag.md.erb +0 -14
- data/lib/milestoner/templates/milestones/_tag.stream.erb +0 -15
- data/lib/milestoner/templates/milestones/_tag.xml.erb +0 -22
@@ -1,56 +0,0 @@
|
|
1
|
-
<article class="milestone">
|
2
|
-
<header class="header">
|
3
|
-
<h1 class="title">
|
4
|
-
<%= scope(:logo).call %>
|
5
|
-
|
6
|
-
<a href="<%= project_uri_home %>" class="label"><%= project_label %></a>
|
7
|
-
|
8
|
-
<% if tag.commits.any? %>
|
9
|
-
<span class="version"><%= tag.version %></span>
|
10
|
-
<% end %>
|
11
|
-
</h1>
|
12
|
-
|
13
|
-
<time datetime="<%= tag.committed_datetime %>" class="date"><%= tag.committed_date %></time>
|
14
|
-
</header>
|
15
|
-
|
16
|
-
<% if tag.empty? %>
|
17
|
-
<p class="dormant"></p>
|
18
|
-
<% else %>
|
19
|
-
<section class="body" x-data="{open: false}">
|
20
|
-
<div class="overview">
|
21
|
-
<div class="owner">
|
22
|
-
<%= render :user, user: tag.author %>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
<%= scope(:tag_signature, tag:).call %>
|
26
|
-
|
27
|
-
<div class="actions">
|
28
|
-
<button class="button toggle" x-on:click="open = true">Expand</button>
|
29
|
-
<button class="button toggle" x-on:click="open = false">Collapse</button>
|
30
|
-
</div>
|
31
|
-
</div>
|
32
|
-
|
33
|
-
<div class="columns">
|
34
|
-
<span class="label">Commit</span>
|
35
|
-
<span class="label">Author</span>
|
36
|
-
<span class="label">Files</span>
|
37
|
-
<span class="label">Lines</span>
|
38
|
-
<span class="label">Issue</span>
|
39
|
-
<span class="label">Review</span>
|
40
|
-
</div>
|
41
|
-
|
42
|
-
<% tag.commits.each do |commit| %>
|
43
|
-
<%= commit.render :commit %>
|
44
|
-
<% end %>
|
45
|
-
</section>
|
46
|
-
<% end %>
|
47
|
-
|
48
|
-
<footer class="footer">
|
49
|
-
<p class="totals">
|
50
|
-
<span class="commits"><%= tag.total_commits %>.</span>
|
51
|
-
<span class="files"><%= tag.total_files %>.</span>
|
52
|
-
<span class="deletions"><%= tag.total_deletions %>.</span>
|
53
|
-
<span class="insertions"><%= tag.total_insertions %>.</span>
|
54
|
-
</p>
|
55
|
-
</footer>
|
56
|
-
</article>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<%= scope(:logo).call %>
|
2
|
-
|
3
|
-
<% if tag.empty? %>
|
4
|
-
# [<%= project_label %>](<%= project_uri_home %>) (<%= tag.committed_date %>)
|
5
|
-
|
6
|
-
**<%= tag.total_commits %>. <%= tag.total_files %>. <%= tag.total_deletions %>. <%= tag.total_insertions %>.**
|
7
|
-
<% else %>
|
8
|
-
# [<%= project_label %>](<%= project_uri_home %>) <%= tag.version %> (<%= tag.committed_date %>)
|
9
|
-
<%= render :user, user: tag.author %> | <%= tag.security %>
|
10
|
-
|
11
|
-
<% tag.commits.each do |commit| %><%= commit.render :commit %><% end %>
|
12
|
-
|
13
|
-
**<%= tag.total_commits %>. <%= tag.total_files %>. <%= tag.total_deletions %>. <%= tag.total_insertions %>.**
|
14
|
-
<% end %>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<% if tag.empty? %>
|
2
|
-
<%= project_label %> (<%= tag.committed_date %>)
|
3
|
-
|
4
|
-
<%= tag.total_commits %>. <%= tag.total_files %>. <%= tag.total_deletions %>. <%= tag.total_insertions %>.
|
5
|
-
<% else %>
|
6
|
-
<%= project_label %> <%= tag.version %> (<%= tag.committed_date %>)
|
7
|
-
<% if tag.version != project_version %>
|
8
|
-
|
9
|
-
<%= tag.author.name %> | <%= tag.security %>
|
10
|
-
<% end %>
|
11
|
-
|
12
|
-
<% tag.commits.each do |commit| %><%= commit.render :commit %><% end %>
|
13
|
-
|
14
|
-
<%= tag.total_commits %>. <%= tag.total_files %>. <%= tag.total_deletions %>. <%= tag.total_insertions %>.
|
15
|
-
<% end %>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<section>
|
2
|
-
<%= scope(:logo).call %>
|
3
|
-
|
4
|
-
<% unless tag.empty? %>
|
5
|
-
<p style="display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;">
|
6
|
-
<%= render :user, user: tag.author %> | <%= tag.security %>
|
7
|
-
</p>
|
8
|
-
|
9
|
-
<% tag.commits.each do |commit| %>
|
10
|
-
<%= commit.render :commit %>
|
11
|
-
<% end %>
|
12
|
-
<% end %>
|
13
|
-
|
14
|
-
<p>
|
15
|
-
<strong>
|
16
|
-
<span><%= tag.total_commits %>.</span>
|
17
|
-
<span><%= tag.total_files %>.</span>
|
18
|
-
<span><%= tag.total_deletions %>.</span>
|
19
|
-
<span><%= tag.total_insertions %>.</span>
|
20
|
-
</strong>
|
21
|
-
</p>
|
22
|
-
</section>
|