fit-commit 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/fit_commit/version.rb +1 -1
- data/templates/hooks/commit-msg +9 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0872555343a9157e7d2b06333eb2965366de6c42
|
4
|
+
data.tar.gz: 115c0d4cb09484f15f885c02180646dacb94e00c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6cc995fa3a43833a0c898ca47fbcca74d44118384458f7669156c96c4f980c1ceca8442a3d873b276cfaab8a99693642c6afdc47043af87e54b03735854d135
|
7
|
+
data.tar.gz: 4ff7da0c1223e67c080f28913a8f6e35805c473f3a518eca389becc06074defbe78df31c7567015a1c8db7919194518289b8e2e9a9bcaef686fa1561cecd9130
|
data/CHANGELOG.md
CHANGED
data/lib/fit_commit/version.rb
CHANGED
data/templates/hooks/commit-msg
CHANGED
@@ -26,11 +26,15 @@ if [ -z "$GIT_BRANCH_NAME" ]; then
|
|
26
26
|
exit 0
|
27
27
|
fi
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
# find appropriate Ruby command
|
30
|
+
if which rbenv > /dev/null 2>&1; then
|
31
|
+
cmd="rbenv exec ruby"
|
32
|
+
elif which ruby-rvm-env > /dev/null 2>&1; then
|
33
|
+
cmd="ruby-rvm-env"
|
34
|
+
elif which rvm > /dev/null 2>&1; then
|
35
|
+
cmd="rvm default do ruby"
|
36
|
+
else
|
37
|
+
cmd="ruby"
|
34
38
|
fi
|
35
39
|
|
36
40
|
# allow user input if running in a terminal
|
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.2.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Foley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: swearjar
|