gfsm 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70aaff4098b16dd514bf52ca1ae4991702935d45dbc32d8049d3eb73f6268aab
4
- data.tar.gz: e72643fcbcac5675f2ad65b0a2af8b9034c289fa923c1da1ce24fcb09629a2d5
3
+ metadata.gz: 609b6aa36f5d40d22494c91916c704c41917d3aa04974a07b625fa606d66242c
4
+ data.tar.gz: d93219bb8abccaf7a4cbeb0fb098ba4f9913d9e6903fb2b47b28504fa80cf256
5
5
  SHA512:
6
- metadata.gz: 1aed0209eb39ccda368a53e7660d5a722e40753fddadfd046e10ecbdf5bd5695de4e54af07fc77c24945090ed978a6c400870b291579c59152854e6cdc6c4d1a
7
- data.tar.gz: f2953fecd33c22b9cfafaff19ec94cd56b9c8d77fe7f26058979410dd3e30c8ce396330f8d6657d564682dcfe1448a04b0a3627e23b9950db5ab542575304a5c
6
+ metadata.gz: 6ce084d2804499c1a61412bd291a8dc987bd9e8a04a0826c68a9f0b0d9210cf028c79e76686e5eacab490c72cf1700cf2d18fc69ad5d091997cb71559b545f3b
7
+ data.tar.gz: b127e98c31c81acee6892904785991c08ec8c8a478b0a607bc7498f0f2f5b2c2e831632007409da7da4aca9cacff468c27be77d4742c5d7745aaee2fac238fcc
data/.version CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
data/Dockerfile CHANGED
@@ -1,5 +1,6 @@
1
1
  FROM ruby:3.2.4-alpine3.20
2
2
 
3
+ RUN apk add git
3
4
  RUN gem install gfsm
4
5
 
5
6
  COPY ./gfsmrc.yml ./gfsmrc.yml
@@ -26,7 +26,7 @@ module GFSM
26
26
  Environment variables:
27
27
  OUTPUT_FILE # Equivalent to --output-file
28
28
  NO_INCREMENTAL # Equivalent to --no-incremental
29
- ONLY_ENTRIES # Equivalent to --only-new-entries
29
+ ONLY_NEW_ENTRIES # Equivalent to --only-new-entries
30
30
  #{cli_info[:environment_variables]}
31
31
  HELP
32
32
  end
@@ -15,14 +15,13 @@ module GFSM
15
15
  begin
16
16
  repo.fetch(nil, {tags: true})
17
17
  repo.describe(nil, {tags: true, abbrev: 0})
18
- rescue => error
19
- GFSM::Output.error(error.message)
18
+ rescue
20
19
  end
21
20
  end
22
21
 
23
22
  def self.extract_commits_with_changelog_trailer(repo, from, to = "HEAD")
24
23
  begin
25
- commits = repo.log.between(from, to)
24
+ commits = from.nil? ? repo.log : repo.log.between(from, to)
26
25
  commits.each_with_object([]) do |commit, memo|
27
26
  trailer = commit.message.match(CHANGELOG_TRAILER_REGEX)
28
27
  memo << GFSM::Data::Commit.new(commit, trailer[:name], trailer[:category]) if trailer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gfsm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zille Marco