hammer_cli 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (215) hide show
  1. checksums.yaml +4 -4
  2. data/doc/installation.md +1 -1
  3. data/doc/release_notes.md +6 -0
  4. data/lib/hammer_cli/output/formatters.rb +7 -1
  5. data/lib/hammer_cli/testing/command_assertions.rb +119 -0
  6. data/lib/hammer_cli/testing/data_helpers.rb +19 -0
  7. data/lib/hammer_cli/testing/output_matchers.rb +105 -0
  8. data/lib/hammer_cli/version.rb +1 -1
  9. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  10. data/locale/de/hammer-cli.edit.po +16 -16
  11. data/locale/de/hammer-cli.po +1 -1
  12. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  13. data/locale/en/hammer-cli.po +1 -1
  14. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  15. data/locale/en_GB/hammer-cli.edit.po +25 -25
  16. data/locale/en_GB/hammer-cli.po +1 -1
  17. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  18. data/locale/es/hammer-cli.po +1 -1
  19. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  20. data/locale/fr/hammer-cli.edit.po +26 -26
  21. data/locale/fr/hammer-cli.po +1 -1
  22. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  23. data/locale/it/hammer-cli.edit.po +3 -3
  24. data/locale/it/hammer-cli.po +1 -1
  25. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  26. data/locale/ja/hammer-cli.edit.po +3 -3
  27. data/locale/ja/hammer-cli.po +1 -1
  28. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  29. data/locale/ko/hammer-cli.edit.po +3 -3
  30. data/locale/ko/hammer-cli.po +1 -1
  31. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  32. data/locale/pt_BR/hammer-cli.po +1 -1
  33. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  34. data/locale/ru/hammer-cli.edit.po +3 -3
  35. data/locale/ru/hammer-cli.po +1 -1
  36. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  37. data/locale/zh_CN/hammer-cli.edit.po +3 -3
  38. data/locale/zh_CN/hammer-cli.po +1 -1
  39. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  40. data/locale/zh_TW/hammer-cli.edit.po +3 -3
  41. data/locale/zh_TW/hammer-cli.po +1 -1
  42. data/test/functional/defaults_test.rb +85 -55
  43. data/test/functional/test_helper.rb +9 -0
  44. data/test/reports/TEST-Fields-ContainerField-display-.xml +1 -1
  45. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +5 -5
  46. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +5 -5
  47. data/test/reports/TEST-Fields-ContainerField.xml +1 -1
  48. data/test/reports/TEST-Fields-Field-display-.xml +1 -1
  49. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +3 -3
  50. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +3 -3
  51. data/test/reports/TEST-Fields-Field-hide-blank-.xml +3 -3
  52. data/test/reports/TEST-Fields-Field-parameters.xml +2 -2
  53. data/test/reports/TEST-Fields-Field.xml +4 -4
  54. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +5 -5
  55. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +4 -4
  56. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +8 -10
  57. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +3 -3
  58. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +3 -3
  59. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +7 -7
  60. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +3 -3
  61. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +4 -4
  62. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +3 -3
  63. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +1 -1
  64. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +3 -3
  65. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +3 -3
  66. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +2 -2
  67. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +7 -7
  68. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +2 -2
  69. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +4 -4
  70. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +5 -5
  71. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +3 -3
  72. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +2 -8
  73. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +3 -3
  74. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +5 -5
  75. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +1 -1
  76. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +12 -12
  77. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +6 -6
  78. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +7 -7
  79. data/test/reports/TEST-HammerCLI-Completer.xml +1 -1
  80. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +10 -10
  81. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +12 -12
  82. data/test/reports/TEST-HammerCLI-CompleterLine.xml +1 -1
  83. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +9 -9
  84. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +5 -5
  85. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +4 -4
  86. data/test/reports/TEST-HammerCLI-CompleterWord.xml +1 -1
  87. data/test/reports/TEST-HammerCLI-Connection.xml +8 -8
  88. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +8 -8
  89. data/test/reports/TEST-HammerCLI-I18n.xml +3 -3
  90. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +3 -3
  91. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +3 -3
  92. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +2 -2
  93. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +1 -1
  94. data/test/reports/TEST-HammerCLI-MainCommand.xml +1 -1
  95. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +4 -4
  96. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +4 -4
  97. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +4 -4
  98. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +5 -5
  99. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +1 -1
  100. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +2 -4
  101. data/test/reports/TEST-HammerCLI-Modules-names.xml +4 -4
  102. data/test/reports/TEST-HammerCLI-Modules.xml +1 -1
  103. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +1 -5
  104. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +5 -1
  105. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +2 -2
  106. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +13 -13
  107. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +6 -6
  108. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +5 -5
  109. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +8 -8
  110. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +5 -5
  111. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +6 -26
  112. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +5 -5
  113. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +1 -1
  114. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +2 -2
  115. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +3 -3
  116. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +1 -1
  117. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +5 -5
  118. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +3 -3
  119. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +5 -5
  120. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +6 -6
  121. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +2 -2
  122. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +11 -11
  123. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +1 -1
  124. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +3 -3
  125. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +4 -4
  126. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +3 -3
  127. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +3 -3
  128. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +3 -3
  129. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +3 -3
  130. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +1 -1
  131. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +5 -11
  132. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +3 -3
  133. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +3 -7
  134. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +2 -2
  135. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +3 -3
  136. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +1 -1
  137. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +3 -3
  138. data/test/reports/TEST-HammerCLI-Output-Definition.xml +3 -3
  139. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +4 -4
  140. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +3 -3
  141. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +5 -5
  142. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +4 -4
  143. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +4 -4
  144. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +2 -2
  145. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +4 -4
  146. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +3 -3
  147. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +2 -2
  148. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +3 -3
  149. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +4 -4
  150. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +4 -4
  151. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +3 -3
  152. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +4 -4
  153. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +4 -4
  154. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +4 -4
  155. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +6 -6
  156. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +5 -5
  157. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +2 -2
  158. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +7 -7
  159. data/test/reports/TEST-HammerCLI-Output-Output.xml +1 -1
  160. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +4 -4
  161. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +5 -5
  162. data/test/reports/TEST-HammerCLI-Settings.xml +10 -10
  163. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +3 -3
  164. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +5 -5
  165. data/test/reports/TEST-HammerCLI-ShellHistory.xml +1 -1
  166. data/test/reports/TEST-MiniTest-Spec.xml +1 -1
  167. data/test/reports/TEST-String-camelize.xml +3 -3
  168. data/test/reports/TEST-String-formatting.xml +6 -6
  169. data/test/reports/TEST-String-indent.xml +3 -3
  170. data/test/reports/{TEST-HammerCLI-interactive-.xml → TEST-String-interactive-.xml} +4 -4
  171. data/test/reports/TEST-String.xml +1 -1
  172. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +4 -4
  173. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +1 -1
  174. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +4 -4
  175. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +1 -1
  176. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +2 -2
  177. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +4 -4
  178. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +4 -4
  179. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +1 -1
  180. data/test/reports/TEST-constraints.xml +1 -1
  181. data/test/test_helper.rb +20 -0
  182. data/test/unit/output/formatters_test.rb +20 -3
  183. data/test/unit/test_helper.rb +1 -20
  184. metadata +195 -251
  185. data/test/reports/TEST-Fields-Label-display-.xml +0 -7
  186. data/test/reports/TEST-Fields-Label-display-blank-is-allowed.xml +0 -15
  187. data/test/reports/TEST-Fields-Label-display-blank-is-not-allowed.xml +0 -15
  188. data/test/reports/TEST-Fields-Label.xml +0 -7
  189. data/test/reports/TEST-HammerCLI-Apipie-Command-reload-apipie-cache.xml +0 -11
  190. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-referenced-resources.xml +0 -9
  191. data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition-referenced-resource.xml +0 -13
  192. data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition.xml +0 -7
  193. data/test/reports/TEST-HammerCLI-Defaults.xml +0 -19
  194. data/test/reports/TEST-HammerCLI-Options-Matcher.xml +0 -17
  195. data/test/reports/TEST-HammerCLI-Options-Normalizers-number.xml +0 -11
  196. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-deprecated-options.xml +0 -11
  197. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection-show-ids.xml +0 -9
  198. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection.xml +0 -27
  199. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-message.xml +0 -11
  200. data/test/reports/TEST-HammerCLI-Output-Adapter-Json.xml +0 -7
  201. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection-show-ids.xml +0 -9
  202. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection.xml +0 -27
  203. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-message.xml +0 -11
  204. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml.xml +0 -7
  205. data/test/reports/TEST-HammerCLI-constant-path.xml +0 -15
  206. data/test/reports/TEST-HammerCLI.xml +0 -7
  207. data/test/reports/TEST-Logging-LogEvent-filtering.xml +0 -9
  208. data/test/reports/TEST-Logging-LogEvent.xml +0 -7
  209. data/test/reports/TEST-String-constantize.xml +0 -15
  210. data/test/reports/TEST-String-underscore.xml +0 -13
  211. data/test/reports/TEST-commands-defaults-add.xml +0 -21
  212. data/test/reports/TEST-commands-defaults-delete.xml +0 -11
  213. data/test/reports/TEST-commands-defaults-list.xml +0 -11
  214. data/test/reports/TEST-commands-defaults-providers.xml +0 -11
  215. data/test/reports/TEST-commands.xml +0 -7
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.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bačovský
@@ -9,143 +9,142 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-15 00:00:00.000000000 Z
12
+ date: 2016-02-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: 1.0.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: 1.0.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: logging
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - '>='
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - '>='
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: awesome_print
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - '>='
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: table_print
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: highline
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: fast_gettext
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ">="
88
+ - - '>='
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">="
95
+ - - '>='
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: locale
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ">="
102
+ - - '>='
103
103
  - !ruby/object:Gem::Version
104
104
  version: 2.0.6
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ">="
109
+ - - '>='
110
110
  - !ruby/object:Gem::Version
111
111
  version: 2.0.6
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: apipie-bindings
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ~>
117
117
  - !ruby/object:Gem::Version
118
118
  version: 0.0.14
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
125
  version: 0.0.14
126
- description: 'Hammer cli provides universal extendable CLI interface for ruby apps
127
-
128
- '
126
+ description: |
127
+ Hammer cli provides universal extendable CLI interface for ruby apps
129
128
  email: mbacovsk@redhat.com
130
129
  executables:
131
130
  - hammer
132
131
  extensions: []
133
132
  extra_rdoc_files:
134
- - doc/creating_apipie_commands.md
135
- - doc/creating_commands.md
136
- - doc/design.png
133
+ - doc/option_builders.md
137
134
  - doc/design.uml
135
+ - doc/writing_a_plugin.md
136
+ - doc/installation_gem.md
137
+ - doc/option_normalizers.md
138
138
  - doc/development_tips.md
139
139
  - doc/i18n.md
140
+ - doc/creating_apipie_commands.md
141
+ - doc/developer_docs.md
142
+ - doc/design.png
143
+ - doc/creating_commands.md
144
+ - doc/installation_source.md
145
+ - doc/installation_rpm.md
140
146
  - doc/installation.md
141
147
  - doc/installation_deb.md
142
- - doc/installation_gem.md
143
- - doc/installation_rpm.md
144
- - doc/installation_source.md
145
- - doc/option_builders.md
146
- - doc/option_normalizers.md
147
- - doc/writing_a_plugin.md
148
- - doc/developer_docs.md
149
148
  - doc/release_notes.md
150
149
  - config/cli.modules.d/module_config_template.yml
151
150
  - config/cli_config.template.yml
@@ -221,6 +220,9 @@ files:
221
220
  - lib/hammer_cli/settings.rb
222
221
  - lib/hammer_cli/shell.rb
223
222
  - lib/hammer_cli/subcommand.rb
223
+ - lib/hammer_cli/testing/command_assertions.rb
224
+ - lib/hammer_cli/testing/data_helpers.rb
225
+ - lib/hammer_cli/testing/output_matchers.rb
224
226
  - lib/hammer_cli/utils.rb
225
227
  - lib/hammer_cli/validator.rb
226
228
  - lib/hammer_cli/version.rb
@@ -277,6 +279,7 @@ files:
277
279
  - locale/zh_TW/hammer-cli.po
278
280
  - locale/zh_TW/hammer-cli.po.time_stamp
279
281
  - test/functional/defaults_test.rb
282
+ - test/functional/test_helper.rb
280
283
  - test/reports/TEST-Fields-ContainerField-display-.xml
