hammer_cli 0.4.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +1 -1
  3. data/doc/release_notes.md +9 -0
  4. data/lib/hammer_cli/abstract.rb +14 -4
  5. data/lib/hammer_cli/context.rb +13 -0
  6. data/lib/hammer_cli/defaults.rb +83 -0
  7. data/lib/hammer_cli/defaults_commands.rb +160 -0
  8. data/lib/hammer_cli/options/option_definition.rb +3 -3
  9. data/lib/hammer_cli/output/adapter/json.rb +13 -0
  10. data/lib/hammer_cli/output/adapter/yaml.rb +13 -0
  11. data/lib/hammer_cli/settings.rb +1 -0
  12. data/lib/hammer_cli/version.rb +1 -1
  13. data/lib/hammer_cli.rb +2 -0
  14. data/locale/de/hammer-cli.edit.po +251 -139
  15. data/locale/de/hammer-cli.po +81 -7
  16. data/locale/en/hammer-cli.edit.po +95 -7
  17. data/locale/en/hammer-cli.po +79 -5
  18. data/locale/en_GB/hammer-cli.edit.po +248 -136
  19. data/locale/en_GB/hammer-cli.po +81 -7
  20. data/locale/es/hammer-cli.edit.po +250 -138
  21. data/locale/es/hammer-cli.po +81 -7
  22. data/locale/fr/hammer-cli.edit.po +250 -138
  23. data/locale/fr/hammer-cli.po +81 -7
  24. data/locale/hammer-cli.pot +104 -8
  25. data/locale/it/hammer-cli.edit.po +249 -137
  26. data/locale/it/hammer-cli.po +81 -7
  27. data/locale/ja/hammer-cli.edit.po +248 -136
  28. data/locale/ja/hammer-cli.po +81 -7
  29. data/locale/ko/hammer-cli.edit.po +248 -136
  30. data/locale/ko/hammer-cli.po +81 -7
  31. data/locale/pt_BR/hammer-cli.edit.po +250 -137
  32. data/locale/pt_BR/hammer-cli.po +81 -7
  33. data/locale/ru/hammer-cli.edit.po +249 -137
  34. data/locale/ru/hammer-cli.po +81 -7
  35. data/locale/zh_CN/hammer-cli.edit.po +248 -136
  36. data/locale/zh_CN/hammer-cli.po +82 -8
  37. data/locale/zh_TW/hammer-cli.edit.po +248 -136
  38. data/locale/zh_TW/hammer-cli.po +81 -7
  39. data/test/functional/defaults_test.rb +177 -0
  40. data/test/reports/TEST-Fields-ContainerField-display-.xml +1 -1
  41. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +5 -5
  42. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +5 -5
  43. data/test/reports/TEST-Fields-ContainerField.xml +1 -1
  44. data/test/reports/TEST-Fields-Field-display-.xml +1 -1
  45. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +3 -3
  46. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +3 -3
  47. data/test/reports/TEST-Fields-Field-hide-blank-.xml +3 -3
  48. data/test/reports/TEST-Fields-Field-parameters.xml +2 -2
  49. data/test/reports/TEST-Fields-Field.xml +4 -4
  50. data/test/reports/TEST-Fields-Label-display-.xml +7 -0
  51. data/test/reports/TEST-Fields-Label-display-blank-is-allowed.xml +15 -0
  52. data/test/reports/TEST-Fields-Label-display-blank-is-not-allowed.xml +15 -0
  53. data/test/reports/TEST-Fields-Label.xml +7 -0
  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 +10 -8
  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-reload-apipie-cache.xml +11 -0
  67. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +2 -2
  68. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +7 -7
  69. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +2 -2
  70. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +4 -4
  71. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +5 -5
  72. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +3 -3
  73. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +8 -2
  74. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-referenced-resources.xml +9 -0
  75. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +3 -3
  76. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +5 -5
  77. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +1 -1
  78. data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition-referenced-resource.xml +13 -0
  79. data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition.xml +7 -0
  80. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +12 -12
  81. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +6 -6
  82. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +7 -7
  83. data/test/reports/TEST-HammerCLI-Completer.xml +1 -1
  84. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +10 -10
  85. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +12 -12
  86. data/test/reports/TEST-HammerCLI-CompleterLine.xml +1 -1
  87. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +9 -9
  88. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +5 -5
  89. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +4 -4
  90. data/test/reports/TEST-HammerCLI-CompleterWord.xml +1 -1
  91. data/test/reports/TEST-HammerCLI-Connection.xml +8 -8
  92. data/test/reports/TEST-HammerCLI-Defaults.xml +19 -0
  93. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +8 -8
  94. data/test/reports/TEST-HammerCLI-I18n.xml +3 -3
  95. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +3 -3
  96. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +3 -3
  97. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +2 -2
  98. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +1 -1
  99. data/test/reports/TEST-HammerCLI-MainCommand.xml +1 -1
  100. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +4 -4
  101. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +4 -4
  102. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +4 -4
  103. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +5 -5
  104. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +1 -1
  105. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +4 -2
  106. data/test/reports/TEST-HammerCLI-Modules-names.xml +4 -4
  107. data/test/reports/TEST-HammerCLI-Modules.xml +1 -1
  108. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +5 -1
  109. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +1 -5
  110. data/test/reports/TEST-HammerCLI-Options-Matcher.xml +17 -0
  111. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +2 -2
  112. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +13 -13
  113. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +6 -6
  114. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +5 -5
  115. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +8 -8
  116. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +5 -5
  117. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +26 -6
  118. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +5 -5
  119. data/test/reports/TEST-HammerCLI-Options-Normalizers-number.xml +11 -0
  120. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +1 -1
  121. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +2 -2
  122. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-deprecated-options.xml +11 -0
  123. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +3 -3
  124. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +1 -1
  125. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +5 -5
  126. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +3 -3
  127. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +5 -5
  128. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +6 -6
  129. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +2 -2
  130. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +11 -11
  131. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +1 -1
  132. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +3 -3
  133. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +4 -4
  134. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +3 -3
  135. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +3 -3
  136. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +3 -3
  137. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +3 -3
  138. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +1 -1
  139. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection-show-ids.xml +9 -0
  140. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection.xml +27 -0
  141. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-message.xml +11 -0
  142. data/test/reports/TEST-HammerCLI-Output-Adapter-Json.xml +7 -0
  143. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +11 -5
  144. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +3 -3
  145. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +7 -3
  146. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +2 -2
  147. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +3 -3
  148. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +1 -1
  149. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection-show-ids.xml +9 -0
  150. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection.xml +27 -0
  151. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-message.xml +11 -0
  152. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml.xml +7 -0
  153. data/test/reports/TEST-HammerCLI-Output-Definition-empty-.xml +3 -3
  154. data/test/reports/TEST-HammerCLI-Output-Definition.xml +3 -3
  155. data/test/reports/TEST-HammerCLI-Output-Dsl-collection.xml +4 -4
  156. data/test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml +3 -3
  157. data/test/reports/TEST-HammerCLI-Output-Dsl-fields.xml +5 -5
  158. data/test/reports/TEST-HammerCLI-Output-Dsl-label.xml +4 -4
  159. data/test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml +4 -4
  160. data/test/reports/TEST-HammerCLI-Output-Dsl.xml +2 -2
  161. data/test/reports/TEST-HammerCLI-Output-FieldFilter.xml +4 -4
  162. data/test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml +3 -3
  163. data/test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml +2 -2
  164. data/test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml +3 -3
  165. data/test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml +4 -4
  166. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml +4 -4
  167. data/test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml +3 -3
  168. data/test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml +4 -4
  169. data/test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml +4 -4
  170. data/test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml +4 -4
  171. data/test/reports/TEST-HammerCLI-Output-Output-adapters.xml +6 -6
  172. data/test/reports/TEST-HammerCLI-Output-Output-data.xml +5 -5
  173. data/test/reports/TEST-HammerCLI-Output-Output-formatters.xml +2 -2
  174. data/test/reports/TEST-HammerCLI-Output-Output-messages.xml +7 -7
  175. data/test/reports/TEST-HammerCLI-Output-Output.xml +1 -1
  176. data/test/reports/TEST-HammerCLI-Output-RecordCollection.xml +4 -4
  177. data/test/reports/TEST-HammerCLI-Settings-load-from-paths.xml +5 -5
  178. data/test/reports/TEST-HammerCLI-Settings.xml +10 -10
  179. data/test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml +3 -3
  180. data/test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml +5 -5
  181. data/test/reports/TEST-HammerCLI-ShellHistory.xml +1 -1
  182. data/test/reports/TEST-HammerCLI-constant-path.xml +15 -0
  183. data/test/reports/{TEST-String-interactive-.xml → TEST-HammerCLI-interactive-.xml} +4 -4
  184. data/test/reports/TEST-HammerCLI.xml +7 -0
  185. data/test/reports/TEST-Logging-LogEvent-filtering.xml +9 -0
  186. data/test/reports/TEST-Logging-LogEvent.xml +7 -0
  187. data/test/reports/TEST-MiniTest-Spec.xml +1 -1
  188. data/test/reports/TEST-String-camelize.xml +3 -3
  189. data/test/reports/TEST-String-constantize.xml +15 -0
  190. data/test/reports/TEST-String-formatting.xml +6 -6
  191. data/test/reports/TEST-String-indent.xml +3 -3
  192. data/test/reports/TEST-String-underscore.xml +13 -0
  193. data/test/reports/TEST-String.xml +1 -1
  194. data/test/reports/TEST-commands-defaults-add.xml +21 -0
  195. data/test/reports/TEST-commands-defaults-delete.xml +11 -0
  196. data/test/reports/TEST-commands-defaults-list.xml +11 -0
  197. data/test/reports/TEST-commands-defaults-providers.xml +11 -0
  198. data/test/reports/TEST-commands.xml +7 -0
  199. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +4 -4
  200. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +1 -1
  201. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +4 -4
  202. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +1 -1
  203. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +2 -2
  204. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +4 -4
  205. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +4 -4
  206. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +1 -1
  207. data/test/reports/TEST-constraints.xml +1 -1
  208. data/test/unit/apipie/command_test.rb +1 -0
  209. data/test/unit/defaults_test.rb +45 -0
  210. data/test/unit/fixtures/defaults/defaults.yml +6 -0
  211. data/test/unit/output/adapter/json_test.rb +30 -0
  212. data/test/unit/output/adapter/yaml_test.rb +28 -0
  213. metadata +258 -186
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.4.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bačovský
@@ -9,142 +9,143 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-21 00:00:00.000000000 Z
12
+ date: 2015-12-15 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: |
127
- Hammer cli provides universal extendable CLI interface for ruby apps
126
+ description: 'Hammer cli provides universal extendable CLI interface for ruby apps
127
+
128
+ '
128
129
  email: mbacovsk@redhat.com
129
130
  executables:
130
131
  - hammer
131
132
  extensions: []
132
133
  extra_rdoc_files:
133
- - doc/option_builders.md
134
+ - doc/creating_apipie_commands.md
135
+ - doc/creating_commands.md
136
+ - doc/design.png
134
137
  - 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
146
140
  - doc/installation.md
147
141
  - 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
148
149
  - doc/release_notes.md
149
150
  - config/cli.modules.d/module_config_template.yml
150
151
  - config/cli_config.template.yml
@@ -183,6 +184,9 @@ files:
183
184
  - lib/hammer_cli/clamp.rb
184
185
  - lib/hammer_cli/completer.rb
185
186
  - lib/hammer_cli/connection.rb
187
+ - lib/hammer_cli/context.rb
188
+ - lib/hammer_cli/defaults.rb
189
+ - lib/hammer_cli/defaults_commands.rb
186
190
  - lib/hammer_cli/exception_handler.rb
187
191
  - lib/hammer_cli/exceptions.rb
188
192
  - lib/hammer_cli/exit_codes.rb
@@ -272,6 +276,7 @@ files:
272
276
  - locale/zh_TW/hammer-cli.edit.po
273
277
  - locale/zh_TW/hammer-cli.po
274
278
  - locale/zh_TW/hammer-cli.po.time_stamp
