hammer_cli 0.18.0 → 0.18.1

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 (158) hide show
  1. checksums.yaml +4 -4
  2. data/doc/release_notes.md +3 -0
  3. data/lib/hammer_cli/abstract.rb +5 -2
  4. data/lib/hammer_cli/apipie/command.rb +3 -1
  5. data/lib/hammer_cli/options/normalizers.rb +10 -1
  6. data/lib/hammer_cli/version.rb +1 -1
  7. data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
  8. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  9. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  10. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  11. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  12. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  13. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  14. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  15. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  16. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  17. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  18. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  19. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  20. data/man/hammer.1.gz +0 -0
  21. metadata +68 -342
  22. data/test/reports/TEST-Fields-ContainerField-display-.xml +0 -7
  23. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +0 -15
  24. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +0 -15
  25. data/test/reports/TEST-Fields-ContainerField.xml +0 -7
  26. data/test/reports/TEST-Fields-Field-display-.xml +0 -7
  27. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +0 -11
  28. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +0 -11
  29. data/test/reports/TEST-Fields-Field-hide-blank-.xml +0 -11
  30. data/test/reports/TEST-Fields-Field-parameters.xml +0 -9
  31. data/test/reports/TEST-Fields-Field.xml +0 -13
  32. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +0 -15
  33. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +0 -13
  34. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +0 -21
  35. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +0 -11
  36. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +0 -11
  37. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +0 -19
  38. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +0 -11
  39. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +0 -13
  40. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +0 -11
  41. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +0 -7
  42. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +0 -11
  43. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +0 -11
  44. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +0 -9
  45. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +0 -19
  46. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +0 -9
  47. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +0 -13
  48. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +0 -15
  49. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +0 -11
  50. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +0 -9
  51. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +0 -11
  52. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +0 -15
  53. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +0 -7
  54. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +0 -29
  55. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +0 -17
  56. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +0 -19
  57. data/test/reports/TEST-HammerCLI-Completer.xml +0 -7
  58. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +0 -25
  59. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +0 -29
  60. data/test/reports/TEST-HammerCLI-CompleterLine.xml +0 -7
  61. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +0 -23
  62. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +0 -15
  63. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +0 -13
  64. data/test/reports/TEST-HammerCLI-CompleterWord.xml +0 -7
  65. data/test/reports/TEST-HammerCLI-Connection.xml +0 -21
  66. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +0 -21
  67. data/test/reports/TEST-HammerCLI-I18n.xml +0 -11
  68. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +0 -11
  69. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +0 -11
  70. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +0 -9
  71. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +0 -7
  72. data/test/reports/TEST-HammerCLI-MainCommand.xml +0 -7
  73. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +0 -13
  74. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +0 -13
  75. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +0 -13
  76. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +0 -15
  77. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +0 -7
  78. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +0 -9
  79. data/test/reports/TEST-HammerCLI-Modules-names.xml +0 -13
  80. data/test/reports/TEST-HammerCLI-Modules.xml +0 -7
  81. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +0 -7
  82. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +0 -11
  83. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +0 -9
  84. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +0 -31
  85. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +0 -17
  86. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +0 -15
  87. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +0 -21
  88. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +0 -15
  89. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +0 -17
  90. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +0 -15
  91. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +0 -7
  92. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +0 -9
  93. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +0 -11
  94. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +0 -7
  95. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +0 -15
  96. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +0 -11
  97. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +0 -15
  98. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +0 -17
  99. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +0 -9
  100. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +0 -27
  101. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +0 -7
  102. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +0 -11
  103. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +0 -13
  104. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +0 -11
  105. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +0 -11
  106. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +0 -11
  107. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +0 -11
  108. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +0 -7
  109. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +0 -15
  110. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +0 -11
  111. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +0 -11
  112. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +0 -9
  113. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +0 -11
  114. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +0 -7
  115. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +0 -11
  116. data/test/reports/TEST-HammerCLI-Output-Definition.xml +0 -11
  117. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +0 -13
  118. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +0 -11
  119. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +0 -15
  120. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +0 -13
  121. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +0 -13
  122. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +0 -9
  123. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +0 -13
  124. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +0 -11
  125. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +0 -9
  126. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +0 -11
  127. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +0 -13
  128. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +0 -13
  129. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +0 -11
  130. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +0 -13
  131. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +0 -13
  132. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +0 -13
  133. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +0 -17
  134. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +0 -15
  135. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +0 -9
  136. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +0 -19
  137. data/test/reports/TEST-HammerCLI-Output-Output.xml +0 -7
  138. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +0 -13
  139. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +0 -15
  140. data/test/reports/TEST-HammerCLI-Settings.xml +0 -25
  141. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +0 -11
  142. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +0 -15
  143. data/test/reports/TEST-HammerCLI-ShellHistory.xml +0 -7
  144. data/test/reports/TEST-MiniTest-Spec.xml +0 -7
  145. data/test/reports/TEST-String-camelize.xml +0 -11
  146. data/test/reports/TEST-String-formatting.xml +0 -17
  147. data/test/reports/TEST-String-indent.xml +0 -11
  148. data/test/reports/TEST-String-interactive-.xml +0 -13
  149. data/test/reports/TEST-String.xml +0 -7
  150. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +0 -13
  151. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +0 -7
  152. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +0 -13
  153. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +0 -7
  154. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +0 -9
  155. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +0 -13
  156. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +0 -13
  157. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +0 -7
  158. data/test/reports/TEST-constraints.xml +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb040c3f40863eea4ec0c05ac2d1ffc597b3ca9499470bda6ecc18ff66bcfad2
4
- data.tar.gz: acb3307c3d9fcda2903ae19f026f1b4767950562c1507cb02afc2e433a4094c0
3
+ metadata.gz: d9220eb335ba2042ecc85e93719288e69ad5d2a72e38064d6751f0c3d616a653
4
+ data.tar.gz: c094be038bcd4b5d0bf40471b17e3d5fb9bdb77ec0b8732823be3fd5254a1dca
5
5
  SHA512:
6
- metadata.gz: 89d7b3eb46518f18b718cef888205a1a62f03a079bd1e8600aae8217b99f882aa18a7fcc3a7787ab727c05a0a8ddc15690bcfc81ab8e19b2a7cb01c1f5034ac8
7
- data.tar.gz: bbbd9bc7fb32e52edfe4451c98c534330d577380074ca3095f00d7666f72e8879fc9efaffd0a141ee86daf006db78cce878e304af21eae50c555a5075da4d0a4
6
+ metadata.gz: 9aab1c7d0ad045be9e220266ca5115b6675beffb5fa3d78ffbdbfa72034080287c42008a2d1a81a66a9ab5ac01d5b46e979903679821e73d54806b7deefd9f90
7
+ data.tar.gz: be143c72f569e96b42dd4ba5ea11fad61169d4b4730b3d31f38ba36e225e241f5f884405c84df4ee279cfd6d62111c35d8b80ac441f396e1906c3166a5dbd171
data/doc/release_notes.md CHANGED
@@ -1,5 +1,8 @@
1
1
  Release notes
2
2
  =============
3
+ ### 0.18.1 (2019-10-31)
4
+ * Allow schema building for custom options ([PR #316](https://github.com/theforeman/hammer-cli/pull/316)), [#27899](http://projects.theforeman.org/issues/27899)
5
+
3
6
  ### 0.18.0 (2019-08-01)
4
7
  * Unsure minimal label length ([PR #310](https://github.com/theforeman/hammer-cli/pull/310)) ([#26960](http://projects.theforeman.org/issues/26960))
5
8
  * The --fields option has set help ([PR #308](https://github.com/theforeman/hammer-cli/pull/308)) ([#26960](http://projects.theforeman.org/issues/26960))
@@ -47,7 +47,8 @@ module HammerCLI
47
47
  rescue ArgumentError
48
48
  option_details = HammerCLI::Help::Section.new(_('Option details'), nil, id: :s_option_details, richtext: true)
49
49
  option_details.definition << HammerCLI::Help::Text.new(
50
- _('Following parameters accept format defined by its schema (bold are required):')
50
+ _('Following parameters accept format defined by its schema ' \
51
+ '(bold are required; <> contain acceptable type; [] contain acceptable value):')
51
52
  )
52
53
  h.definition.unshift(option_details)
53
54
  ensure
@@ -309,11 +310,13 @@ module HammerCLI
309
310
  end
310
311
 
311
312
  def self.option(switches, type, description, opts = {}, &block)
312
- HammerCLI::Options::OptionDefinition.new(switches, type, description, opts).tap do |option|
313
+ option = HammerCLI::Options::OptionDefinition.new(switches, type, description, opts).tap do |option|
313
314
  declared_options << option
314
315
  block ||= option.default_conversion_block
315
316
  define_accessors_for(option, &block)
316
317
  end
318
+ extend_options_help(option) if option.value_formatter.is_a?(HammerCLI::Options::Normalizers::ListNested)
319
+ option
317
320
  end
318
321
 
319
322
  def all_options
@@ -82,11 +82,13 @@ module HammerCLI::Apipie
82
82
  end
83
83
 
84
84
  def self.option(switches, type, description, opts = {}, &block)
85
- HammerCLI::Apipie::OptionDefinition.new(switches, type, description, opts).tap do |option|
85
+ option = HammerCLI::Apipie::OptionDefinition.new(switches, type, description, opts).tap do |option|
86
86
  declared_options << option
87
87
  block ||= option.default_conversion_block
88
88
  define_accessors_for(option, &block)
89
89
  end
90
+ extend_options_help(option) if option.value_formatter.is_a?(HammerCLI::Options::Normalizers::ListNested)
91
+ option
90
92
  end
91
93
 
92
94
  private
@@ -115,7 +115,16 @@ module HammerCLI
115
115
  '"' + reduce([]) do |schema, nested_param|
116
116
  name = nested_param.name
117
117
  name = HighLine.color(name, :bold) if nested_param.required?
118
- schema << "#{name}=#{nested_param.expected_type}"
118
+ values = nested_param.validator.scan(/<[^>]+>[\w]+<\/?[^>]+>/)
119
+ value_pattern = if values.empty?
120
+ "<#{nested_param.expected_type.downcase}>"
121
+ else
122
+ values = values.map do |value|
123
+ value.gsub(/(<\/?[^>]+>)*([\.,]*)*/, '')
124
+ end
125
+ "[#{values.join('|')}]"
126
+ end
127
+ schema << "#{name}=#{value_pattern}"
119
128
  end.join('\,').concat(', ... "')
120
129
  end
121
130
  end
@@ -1,5 +1,5 @@
1
1
  module HammerCLI
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.18.0'
3
+ @version ||= Gem::Version.new "0.18.1"
4
4
  end
5
5
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/man/hammer.1.gz CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bačovský
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-08-01 00:00:00.000000000 Z
12
+ date: 2019-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp
@@ -151,27 +151,27 @@ executables:
151
151
  - hammer
152
152
  extensions: []
153
153
  extra_rdoc_files:
154
+ - doc/commands_extension.md
155
+ - doc/commands_modification.md
156
+ - doc/creating_apipie_commands.md
154
157
  - doc/design.png
158
+ - doc/design.uml
159
+ - doc/development_tips.md
160
+ - doc/i18n.md
161
+ - doc/installation_deb.md
162
+ - doc/installation_gem.md
163
+ - doc/installation_rpm.md
164
+ - doc/installation_source.md
165
+ - doc/option_builders.md
155
166
  - doc/option_normalizers.md
167
+ - doc/writing_a_plugin.md
168
+ - doc/help_modification.md
156
169
  - doc/release_notes.md
157
- - doc/commands_modification.md
170
+ - doc/installation.md
158
171
  - doc/creating_commands.md
159
- - doc/commands_extension.md
160
- - doc/development_tips.md
161
172
  - doc/developer_docs.md
162
- - doc/writing_a_plugin.md
163
- - doc/option_builders.md
164
- - doc/installation_rpm.md
165
- - doc/i18n.md
166
- - doc/installation.md
167
- - doc/help_modification.md
168
- - doc/installation_source.md
169
- - doc/design.uml
170
- - doc/installation_gem.md
171
- - doc/creating_apipie_commands.md
172
- - doc/installation_deb.md
173
- - config/cli_config.template.yml
174
173
  - config/cli.modules.d/module_config_template.yml
174
+ - config/cli_config.template.yml
175
175
  - README.md
176
176
  files:
177
177
  - LICENSE
@@ -298,143 +298,6 @@ files:
298
298
  - test/functional/help_test.rb
299
299
  - test/functional/nil_values_test.rb
300
300
  - test/functional/test_helper.rb
301
- - test/reports/TEST-Fields-ContainerField-display-.xml
302
- - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
303
- - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
304
- - test/reports/TEST-Fields-ContainerField.xml
305
- - test/reports/TEST-Fields-Field-display-.xml
306
- - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
307
- - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
308
- - test/reports/TEST-Fields-Field-hide-blank-.xml
309
- - test/reports/TEST-Fields-Field-parameters.xml
310
- - test/reports/TEST-Fields-Field.xml
311
- - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
312
- - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
313
- - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
314
- - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
315
- - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
316
- - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
317
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
318
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
319
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
320
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
321
- - test/reports/TEST-HammerCLI-AbstractCommand.xml
322
- - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
323
- - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
324
- - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
325
- - test/reports/TEST-HammerCLI-Apipie-Command.xml
326
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
327
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
328
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
329
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
330
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
331
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
332
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
333
- - test/reports/TEST-HammerCLI-Completer-command-completion.xml
334
- - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
335
- - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
336
- - test/reports/TEST-HammerCLI-Completer.xml
337
- - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
338
- - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
339
- - test/reports/TEST-HammerCLI-CompleterLine.xml
340
- - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
341
- - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
342
- - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
343
- - test/reports/TEST-HammerCLI-CompleterWord.xml
344
- - test/reports/TEST-HammerCLI-Connection.xml
345
- - test/reports/TEST-HammerCLI-ExceptionHandler.xml
346
- - test/reports/TEST-HammerCLI-I18n.xml
347
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
348
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
349
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
350
- - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
351
- - test/reports/TEST-HammerCLI-MainCommand.xml
352
- - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
353
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
354
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
355
- - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
356
- - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
357
- - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
358
- - test/reports/TEST-HammerCLI-Modules-names.xml
359
- - test/reports/TEST-HammerCLI-Modules.xml
360
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
361
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
362
- - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
363
- - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
364
- - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
365
- - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
366
- - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
367
- - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
368
- - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
369
- - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
370
- - test/reports/TEST-HammerCLI-Options-Normalizers.xml
371
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
372
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
373
- - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
374
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
375
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
376
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
377
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
378
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
379
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
380
- - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
381
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
382
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
383
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
384
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
385
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
386
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
387
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
388
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
389
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
390
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
391
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
392
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
393
- - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
394
- - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
395
- - test/reports/TEST-HammerCLI-Output-Definition.xml
396
- - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
397
- - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
398
- - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
399
- - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
400
- - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
401
- - test/reports/TEST-HammerCLI-Output-Dsl.xml
402
- - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
403
- - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
404
- - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
405
- - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
406
- - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
407
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
408
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
409
- - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
410
- - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
411
- - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
412
- - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
413
- - test/reports/TEST-HammerCLI-Output-Output-data.xml
414
- - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
415
- - test/reports/TEST-HammerCLI-Output-Output-messages.xml
416
- - test/reports/TEST-HammerCLI-Output-Output.xml
417
- - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
418
- - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
419
- - test/reports/TEST-HammerCLI-Settings.xml
420
- - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
421
- - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
422
- - test/reports/TEST-HammerCLI-ShellHistory.xml
423
- - test/reports/TEST-MiniTest-Spec.xml
424
- - test/reports/TEST-String-camelize.xml
425
- - test/reports/TEST-String-formatting.xml
426
- - test/reports/TEST-String-indent.xml
427
- - test/reports/TEST-String-interactive-.xml
428
- - test/reports/TEST-String.xml
429
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
430
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
431
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
432
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
433
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
434
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
435
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
436
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
437
- - test/reports/TEST-constraints.xml
438
301
  - test/test_helper.rb
439
302
  - test/unit/abstract_test.rb
440
303
  - test/unit/apipie/api_connection_test.rb
@@ -515,209 +378,72 @@ required_rubygems_version: !ruby/object:Gem::Requirement
515
378
  version: '0'
516
379
  requirements: []
517
380
  rubyforge_project:
518
- rubygems_version: 2.7.9
381
+ rubygems_version: 2.7.10
519
382
  signing_key:
520
383
  specification_version: 4
521
384
  summary: Universal command-line interface
522
385
  test_files:
523
- - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
524
- - test/reports/TEST-String-interactive-.xml
525
- - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
526
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
527
- - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
528
- - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
529
- - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
530
- - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
531
- - test/reports/TEST-HammerCLI-Completer.xml
532
- - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
533
- - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
534
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
535
- - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
536
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
537
- - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
538
- - test/reports/TEST-HammerCLI-Output-Definition.xml
539
- - test/reports/TEST-Fields-Field-hide-blank-.xml
540
- - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
541
- - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
542
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
543
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
544
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
545
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
546
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
547
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
548
- - test/reports/TEST-MiniTest-Spec.xml
549
- - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
550
- - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
551
- - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
552
- - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
553
- - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
554
- - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
555
- - test/reports/TEST-Fields-Field.xml
556
- - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
557
- - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
558
- - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
559
- - test/reports/TEST-HammerCLI-Modules.xml
560
- - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
561
- - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
562
- - test/reports/TEST-HammerCLI-Completer-command-completion.xml
563
- - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
564
- - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
565
- - test/reports/TEST-Fields-ContainerField-display-.xml
566
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
567
- - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
568
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
569
- - test/reports/TEST-HammerCLI-AbstractCommand.xml
570
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
571
- - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
572
- - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
573
- - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
574
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
575
- - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
576
- - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
577
- - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
578
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
579
- - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
580
- - test/reports/TEST-HammerCLI-Output-Dsl.xml
581
- - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
582
- - test/reports/TEST-constraints.xml
583
- - test/reports/TEST-String-camelize.xml
584
- - test/reports/TEST-HammerCLI-Settings.xml
585
- - test/reports/TEST-HammerCLI-ExceptionHandler.xml
586
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
587
- - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
588
- - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
589
- - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
590
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
591
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
592
- - test/reports/TEST-Fields-ContainerField.xml
593
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
594
- - test/reports/TEST-HammerCLI-Output-Output-data.xml
595
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
596
- - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
597
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
598
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
599
- - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
600
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
601
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
602
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
603
- - test/reports/TEST-HammerCLI-MainCommand.xml
604
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
605
- - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
606
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
607
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
608
- - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
609
- - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
610
- - test/reports/TEST-String-formatting.xml
611
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
612
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
613
- - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
614
- - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
615
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
616
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
617
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
618
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
619
- - test/reports/TEST-HammerCLI-Modules-names.xml
620
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
621
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
622
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
623
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
624
- - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
625
- - test/reports/TEST-HammerCLI-Output-Output-messages.xml
626
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
627
- - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
628
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
629
- - test/reports/TEST-HammerCLI-Apipie-Command.xml
630
- - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
631
- - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
632
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
633
- - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
634
- - test/reports/TEST-HammerCLI-Output-Output.xml
635
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
636
- - test/reports/TEST-HammerCLI-I18n.xml
637
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
638
- - test/reports/TEST-String-indent.xml
639
- - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
640
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
641
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
642
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
643
- - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
644
- - test/reports/TEST-HammerCLI-ShellHistory.xml
645
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
646
- - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
647
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
648
- - test/reports/TEST-Fields-Field-parameters.xml
649
- - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
650
- - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
651
- - test/reports/TEST-String.xml
652
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
653
- - test/reports/TEST-HammerCLI-CompleterWord.xml
654
- - test/reports/TEST-HammerCLI-Options-Normalizers.xml
655
- - test/reports/TEST-HammerCLI-CompleterLine.xml
656
- - test/reports/TEST-Fields-Field-display-.xml
657
- - test/reports/TEST-HammerCLI-Connection.xml
658
- - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
659
- - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
660
- - test/unit/utils_test.rb
661
- - test/unit/settings_test.rb
662
- - test/unit/modules_test.rb
386
+ - test/functional/defaults_test.rb
387
+ - test/functional/help_test.rb
388
+ - test/functional/nil_values_test.rb
389
+ - test/functional/test_helper.rb
390
+ - test/test_helper.rb
391
+ - test/unit/abstract_test.rb
392
+ - test/unit/apipie/api_connection_test.rb
393
+ - test/unit/apipie/command_test.rb
394
+ - test/unit/apipie/option_builder_test.rb
395
+ - test/unit/apipie/option_definition_test.rb
396
+ - test/unit/apipie/test_helper.rb
397
+ - test/unit/ca_cert_manager_test.rb
398
+ - test/unit/command_extensions_test.rb
399
+ - test/unit/completer_test.rb
400
+ - test/unit/connection_test.rb
401
+ - test/unit/csv_parser_test.rb
402
+ - test/unit/defaults_test.rb
403
+ - test/unit/exception_handler_test.rb
404
+ - test/unit/fixtures/apipie/architectures.json
405
+ - test/unit/fixtures/apipie/documented.json
406
+ - test/unit/fixtures/certs/ca_cert.pem
407
+ - test/unit/fixtures/certs/non_ca_cert.pem
408
+ - test/unit/fixtures/defaults/defaults.yml
409
+ - test/unit/fixtures/defaults/defaults_dashed.yml
410
+ - test/unit/fixtures/json_input/invalid.json
411
+ - test/unit/fixtures/json_input/valid.json
412
+ - test/unit/help/builder_test.rb
663
413
  - test/unit/help/definition/abstract_item_test.rb
414
+ - test/unit/help/definition/section_test.rb
664
415
  - test/unit/help/definition/list_test.rb
665
416
  - test/unit/help/definition/text_test.rb
666
- - test/unit/help/definition/section_test.rb
667
- - test/unit/help/builder_test.rb
668
- - test/unit/help/text_builder_test.rb
669
417
  - test/unit/help/definition_test.rb
670
- - test/unit/abstract_test.rb
418
+ - test/unit/help/text_builder_test.rb
419
+ - test/unit/history_test.rb
671
420
  - test/unit/i18n_test.rb
672
421
  - test/unit/logger_test.rb
673
- - test/unit/history_test.rb
674
- - test/unit/exception_handler_test.rb
675
422
  - test/unit/main_test.rb
676
- - test/unit/connection_test.rb
677
- - test/unit/output/output_test.rb
678
- - test/unit/output/fields_test.rb
679
- - test/unit/output/adapter/table_test.rb
680
- - test/unit/output/adapter/abstract_test.rb
681
- - test/unit/output/adapter/yaml_test.rb
423
+ - test/unit/messages_test.rb
424
+ - test/unit/modules_test.rb
425
+ - test/unit/option_builder_test.rb
426
+ - test/unit/options/matcher_test.rb
427
+ - test/unit/options/normalizers_test.rb
428
+ - test/unit/options/option_collector_test.rb
429
+ - test/unit/options/option_definition_test.rb
430
+ - test/unit/options/processor_list_test.rb
431
+ - test/unit/options/sources/command_line_test.rb
432
+ - test/unit/options/sources/saved_defaults_test.rb
433
+ - test/unit/options/validators/dsl_test.rb
682
434
  - test/unit/output/adapter/base_test.rb
683
435
  - test/unit/output/adapter/csv_test.rb
684
436
  - test/unit/output/adapter/json_test.rb
685
- - test/unit/output/record_collection_test.rb
437
+ - test/unit/output/adapter/table_test.rb
438
+ - test/unit/output/adapter/yaml_test.rb
439
+ - test/unit/output/adapter/abstract_test.rb
686
440
  - test/unit/output/dsl_test.rb
687
- - test/unit/output/definition_test.rb
688
441
  - test/unit/output/field_filter_test.rb
442
+ - test/unit/output/fields_test.rb
443
+ - test/unit/output/record_collection_test.rb
444
+ - test/unit/output/output_test.rb
445
+ - test/unit/output/definition_test.rb
689
446
  - test/unit/output/formatters_test.rb
690
- - test/unit/csv_parser_test.rb
691
- - test/unit/completer_test.rb
692
- - test/unit/apipie/api_connection_test.rb
693
- - test/unit/apipie/option_definition_test.rb
694
- - test/unit/apipie/command_test.rb
695
- - test/unit/apipie/option_builder_test.rb
696
- - test/unit/apipie/test_helper.rb
697
- - test/unit/options/option_collector_test.rb
698
- - test/unit/options/sources/saved_defaults_test.rb
699
- - test/unit/options/sources/command_line_test.rb
700
- - test/unit/options/normalizers_test.rb
701
- - test/unit/options/validators/dsl_test.rb
702
- - test/unit/options/option_definition_test.rb
703
- - test/unit/options/processor_list_test.rb
704
- - test/unit/options/matcher_test.rb
705
- - test/unit/option_builder_test.rb
706
- - test/unit/fixtures/certs/non_ca_cert.pem
707
- - test/unit/fixtures/certs/ca_cert.pem
708
- - test/unit/fixtures/json_input/invalid.json
709
- - test/unit/fixtures/json_input/valid.json
710
- - test/unit/fixtures/apipie/architectures.json
711
- - test/unit/fixtures/apipie/documented.json
712
- - test/unit/fixtures/defaults/defaults.yml
713
- - test/unit/fixtures/defaults/defaults_dashed.yml
714
- - test/unit/defaults_test.rb
715
- - test/unit/messages_test.rb
716
- - test/unit/command_extensions_test.rb
717
- - test/unit/ca_cert_manager_test.rb
447
+ - test/unit/settings_test.rb
718
448
  - test/unit/test_helper.rb
719
- - test/functional/help_test.rb
720
- - test/functional/nil_values_test.rb
721
- - test/functional/defaults_test.rb
722
- - test/functional/test_helper.rb
723
- - test/test_helper.rb
449
+ - test/unit/utils_test.rb
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField::display?" tests="0" time="0.000195743" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField::display?::blank is allowed" tests="4" time="0.000514044" failures="0" errors="0" skipped="0" assertions="4">
3
- <testcase name="test_0001_returns false the value is nil" time="0.000160735" assertions="1">
4
- </testcase>
5
- <testcase name="test_0003_returns false the value is empty hash" time="5.924e-05" assertions="1">
6
- </testcase>
7
- <testcase name="test_0004_returns true when there is some data under the path" time="5.1533e-05" assertions="1">
8
- </testcase>
9
- <testcase name="test_0002_returns false the value is empty array" time="4.7909e-05" assertions="1">
10
- </testcase>
11
- <system-out>
12
- </system-out>
13
- <system-err>
14
- </system-err>
15
- </testsuite>
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField::display?::blank is not allowed" tests="4" time="0.00050542" failures="0" errors="0" skipped="0" assertions="4">
3
- <testcase name="test_0001_returns false the value is nil" time="0.000104095" assertions="1">
4
- </testcase>
5
- <testcase name="test_0004_returns true when there is some data under the path" time="5.5074e-05" assertions="1">
6
- </testcase>
7
- <testcase name="test_0002_returns false the value is empty array" time="4.9163e-05" assertions="1">
8
- </testcase>
9
- <testcase name="test_0003_returns false the value is empty hash" time="4.4524e-05" assertions="1">
10
- </testcase>
11
- <system-out>
12
- </system-out>
13
- <system-err>
14
- </system-err>
15
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField" tests="0" time="0.000180394" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>