281
284
  - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
282
285
  - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
@@ -287,10 +290,6 @@ files:
287
290
  - test/reports/TEST-Fields-Field-hide-blank-.xml
288
291
  - test/reports/TEST-Fields-Field-parameters.xml
289
292
  - test/reports/TEST-Fields-Field.xml
290
- - test/reports/TEST-Fields-Label-display-.xml
291
- - test/reports/TEST-Fields-Label-display-blank-is-allowed.xml
292
- - test/reports/TEST-Fields-Label-display-blank-is-not-allowed.xml
293
- - test/reports/TEST-Fields-Label.xml
294
293
  - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
295
294
  - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
296
295
  - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
@@ -303,7 +302,6 @@ files:
303
302
  - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
304
303
  - test/reports/TEST-HammerCLI-AbstractCommand.xml
305
304
  - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
306
- - test/reports/TEST-HammerCLI-Apipie-Command-reload-apipie-cache.xml
307
305
  - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
308
306
  - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
309
307
  - test/reports/TEST-HammerCLI-Apipie-Command.xml
@@ -311,12 +309,9 @@ files:
311
309
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
312
310
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
313
311
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
314
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-referenced-resources.xml
315
312
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
316
313
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
317
314
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
318
- - test/reports/TEST-HammerCLI-Apipie-OptionDefinition-referenced-resource.xml
319
- - test/reports/TEST-HammerCLI-Apipie-OptionDefinition.xml
320
315
  - test/reports/TEST-HammerCLI-Completer-command-completion.xml
321
316
  - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
322
317
  - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
@@ -329,7 +324,6 @@ files:
329
324
  - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
330
325
  - test/reports/TEST-HammerCLI-CompleterWord.xml
331
326
  - test/reports/TEST-HammerCLI-Connection.xml
332
- - test/reports/TEST-HammerCLI-Defaults.xml
333
327
  - test/reports/TEST-HammerCLI-ExceptionHandler.xml
334
328
  - test/reports/TEST-HammerCLI-I18n.xml
335
329
  - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
@@ -347,7 +341,6 @@ files:
347
341
  - test/reports/TEST-HammerCLI-Modules.xml
348
342
  - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
349
343
  - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
350
- - test/reports/TEST-HammerCLI-Options-Matcher.xml
351
344
  - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
352
345
  - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
353
346
  - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
@@ -356,10 +349,8 @@ files:
356
349
  - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
357
350
  - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
358
351
  - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
359
- - test/reports/TEST-HammerCLI-Options-Normalizers-number.xml
360
352
  - test/reports/TEST-HammerCLI-Options-Normalizers.xml
361
353
  - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
362
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-deprecated-options.xml
363
354
  - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
364
355
  - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
365
356
  - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
@@ -376,20 +367,12 @@ files:
376
367
  - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
377
368
  - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
378
369
  - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
379
- - test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection-show-ids.xml
380
- - test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection.xml
381
- - test/reports/TEST-HammerCLI-Output-Adapter-Json-print-message.xml
382
- - test/reports/TEST-HammerCLI-Output-Adapter-Json.xml
383
370
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
384
371
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
385
372
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
386
373
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
387
374
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
388
375
  - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
389
- - test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection-show-ids.xml
390
- - test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection.xml
391
- - test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-message.xml
392
- - test/reports/TEST-HammerCLI-Output-Adapter-Yaml.xml
393
376
  - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
