hu 1.3.14 → 1.3.15
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/.rubocop_todo.yml +9 -2
- data/lib/hu/deploy.rb +6 -4
- data/lib/hu/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: f206706e97dfcffb6c50fd34b3cc64b9d9f0818f
|
4
|
+
data.tar.gz: 2e8d214e887cfc97f290e9200179ef540a618ff0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaee4fdfd3501ac1b9722f7ea47116dd5672a89c793eef7f74b509c65579f7d83e2efc2eff0d51934e119d8e5801eeb943adcad791f41f380e668e977b322525
|
7
|
+
data.tar.gz: c67a6edd450f1def4b6877b5393fd05b70616f4be705823d6cad92255e688462adb9ae4a37215faa32cfabe2d6aff9117b0567d9d56730684700f1b79f14937e
|
data/.rubocop_todo.yml
CHANGED
@@ -5,7 +5,7 @@ Metrics/AbcSize:
|
|
5
5
|
# Offense count: 2
|
6
6
|
# Configuration parameters: CountComments.
|
7
7
|
Metrics/ClassLength:
|
8
|
-
Max:
|
8
|
+
Max: 657
|
9
9
|
|
10
10
|
# Offense count: 6
|
11
11
|
Metrics/CyclomaticComplexity:
|
@@ -20,7 +20,7 @@ Metrics/LineLength:
|
|
20
20
|
# Offense count: 14
|
21
21
|
# Configuration parameters: CountComments.
|
22
22
|
Metrics/MethodLength:
|
23
|
-
Max:
|
23
|
+
Max: 232
|
24
24
|
|
25
25
|
# Offense count: 4
|
26
26
|
Metrics/PerceivedComplexity:
|
@@ -54,3 +54,10 @@ Style/GlobalVars:
|
|
54
54
|
Style/Semicolon:
|
55
55
|
Exclude:
|
56
56
|
- 'lib/hu/deploy.rb'
|
57
|
+
|
58
|
+
# Offense count: 1
|
59
|
+
# Cop supports --auto-correct.
|
60
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
61
|
+
# SupportedStyles: use_perl_names, use_english_names
|
62
|
+
Style/SpecialGlobalVars:
|
63
|
+
Enabled: false
|
data/lib/hu/deploy.rb
CHANGED
@@ -277,7 +277,8 @@ module Hu
|
|
277
277
|
puts
|
278
278
|
exit 1
|
279
279
|
end
|
280
|
-
ENV['EDITOR'] =
|
280
|
+
ENV['EDITOR'] = old_editor
|
281
|
+
ENV['GIT_EDITOR'] = old_git_editor
|
281
282
|
anykey
|
282
283
|
when :push_to_staging
|
283
284
|
run_each <<-EOS.strip_heredoc
|
@@ -488,9 +489,10 @@ module Hu
|
|
488
489
|
@minispin_last_char = Time.now
|
489
490
|
end
|
490
491
|
end
|
491
|
-
rescue
|
492
|
-
|
493
|
-
|
492
|
+
rescue Errno::EIO
|
493
|
+
# Linux raises EIO on EOF, cf.
|
494
|
+
# https://github.com/ruby/ruby/blob/57fb2199059cb55b632d093c2e64c8a3c60acfbb/ext/pty/pty.c#L519
|
495
|
+
nil
|
494
496
|
end
|
495
497
|
|
496
498
|
_pid, status = Process.wait2(pid)
|
data/lib/hu/version.rb
CHANGED