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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb59c8dd8e5d52763773a9a53ccc33a1b4986ed7
4
- data.tar.gz: 246cb45ef47a4f77e4dc24ef18c3adc824075bf9
3
+ metadata.gz: 0872555343a9157e7d2b06333eb2965366de6c42
4
+ data.tar.gz: 115c0d4cb09484f15f885c02180646dacb94e00c
5
5
  SHA512:
6
- metadata.gz: 5cd0c0d67d1eebfbe38ace9b7d7f769af567d6becd2c981489413fa2e66ceb12b4338abe5379951d67a120575af0bb86a42762176d14cebb655c5f20e9c7a64d
7
- data.tar.gz: 7a7c003885b3dff14836482a71b065be8cfb6c36687cb9327204898132847b1ca19ab9a58f9505f07338ac0122fc41d620af7876adaab0e797cced33c68746d9
6
+ metadata.gz: c6cc995fa3a43833a0c898ca47fbcca74d44118384458f7669156c96c4f980c1ceca8442a3d873b276cfaab8a99693642c6afdc47043af87e54b03735854d135
7
+ data.tar.gz: 4ff7da0c1223e67c080f28913a8f6e35805c473f3a518eca389becc06074defbe78df31c7567015a1c8db7919194518289b8e2e9a9bcaef686fa1561cecd9130
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ### v3.2.0 (2015-10-03)
4
+ - Add option to re-open text editor
5
+
3
6
  ### v3.1.0 (2015-09-27)
4
7
  - Allow execution from scripts and GUI clients
5
8
 
@@ -1,3 +1,3 @@
1
1
  module FitCommit
2
- VERSION = "3.2.0"
2
+ VERSION = "3.2.1"
3
3
  end
@@ -26,11 +26,15 @@ if [ -z "$GIT_BRANCH_NAME" ]; then
26
26
  exit 0
27
27
  fi
28
28
 
29
- if which rvm > /dev/null 2>&1
30
- then cmd="rvm default do ruby"
31
- elif which rbenv > /dev/null 2>&1
32
- then cmd="rbenv exec ruby"
33
- else cmd="ruby"
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.0
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-03 00:00:00.000000000 Z
11
+ date: 2015-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: swearjar