eac_cli 0.15.1 → 0.16.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9c71ba3fe820b38f1035645aeaf566d8f157d7dd5fb8333e8dbe7699ae0a7bd
4
- data.tar.gz: f7c73dc103dda6e0de304e82ec7e0502fdc3d14b0280b04609827b4dff0ad48d
3
+ metadata.gz: 901db493185f12775a163c9d1b017b32e520a62d48952eead7d6fef94a0dde64
4
+ data.tar.gz: 474e78827b8ddd3b91f94a65fc250a9aaa36caece0377de75206c344cac06318
5
5
  SHA512:
6
- metadata.gz: a3d3011de5128efe2c9064f3d732a3ef82f55db3d0e03d69f313894e3f859b209860953063175b590f47f2504b6c687d8e0dd25b3599d239797e77c97e01a6af
7
- data.tar.gz: 1b3dbc452801a7a3ce0324b4d28d90d9c2349fe01841d029594afc5fa027cd2403f583595773a55567f82264601540bae8e9bb64725d77035343083f77e8617e
6
+ metadata.gz: f5594e5963d7e093ee29ceb4214e5d42deac0b59ca449d64dcbc06c2998806bf1011fdf592dfe395ad8269caca8b0b3d79656ab2d8f47a93594833b211406a01
7
+ data.tar.gz: 89345d413dbd1c7cd52f1fa4ae08c20a2276f307e7c557e94ddf66dbbbbe14f967f0ec7570ac14e40921679702f1b5a7a97c31e69dc1b718e81727f2c4eab97c
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacCli
4
- VERSION = '0.15.1'
4
+ VERSION = '0.16.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.16.0
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: 2021-02-21 00:00:00.000000000 Z
11
+ date: 2021-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eac_ruby_utils
@@ -87,7 +87,6 @@ files:
87
87
  - lib/eac_cli/runner/instance_methods.rb
88
88
  - lib/eac_cli/runner_with.rb
89
89
  - lib/eac_cli/runner_with/help.rb
90
- - lib/eac_cli/runner_with/output_file.rb
91
90
  - lib/eac_cli/runner_with/subcommands.rb
92
91
  - lib/eac_cli/runner_with_set.rb
93
92
  - lib/eac_cli/version.rb
@@ -1,30 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'eac_cli/runner'
4
- require 'eac_ruby_utils/core_ext'
5
- require 'eac_ruby_utils/abstract_methods'
6
-
7
- module EacCli
8
- module RunnerWith
9
- module OutputFile
10
- common_concern do
11
- include ::EacCli::Runner
12
- include ::EacRubyUtils::AbstractMethods
13
-
14
- abstract_methods :output_content
15
-
16
- runner_definition do
17
- arg_opt '-o', '--output-file', 'Output to file.'
18
- end
19
- end
20
-
21
- def run_output
22
- if parsed.output_file.present?
23
- ::File.write(parsed.output_file, output_content)
24
- else
25
- $stdout.write(output_content)
26
- end
27
- end
28
- end
29
- end
30
- end