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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 343540acbeacfef7c91c9ea3fd6cf28f155ec3e10d404ef73268c1c8bc8392ed
4
- data.tar.gz: e8da9f720588d0a272473874ed92960a27836bd053c758d221caf976d9cb3a91
3
+ metadata.gz: 29882b64a2dd213339f93a2e0f12b0e8f2ceee3b37751a2815b4d664fa7f61e8
4
+ data.tar.gz: 192b9ce6f39d5aafd247684fa227c095dbe894a55714652f2cc1e8d1131b9a07
5
5
  SHA512:
6
- metadata.gz: 6b42bdc63a57697ff35fe2809cb40034ffaacb7e292c5d0e2570eeac2f7df1ac9552bccb8b393cda6c59c4e65d296ecb3c4a6dbe4180c59e6dca1274934f58d2
7
- data.tar.gz: fca2cdac29bbe59951617d9b3bae3aead7a9768e2a5a6d95cfb4582df286640e4455e9cbb1074f73c52c94279ebc4bf0cc5ab93a3f3cbabfc1ea9bfb9c08ca4c
6
+ metadata.gz: f06f2e3cf15cc2c44abb72903de5f32c5519d1f69a7a4dcba669c374577211e52ca394e74ec60d81177ea5538d1f1f971b04d04d93dc2891875007ce144bb2d0
7
+ data.tar.gz: 34e793ef79a91cdd1e1f3837c8f2e912f86f2549ba1ebe9d9d935d5cebdccea1d613c17eb58508c3e66cd975741ac3a12ac088d81c8ef38a5ddbb54d94b745b7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- conventional_commits (0.2.17)
4
+ conventional_commits (0.2.18)
5
5
  open3
6
6
  thor
7
7
  yaml
@@ -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:)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ConventionalCommits
4
- VERSION = "0.2.18"
4
+ VERSION = "0.2.19"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conventional_commits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.18
4
+ version: 0.2.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swift-Gurus