eac_ruby_utils 0.56.1 → 0.56.2

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
  SHA256:
3
- metadata.gz: 2c07518f84851a310f039de5bb30de575649d8d4b2b089284165bf72a71f4dab
4
- data.tar.gz: 18b2be4e3d6243e34086b266f32f84713544d3ca3bfb76aaef7e08560a89dfd0
3
+ metadata.gz: 0b3d020bb7af10057a1e59b06dab3c2373b2b08f41d5bfd5b04ef8447c5aae61
4
+ data.tar.gz: 8125f0827f51e15f174df22b8a55e56646a322e013749fca184025ada77233e5
5
5
  SHA512:
6
- metadata.gz: d8a71000fdee630a9811dc77cc2ccbd8eca51d6365af93f7c3f44b17d5983daa1b5afa4a5701f0a35a1aaa9b1e7009a880a827d4523f3ad9ea7bb8f1484e04b3
7
- data.tar.gz: a50db86faa6769219a1abafb43d23e392a6f0e13f77f93851c4fbfb22e250df25f143a408a6a3f169eb978a71339ee467075a7b1d0acf921c3b6720ee011ef66
6
+ metadata.gz: c084da333de3de3542c1a0d7ed961d22ecc10d21d98b5d3941f0bbbf6a867232a5384da17b8387b2095698932ce141d4614787d2f5181b4653f3b11f387e45a3
7
+ data.tar.gz: 63eb2bdfb9f522195acb9ac712d1fefb6dfdc1c84f0da6c2b4dcf3eaef10a4aa41f4d6ff426ba019552d021b2ee762cef940c1d839cd1a61a55328aa54f6e7ed
@@ -38,7 +38,7 @@ module EacRubyUtils
38
38
  def run_with_subcommand
39
39
  if subcommand_name
40
40
  check_valid_subcommand
41
- subcommand.run
41
+ subcommand_run
42
42
  else
43
43
  run_without_subcommand
44
44
  end
@@ -52,6 +52,15 @@ module EacRubyUtils
52
52
  )
53
53
  end
54
54
 
55
+ def subcommand_run
56
+ if !subcommand.is_a?(::EacRubyUtils::Console::DocoptRunner) &&
57
+ subcommand.respond_to?(:run_run)
58
+ subcommand.run_run
59
+ else
60
+ subcommand.run
61
+ end
62
+ end
63
+
55
64
  def target_doc
56
65
  super.gsub(SUBCOMMANDS_MACRO,
57
66
  "#{target_doc_subcommand_arg} [#{SUBCOMMAND_ARGS_ARG}...]") +
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRubyUtils
4
- VERSION = '0.56.1'
4
+ VERSION = '0.56.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.1
4
+ version: 0.56.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-27 00:00:00.000000000 Z
11
+ date: 2020-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport