hammer_cli 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +2 -1
  3. data/config/cli_config.template.yml +1 -1
  4. data/doc/release_notes.md +4 -0
  5. data/lib/hammer_cli/ca_cert_fetcher.rb +43 -28
  6. data/lib/hammer_cli/ca_cert_manager.rb +71 -0
  7. data/lib/hammer_cli/ssloptions.rb +7 -0
  8. data/lib/hammer_cli/version.rb +1 -1
  9. data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
  10. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  11. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  12. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  13. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  14. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  15. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  16. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  17. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  18. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  19. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  20. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  21. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  22. data/man/hammer.1.gz +0 -0
  23. data/test/reports/TEST-Fields-ContainerField-display-.xml +7 -0
  24. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +15 -0
  25. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +15 -0
  26. data/test/reports/TEST-Fields-ContainerField.xml +7 -0
  27. data/test/reports/TEST-Fields-Field-display-.xml +7 -0
  28. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +11 -0
  29. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +11 -0
  30. data/test/reports/TEST-Fields-Field-hide-blank-.xml +11 -0
  31. data/test/reports/TEST-Fields-Field-parameters.xml +9 -0
  32. data/test/reports/TEST-Fields-Field.xml +13 -0
  33. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +15 -0
  34. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +13 -0
  35. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +21 -0
  36. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +11 -0
  37. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +11 -0
  38. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +19 -0
  39. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +11 -0
  40. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +13 -0
  41. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +11 -0
  42. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +7 -0
  43. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +11 -0
  44. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +11 -0
  45. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +9 -0
  46. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +19 -0
  47. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +9 -0
  48. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +13 -0
  49. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +15 -0
  50. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +11 -0
  51. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +9 -0
  52. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +11 -0
  53. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +15 -0
  54. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +7 -0
  55. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +29 -0
  56. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +17 -0
  57. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +19 -0
  58. data/test/reports/TEST-HammerCLI-Completer.xml +7 -0
  59. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +25 -0
  60. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +29 -0
  61. data/test/reports/TEST-HammerCLI-CompleterLine.xml +7 -0
  62. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +23 -0
  63. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +15 -0
  64. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +13 -0
  65. data/test/reports/TEST-HammerCLI-CompleterWord.xml +7 -0
  66. data/test/reports/TEST-HammerCLI-Connection.xml +21 -0
  67. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +21 -0
  68. data/test/reports/TEST-HammerCLI-I18n.xml +11 -0
  69. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +11 -0
  70. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +11 -0
  71. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +9 -0
  72. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +7 -0
  73. data/test/reports/TEST-HammerCLI-MainCommand.xml +7 -0
  74. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +13 -0
  75. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +13 -0
  76. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +13 -0
  77. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +15 -0
  78. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +7 -0
  79. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +9 -0
  80. data/test/reports/TEST-HammerCLI-Modules-names.xml +13 -0
  81. data/test/reports/TEST-HammerCLI-Modules.xml +7 -0
  82. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +7 -0
  83. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +11 -0
  84. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +9 -0
  85. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +31 -0
  86. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +17 -0
  87. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +15 -0
  88. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +21 -0
  89. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +15 -0
  90. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +17 -0
  91. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +15 -0
  92. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +7 -0
  93. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +9 -0
  94. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +11 -0
  95. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +7 -0
  96. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +15 -0
  97. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +11 -0
  98. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +15 -0
  99. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +17 -0
  100. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +9 -0
  101. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +27 -0
  102. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +7 -0
  103. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +11 -0
  104. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +13 -0
  105. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +11 -0
  106. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +11 -0
  107. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +11 -0
  108. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +11 -0
  109. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +7 -0
  110. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +15 -0
  111. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +11 -0
  112. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +11 -0
  113. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +9 -0
  114. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +11 -0
  115. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +7 -0
  116. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +11 -0
  117. data/test/reports/TEST-HammerCLI-Output-Definition.xml +11 -0
  118. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +13 -0
  119. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +11 -0
  120. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +15 -0
  121. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +13 -0
  122. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +13 -0
  123. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +9 -0
  124. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +13 -0
  125. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +11 -0
  126. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +9 -0
  127. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +11 -0
  128. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +13 -0
  129. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +13 -0
  130. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +11 -0
  131. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +13 -0
  132. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +13 -0
  133. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +13 -0
  134. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +17 -0
  135. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +15 -0
  136. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +9 -0
  137. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +19 -0
  138. data/test/reports/TEST-HammerCLI-Output-Output.xml +7 -0
  139. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +13 -0
  140. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +15 -0
  141. data/test/reports/TEST-HammerCLI-Settings.xml +25 -0
  142. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +11 -0
  143. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +15 -0
  144. data/test/reports/TEST-HammerCLI-ShellHistory.xml +7 -0
  145. data/test/reports/TEST-MiniTest-Spec.xml +7 -0
  146. data/test/reports/TEST-String-camelize.xml +11 -0
  147. data/test/reports/TEST-String-formatting.xml +17 -0
  148. data/test/reports/TEST-String-indent.xml +11 -0
  149. data/test/reports/TEST-String-interactive-.xml +13 -0
  150. data/test/reports/TEST-String.xml +7 -0
  151. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +13 -0
  152. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +7 -0
  153. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +13 -0
  154. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +7 -0
  155. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +9 -0
  156. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +13 -0
  157. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +13 -0
  158. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +7 -0
  159. data/test/reports/TEST-constraints.xml +7 -0
  160. data/test/unit/apipie/api_connection_test.rb +1 -0
  161. data/test/unit/ca_cert_manager_test.rb +64 -0
  162. data/test/unit/fixtures/certs/ca_cert.pem +21 -0
  163. metadata +327 -48
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.10.0
4
+ version: 0.10.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: 2017-03-28 00:00:00.000000000 Z
12
+ date: 2017-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp
@@ -115,14 +115,14 @@ dependencies:
115
115
  requirements:
