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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df282f5ee34b3c0470ecfda368b8e4cdab62f0af1c11c9736bff1e5bfa579889
4
- data.tar.gz: 93d726e9021c0b916ccea759a0af99aa23f692ae8463ca3d731216c65ba4406a
3
+ metadata.gz: d208481fa7e6d24b87d13377174a9bf8cd24cb9216be8419af43de28fc95a743
4
+ data.tar.gz: 9bd15f6e38177245dc717eb8e47765b97802c67c4767ad520af784c32e1d22fb
5
5
  SHA512:
6
- metadata.gz: 97c4c3ff3edbdbc56e9e6b5f5bb73ea8ddf99ffce4dc17744f0a25f01f277c02eea184e435bd8bad4636aec9efd65851d81cb4a63d2960bd079d022ac027bfe4
7
- data.tar.gz: 352773141ef5ed5d0c16e9d466810bf30de4a999e3d7f748833fcbf8a4bd545f44740597a0a41ec31de3c5fe65d422c95136b68b2232ddcf86c48215c1cddabd
6
+ metadata.gz: f77e6d5d22b3e5f5ccb77da1cb6e6dc0a7806ca47ae515866ce113fd0296ed6d9d90eaffea727bcb8139bdc062f89b4aa2ce1319df321c10db15e670a4806c92
7
+ data.tar.gz: 1fa6486fddcc4dde6553955f28fa25379225198667e1f574a1c571c842ff5d31b254fd889202cf9ae6bf20621dcadf770966738ccc93a9d392eb4e1ac6006feb
data/README.md CHANGED
@@ -14,7 +14,7 @@ foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar
14
14
  2: Error: Second line must be blank.
15
15
  3: Error: Lines should be <= 72 chars. (76)
16
16
 
17
- Force commit? [y/n/e] ▊
17
+ Commit anyway? [y/n/e] ▊
18
18
  ```
19
19
 
20
20
  ## Prerequisites
@@ -52,7 +52,7 @@ module FitCommit
52
52
 
53
53
  def ask_force_commit
54
54
  return unless interactive?
55
- stderr.print "\nForce commit? [y/n/e] "
55
+ stderr.print "\nCommit anyway? [y/n/e] "
56
56
  input = stdin.gets
57
57
  fail StartOverOnEditException if input =~ /e/i
58
58
  input =~ /y/i
@@ -1,3 +1,3 @@
1
1
  module FitCommit
2
- VERSION = "3.8.3"
2
+ VERSION = "3.8.4"
3
3
  end
@@ -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(/Force commit\?/, 3) do |expect_out|
17
+ pty_out.expect(/Commit anyway\?/, 3) do |expect_out|
18
18
  output << Array(expect_out).join
19
19
  user_input
20
20
  end
@@ -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(/\AForce commit\? \[y\/n\/e\] /, stderr_lines[7])
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.3
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: 2021-08-26 00:00:00.000000000 Z
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.1.4
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