394
377
  - test/reports/TEST-HammerCLI-Output-Definition.xml
395
378
  - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
@@ -419,23 +402,12 @@ files:
419
402
  - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
420
403
  - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
421
404
  - test/reports/TEST-HammerCLI-ShellHistory.xml
422
- - test/reports/TEST-HammerCLI-constant-path.xml
423
- - test/reports/TEST-HammerCLI-interactive-.xml
424
- - test/reports/TEST-HammerCLI.xml
425
- - test/reports/TEST-Logging-LogEvent-filtering.xml
426
- - test/reports/TEST-Logging-LogEvent.xml
427
405
  - test/reports/TEST-MiniTest-Spec.xml
428
406
  - test/reports/TEST-String-camelize.xml
429
- - test/reports/TEST-String-constantize.xml
430
407
  - test/reports/TEST-String-formatting.xml
431
408
  - test/reports/TEST-String-indent.xml
432
- - test/reports/TEST-String-underscore.xml
409
+ - test/reports/TEST-String-interactive-.xml
433
410
  - test/reports/TEST-String.xml
434
- - test/reports/TEST-commands-defaults-add.xml
435
- - test/reports/TEST-commands-defaults-delete.xml
436
- - test/reports/TEST-commands-defaults-list.xml
437
- - test/reports/TEST-commands-defaults-providers.xml
438
- - test/reports/TEST-commands.xml
439
411
  - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
440
412
  - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
441
413
  - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
@@ -445,6 +417,7 @@ files:
445
417
  - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
446
418
  - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
447
419
  - test/reports/TEST-constraints.xml
420
+ - test/test_helper.rb
448
421
  - test/unit/abstract_test.rb
449
422
  - test/unit/apipie/command_test.rb
450
423
  - test/unit/apipie/option_builder_test.rb
@@ -494,226 +467,197 @@ require_paths:
494
467
  - lib
495
468
  required_ruby_version: !ruby/object:Gem::Requirement
496
469
  requirements:
497
- - - ">="
470
+ - - '>='
498
471
  - !ruby/object:Gem::Version
499
472
  version: '0'
500
473
  required_rubygems_version: !ruby/object:Gem::Requirement
501
474
  requirements:
502
- - - ">="
475
+ - - '>='
503
476
  - !ruby/object:Gem::Version
504
477
  version: '0'
505
478
  requirements: []
506
479
  rubyforge_project:
507
- rubygems_version: 2.4.8
480
+ rubygems_version: 2.4.4
508
481
  signing_key:
509
482
  specification_version: 4
510
483
  summary: Universal command-line interface
511
484
  test_files:
512
- - test/unit/abstract_test.rb
513
- - test/unit/apipie/option_builder_test.rb
514
- - test/unit/apipie/option_definition_test.rb
515
- - test/unit/apipie/command_test.rb
516
- - test/unit/completer_test.rb
517
- - test/unit/connection_test.rb
518
- - test/unit/fixtures/apipie/architectures.json
519
- - test/unit/fixtures/apipie/documented.json
520
- - test/unit/fixtures/json_input/invalid.json
521
- - test/unit/fixtures/json_input/valid.json
522
- - test/unit/fixtures/defaults/defaults.yml
523
- - test/unit/history_test.rb
524
- - test/unit/i18n_test.rb
525
- - test/unit/logger_test.rb
526
- - test/unit/main_test.rb
527
- - test/unit/modules_test.rb
528
- - test/unit/option_builder_test.rb
529
- - test/unit/options/field_filter_test.rb
530
- - test/unit/options/matcher_test.rb
531
- - test/unit/options/normalizers_test.rb
532
- - test/unit/options/option_definition_test.rb
533
- - test/unit/output/adapter/abstract_test.rb
534
- - test/unit/output/adapter/base_test.rb
535
- - test/unit/output/adapter/csv_test.rb
536
- - test/unit/output/adapter/table_test.rb
537
- - test/unit/output/adapter/json_test.rb
538
- - test/unit/output/adapter/yaml_test.rb
539
- - test/unit/output/definition_test.rb
540
- - test/unit/output/dsl_test.rb
541
- - test/unit/output/fields_test.rb
542
- - test/unit/output/output_test.rb
543
- - test/unit/output/record_collection_test.rb
544
- - test/unit/output/formatters_test.rb
545
- - test/unit/settings_test.rb
546
- - test/unit/utils_test.rb
547
- - test/unit/validator_test.rb
548
- - test/unit/exception_handler_test.rb
549
- - test/unit/test_helper.rb
550
- - test/unit/defaults_test.rb
551
- - test/reports/TEST-Fields-ContainerField.xml
552
- - test/reports/TEST-Fields-ContainerField-display-.xml
553
- - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
554
- - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
555
- - test/reports/TEST-Fields-Field.xml
556
- - test/reports/TEST-Fields-Field-display-.xml
557
- - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
485
+ - test/reports/TEST-HammerCLI-MainCommand.xml
486
+ - test/reports/TEST-HammerCLI-ShellHistory.xml
558
487
  - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