116
116
  - - ">="
117
117
  - !ruby/object:Gem::Version
118
- version: 0.0.19
118
+ version: 0.2.0
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: 0.0.19
125
+ version: 0.2.0
126
126
  description: 'Hammer cli provides universal extendable CLI interface for ruby apps
127
127
 
128
128
  '
@@ -131,22 +131,22 @@ executables:
131
131
  - hammer
132
132
  extensions: []
133
133
  extra_rdoc_files:
134
+ - doc/writing_a_plugin.md
134
135
  - doc/creating_apipie_commands.md
135
- - doc/creating_commands.md
136
- - doc/design.png
137
- - doc/design.uml
138
136
  - doc/developer_docs.md
139
- - doc/development_tips.md
137
+ - doc/option_builders.md
140
138
  - doc/i18n.md
139
+ - doc/design.uml
140
+ - doc/development_tips.md
141
+ - doc/release_notes.md
141
142
  - doc/installation.md
142
- - doc/installation_deb.md
143
- - doc/installation_gem.md
143
+ - doc/creating_commands.md
144
144
  - doc/installation_rpm.md
145
- - doc/installation_source.md
146
- - doc/option_builders.md
147
145
  - doc/option_normalizers.md
148
- - doc/writing_a_plugin.md
149
- - doc/release_notes.md
146
+ - doc/installation_source.md
147
+ - doc/installation_deb.md
148
+ - doc/design.png
149
+ - doc/installation_gem.md
150
150
  - config/cli.modules.d/module_config_template.yml
151
151
  - config/cli_config.template.yml
152
152
  - README.md
@@ -183,6 +183,7 @@ files:
183
183
  - lib/hammer_cli/apipie/options.rb
184
184
  - lib/hammer_cli/apipie/resource.rb
185
185
  - lib/hammer_cli/ca_cert_fetcher.rb
186
+ - lib/hammer_cli/ca_cert_manager.rb
186
187
  - lib/hammer_cli/clamp.rb
187
188
  - lib/hammer_cli/completer.rb
188
189
  - lib/hammer_cli/connection.rb
@@ -253,18 +254,157 @@ files:
253
254
  - test/functional/defaults_test.rb
254
255
  - test/functional/help_test.rb
255
256
  - test/functional/test_helper.rb
