falkorlib 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/falkorlib/git/flow.rb +6 -2
- data/lib/falkorlib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9b404c839460258d645d6580a49eae8122160bd
|
4
|
+
data.tar.gz: 7cd74d12527425828956f7dd5095a7a1f98109a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79fd46a2a4f45b6ad45f42e30d61c17b46be2ee3ad8063078617bd2bbfca8288290266e66115faa35b09ce63de9a4fd78548be4cbb24660329ac5ee17ab9d0c8
|
7
|
+
data.tar.gz: e8035107f9a3796ceb1770698cea8ea24ca0b42ea801495bf754ce12223bc86e42c5c96edfbbea93fb0ca904947b409a2064fad5e0a001285cc1b38ccac6f638
|
data/Gemfile.lock
CHANGED
data/lib/falkorlib/git/flow.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
################################################################################
|
3
|
-
# Time-stamp: <
|
3
|
+
# Time-stamp: <Wed 2016-02-03 00:10 svarrette>
|
4
4
|
################################################################################
|
5
5
|
# Management of Git Flow operations
|
6
6
|
|
@@ -68,7 +68,11 @@ module FalkorLib
|
|
68
68
|
# :develop [string] Branch name for development commits
|
69
69
|
def init(path = Dir.pwd, options = {})
|
70
70
|
exit_status = FalkorLib::Git.init(path, options)
|
71
|
-
|
71
|
+
unless command?('git-flow')
|
72
|
+
# Check (mainly for Linux) if the command is not available under `/usr/lib/git-core`
|
73
|
+
git_lib = '/usr/lib/git-core/'
|
74
|
+
error "you shall install git-flow: see https://github.com/nvie/gitflow/wiki/Installation" unless File.exist?(File.join(git_lib, 'git-flow'))
|
75
|
+
end
|
72
76
|
remotes = FalkorLib::Git.remotes(path)
|
73
77
|
git_root_dir = FalkorLib::Git.rootdir( path )
|
74
78
|
Dir.chdir( git_root_dir ) do
|
data/lib/falkorlib/version.rb
CHANGED