279
+ - test/functional/defaults_test.rb
275
280
  - test/reports/TEST-Fields-ContainerField-display-.xml
276
281
  - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
277
282
  - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
@@ -282,6 +287,10 @@ files:
282
287
  - test/reports/TEST-Fields-Field-hide-blank-.xml
283
288
  - test/reports/TEST-Fields-Field-parameters.xml
284
289
  - 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
285
294
  - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
286
295
  - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
287
296
  - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
@@ -294,6 +303,7 @@ files:
294
303
  - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
295
304
  - test/reports/TEST-HammerCLI-AbstractCommand.xml
296
305
  - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
306
+ - test/reports/TEST-HammerCLI-Apipie-Command-reload-apipie-cache.xml
297
307
  - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
298
308
  - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml
299
309
  - test/reports/TEST-HammerCLI-Apipie-Command.xml
@@ -301,9 +311,12 @@ files:
301
311
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
302
312
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
303
313
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
314
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-referenced-resources.xml
304
315
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
305
316
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml
306
317
  - 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
307
320
  - test/reports/TEST-HammerCLI-Completer-command-completion.xml
308
321
  - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
309
322
  - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
@@ -316,6 +329,7 @@ files:
316
329
  - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
317
330
  - test/reports/TEST-HammerCLI-CompleterWord.xml