559
- - test/reports/TEST-Fields-Field-hide-blank-.xml
560
- - test/reports/TEST-Fields-Field-parameters.xml
561
- - test/reports/TEST-Fields-Label.xml
562
- - test/reports/TEST-Fields-Label-display-.xml
563
- - test/reports/TEST-Fields-Label-display-blank-is-allowed.xml
564
- - test/reports/TEST-Fields-Label-display-blank-is-not-allowed.xml
565
- - test/reports/TEST-HammerCLI.xml
566
- - test/reports/TEST-HammerCLI-AbstractCommand.xml
567
- - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
568
- - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
569
- - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
570
- - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
571
- - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
572
- - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
573
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
574
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
575
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
576
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
577
- - test/reports/TEST-HammerCLI-Apipie-Command.xml
488
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
489
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
490
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
491
+ - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
492
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
493
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
494
+ - test/reports/TEST-HammerCLI-Output-Definition.xml
495
+ - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
496
+ - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
578
497
  - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
579
- - test/reports/TEST-HammerCLI-Apipie-Command-reload-apipie-cache.xml
580
498
  - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
581
- - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
582
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
583
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
584
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
585
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
586
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
587
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-referenced-resources.xml
499
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
500
+ - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
501
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
502
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
503
+ - test/reports/TEST-constraints.xml
504
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
505
+ - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
506
+ - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
507
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
508
+ - test/reports/TEST-HammerCLI-Apipie-Command.xml
509
+ - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
588
510
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
511
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
512
+ - test/reports/TEST-Fields-ContainerField.xml
513
+ - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
514
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
515
+ - test/reports/TEST-HammerCLI-Modules.xml
516
+ - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
517
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
518
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
519
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
520
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
521
+ - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
522
+ - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
523
+ - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
524
+ - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
525
+ - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
526
+ - test/reports/TEST-HammerCLI-Output-Output.xml
589
527
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
590
- - test/reports/TEST-HammerCLI-Apipie-OptionDefinition.xml
591
- - test/reports/TEST-HammerCLI-Apipie-OptionDefinition-referenced-resource.xml
592
- - test/reports/TEST-HammerCLI-Completer.xml
593
- - test/reports/TEST-HammerCLI-Completer-command-completion.xml
594
- - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
595
- - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
596
528
  - test/reports/TEST-HammerCLI-CompleterLine.xml
597
- - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
598
- - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
599
- - test/reports/TEST-HammerCLI-CompleterWord.xml
600
- - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
601
- - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
602
- - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
529
+ - test/reports/TEST-HammerCLI-Modules-names.xml
530
+ - test/reports/TEST-Fields-Field-hide-blank-.xml
531
+ - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
603
532
  - test/reports/TEST-HammerCLI-Connection.xml
