conventional_commits 0.2.18 → 0.2.19
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/commit/commit_message_parser.rb +1 -0
- data/lib/conventional_commits/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29882b64a2dd213339f93a2e0f12b0e8f2ceee3b37751a2815b4d664fa7f61e8
|
4
|
+
data.tar.gz: 192b9ce6f39d5aafd247684fa227c095dbe894a55714652f2cc1e8d1131b9a07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f06f2e3cf15cc2c44abb72903de5f32c5519d1f69a7a4dcba669c374577211e52ca394e74ec60d81177ea5538d1f1f971b04d04d93dc2891875007ce144bb2d0
|
7
|
+
data.tar.gz: 34e793ef79a91cdd1e1f3837c8f2e912f86f2549ba1ebe9d9d935d5cebdccea1d613c17eb58508c3e66cd975741ac3a12ac088d81c8ef38a5ddbb54d94b745b7
|
data/Gemfile.lock
CHANGED
@@ -5,6 +5,7 @@ module ConventionalCommits
|
|
5
5
|
def message_components(commit_msg_path: Configuration::DEFAULT_COMMIT_MSG_PATH,
|
6
6
|
cfg_path: Configuration::DEFAULT_CONFIGURATION_PATH)
|
7
7
|
raise GenericError, "Commit Message File is not created" unless File.exist?(commit_msg_path)
|
8
|
+
return if commit_msg_path != Configuration::DEFAULT_COMMIT_MSG_PATH
|
8
9
|
|
9
10
|
data = File.read_file(commit_msg_path)
|
10
11
|
message_components_from_string(commit_msg: data.to_s, cfg_path:)
|