257
+ - test/reports/TEST-Fields-ContainerField-display-.xml
258
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
259
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
260
+ - test/reports/TEST-Fields-ContainerField.xml
261
+ - test/reports/TEST-Fields-Field-display-.xml
262
+ - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
263
+ - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
264
+ - test/reports/TEST-Fields-Field-hide-blank-.xml
265
+ - test/reports/TEST-Fields-Field-parameters.xml
266
+ - test/reports/TEST-Fields-Field.xml
267
+ - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
268
+ - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
269
+ - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
270
+ - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
271
+ - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
272
+ - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
273
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
274
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
275
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
276
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
277
+ - test/reports/TEST-HammerCLI-AbstractCommand.xml
278
+ - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
279
+ - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
280
+ - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
281
+ - test/reports/TEST-HammerCLI-Apipie-Command.xml
282
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
283
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
284
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
285
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
286
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
287
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
288
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
289
+ - test/reports/TEST-HammerCLI-Completer-command-completion.xml
290
+ - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
291
+ - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
292
+ - test/reports/TEST-HammerCLI-Completer.xml
293
+ - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
294
+ - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
295
+ - test/reports/TEST-HammerCLI-CompleterLine.xml
296
+ - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
297
+ - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
298
+ - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
299
+ - test/reports/TEST-HammerCLI-CompleterWord.xml
300
+ - test/reports/TEST-HammerCLI-Connection.xml
301
+ - test/reports/TEST-HammerCLI-ExceptionHandler.xml
302
+ - test/reports/TEST-HammerCLI-I18n.xml
303
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
304
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
305
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
306
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
307
+ - test/reports/TEST-HammerCLI-MainCommand.xml
308
+ - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
309
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
310
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
311
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
312
+ - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
313
+ - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
314
+ - test/reports/TEST-HammerCLI-Modules-names.xml
315
+ - test/reports/TEST-HammerCLI-Modules.xml
316
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
317
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
318
+ - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
319
+ - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
320
+ - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
321
+ - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
322
+ - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
323
+ - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
324
+ - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
325
+ - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
326
+ - test/reports/TEST-HammerCLI-Options-Normalizers.xml
327
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
328
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
329
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
330
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
331
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
332
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
333
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
334
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
335
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
336
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
337
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
338
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
339
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
340
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
341
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
342
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
343
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
344
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
345
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
346
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
347
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
348
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
349
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
350
+ - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
351
+ - test/reports/TEST-HammerCLI-Output-Definition.xml
352
+ - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
353
+ - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
354
+ - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
355
+ - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
356
+ - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
357
+ - test/reports/TEST-HammerCLI-Output-Dsl.xml
358
+ - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
359
+ - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
360
+ - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
361
+ - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
362
+ - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
363
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
364
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
365
+ - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
366
+ - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
367
+ - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
368
+ - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
369
+ - test/reports/TEST-HammerCLI-Output-Output-data.xml
370
+ - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
371
+ - test/reports/TEST-HammerCLI-Output-Output-messages.xml
372
+ - test/reports/TEST-HammerCLI-Output-Output.xml
373
+ - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
374
+ - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
375
+ - test/reports/TEST-HammerCLI-Settings.xml
376
+ - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
377
+ - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
378
+ - test/reports/TEST-HammerCLI-ShellHistory.xml
379
+ - test/reports/TEST-MiniTest-Spec.xml
380
+ - test/reports/TEST-String-camelize.xml
381
+ - test/reports/TEST-String-formatting.xml
382
+ - test/reports/TEST-String-indent.xml
383
+ - test/reports/TEST-String-interactive-.xml
384
+ - test/reports/TEST-String.xml
385
+ - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
386
+ - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
387
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
388
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
389
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
390
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
391
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
392
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
393
+ - test/reports/TEST-constraints.xml
256
394
  - test/test_helper.rb
257
395
  - test/unit/abstract_test.rb
258
396
  - test/unit/apipie/api_connection_test.rb
259
397
  - test/unit/apipie/command_test.rb
260
398
  - test/unit/apipie/option_builder_test.rb
261
399
  - test/unit/apipie/option_definition_test.rb
400
+ - test/unit/ca_cert_manager_test.rb
262
401
  - test/unit/completer_test.rb
263
402
  - test/unit/connection_test.rb
264
403
  - test/unit/defaults_test.rb
265
404
  - test/unit/exception_handler_test.rb
266
405
  - test/unit/fixtures/apipie/architectures.json
267
406
  - test/unit/fixtures/apipie/documented.json
407
+ - test/unit/fixtures/certs/ca_cert.pem
268
408
  - test/unit/fixtures/defaults/defaults.yml
269
409
  - test/unit/fixtures/defaults/defaults_dashed.yml
270
410
  - test/unit/fixtures/json_input/invalid.json