318
331
  - test/reports/TEST-HammerCLI-Connection.xml
332
+ - test/reports/TEST-HammerCLI-Defaults.xml
319
333
  - test/reports/TEST-HammerCLI-ExceptionHandler.xml
320
334
  - test/reports/TEST-HammerCLI-I18n.xml
321
335
  - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
@@ -333,6 +347,7 @@ files:
333
347
  - test/reports/TEST-HammerCLI-Modules.xml
334
348
  - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
335
349
  - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
350
+ - test/reports/TEST-HammerCLI-Options-Matcher.xml
336
351
  - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
337
352
  - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
338
353
  - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
@@ -341,8 +356,10 @@ files:
341
356
  - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
342
357
  - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
343
358
  - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
359
+ - test/reports/TEST-HammerCLI-Options-Normalizers-number.xml
344
360
  - test/reports/TEST-HammerCLI-Options-Normalizers.xml
345
361
  - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
362
+ - test/reports/TEST-HammerCLI-Options-OptionDefinition-deprecated-options.xml
346
363
  - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml
347
364
  - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
348
365
  - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
@@ -359,12 +376,20 @@ files:
359
376
  - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
360
377
  - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
361
378
  - 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
362
383
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
363
384
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
364
385
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
365
386
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml
366
387
  - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
367
388
  - 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
368
393
  - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
369
394
  - test/reports/TEST-HammerCLI-Output-Definition.xml
370
395
  - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
@@ -394,12 +419,23 @@ files:
394
419
  - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
395
420
  - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
396
421
  - 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
397
427
  - test/reports/TEST-MiniTest-Spec.xml
398
428
  - test/reports/TEST-String-camelize.xml
429
+ - test/reports/TEST-String-constantize.xml
399
430
  - test/reports/TEST-String-formatting.xml
400
431
  - test/reports/TEST-String-indent.xml
401
- - test/reports/TEST-String-interactive-.xml
432
+ - test/reports/TEST-String-underscore.xml
402
433
  - 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
403
439
  - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
404
440
  - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
405
441
  - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
@@ -415,9 +451,11 @@ files:
415
451
  - test/unit/apipie/option_definition_test.rb
416
452
  - test/unit/completer_test.rb
417
453
  - test/unit/connection_test.rb
454
+ - test/unit/defaults_test.rb
418
455
  - test/unit/exception_handler_test.rb
419
456
  - test/unit/fixtures/apipie/architectures.json
420
457
  - test/unit/fixtures/apipie/documented.json
458
+ - test/unit/fixtures/defaults/defaults.yml
421
459
  - test/unit/fixtures/json_input/invalid.json
422
460
  - test/unit/fixtures/json_input/valid.json
423
461
  - test/unit/history_test.rb
@@ -456,192 +494,226 @@ require_paths:
456
494
  - lib
457
495
  required_ruby_version: !ruby/object:Gem::Requirement
458
496
  requirements:
459
- - - '>='
497
+ - - ">="
460
498
  - !ruby/object:Gem::Version
461
499
  version: '0'
462
500
  required_rubygems_version: !ruby/object:Gem::Requirement
463
501
  requirements:
464
- - - '>='
502
+ - - ">="
465
503
  - !ruby/object:Gem::Version
466
504
  version: '0'
467
505
  requirements: []
468
506
  rubyforge_project:
469
- rubygems_version: 2.4.4
507
+ rubygems_version: 2.4.8
470
508
  signing_key:
471
509
  specification_version: 4
472
510
  summary: Universal command-line interface
473
511
  test_files:
474
- - test/reports/TEST-HammerCLI-MainCommand.xml
475
- - test/reports/TEST-HammerCLI-ShellHistory.xml
476
- - test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml
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
477
554
  - test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml
478
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
479
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
480
- - test/reports/TEST-HammerCLI-CompleterWord-complete-.xml
481
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml
482
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml
483
- - test/reports/TEST-HammerCLI-Output-Definition.xml
484
- - test/reports/TEST-HammerCLI-ShellHistory-loading-old-history.xml
485
- - test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml
486
- - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
487
- - test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml
488
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterContainer.xml
489
- - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
490
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml
491
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml
492
- - test/reports/TEST-constraints.xml
493
- - test/reports/TEST-HammerCLI-Output-Adapter-Table.xml
494
- - test/reports/TEST-HammerCLI-Options-Normalizers-enum.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
558
+ - 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
495
570
  - test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml
496
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml
497
- - test/reports/TEST-HammerCLI-Apipie-Command.xml
498
- - test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml
499
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
500
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml
501
- - test/reports/TEST-Fields-ContainerField.xml
571
+ - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
502
572
  - test/reports/TEST-HammerCLI-AbstractCommand-output.xml
503
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml
504
- - test/reports/TEST-HammerCLI-Modules.xml
505
- - test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml
506
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml
507
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml
508
- - test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.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
578
+ - test/reports/TEST-HammerCLI-Apipie-Command-options.xml
579
+ - test/reports/TEST-HammerCLI-Apipie-Command-reload-apipie-cache.xml
580
+ - 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
509
583
  - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml
510
- - test/reports/TEST-HammerCLI-Modules-find-by-name.xml
511
- - test/reports/TEST-HammerCLI-Output-Output-formatters.xml
512
- - test/reports/TEST-HammerCLI-Output-Formatters-ListFormatter.xml
513
- - test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml
514
- - test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml
515
- - test/reports/TEST-HammerCLI-Output-Output.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
588
+ - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml
516
589
  - 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
517
596
  - test/reports/TEST-HammerCLI-CompleterLine.xml
518
- - test/reports/TEST-HammerCLI-Modules-names.xml
519
- - test/reports/TEST-Fields-Field-hide-blank-.xml
520
- - test/reports/TEST-HammerCLI-AbstractCommand-logging.xml
521
- - test/reports/TEST-HammerCLI-Connection.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
522
601
  - test/reports/TEST-HammerCLI-CompleterWord-quote.xml
523
- - test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml
524
- - test/reports/TEST-HammerCLI-Output-Formatters-DateFormatter.xml
602
+ - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
603
+ - 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
525
609
  - test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml
526
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml
527
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml
528
- - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
529
- - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
530
- - test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml
531
- - test/reports/TEST-HammerCLI-CompleterWord.xml
532
- - test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.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
533
614
  - test/reports/TEST-HammerCLI-Modules-load-a-module.xml
534
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml
535
- - test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml
536
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
537
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml
538
- - test/reports/TEST-HammerCLI-ShellHistory-saving-history.xml
539
- - test/reports/TEST-String.xml
540
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml
541
- - test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml
542
- - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml
543
- - test/reports/TEST-Fields-ContainerField-display-.xml
544
- - test/reports/TEST-HammerCLI-Settings-load-from-paths.xml
545
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml
546
- - test/reports/TEST-HammerCLI-Settings.xml
547
- - test/reports/TEST-HammerCLI-Output-RecordCollection.xml
548
615
  - test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml
549
- - test/reports/TEST-HammerCLI-Output-Formatters-FieldFormatter.xml
550
- - test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml
551
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml
552
- - test/reports/TEST-HammerCLI-Output-Formatters-FormatterLibrary.xml
553
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml
554
- - test/reports/TEST-HammerCLI-Output-Output-messages.xml
555
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml
556
- - test/reports/TEST-HammerCLI-Completer-option-value-completion.xml
557
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml
558
- - test/reports/TEST-Fields-Field.xml
559
- - test/reports/TEST-HammerCLI-AbstractCommand.xml
560
- - test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml
561
616
  - test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml
562
- - test/reports/TEST-HammerCLI-Output-Formatters-KeyValueFormatter.xml
563
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml
564
- - test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml
565
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml
566
- - test/reports/TEST-HammerCLI-Completer-command-completion.xml
567
- - test/reports/TEST-HammerCLI-Options-OptionDefinition.xml
617
+ - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
618
+ - test/reports/TEST-String.xml
568
619
  - test/reports/TEST-HammerCLI-Modules-load-all-modules.xml
569
- - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
570
- - test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml
571
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml
572
- - test/reports/TEST-HammerCLI-I18n.xml
573
- - test/reports/TEST-MiniTest-Spec.xml
574
- - test/reports/TEST-HammerCLI-Output-Output-adapters.xml
575
- - test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml
620
+ - test/reports/TEST-HammerCLI-Modules-names.xml
621
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.xml
622
+ - test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml
623
+ - test/reports/TEST-HammerCLI-Options-Matcher.xml
576
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
629
+ - 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
+ - test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml
645
+ - test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml
646
+ - 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
650
+ - 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
668
  - test/reports/TEST-HammerCLI-Output-Dsl.xml
