milestoner 17.9.0 → 17.11.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/lib/milestoner/commits/enrichers/issue.rb +4 -2
- data/lib/milestoner/commits/versioner.rb +8 -1
- data/lib/milestoner/templates/layouts/page.html.erb +5 -4
- data/lib/milestoner/templates/milestones/_commit.html.erb +2 -11
- data/lib/milestoner/templates/public/page.css.erb +4 -4
- data/milestoner.gemspec +3 -3
- data.tar.gz.sig +0 -0
- metadata +7 -7
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1255acd044e29091a00367789d4195504041d78cdcb3af87476706515573557
|
4
|
+
data.tar.gz: 4a86d410450bc65f58c7d3adcfb26dc9bf9cf85a8ee750b529975a5293c3af47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65e1f365abd930edc196776f5845461b0ea109afd096215e029bb5caed4e166827c9271ee092404675fc8bcdb00171ad160287e11884b09363eeaa53a3d5d724
|
7
|
+
data.tar.gz: 67cb01e24f0eecbe9f7fba9d4257e12f7acbd4d8e4c9fe100853b71549a5ff26acbdecb12030228b6143c865f678c93a5d63946413cdc835e1feff141e326035
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -14,9 +14,11 @@ module Milestoner
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def call commit
|
17
|
+
uri = input.tracker_uri
|
18
|
+
|
17
19
|
commit.trailer_value_for(key)
|
18
|
-
.
|
19
|
-
|
20
|
+
.either -> value { model[id: value, uri: format(uri, id: value)] },
|
21
|
+
proc { model[id: "All", uri: format(uri, id: nil)] }
|
20
22
|
end
|
21
23
|
|
22
24
|
private
|
@@ -8,7 +8,7 @@ module Milestoner
|
|
8
8
|
module Commits
|
9
9
|
# Calculates next version based on commit trailer version keys.
|
10
10
|
class Versioner
|
11
|
-
include Import[:git]
|
11
|
+
include Import[:git, :logger]
|
12
12
|
include Dry::Monads[:result]
|
13
13
|
|
14
14
|
using Versionaire::Cast
|
@@ -37,6 +37,13 @@ module Milestoner
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def bump milestones
|
40
|
+
last_tag_or_fallback_for milestones
|
41
|
+
rescue Versionaire::Error => error
|
42
|
+
logger.debug { error.message }
|
43
|
+
Failure error
|
44
|
+
end
|
45
|
+
|
46
|
+
def last_tag_or_fallback_for milestones
|
40
47
|
target = fallback.members.intersection(milestones).first
|
41
48
|
git.tag_last.fmap { |tag| target ? Version(tag).bump(target) : fallback }
|
42
49
|
end
|
@@ -12,15 +12,16 @@
|
|
12
12
|
|
13
13
|
<link title="<%= project_label %>: Favorite Icon"
|
14
14
|
rel="icon"
|
15
|
-
href="https://alchemists.io/images/projects/milestoner/
|
15
|
+
href="https://alchemists.io/images/projects/milestoner/favicon.ico"
|
16
16
|
sizes="32x32">
|
17
17
|
<link title="<%= project_label %>: Apple Icon"
|
18
18
|
rel="apple-touch-icon"
|
19
|
-
href="https://alchemists.io/images/projects/milestoner/
|
20
|
-
type="image/png"
|
19
|
+
href="https://alchemists.io/images/projects/milestoner/logo.png"
|
20
|
+
type="image/png"
|
21
|
+
sizes="200x200">
|
21
22
|
<link title="<%= project_label %>: Stylesheet" rel="stylesheet" href="page.css" type="text/css">
|
22
23
|
|
23
|
-
<script src="https://unpkg.com/alpinejs@3.
|
24
|
+
<script src="https://unpkg.com/alpinejs@3.14" defer></script>
|
24
25
|
</head>
|
25
26
|
|
26
27
|
<body>
|
@@ -17,17 +17,8 @@
|
|
17
17
|
<span class="insertions"><%= commit.total_insertions %></span>
|
18
18
|
</span>
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
<% else %>
|
23
|
-
<span class="issue">-</span>
|
24
|
-
<% end %>
|
25
|
-
|
26
|
-
<% if commit.review.id %>
|
27
|
-
<a href="<%= commit.review.uri %>" class="review"><%= commit.review.id %></a>
|
28
|
-
<% else %>
|
29
|
-
<span class="review">-</span>
|
30
|
-
<% end %>
|
20
|
+
<a href="<%= commit.issue.uri %>" class="issue"><%= commit.issue.id %></a>
|
21
|
+
<a href="<%= commit.review.uri %>" class="review"><%= commit.review.id %></a>
|
31
22
|
</summary>
|
32
23
|
|
33
24
|
<div class="details">
|
@@ -14,10 +14,10 @@
|
|
14
14
|
--color-grey: hsl(240, 7%, 97%);
|
15
15
|
--color-sea: hsl(210, 24%, 15%);
|
16
16
|
--color-ice: hsl(216, 100%, 98%);
|
17
|
-
--color-major: hsl(
|
18
|
-
--color-minor: hsl(
|
17
|
+
--color-major: hsl(7, 79%, 32%);
|
18
|
+
--color-minor: hsl(221, 79%, 32%);
|
19
19
|
--color-orange: hsl(24.8, 100%, 50.2%);
|
20
|
-
--color-patch: hsl(
|
20
|
+
--color-patch: hsl(156, 79%, 32%);
|
21
21
|
--color-powder: hsl(0, 0%, 98%);
|
22
22
|
--color-red: hsl(0, 100%, 50%);
|
23
23
|
--color-slate: hsl(211, 23%, 41%);
|
@@ -206,7 +206,7 @@
|
|
206
206
|
|
207
207
|
.patch {
|
208
208
|
background-color: var(--color-patch);
|
209
|
-
color: var(--color-
|
209
|
+
color: var(--color-white);
|
210
210
|
}
|
211
211
|
|
212
212
|
.rebase {
|
data/milestoner.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "milestoner"
|
5
|
-
spec.version = "17.
|
5
|
+
spec.version = "17.11.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/milestoner"
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.required_ruby_version = "~> 3.3"
|
26
26
|
spec.add_dependency "asciidoctor", "~> 2.0"
|
27
27
|
spec.add_dependency "cff", "~> 1.1"
|
28
|
-
spec.add_dependency "cogger", "~> 0.
|
28
|
+
spec.add_dependency "cogger", "~> 0.21"
|
29
29
|
spec.add_dependency "containable", "~> 0.0"
|
30
30
|
spec.add_dependency "core", "~> 1.3"
|
31
31
|
spec.add_dependency "dry-monads", "~> 1.6"
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_dependency "infusible", "~> 3.5"
|
37
37
|
spec.add_dependency "lode", "~> 1.4"
|
38
38
|
spec.add_dependency "redcarpet", "~> 3.6"
|
39
|
-
spec.add_dependency "refinements", "~> 12.
|
39
|
+
spec.add_dependency "refinements", "~> 12.5"
|
40
40
|
spec.add_dependency "runcom", "~> 11.0"
|
41
41
|
spec.add_dependency "sanitize", "~> 6.1"
|
42
42
|
spec.add_dependency "sod", "~> 0.8"
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: milestoner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 17.
|
4
|
+
version: 17.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2024-
|
38
|
+
date: 2024-07-02 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: asciidoctor
|
@@ -71,14 +71,14 @@ dependencies:
|
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0.
|
74
|
+
version: '0.21'
|
75
75
|
type: :runtime
|
76
76
|
prerelease: false
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0.
|
81
|
+
version: '0.21'
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: containable
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
@@ -225,14 +225,14 @@ dependencies:
|
|
225
225
|
requirements:
|
226
226
|
- - "~>"
|
227
227
|
- !ruby/object:Gem::Version
|
228
|
-
version: '12.
|
228
|
+
version: '12.5'
|
229
229
|
type: :runtime
|
230
230
|
prerelease: false
|
231
231
|
version_requirements: !ruby/object:Gem::Requirement
|
232
232
|
requirements:
|
233
233
|
- - "~>"
|
234
234
|
- !ruby/object:Gem::Version
|
235
|
-
version: '12.
|
235
|
+
version: '12.5'
|
236
236
|
- !ruby/object:Gem::Dependency
|
237
237
|
name: runcom
|
238
238
|
requirement: !ruby/object:Gem::Requirement
|
@@ -449,7 +449,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
449
449
|
- !ruby/object:Gem::Version
|
450
450
|
version: '0'
|
451
451
|
requirements: []
|
452
|
-
rubygems_version: 3.5.
|
452
|
+
rubygems_version: 3.5.14
|
453
453
|
signing_key:
|
454
454
|
specification_version: 4
|
455
455
|
summary: A command line interface for automated Git repository milestones.
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
6�
|
2
|
-
|
1
|
+
���A#��@J�y�(6塏��q�M��P�a_�{8
|
2
|
+
ON���QDƹ�����b�[��)�ر�g�z�cs
|
3
|
+
M��`�����qc�t�+('����&9�������6�9XM��ػ5*��7G�q^�f#
|