sem_ver_components 0.3.0 → 0.4.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72577453f3f198a1077b377172b4bae4dd4b5e1d1fb1e7efec8a245dbbc7e4c6
|
4
|
+
data.tar.gz: 1bbf082446984beba657e8a61e13f86ff4552cfef9839fb08825f79d85c28b2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6926db9c139379d0e3edcaab657d8be0d0c6565c2f8708e398b79fb569ea98c2ee40163b81ae90945fd0a62c12ce2ec2f119541d47c212a7d1da465d3a000a6c
|
7
|
+
data.tar.gz: 79e9b5d3668eccb6ddf91f900101398a1619e662e3454e933aa2751a9c8ce3a4755065e77c8d5b59fb4c964d45b2ce26a48474c73d98c6d214762ba2ccfaa404
|
@@ -47,10 +47,14 @@ module SemVerComponents
|
|
47
47
|
# If we are dealing with a merge commit, consider the components' bump levels of the merged commits
|
48
48
|
if merge_commits.key?(git_commit_sha)
|
49
49
|
merge_commits[git_commit_sha].each do |merged_commit_sha|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
50
|
+
merged_commit_info = commits_info.find { |search_commit_info| search_commit_info[:commit].sha == merged_commit_sha }
|
51
|
+
# If the merged commit is not part of the list of commits, it means that the merge commit was not rebased on the previous release tag.
|
52
|
+
# In this case we can have some merged commits that are already part of the previous release.
|
53
|
+
# So we can ignore them.
|
54
|
+
unless merged_commit_info.nil?
|
55
|
+
components_bump_levels = components_bump_levels.merge(merged_commit_info[:components_bump_levels]) do |component, bump_level_1, bump_level_2|
|
56
|
+
[bump_level_1, bump_level_2].max
|
57
|
+
end
|
54
58
|
end
|
55
59
|
end
|
56
60
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sem_ver_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Muriel Salvan
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-21 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: git
|
@@ -16,28 +15,28 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
18
|
+
version: '3.0'
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
25
|
+
version: '3.0'
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: rspec
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
32
|
+
version: '3.13'
|
34
33
|
type: :development
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
39
|
+
version: '3.13'
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: sem_ver_components
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,7 +76,6 @@ homepage: https://github.com/Muriel-Salvan/sem_ver_components
|
|
77
76
|
licenses:
|
78
77
|
- BSD-3-Clause
|
79
78
|
metadata: {}
|
80
|
-
post_install_message:
|
81
79
|
rdoc_options: []
|
82
80
|
require_paths:
|
83
81
|
- lib
|
@@ -92,8 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
90
|
- !ruby/object:Gem::Version
|
93
91
|
version: '0'
|
94
92
|
requirements: []
|
95
|
-
rubygems_version: 3.
|
96
|
-
signing_key:
|
93
|
+
rubygems_version: 3.6.7
|
97
94
|
specification_version: 4
|
98
95
|
summary: Apply semantic versioning to various components of a same package
|
99
96
|
test_files: []
|