578
- - test/reports/TEST-HammerCLI-Output-Output-data.xml
579
- - test/reports/TEST-Fields-Field-display-.xml
580
669
  - test/reports/TEST-HammerCLI-Output-Dsl-collection.xml
581
- - test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml
670
+ - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
582
671
  - test/reports/TEST-HammerCLI-Output-Dsl-fields.xml
583
- - test/reports/TEST-HammerCLI-MainCommand-loading-context.xml
584
- - test/reports/TEST-HammerCLI-Completer.xml
585
- - test/reports/TEST-String-interactive-.xml
586
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml
587
- - test/reports/TEST-String-formatting.xml
672
+ - test/reports/TEST-HammerCLI-Output-Dsl-label.xml
588
673
  - test/reports/TEST-HammerCLI-Output-Dsl-path-definition.xml
589
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml
590
- - test/reports/TEST-HammerCLI-Output-Dsl-custom-fields.xml
674
+ - test/reports/TEST-HammerCLI-Output-FieldFilter.xml
675
+ - test/reports/TEST-HammerCLI-Output-Formatters-BooleanFormatter.xml
591
676
  - test/reports/TEST-HammerCLI-Output-Formatters-ColorFormatter.xml
592
- - test/reports/TEST-HammerCLI-ExceptionHandler.xml
593
- - test/reports/TEST-HammerCLI-Output-Adapter-Base.xml
594
- - test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml
595
- - test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml
596
- - test/reports/TEST-Fields-Field-parameters.xml
597
- - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml
598
- - test/reports/TEST-Fields-Field-display-blank-is-allowed.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
599
684
  - test/reports/TEST-HammerCLI-Output-Formatters-LongTextFormatter.xml
600
- - test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.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
601
700
  - test/reports/TEST-String-camelize.xml
701
+ - test/reports/TEST-String-constantize.xml
702
+ - test/reports/TEST-String-formatting.xml
602
703
  - test/reports/TEST-String-indent.xml
603
- - test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml
604
- - test/reports/TEST-HammerCLI-Options-Normalizers-list.xml
605
- - test/reports/TEST-HammerCLI-Apipie-OptionBuilder.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
606
711
  - test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml
607
- - test/reports/TEST-HammerCLI-AbstractCommand-options.xml
608
- - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
609
- - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
610
- - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
611
- - test/unit/logger_test.rb
612
- - test/unit/abstract_test.rb
613
- - test/unit/validator_test.rb
614
- - test/unit/main_test.rb
615
- - test/unit/options/field_filter_test.rb
616
- - test/unit/options/option_definition_test.rb
617
- - test/unit/options/normalizers_test.rb
618
- - test/unit/options/matcher_test.rb
619
- - test/unit/settings_test.rb
620
- - test/unit/exception_handler_test.rb
621
- - test/unit/utils_test.rb
622
- - test/unit/fixtures/json_input/valid.json
623
- - test/unit/fixtures/json_input/invalid.json
624
- - test/unit/fixtures/apipie/documented.json
625
- - test/unit/fixtures/apipie/architectures.json
626
- - test/unit/apipie/command_test.rb
627
- - test/unit/apipie/option_definition_test.rb
628
- - test/unit/apipie/option_builder_test.rb
629
- - test/unit/i18n_test.rb
630
- - test/unit/option_builder_test.rb
631
- - test/unit/output/fields_test.rb
632
- - test/unit/output/adapter/csv_test.rb
633
- - test/unit/output/adapter/abstract_test.rb
634
- - test/unit/output/adapter/json_test.rb
635
- - test/unit/output/adapter/base_test.rb
636
- - test/unit/output/adapter/table_test.rb
637
- - test/unit/output/adapter/yaml_test.rb
638
- - test/unit/output/dsl_test.rb
639
- - test/unit/output/output_test.rb
640
- - test/unit/output/formatters_test.rb
641
- - test/unit/output/record_collection_test.rb
642
- - test/unit/output/definition_test.rb
643
- - test/unit/completer_test.rb
644
- - test/unit/history_test.rb
645
- - test/unit/modules_test.rb
646
- - test/unit/test_helper.rb
647
- - test/unit/connection_test.rb
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
719
+ - test/functional/defaults_test.rb