@@ -320,58 +460,197 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
460
  version: '0'
321
461
  requirements: []
322
462
  rubyforge_project:
323
- rubygems_version: 2.5.1
463
+ rubygems_version: 2.5.2
324
464
  signing_key:
325
465
  specification_version: 4
326
466
  summary: Universal command-line interface
327
467
  test_files:
328
468
  - test/functional/test_helper.rb
329
- - test/functional/defaults_test.rb
330
469
  - test/functional/help_test.rb
331
- - test/unit/apipie/option_definition_test.rb
332
- - test/unit/apipie/option_builder_test.rb
333
- - test/unit/apipie/command_test.rb
334
- - test/unit/apipie/api_connection_test.rb
335
- - test/unit/completer_test.rb
336
- - test/unit/fixtures/apipie/architectures.json
337
- - test/unit/fixtures/apipie/documented.json
338
- - test/unit/fixtures/defaults/defaults_dashed.yml
339
- - test/unit/fixtures/defaults/defaults.yml
340
- - test/unit/fixtures/json_input/invalid.json
341
- - test/unit/fixtures/json_input/valid.json
342
- - test/unit/history_test.rb
343
- - test/unit/main_test.rb
470
+ - test/functional/defaults_test.rb
471
+ - test/unit/ca_cert_manager_test.rb
344
472
  - test/unit/modules_test.rb
345
- - test/unit/option_builder_test.rb
346
- - test/unit/options/matcher_test.rb
347
- - test/unit/options/option_definition_test.rb
473
+ - test/unit/main_test.rb
474
+ - test/unit/validator_test.rb
475
+ - test/unit/history_test.rb
476
+ - test/unit/exception_handler_test.rb
477
+ - test/unit/i18n_test.rb
478
+ - test/unit/settings_test.rb
348
479
  - test/unit/options/normalizers_test.rb
349
480
  - test/unit/options/option_collector_test.rb
481
+ - test/unit/options/matcher_test.rb
482
+ - test/unit/options/option_definition_test.rb
350
483
  - test/unit/options/sources/command_line_test.rb
351
484
  - test/unit/options/sources/saved_defaults_test.rb
485
+ - test/unit/abstract_test.rb
486
+ - test/unit/test_helper.rb
487
+ - test/unit/connection_test.rb
488
+ - test/unit/apipie/api_connection_test.rb
489
+ - test/unit/apipie/command_test.rb
490
+ - test/unit/apipie/option_builder_test.rb
491
+ - test/unit/apipie/option_definition_test.rb
492
+ - test/unit/output/formatters_test.rb
493
+ - test/unit/output/output_test.rb
494
+ - test/unit/output/field_filter_test.rb
495
+ - test/unit/output/adapter/table_test.rb
496
+ - test/unit/output/adapter/json_test.rb
352
497
  - test/unit/output/adapter/abstract_test.rb
353
498
  - test/unit/output/adapter/base_test.rb
354
- - test/unit/output/adapter/csv_test.rb
355
- - test/unit/output/adapter/json_test.rb
356
499
  - test/unit/output/adapter/yaml_test.rb
357
- - test/unit/output/adapter/table_test.rb
358
- - test/unit/output/definition_test.rb
500
+ - test/unit/output/adapter/csv_test.rb
359
501
  - test/unit/output/dsl_test.rb
360
- - test/unit/output/output_test.rb
361
502
  - test/unit/output/record_collection_test.rb
362
- - test/unit/output/formatters_test.rb
363
503
  - test/unit/output/fields_test.rb
364
- - test/unit/output/field_filter_test.rb
365
- - test/unit/settings_test.rb
366
- - test/unit/test_helper.rb
367
- - test/unit/utils_test.rb
368
- - test/unit/i18n_test.rb
504
+ - test/unit/output/definition_test.rb
369
505
  - test/unit/help/builder_test.rb
370
506
  - test/unit/help/text_builder_test.rb
371
- - test/unit/logger_test.rb
372
- - test/unit/connection_test.rb
373
- - test/unit/exception_handler_test.rb
374
- - test/unit/abstract_test.rb
507
+ - test/unit/fixtures/json_input/invalid.json
508
+ - test/unit/fixtures/json_input/valid.json
509
+ - test/unit/fixtures/certs/ca_cert.pem
510
+ - test/unit/fixtures/defaults/defaults_dashed.yml
511
+ - test/unit/fixtures/defaults/defaults.yml
512
+ - test/unit/fixtures/apipie/documented.json
513
+ - test/unit/fixtures/apipie/architectures.json
375
514
  - test/unit/defaults_test.rb
