hu 1.4.4 → 1.4.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hu/deploy.rb +8 -9
  3. data/lib/hu/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab85216f272433e54ed07a51cbfcb16b3af59b65
4
- data.tar.gz: 13d3ade3dfd5f3ce55b98d55630fa603f15157d2
3
+ metadata.gz: 18e775c77f7d19ab5e74106a959e66501a07fe2e
4
+ data.tar.gz: f932f71d40cb73f3d4fb56d670cb9f59dc5fabb1
5
5
  SHA512:
6
- metadata.gz: 70526faca386e04a0207e6f80096c6a193f3ad38e5fd2ab911e70b8f138e3be6c311a1823f4318f354077bf60026b5f30b9267a8fa005f18cc47eeb5603f45b2
7
- data.tar.gz: f3734f5b47903fc965efc705545032357c706e48b78215e3482c68adb013eca7c8acdd6d74ccb7cc5b1b08f275dac4a28de71d8ab0bf9344266da2cbc8688294
6
+ metadata.gz: 2d0703430c613c7ff7c262c333166142d87104fb4c0c0159138f68566687c955e370452463b4b8264ee4761b50dd61cadedc97fe4ece644f3fd8528561710e36
7
+ data.tar.gz: ee1dfe8714cead387e25e7b7d3f8cdbebc3f6ab91b102bfebfc33db40dc1474d1b614c6edac82be10d74f510a8441e2ee84fb32f4d575b48d9a22f0c8f1ad2c3
@@ -31,7 +31,7 @@ module Hu
31
31
  @@spinner = nil
32
32
  @@home_branch = nil
33
33
 
34
- MINIMUM_GIT_VERSION = Versionomy.parse('2.9.0')
34
+ #MINIMUM_GIT_VERSION = Versionomy.parse('2.9.0')
35
35
 
36
36
  text 'Interactive deployment.'
37
37
  desc 'Interactive deployment'
@@ -66,7 +66,6 @@ module Hu
66
66
  puts "Git error: #{e}".color(:red)
67
67
  puts 'You need to be inside the working copy of the app that you wish to deploy.'.color(:red)
68
68
  puts
69
- print TTY::Cursor.prev_line
70
69
  Hu::Tm.t(:error_not_in_working_copy, cmd: 'deploy')
71
70
  exit 1
72
71
  end
@@ -447,10 +446,10 @@ module Hu
447
446
  table << r
448
447
  end
449
448
 
450
- git_version_warning = ''
451
- if current_git_version < MINIMUM_GIT_VERSION
452
- git_version_warning = " (your git is outdated. please upgrade to v#{MINIMUM_GIT_VERSION}!)".color(:black).bright
453
- end
449
+ #git_version_warning = ''
450
+ #if current_git_version < MINIMUM_GIT_VERSION
451
+ # git_version_warning = " (your git is outdated. please upgrade to v#{MINIMUM_GIT_VERSION}!)".color(:black).bright
452
+ #end
454
453
 
455
454
  puts "\e[H\e[2J" if clear
456
455
  puts " PIPELINE #{pipeline_name} ".inverse+git_version_warning
@@ -882,9 +881,9 @@ module Hu
882
881
  @git.head.name.sub(/^refs\/heads\//, '')
883
882
  end
884
883
 
885
- def current_git_version
886
- Versionomy.parse(`git --version`.chomp.split(' ')[-1])
887
- end
884
+ #def current_git_version
885
+ # Versionomy.parse(`git --version`.chomp.split(' ')[-1])
886
+ #end
888
887
 
889
888
  def create_changelog(env)
890
889
  if File.executable? '.hu/hooks/changelog'
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Hu
3
- VERSION = '1.4.4'
3
+ VERSION = '1.4.5'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - moe