conventional_commits 0.2.12 → 0.2.14

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: a9ab16f4e19f81fb99361b17dbf88ee8bd4a0f79c0f33eaf0753a719f0cc631a
4
- data.tar.gz: 23164a3fb0e438c505dc57585da73891adf545ac6e5022bd8fc5a16b2a537621
3
+ metadata.gz: 70c33309671e6ba5bc0041652ab0b2fbd69db9db4323b92aee572aa7b7111883
4
+ data.tar.gz: 96cc3b6a10d994a67c91364c6c68514270a4d8650ab0c62457564fbee5df6324
5
5
  SHA512:
6
- metadata.gz: 368e3c84ae495829a836b6e29ee2d33a2a126bb8983f71253025b3018ebc35e5b2518b3531eb07526a582a9b89824465f44f94c5fa99f5eb5b933d05dcb88151
7
- data.tar.gz: 0e8a2f533808468507d6a3fead67129b972f2d90ef416fc4cbbd2bd31fac57a5ed78cfdd7ed46ce80f73208c7f66b9a4a247cbc1d16927431d8ce23eb71b62bf
6
+ metadata.gz: 0b4c15d408def561c8904fafa019981505308b26bb290bd28fb36b2905176b66743c1f3d5c410f70f594d5b67b7c5397c754fdb60c91b7b98bceb375ad5a69a1
7
+ data.tar.gz: 6d4fe48827fbfcd57ba6c44680236b9697da12ebcf60198223ee5d89c5a9c9809406b3e01f7d45cd4d706c0743b7c758650df7180db36298d0050dcce642dc4c
@@ -0,0 +1,8 @@
1
+ - id: Branch Validation
2
+ name: validate_branch
3
+ description: "Validation of branch"
4
+ entry: "conventional_commits validate_branch_name"
5
+ language: ruby
6
+ language_version: 3.2.2
7
+ always_run: true
8
+ pass_filenames: false
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- conventional_commits (0.2.7)
4
+ conventional_commits (0.2.13)
5
5
  open3
6
6
  thor
7
7
  yaml
@@ -99,10 +99,11 @@ GEM
99
99
  ffi (~> 1.1)
100
100
  thor (1.3.1)
101
101
  unicode-display_width (2.5.0)
102
- yaml (0.3.0)
102
+ yaml (0.4.0)
103
103
 
104
104
  PLATFORMS
105
105
  arm64-darwin-23
106
+ arm64-darwin-24
106
107
 
107
108
  DEPENDENCIES
108
109
  aruba
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ConventionalCommits
4
- VERSION = "0.2.12"
4
+ VERSION = "0.2.14"
5
5
  end
@@ -16,4 +16,8 @@ module ConventionalCommits
16
16
  def self.get_branch_components(branch_name)
17
17
  BranchNameGenerator.new.branch_name_components(branch_name)
18
18
  end
19
+
20
+ def self.get_configuration()
21
+ Configuration::MainConfigurationReader.new.get_configuration
22
+ end
19
23
  end
@@ -73,7 +73,7 @@ module ConventionalCommits
73
73
  end
74
74
 
75
75
  def prepare_commit_cli
76
- "prepare_commit_msg --msg_path $1"
76
+ "prepare_commit_msg --msg_path $1 --source $2"
77
77
  end
78
78
 
79
79
  def validate_commit_msg
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conventional_commits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swift-Gurus
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-25 00:00:00.000000000 Z
11
+ date: 2025-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open3
@@ -102,6 +102,7 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".conventional_commits/config.yml"
105
+ - ".pre-commit-hooks.yaml"
105
106
  - ".rspec"
106
107
  - ".rubocop.yml"
107
108
  - Gemfile