376
- - test/unit/validator_test.rb
515
+ - test/unit/completer_test.rb
516
+ - test/unit/option_builder_test.rb
517
+ - test/unit/utils_test.rb
518
+ - test/unit/logger_test.rb
377
519
  - test/test_helper.rb
520
+ - test/reports/TEST-String-indent.xml
521
+ - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
522
+ - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
523
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
524
+ - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
525
+ - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
526
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
527
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
528
+ - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
529
+ - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
530
+ - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
531
+ - test/reports/TEST-String.xml
532
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
533
+ - test/reports/TEST-MiniTest-Spec.xml
534
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
535
+ - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
536
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
537
+ - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
538
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
539
+ - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
540
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
541
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
542
+ - test/reports/TEST-Fields-Field-display-.xml
543
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
544
+ - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
545
+ - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
546
+ - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
547
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
548
+ - test/reports/TEST-HammerCLI-Output-Output-messages.xml
549
+ - test/reports/TEST-HammerCLI-I18n.xml
550
+ - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
551
+ - test/reports/TEST-HammerCLI-Output-Dsl.xml
552
+ - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
553
+ - test/reports/TEST-HammerCLI-Completer.xml
554
+ - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
555
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
556
+ - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
557
+ - test/reports/TEST-HammerCLI-AbstractCommand.xml
558
+ - test/reports/TEST-HammerCLI-Modules-names.xml
559
+ - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
560
+ - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
561
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
562
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
563
+ - test/reports/TEST-String-camelize.xml
564
+ - test/reports/TEST-Fields-ContainerField-display-.xml
565
+ - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
566
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
567
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
568
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
569
+ - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
570
+ - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
571
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
572
+ - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
573
+ - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
574
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
575
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
576
+ - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
577
+ - test/reports/TEST-HammerCLI-Output-Output-data.xml
578
+ - test/reports/TEST-HammerCLI-Modules.xml
579
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
580
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
581
+ - test/reports/TEST-Fields-ContainerField.xml
582
+ - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
583
+ - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
584
+ - test/reports/TEST-String-formatting.xml
585
+ - test/reports/TEST-HammerCLI-Output-Output.xml
586
+ - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
587
+ - test/reports/TEST-String-interactive-.xml
588
+ - test/reports/TEST-HammerCLI-ShellHistory.xml
589
+ - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
590
+ - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
591
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
592
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
593
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
594
+ - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
595
+ - test/reports/TEST-HammerCLI-CompleterWord.xml
596
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
597
+ - test/reports/TEST-Fields-Field-parameters.xml
598
+ - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
599
+ - test/reports/TEST-HammerCLI-Connection.xml
600
+ - test/reports/TEST-HammerCLI-Apipie-Command.xml
601
+ - test/reports/TEST-HammerCLI-Output-Definition.xml
602
+ - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
603
+ - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
604
+ - test/reports/TEST-HammerCLI-CompleterLine.xml
605
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
606
+ - test/reports/TEST-HammerCLI-Options-Normalizers.xml
607
+ - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
608
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
609
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
610
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
611
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
612
+ - test/reports/TEST-Fields-Field-hide-blank-.xml
613
+ - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
614
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
615
+ - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
616
+ - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
617
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
618
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
619
+ - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
620
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
621
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
622
+ - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
623
+ - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
624
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
625
+ - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
626
+ - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
627
+ - test/reports/TEST-HammerCLI-Settings.xml
628
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
629
+ - test/reports/TEST-HammerCLI-ExceptionHandler.xml
630
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
631
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
632
+ - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
633
+ - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
634
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
635
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
636
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
637
+ - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
638
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
639
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
640
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
641
+ - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
642
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
643
+ - test/reports/TEST-HammerCLI-MainCommand.xml
644
+ - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
645
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
646
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
647
+ - test/reports/TEST-Fields-Field.xml
648
+ - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
649
+ - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
650
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
651
+ - test/reports/TEST-HammerCLI-Completer-command-completion.xml
652
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
653
+ - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
654
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
655
+ - test/reports/TEST-constraints.xml
656
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml