falkorlib 0.6.3 → 0.6.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
  SHA1:
3
- metadata.gz: c9e0eb5fd65a5039b1923814b0b4597880ee8b20
4
- data.tar.gz: 87597d8eaae0504c3184a10fbdc4a2d614f5480c
3
+ metadata.gz: b9b404c839460258d645d6580a49eae8122160bd
4
+ data.tar.gz: 7cd74d12527425828956f7dd5095a7a1f98109a9
5
5
  SHA512:
6
- metadata.gz: 184338250d748f654598b7e403bc92bab50d2355371152cff4cea403ac0ac1408e88a60a7841391a8e7c40479a85f0d9c1c2234472c4630d4154b2c58d50efae
7
- data.tar.gz: c6125c2a0e552aa040ca1286828501e1859ac365986ce063ea6783b8bb8fbad62e2432681a71b87a916cabb98c58f09d9b1fd5887f68a2581c6556afb49327c7
6
+ metadata.gz: 79fd46a2a4f45b6ad45f42e30d61c17b46be2ee3ad8063078617bd2bbfca8288290266e66115faa35b09ce63de9a4fd78548be4cbb24660329ac5ee17ab9d0c8
7
+ data.tar.gz: e8035107f9a3796ceb1770698cea8ea24ca0b42ea801495bf754ce12223bc86e42c5c96edfbbea93fb0ca904947b409a2064fad5e0a001285cc1b38ccac6f638
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- falkorlib (0.6.3)
4
+ falkorlib (0.6.4)
5
5
  artii (>= 2.1)
6
6
  awesome_print (~> 1.2)
7
7
  configatron (~> 3.2)
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  ################################################################################
3
- # Time-stamp: <Jeu 2015-01-22 22:51 svarrette>
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
- error "you shall install git-flow: see https://github.com/nvie/gitflow/wiki/Installation" unless command?('git-flow')
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
@@ -19,7 +19,7 @@ module FalkorLib #:nodoc:
19
19
  # MAJOR: Defines the major version
20
20
  # MINOR: Defines the minor version
21
21
  # PATCH: Defines the patch version
22
- MAJOR, MINOR, PATCH = 0, 6, 3
22
+ MAJOR, MINOR, PATCH = 0, 6, 4
23
23
 
24
24
  module_function
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falkorlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Varrette