wo 0.0.4 → 0.0.5

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: 0a4903aeb3556a4a39b772d58b0a3401083c1b48
4
- data.tar.gz: 3050914554eb92bf7f29d395a204f25852b0cbe5
3
+ metadata.gz: 8b1dc42e07aecc3adbc1b33a5c0aeecb69b0297b
4
+ data.tar.gz: 9424a151e903f617387caa6fd163339d568394b9
5
5
  SHA512:
6
- metadata.gz: 3b3b1fa5081f28db5bcb199f1bedb4d9c11ab7f6fa913c41260cf8c926da0e022daf9a637be0dc33d61e4d4c7f38d2baa05f88a87ae1687ee1da03e0dc819372
7
- data.tar.gz: 1d7e4e5856821819b8a054350dfca3cce41f8d26e3b7d5a59ebb5fa881abb965b6f018e8ae6915a03ccb6c4744b3f57cfc86b80972432b37b269c8a649382480
6
+ metadata.gz: dab03a5d2e48a600a54dd3028286dcdb785fe4584488a0dd788e5fe84af31023541cd21ea857f0a60dc14b75a29571cfac5b0e9337e7d680bf64ba84242fbea7
7
+ data.tar.gz: eb689a8e435efd19fb15eff19a6a0c919795e5c8d08a49130e496ff604eed26d524e9e88a017f6444a4a8cddccde84341464b498e418e49670197268d7cf9869
@@ -7,7 +7,11 @@ _wo_hook() {
7
7
  repo_path=`git rev-parse --show-toplevel 2>&1`
8
8
 
9
9
  if [[ "$?" == 0 ]] ; then
10
- token=`cat ${repo_path}/.wo 2>&1`
10
+ if [[ ${WO_FILE_PATH} != "" ]] ; then
11
+ wo_file=`cat ${WO_FILE_PATH}/.wo 2>&1`
12
+ else
13
+ wo_file=`cat ${repo_path}/.wo 2>&1`
14
+ fi
11
15
 
12
16
  if [[ "$?" == 0 ]] ; then
13
17
  repo=`basename ${repo_path}`
@@ -1,6 +1,6 @@
1
1
  module WO
2
2
  MAJOR = 0
3
3
  MINOR = 0
4
- PATCH = 4
4
+ PATCH = 5
5
5
  VERSION = [MAJOR, MINOR, PATCH].join('.').freeze
6
6
  end
@@ -10,7 +10,11 @@ _wo_hook() {
10
10
  repo_path=`git rev-parse --show-toplevel 2>&1`
11
11
 
12
12
  if [[ "$?" == 0 ]] ; then
13
- token=`cat ${repo_path}/.wo 2>&1`
13
+ if [[ ${WO_FILE_PATH} != "" ]] ; then
14
+ wo_file=`cat ${WO_FILE_PATH}/.wo 2>&1`
15
+ else
16
+ wo_file=`cat ${repo_path}/.wo 2>&1`
17
+ fi
14
18
 
15
19
  if [[ "$?" == 0 ]] ; then
16
20
  repo=`basename ${repo_path}`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro Saito