milestoner 18.1.0 → 18.2.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/cli/actions/build/basename.rb +1 -1
- data/lib/milestoner/cli/actions/build/format.rb +1 -1
- data/lib/milestoner/cli/actions/build/label.rb +1 -1
- data/lib/milestoner/cli/actions/build/layout.rb +2 -10
- data/lib/milestoner/cli/actions/build/max.rb +1 -1
- data/lib/milestoner/cli/actions/build/root.rb +1 -1
- data/lib/milestoner/cli/actions/build/stylesheet.rb +2 -10
- data/lib/milestoner/cli/actions/build/tail.rb +1 -1
- data/lib/milestoner/cli/actions/build/version.rb +2 -2
- data/lib/milestoner/cli/actions/publish.rb +2 -2
- data/lib/milestoner/tags/creator.rb +5 -1
- data/milestoner.gemspec +2 -2
- data.tar.gz.sig +0 -0
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fcc6f3ede7fdff901296a42d3df49c74122288784e6ec31269581d66281cd34
|
4
|
+
data.tar.gz: 996593d578f7d4cddd5cc57a15c4c0babc996cca92fb9c92ce3b25fdda0e547c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38714a95ec74eaf9121877b8f9590db3517f7034ec83781c9be719b57b077423fc434004dd01490782abdaba75d2613d3c9f39e4bcf12834cdcbe5485766b2c7
|
7
|
+
data.tar.gz: 0ec2e026f3ffedcfba5f19c84218431c0e6faa04b54ffbdf748d17d6a2c69135e5a2f5ed7bb6368d1183be3746640b4fa50f31d3e97813e08044428c6410f66b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -18,16 +18,8 @@ module Milestoner
|
|
18
18
|
|
19
19
|
default { Container[:settings].build_layout }
|
20
20
|
|
21
|
-
def call
|
22
|
-
|
23
|
-
private
|
24
|
-
|
25
|
-
def parse value
|
26
|
-
case value
|
27
|
-
in "false" then false
|
28
|
-
in String then value
|
29
|
-
else default
|
30
|
-
end
|
21
|
+
def call layout = default
|
22
|
+
settings.build_layout = layout == "false" ? false : layout
|
31
23
|
end
|
32
24
|
end
|
33
25
|
end
|
@@ -18,16 +18,8 @@ module Milestoner
|
|
18
18
|
|
19
19
|
default { Container[:settings].build_stylesheet }
|
20
20
|
|
21
|
-
def call
|
22
|
-
|
23
|
-
private
|
24
|
-
|
25
|
-
def parse value
|
26
|
-
case value
|
27
|
-
in "false" then false
|
28
|
-
in String then value
|
29
|
-
else default
|
30
|
-
end
|
21
|
+
def call name = default
|
22
|
+
settings.build_stylesheet = name == "false" ? false : name
|
31
23
|
end
|
32
24
|
end
|
33
25
|
end
|
@@ -21,8 +21,8 @@ module Milestoner
|
|
21
21
|
|
22
22
|
default { Container[:settings].project_version }
|
23
23
|
|
24
|
-
def call version =
|
25
|
-
settings.project_version = Version
|
24
|
+
def call version = default
|
25
|
+
settings.project_version = Version version
|
26
26
|
rescue Versionaire::Error => error
|
27
27
|
logger.error { error.message }
|
28
28
|
end
|
@@ -27,10 +27,10 @@ module Milestoner
|
|
27
27
|
@publisher = publisher
|
28
28
|
end
|
29
29
|
|
30
|
-
def call version =
|
30
|
+
def call version = default
|
31
31
|
settings.build_max = 1
|
32
32
|
|
33
|
-
case publisher.call Version(version
|
33
|
+
case publisher.call Version(version)
|
34
34
|
in Success(version) then version
|
35
35
|
in Failure(message) then log_error message
|
36
36
|
else log_error "Publish failed, unable to parse result."
|
@@ -10,7 +10,11 @@ module Milestoner
|
|
10
10
|
include Import[:git, :logger]
|
11
11
|
include Dry::Monads[:result]
|
12
12
|
|
13
|
-
def initialize(
|
13
|
+
def initialize(
|
14
|
+
collector: Commits::Collector.new,
|
15
|
+
builder: Builders::Stream.new(io: StringIO.new),
|
16
|
+
**
|
17
|
+
)
|
14
18
|
@collector = collector
|
15
19
|
@builder = builder
|
16
20
|
super(**)
|
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 = "18.
|
5
|
+
spec.version = "18.2.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/milestoner"
|
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
|
|
40
40
|
spec.add_dependency "rss", "~> 0.3"
|
41
41
|
spec.add_dependency "runcom", "~> 11.5"
|
42
42
|
spec.add_dependency "sanitize", "~> 6.1"
|
43
|
-
spec.add_dependency "sod", "~> 0.
|
43
|
+
spec.add_dependency "sod", "~> 0.14"
|
44
44
|
spec.add_dependency "spek", "~> 3.0"
|
45
45
|
spec.add_dependency "versionaire", "~> 13.0"
|
46
46
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
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: 18.
|
4
|
+
version: 18.2.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-08-11 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: asciidoctor
|
@@ -281,14 +281,14 @@ dependencies:
|
|
281
281
|
requirements:
|
282
282
|
- - "~>"
|
283
283
|
- !ruby/object:Gem::Version
|
284
|
-
version: '0.
|
284
|
+
version: '0.14'
|
285
285
|
type: :runtime
|
286
286
|
prerelease: false
|
287
287
|
version_requirements: !ruby/object:Gem::Requirement
|
288
288
|
requirements:
|
289
289
|
- - "~>"
|
290
290
|
- !ruby/object:Gem::Version
|
291
|
-
version: '0.
|
291
|
+
version: '0.14'
|
292
292
|
- !ruby/object:Gem::Dependency
|
293
293
|
name: spek
|
294
294
|
requirement: !ruby/object:Gem::Requirement
|
@@ -485,7 +485,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
485
485
|
- !ruby/object:Gem::Version
|
486
486
|
version: '0'
|
487
487
|
requirements: []
|
488
|
-
rubygems_version: 3.5.
|
488
|
+
rubygems_version: 3.5.17
|
489
489
|
signing_key:
|
490
490
|
specification_version: 4
|
491
491
|
summary: A command line interface for automated Git repository milestones.
|
metadata.gz.sig
CHANGED
Binary file
|