604
- - test/reports/TEST-HammerCLI-Defaults.xml
605
- - test/reports/TEST-HammerCLI-ExceptionHandler.xml
606
- - test/reports/TEST-HammerCLI-I18n.xml
607
- - test/reports/TEST-HammerCLI-MainCommand.xml
608
- - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
533
+ - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
534
+ - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
535
+ - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
609
536
  - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
610
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
611
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
612
- - test/reports/TEST-HammerCLI-Modules.xml
613
- - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
614
- - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
615
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
616
- - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
617
- - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
618
- - test/reports/TEST-String.xml
619
- - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
620
- - test/reports/TEST-HammerCLI-Modules-names.xml
537
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
538
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
621
539
  - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
622
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
623
- - test/reports/TEST-HammerCLI-Options-Matcher.xml
624
- - test/reports/TEST-HammerCLI-Options-Normalizers.xml
625
- - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
626
- - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
627
- - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
628
- - test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml
540
+ - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
541
+ - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
542
+ - test/reports/TEST-HammerCLI-CompleterWord.xml
543
+ - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
544
+ - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
545
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
629
546
  - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
630
- - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
631
- - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
632
- - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
633
- - test/reports/TEST-HammerCLI-Options-Normalizers-number.xml
634
- - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
635
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
636
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-deprecated-options.xml
637
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
638
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
639
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
640
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
641
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
642
- - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
643
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
644
547
  - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
645
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
548
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
549
+ - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
550
+ - test/reports/TEST-String.xml
551
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
552
+ - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
553
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
554
+ - test/reports/TEST-Fields-ContainerField-display-.xml
555
+ - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
646
556
  - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
647
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
648
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
649
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
557
+ - test/reports/TEST-HammerCLI-Settings.xml
558
+ - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
559
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
560
+ - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
561
+ - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
562
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
563
+ - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
564
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
565
+ - test/reports/TEST-HammerCLI-Output-Output-messages.xml
566
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
567
+ - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
568
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
569
+ - test/reports/TEST-Fields-Field.xml
570
+ - test/reports/TEST-HammerCLI-AbstractCommand.xml
571
+ - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
572
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
573
+ - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
574
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
575
+ - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
650
576
  - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
651
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
652
- - test/reports/TEST-HammerCLI-Output-Adapter-Json.xml
653
- - test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection.xml
654
- - test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection-show-ids.xml
655
- - test/reports/TEST-HammerCLI-Output-Adapter-Json-print-message.xml
656
- - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
657
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
658
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
659
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
660
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
661
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
662
- - test/reports/TEST-HammerCLI-Output-Adapter-Yaml.xml
663
- - test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection.xml
664
- - test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection-show-ids.xml
665
- - test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-message.xml
666
- - test/reports/TEST-HammerCLI-Output-Definition.xml
667
- - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
577
+ - test/reports/TEST-HammerCLI-Completer-command-completion.xml
578
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
579
+ - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
580
+ - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
581
+ - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
582
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
583
+ - test/reports/TEST-HammerCLI-I18n.xml
584
+ - test/reports/TEST-MiniTest-Spec.xml
585
+ - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
586
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
587
+ - test/reports/TEST-HammerCLI-Options-Normalizers.xml
668
588
  - test/reports/TEST-HammerCLI-Output-Dsl.xml
589
+ - test/reports/TEST-HammerCLI-Output-Output-data.xml
590
+ - test/reports/TEST-Fields-Field-display-.xml
669
591
  - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
670
- - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
592
+ - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
671
593
  - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
672
- - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
594
+ - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
595
+ - test/reports/TEST-HammerCLI-Completer.xml
596
+ - test/reports/TEST-String-interactive-.xml
597
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
598
+ - test/reports/TEST-String-formatting.xml
673
599
  - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
674
- - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
675
- - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
600
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
601
+ - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
676
602
  - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
677
- - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
678
- - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
679
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
680
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
681
- - test/reports/TEST-HammerCLI-Settings.xml
682
- - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
683
- - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
603
+ - test/reports/TEST-HammerCLI-ExceptionHandler.xml
604
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
605
+ - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
606
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
607
+ - test/reports/TEST-Fields-Field-parameters.xml
608
+ - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
609
+ - test/reports/TEST-Fields-Field-display-blank-is-allowed.xml
684
610
  - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
