fit-commit 3.8.3 → 3.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/fit_commit/runner.rb +1 -1
- data/lib/fit_commit/version.rb +1 -1
- data/test/integration/new_repo_test.rb +1 -1
- data/test/unit/runner_test.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d208481fa7e6d24b87d13377174a9bf8cd24cb9216be8419af43de28fc95a743
|
4
|
+
data.tar.gz: 9bd15f6e38177245dc717eb8e47765b97802c67c4767ad520af784c32e1d22fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f77e6d5d22b3e5f5ccb77da1cb6e6dc0a7806ca47ae515866ce113fd0296ed6d9d90eaffea727bcb8139bdc062f89b4aa2ce1319df321c10db15e670a4806c92
|
7
|
+
data.tar.gz: 1fa6486fddcc4dde6553955f28fa25379225198667e1f574a1c571c842ff5d31b254fd889202cf9ae6bf20621dcadf770966738ccc93a9d392eb4e1ac6006feb
|
data/README.md
CHANGED
data/lib/fit_commit/runner.rb
CHANGED
data/lib/fit_commit/version.rb
CHANGED
@@ -14,7 +14,7 @@ describe "Install and run in a fresh Git repo" do
|
|
14
14
|
Dir.mktmpdir do |gitdir|
|
15
15
|
PTY.spawn(shell_commands(gitdir)) do |pty_out, _pty_in, _pty_pid|
|
16
16
|
if user_input
|
17
|
-
pty_out.expect(/
|
17
|
+
pty_out.expect(/Commit anyway\?/, 3) do |expect_out|
|
18
18
|
output << Array(expect_out).join
|
19
19
|
user_input
|
20
20
|
end
|
data/test/unit/runner_test.rb
CHANGED
@@ -74,7 +74,7 @@ describe FitCommit::Runner do
|
|
74
74
|
assert_match(/\A2: Error: /, stderr_lines[5])
|
75
75
|
if interactive
|
76
76
|
assert_empty stderr_lines[6]
|
77
|
-
assert_match(/\
|
77
|
+
assert_match(/\ACommit anyway\? \[y\/n\/e\] /, stderr_lines[7])
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fit-commit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.8.
|
4
|
+
version: 3.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Foley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: swearjar
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
rubygems_version: 3.
|
133
|
+
rubygems_version: 3.4.13
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: A Git hook to validate your commit messages
|