685
- - test/reports/TEST-HammerCLI-Output-Output.xml
686
- - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
687
- - test/reports/TEST-HammerCLI-Output-Output-data.xml
688
- - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
689
- - test/reports/TEST-HammerCLI-Output-Output-messages.xml
690
- - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
691
- - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
692
- - test/reports/TEST-HammerCLI-ShellHistory.xml
693
- - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
694
- - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
695
- - test/reports/TEST-HammerCLI-constant-path.xml
696
- - test/reports/TEST-HammerCLI-interactive-.xml
697
- - test/reports/TEST-Logging-LogEvent.xml
698
- - test/reports/TEST-Logging-LogEvent-filtering.xml
699
- - test/reports/TEST-MiniTest-Spec.xml
611
+ - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
700
612
  - test/reports/TEST-String-camelize.xml
701
- - test/reports/TEST-String-constantize.xml
702
- - test/reports/TEST-String-formatting.xml
703
613
  - test/reports/TEST-String-indent.xml
704
- - test/reports/TEST-String-underscore.xml
705
- - test/reports/TEST-commands.xml
706
- - test/reports/TEST-commands-defaults-add.xml
707
- - test/reports/TEST-commands-defaults-delete.xml
708
- - test/reports/TEST-commands-defaults-list.xml
709
- - test/reports/TEST-commands-defaults-providers.xml
710
- - test/reports/TEST-constraints.xml
614
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
615
+ - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
616
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml
711
617
  - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
712
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
713
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
714
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
715
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
716
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
717
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
718
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
618
+ - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
619
+ - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
620
+ - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
621
+ - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
719
622
  - test/functional/defaults_test.rb
623
+ - test/functional/test_helper.rb
624
+ - test/unit/logger_test.rb
625
+ - test/unit/abstract_test.rb
626
+ - test/unit/validator_test.rb
627
+ - test/unit/main_test.rb
628
+ - test/unit/options/field_filter_test.rb
629
+ - test/unit/options/option_definition_test.rb
630
+ - test/unit/options/normalizers_test.rb
631
+ - test/unit/options/matcher_test.rb
632
+ - test/unit/settings_test.rb
633
+ - test/unit/exception_handler_test.rb
634
+ - test/unit/defaults_test.rb
635
+ - test/unit/utils_test.rb
636
+ - test/unit/fixtures/json_input/valid.json
637
+ - test/unit/fixtures/json_input/invalid.json
638
+ - test/unit/fixtures/apipie/documented.json
639
+ - test/unit/fixtures/apipie/architectures.json
640
+ - test/unit/fixtures/defaults/defaults.yml
641
+ - test/unit/apipie/command_test.rb
642
+ - test/unit/apipie/option_definition_test.rb
643
+ - test/unit/apipie/option_builder_test.rb
644
+ - test/unit/i18n_test.rb
645
+ - test/unit/option_builder_test.rb
646
+ - test/unit/output/fields_test.rb
647
+ - test/unit/output/adapter/csv_test.rb
648
+ - test/unit/output/adapter/abstract_test.rb
649
+ - test/unit/output/adapter/json_test.rb
650
+ - test/unit/output/adapter/base_test.rb
651
+ - test/unit/output/adapter/table_test.rb
652
+ - test/unit/output/adapter/yaml_test.rb
653
+ - test/unit/output/dsl_test.rb
654
+ - test/unit/output/output_test.rb
655
+ - test/unit/output/formatters_test.rb
656
+ - test/unit/output/record_collection_test.rb
657
+ - test/unit/output/definition_test.rb
658
+ - test/unit/completer_test.rb
659
+ - test/unit/history_test.rb
660
+ - test/unit/modules_test.rb
661
+ - test/unit/test_helper.rb
662
+ - test/unit/connection_test.rb
663
+ - test/test_helper.rb