hammer_cli 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +4 -4
  2. data/config/cli_config.template.yml +4 -1
  3. data/doc/development_tips.md +2 -2
  4. data/doc/release_notes.md +13 -1
  5. data/lib/hammer_cli/apipie/option_definition.rb +3 -0
  6. data/lib/hammer_cli/defaults.rb +35 -16
  7. data/lib/hammer_cli/defaults_commands.rb +2 -2
  8. data/lib/hammer_cli/logger.rb +1 -1
  9. data/lib/hammer_cli/options/normalizers.rb +22 -10
  10. data/lib/hammer_cli/output/adapter/abstract.rb +5 -0
  11. data/lib/hammer_cli/output/adapter/csv.rb +5 -0
  12. data/lib/hammer_cli/output/adapter/table.rb +5 -0
  13. data/lib/hammer_cli/output/adapter/tree_structure.rb +5 -0
  14. data/lib/hammer_cli/output/output.rb +1 -1
  15. data/lib/hammer_cli/output/record_collection.rb +8 -4
  16. data/lib/hammer_cli/settings.rb +2 -0
  17. data/lib/hammer_cli/validator.rb +49 -1
  18. data/lib/hammer_cli/version.rb +1 -1
  19. data/locale/ca/LC_MESSAGES/hammer-cli.mo +0 -0
  20. data/locale/ca/hammer-cli.edit.po +411 -0
  21. data/locale/ca/hammer-cli.po +338 -0
  22. data/locale/ca/hammer-cli.po.time_stamp +0 -0
  23. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  24. data/locale/de/hammer-cli.edit.po +16 -16
  25. data/locale/de/hammer-cli.po +25 -5
  26. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  27. data/locale/en/hammer-cli.edit.po +46 -26
  28. data/locale/en/hammer-cli.po +20 -3
  29. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  30. data/locale/en_GB/hammer-cli.edit.po +25 -25
  31. data/locale/en_GB/hammer-cli.po +25 -5
  32. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  33. data/locale/es/hammer-cli.po +24 -6
  34. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  35. data/locale/fr/hammer-cli.edit.po +26 -26
  36. data/locale/fr/hammer-cli.po +24 -6
  37. data/locale/hammer-cli.pot +50 -28
  38. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  39. data/locale/it/hammer-cli.edit.po +9 -9
  40. data/locale/it/hammer-cli.po +25 -5
  41. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  42. data/locale/ja/hammer-cli.edit.po +9 -9
  43. data/locale/ja/hammer-cli.po +25 -5
  44. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  45. data/locale/ko/hammer-cli.edit.po +9 -9
  46. data/locale/ko/hammer-cli.po +25 -5
  47. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  48. data/locale/pt_BR/hammer-cli.edit.po +6 -6
  49. data/locale/pt_BR/hammer-cli.po +25 -5
  50. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  51. data/locale/ru/hammer-cli.edit.po +31 -30
  52. data/locale/ru/hammer-cli.po +25 -5
  53. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  54. data/locale/zh_CN/hammer-cli.edit.po +9 -9
  55. data/locale/zh_CN/hammer-cli.po +26 -6
  56. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  57. data/locale/zh_TW/hammer-cli.edit.po +9 -9
  58. data/locale/zh_TW/hammer-cli.po +25 -5
  59. data/test/functional/defaults_test.rb +12 -0
  60. data/test/reports/TEST-Fields-ContainerField-display-.xml +1 -1
  61. data/test/reports/TEST-Fields-ContainerField-display-blank-is-allowed.xml +5 -5
  62. data/test/reports/TEST-Fields-ContainerField-display-blank-is-not-allowed.xml +5 -5
  63. data/test/reports/TEST-Fields-ContainerField.xml +1 -1
  64. data/test/reports/TEST-Fields-Field-display-.xml +1 -1
  65. data/test/reports/TEST-Fields-Field-display-blank-is-allowed.xml +3 -3
  66. data/test/reports/TEST-Fields-Field-display-blank-is-not-allowed.xml +3 -3
  67. data/test/reports/TEST-Fields-Field-hide-blank-.xml +3 -3
  68. data/test/reports/TEST-Fields-Field-parameters.xml +2 -2
  69. data/test/reports/TEST-Fields-Field.xml +4 -4
  70. data/test/reports/TEST-HammerCLI-AbstractCommand-build-options.xml +5 -5
  71. data/test/reports/TEST-HammerCLI-AbstractCommand-exception-handler.xml +4 -4
  72. data/test/reports/TEST-HammerCLI-AbstractCommand-logging.xml +8 -10
  73. data/test/reports/TEST-HammerCLI-AbstractCommand-option-builder.xml +3 -3
  74. data/test/reports/TEST-HammerCLI-AbstractCommand-options.xml +3 -3
  75. data/test/reports/TEST-HammerCLI-AbstractCommand-output.xml +7 -7
  76. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-remove-subcommand.xml +3 -3
  77. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand-.xml +4 -4
  78. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior-subcommand.xml +3 -3
  79. data/test/reports/TEST-HammerCLI-AbstractCommand-subcommand-behavior.xml +1 -1
  80. data/test/reports/TEST-HammerCLI-AbstractCommand.xml +3 -3
  81. data/test/reports/TEST-HammerCLI-Apipie-Command-options.xml +3 -3
  82. data/test/reports/TEST-HammerCLI-Apipie-Command-resource-defined.xml +2 -2
  83. data/test/reports/TEST-HammerCLI-Apipie-Command-setting-resources.xml +7 -7
  84. data/test/reports/TEST-HammerCLI-Apipie-Command.xml +2 -2
  85. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-aliasing-resources.xml +4 -4
  86. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-filtering-options.xml +5 -5
  87. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-required-options.xml +3 -3
  88. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-correct-normalizers.xml +2 -8
  89. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-hash-params.xml +3 -3
  90. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-with-one-simple-param.xml +5 -5
  91. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder.xml +1 -1
  92. data/test/reports/TEST-HammerCLI-Completer-command-completion.xml +12 -12
  93. data/test/reports/TEST-HammerCLI-Completer-option-value-completion.xml +6 -6
  94. data/test/reports/TEST-HammerCLI-Completer-subcommand-completion.xml +7 -7
  95. data/test/reports/TEST-HammerCLI-Completer.xml +1 -1
  96. data/test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml +10 -10
  97. data/test/reports/TEST-HammerCLI-CompleterLine-splitting-words.xml +12 -12
  98. data/test/reports/TEST-HammerCLI-CompleterLine.xml +1 -1
  99. data/test/reports/TEST-HammerCLI-CompleterWord-complete-.xml +9 -9
  100. data/test/reports/TEST-HammerCLI-CompleterWord-quote.xml +5 -5
  101. data/test/reports/TEST-HammerCLI-CompleterWord-quoted-.xml +4 -4
  102. data/test/reports/TEST-HammerCLI-CompleterWord.xml +1 -1
  103. data/test/reports/TEST-HammerCLI-Connection.xml +8 -8
  104. data/test/reports/TEST-HammerCLI-ExceptionHandler.xml +8 -8
  105. data/test/reports/TEST-HammerCLI-I18n.xml +3 -3
  106. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-password.xml +3 -3
  107. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-username.xml +3 -3
  108. data/test/reports/TEST-HammerCLI-MainCommand-loading-context-verbose.xml +2 -2
  109. data/test/reports/TEST-HammerCLI-MainCommand-loading-context.xml +1 -1
  110. data/test/reports/TEST-HammerCLI-MainCommand.xml +1 -1
  111. data/test/reports/TEST-HammerCLI-Modules-find-by-name.xml +4 -4
  112. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-not-found.xml +4 -4
  113. data/test/reports/TEST-HammerCLI-Modules-load-a-module-module-runtime-exception.xml +4 -4
  114. data/test/reports/TEST-HammerCLI-Modules-load-a-module-success.xml +5 -5
  115. data/test/reports/TEST-HammerCLI-Modules-load-a-module.xml +1 -1
  116. data/test/reports/TEST-HammerCLI-Modules-load-all-modules.xml +2 -4
  117. data/test/reports/TEST-HammerCLI-Modules-names.xml +4 -4
  118. data/test/reports/TEST-HammerCLI-Modules.xml +1 -1
  119. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.0.xml +1 -5
  120. data/test/reports/TEST-HammerCLI-OptionBuilderContainer.xml +5 -1
  121. data/test/reports/TEST-HammerCLI-Options-Normalizers-abstract.xml +2 -2
  122. data/test/reports/TEST-HammerCLI-Options-Normalizers-bool.xml +13 -13
  123. data/test/reports/TEST-HammerCLI-Options-Normalizers-datetime.xml +6 -6
  124. data/test/reports/TEST-HammerCLI-Options-Normalizers-enum.xml +5 -5
  125. data/test/reports/TEST-HammerCLI-Options-Normalizers-enumlist.xml +8 -8
  126. data/test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml +5 -5
  127. data/test/reports/TEST-HammerCLI-Options-Normalizers-key-value-list.xml +6 -26
  128. data/test/reports/TEST-HammerCLI-Options-Normalizers-list.xml +5 -5
  129. data/test/reports/TEST-HammerCLI-Options-Normalizers.xml +1 -1
  130. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-context.xml +2 -2
  131. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-formatters.xml +3 -3
  132. data/test/reports/TEST-HammerCLI-Options-OptionDefinition.xml +1 -1
  133. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-error-messages.xml +5 -5
  134. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-messages.xml +3 -3
  135. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract-test-data-for-field.xml +5 -5
  136. data/test/reports/TEST-HammerCLI-Output-Adapter-Abstract.xml +6 -6
  137. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection-show-ids.xml +2 -2
  138. data/test/reports/TEST-HammerCLI-Output-Adapter-Base-print-collection.xml +11 -11
  139. data/test/reports/TEST-HammerCLI-Output-Adapter-Base.xml +1 -1
  140. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-formatters.xml +3 -3
  141. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-collections.xml +4 -4
  142. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-fields-with-containers.xml +3 -3
  143. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection-handle-ids.xml +3 -3
  144. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-collection.xml +3 -3
  145. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues-print-message.xml +3 -3
  146. data/test/reports/TEST-HammerCLI-Output-Adapter-CSValues.xml +1 -1
  147. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-column-width.xml +5 -11
  148. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-formatters.xml +3 -3
  149. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-handle-ids.xml +3 -7
  150. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection-sort-columns.xml +2 -2
  151. data/test/reports/TEST-HammerCLI-Output-Adapter-Table-print-collection.xml +3 -3
  152. data/test/reports/TEST-HammerCLI-Output-Adapter-Table.xml +1 -1
  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-MiniTest-Spec.xml +1 -1
  183. data/test/reports/TEST-String-camelize.xml +3 -3
  184. data/test/reports/TEST-String-formatting.xml +6 -6
  185. data/test/reports/TEST-String-indent.xml +3 -3
  186. data/test/reports/{TEST-HammerCLI-interactive-.xml → TEST-String-interactive-.xml} +4 -4
  187. data/test/reports/TEST-String.xml +1 -1
  188. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint-exist-.xml +4 -4
  189. data/test/reports/TEST-constraints-HammerCLI-Validator-AllConstraint.xml +1 -1
  190. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint-exist-.xml +4 -4
  191. data/test/reports/TEST-constraints-HammerCLI-Validator-AnyConstraint.xml +1 -1
  192. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-exist-.xml +2 -2
  193. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-rejected.xml +4 -4
  194. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint-required.xml +4 -4
  195. data/test/reports/TEST-constraints-HammerCLI-Validator-BaseConstraint.xml +1 -1
  196. data/test/reports/TEST-constraints.xml +1 -1
  197. data/test/unit/apipie/option_definition_test.rb +9 -0
  198. data/test/unit/defaults_test.rb +84 -22
  199. data/test/unit/fixtures/defaults/defaults_dashed.yml +6 -0
  200. data/test/unit/options/normalizers_test.rb +46 -34
  201. data/test/unit/output/adapter/abstract_test.rb +4 -0
  202. data/test/unit/output/adapter/base_test.rb +4 -0
  203. data/test/unit/output/adapter/csv_test.rb +4 -0
  204. data/test/unit/output/adapter/json_test.rb +4 -0
  205. data/test/unit/output/adapter/table_test.rb +19 -3
  206. data/test/unit/output/adapter/yaml_test.rb +4 -0
  207. data/test/unit/output/record_collection_test.rb +26 -0
  208. data/test/unit/settings_test.rb +11 -1
  209. data/test/unit/validator_test.rb +111 -6
  210. metadata +192 -247
  211. data/test/reports/TEST-Fields-Label-display-.xml +0 -7
  212. data/test/reports/TEST-Fields-Label-display-blank-is-allowed.xml +0 -15
  213. data/test/reports/TEST-Fields-Label-display-blank-is-not-allowed.xml +0 -15
  214. data/test/reports/TEST-Fields-Label.xml +0 -7
  215. data/test/reports/TEST-HammerCLI-Apipie-Command-reload-apipie-cache.xml +0 -11
  216. data/test/reports/TEST-HammerCLI-Apipie-OptionBuilder-setting-referenced-resources.xml +0 -9
  217. data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition-referenced-resource.xml +0 -13
  218. data/test/reports/TEST-HammerCLI-Apipie-OptionDefinition.xml +0 -7
  219. data/test/reports/TEST-HammerCLI-Defaults.xml +0 -19
  220. data/test/reports/TEST-HammerCLI-Options-Matcher.xml +0 -17
  221. data/test/reports/TEST-HammerCLI-Options-Normalizers-number.xml +0 -11
  222. data/test/reports/TEST-HammerCLI-Options-OptionDefinition-deprecated-options.xml +0 -11
  223. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection-show-ids.xml +0 -9
  224. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-collection.xml +0 -27
  225. data/test/reports/TEST-HammerCLI-Output-Adapter-Json-print-message.xml +0 -11
  226. data/test/reports/TEST-HammerCLI-Output-Adapter-Json.xml +0 -7
  227. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection-show-ids.xml +0 -9
  228. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-collection.xml +0 -27
  229. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml-print-message.xml +0 -11
  230. data/test/reports/TEST-HammerCLI-Output-Adapter-Yaml.xml +0 -7
  231. data/test/reports/TEST-HammerCLI-constant-path.xml +0 -15
  232. data/test/reports/TEST-HammerCLI.xml +0 -7
  233. data/test/reports/TEST-Logging-LogEvent-filtering.xml +0 -9
  234. data/test/reports/TEST-Logging-LogEvent.xml +0 -7
  235. data/test/reports/TEST-String-constantize.xml +0 -15
  236. data/test/reports/TEST-String-underscore.xml +0 -13
  237. data/test/reports/TEST-commands-defaults-add.xml +0 -21
  238. data/test/reports/TEST-commands-defaults-delete.xml +0 -11
  239. data/test/reports/TEST-commands-defaults-list.xml +0 -11
  240. data/test/reports/TEST-commands-defaults-providers.xml +0 -11
  241. data/test/reports/TEST-commands.xml +0 -7
@@ -6,13 +6,14 @@
6
6
  # Automatically generated, 2014
7
7
  # Dominic Cleal <dominic@cleal.org>, 2014
8
8
  # Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015
9
+ # Yulia <yulia.poyarkova@redhat.com>, 2016
9
10
  msgid ""
10
11
  msgstr ""
11
12
  "Project-Id-Version: Foreman\n"
12
13
  "Report-Msgid-Bugs-To: \n"
13
14
  "POT-Creation-Date: 2015-12-08 08:56+0000\n"
14
- "PO-Revision-Date: 2015-12-11 09:09+0000\n"
15
- "Last-Translator: Lukáš Zapletal\n"
15
+ "PO-Revision-Date: 2016-05-09 11:52+0000\n"
16
+ "Last-Translator: Yulia <yulia.poyarkova@redhat.com>\n"
16
17
  "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)\n"
17
18
  "MIME-Version: 1.0\n"
18
19
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -58,99 +59,99 @@ msgstr "значение не определено"
58
59
 
59
60
  #: ../lib/hammer_cli/defaults.rb:72
60
61
  msgid "Couldn't create %s please create the path before defaults are enabled."
61
- msgstr ""
62
+ msgstr "Не удалось создать %s. Прежде чем можно будет применить стандартные параметры, необходимо настроить путь."
62
63
 
63
64
  #: ../lib/hammer_cli/defaults.rb:82
64
65
  msgid "Defaults management"
65
- msgstr ""
66
+ msgstr "Управление стандартными параметрами"
66
67
 
67
68
  #: ../lib/hammer_cli/defaults_commands.rb:25
68
69
  msgid "List all the providers"
69
- msgstr ""
70
+ msgstr "Список всех поставщиков"
70
71
 
71
72
  #: ../lib/hammer_cli/defaults_commands.rb:37
72
73
  msgid "Provider"
73
- msgstr ""
74
+ msgstr "Поставщик"
74
75
 
75
76
  #: ../lib/hammer_cli/defaults_commands.rb:38
76
77
  msgid "Supported defaults"
77
- msgstr ""
78
+ msgstr "По умолчанию поддерживаются параметры"
78
79
 
79
80
  #: ../lib/hammer_cli/defaults_commands.rb:39
80
81
  msgid "Description"
81
- msgstr ""
82
+ msgstr "Описание"
82
83
 
83
84
  #: ../lib/hammer_cli/defaults_commands.rb:56
84
85
  msgid "List all the default parameters"
85
- msgstr ""
86
+ msgstr "Список всех стандартных параметров"
86
87
 
87
88
  #: ../lib/hammer_cli/defaults_commands.rb:67
88
89
  msgid "Parameter"
89
- msgstr ""
90
+ msgstr "Параметр"
90
91
 
91
92
  #: ../lib/hammer_cli/defaults_commands.rb:68
92
93
  msgid "Value"
93
- msgstr ""
94
+ msgstr "Значение"
94
95
 
95
96
  #: ../lib/hammer_cli/defaults_commands.rb:86
96
97
  msgid "Delete a default param"
97
- msgstr ""
98
+ msgstr "Удалить стандартный параметр"
98
99
 
99
100
  #: ../lib/hammer_cli/defaults_commands.rb:87
100
101
  msgid "The name of the default option"
101
- msgstr ""
102
+ msgstr "Имя стандартного параметра"
102
103
 
103
104
  #: ../lib/hammer_cli/defaults_commands.rb:103
104
105
  msgid "Add a default parameter to config"
105
- msgstr ""
106
+ msgstr "Добавить стандартный параметр в конфигурацию"
106
107
 
107
108
  #: ../lib/hammer_cli/defaults_commands.rb:104
108
109
  msgid "The name of the default option (e.g. organization_id)."
109
- msgstr ""
110
+ msgstr "Имя стандартного параметра (например, organization_id)."
110
111
 
111
112
  #: ../lib/hammer_cli/defaults_commands.rb:105
112
113
  msgid "The value for the default option"
113
- msgstr ""
114
+ msgstr "Значение параметра"
114
115
 
115
116
  #: ../lib/hammer_cli/defaults_commands.rb:106
116
117
  msgid ""
117
118
  "The name of the provider providing the value. For list available providers "
118
119
  "see `hammer defaults providers`."
119
- msgstr ""
120
+ msgstr "Название поставщика значения. Для просмотра списка поставщиков выполните команду `hammer defaults providers`."
120
121
 
121
122
  #: ../lib/hammer_cli/defaults_commands.rb:134
122
123
  msgid ""
123
124
  "Added %{key_val} default-option with value that will be generated from the "
124
125
  "server."
125
- msgstr ""
126
+ msgstr "Стандартный параметр %{key_val} добавлен. Его значение будет генерироваться сервером."
126
127
 
127
128
  #: ../lib/hammer_cli/defaults_commands.rb:135
128
129
  msgid "Added %{key_val} default-option with value %{val_val}."
129
- msgstr ""
130
+ msgstr "Добавлен стандартный параметр %{key_val} со значением %{val_val}."
130
131
 
131
132
  #: ../lib/hammer_cli/defaults_commands.rb:139
132
133
  msgid ""
133
134
  "\"Provider #{namespace} was not found. See `hammer defaults providers` for "
134
135
  "available providers.\""
135
- msgstr ""
136
+ msgstr "\"#{namespace} не найден. Для просмотра списка поставщиков выполните команду `hammer defaults providers`.\""
136
137
 
137
138
  #: ../lib/hammer_cli/defaults_commands.rb:143
138
139
  msgid ""
139
140
  "The param name is not supported by provider. See `hammer defaults providers`"
140
141
  " for supported params."
141
- msgstr ""
142
+ msgstr "Поставщик не поддерживает параметр с таким именем. Для просмотра списка доступных параметров выполните `hammer defaults providers`."
142
143
 
143
144
  #: ../lib/hammer_cli/defaults_commands.rb:147
144
145
  msgid "%{param} was deleted successfully."
145
- msgstr ""
146
+ msgstr "%{param} успешно удален."
146
147
 
147
148
  #: ../lib/hammer_cli/defaults_commands.rb:151
148
149
  msgid "You must specify value or a provider name, cant specify both."
149
- msgstr ""
150
+ msgstr "Значение и имя провайдера не могут использоваться одновременно. Укажите только одно из двух."
150
151
 
151
152
  #: ../lib/hammer_cli/defaults_commands.rb:155
152
153
  msgid "Couldn't find the requested param in %s."
153
- msgstr ""
154
+ msgstr "Не удалось обнаружить запрашиваемый параметр в %s."
154
155
 
155
156
  #: ../lib/hammer_cli/exception_handler.rb:62
156
157
  msgid "Error: %s"
@@ -228,7 +229,7 @@ msgstr "показать версию"
228
229
 
229
230
  #: ../lib/hammer_cli/main.rb:23
230
231
  msgid "unknown version"
231
- msgstr ""
232
+ msgstr "неизвестная версия"
232
233
 
233
234
  #: ../lib/hammer_cli/main.rb:29
234
235
  msgid "Show ids of associated resources"
@@ -282,7 +283,7 @@ msgstr "Список значений через запятую"
282
283
 
283
284
  #: ../lib/hammer_cli/options/normalizers.rb:88
284
285
  msgid "numeric value is required"
285
- msgstr ""
286
+ msgstr "необходимо указать числовое значение"
286
287
 
287
288
  #: ../lib/hammer_cli/options/normalizers.rb:102
288
289
  msgid "One of true/false, yes/no, 1/0."
@@ -298,15 +299,15 @@ msgstr "Не удалось обработать ввод JSON"
298
299
 
299
300
  #: ../lib/hammer_cli/options/normalizers.rb:165
300
301
  msgid "Possible value(s): %s"
301
- msgstr ""
302
+ msgstr "Возможные значения: %s"
302
303
 
303
304
  #: ../lib/hammer_cli/options/normalizers.rb:173
304
305
  msgid "value must be %s"
305
- msgstr ""
306
+ msgstr "должно принимать значение «%s»"
306
307
 
307
308
  #: ../lib/hammer_cli/options/normalizers.rb:175
308
309
  msgid "value must be one of %s"
309
- msgstr ""
310
+ msgstr "может принимать значения «%s»"
310
311
 
311
312
  #: ../lib/hammer_cli/options/normalizers.rb:196
312
313
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
@@ -326,7 +327,7 @@ msgstr "значение должно содержать комбинацию «
326
327
 
327
328
  #: ../lib/hammer_cli/options/option_definition.rb:56
328
329
  msgid "Warning: Option %{option} is deprecated. %{message}"
329
- msgstr ""
330
+ msgstr "Параметр %{option} является устаревшим. %{message}"
330
331
 
331
332
  #: ../lib/hammer_cli/options/option_definition.rb:80
332
333
  msgid "Can be specified multiple times. "
@@ -8,7 +8,7 @@
8
8
  # ypoyarko <ypoyarko@redhat.com>, 2015. #zanata
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: hammer-cli 0.6.0\n"
11
+ "Project-Id-Version: hammer-cli 0.7.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2015-04-28 04:41+0000\n"
14
14
  "Last-Translator: ypoyarko <ypoyarko@redhat.com>\n"
@@ -218,8 +218,8 @@ msgstr "Ошибка. Некоторые модули были отключен
218
218
  msgid "Comma-separated list of key=value."
219
219
  msgstr "Список пар «ключ=значение» через запятую."
220
220
 
221
- msgid "value must be defined as a comma-separated list of key=value"
222
- msgstr "значение должно содержать пары «ключ=значение» через запятую"
221
+ msgid "value must be defined as a comma-separated list of key=value or valid JSON"
222
+ msgstr ""
223
223
 
224
224
  msgid "Comma separated list of values."
225
225
  msgstr "Список значений через запятую"
@@ -280,12 +280,17 @@ msgstr "ID"
280
280
  msgid "Name"
281
281
  msgstr "Имя"
282
282
 
283
- msgid "yes"
284
- msgstr "да"
283
+ msgid ""
284
+ "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navig"
285
+ "ation)\""
286
+ msgstr ""
285
287
 
286
288
  msgid "no"
287
289
  msgstr "нет"
288
290
 
291
+ msgid "yes"
292
+ msgstr "да"
293
+
289
294
  msgid ""
290
295
  "Warning: location hammer.modules.d is deprecated, move your module configurati"
291
296
  "ons to cli.modules.d"
@@ -324,8 +329,23 @@ msgstr "Вы не можете одновременно настроить вс
324
329
  msgid "Options %s are required"
325
330
  msgstr "Параметры %s являются обязательными"
326
331
 
332
+ #, fuzzy
333
+ msgid "You can't set option %s"
334
+ msgstr "Вы не можете настроить параметры %s"
335
+
336
+ #, fuzzy
337
+ msgid "Option %s is required"
338
+ msgstr "Параметры %s являются обязательными"
339
+
327
340
  msgid "You can't set any of options %s"
328
341
  msgstr "Вы не можете настроить параметры %s"
329
342
 
330
343
  msgid "At least one of options %s is required"
331
344
  msgstr "Необходимо определить параметр %s"
345
+
346
+ #, fuzzy
347
+ msgid "One of options %s is required"
348
+ msgstr "Необходимо определить параметр %s"
349
+
350
+ msgid "Only one of options %s can be set"
351
+ msgstr ""
Binary file
@@ -9,8 +9,8 @@ msgstr ""
9
9
  "Project-Id-Version: Foreman\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2015-12-08 08:56+0000\n"
12
- "PO-Revision-Date: 2015-12-11 09:09+0000\n"
13
- "Last-Translator: Lukáš Zapletal\n"
12
+ "PO-Revision-Date: 2016-03-08 16:59+0000\n"
13
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
14
14
  "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -68,7 +68,7 @@ msgstr ""
68
68
 
69
69
  #: ../lib/hammer_cli/defaults_commands.rb:37
70
70
  msgid "Provider"
71
- msgstr ""
71
+ msgstr "提供商"
72
72
 
73
73
  #: ../lib/hammer_cli/defaults_commands.rb:38
74
74
  msgid "Supported defaults"
@@ -76,7 +76,7 @@ msgstr ""
76
76
 
77
77
  #: ../lib/hammer_cli/defaults_commands.rb:39
78
78
  msgid "Description"
79
- msgstr ""
79
+ msgstr "描述"
80
80
 
81
81
  #: ../lib/hammer_cli/defaults_commands.rb:56
82
82
  msgid "List all the default parameters"
@@ -84,11 +84,11 @@ msgstr ""
84
84
 
85
85
  #: ../lib/hammer_cli/defaults_commands.rb:67
86
86
  msgid "Parameter"
87
- msgstr ""
87
+ msgstr "参数"
88
88
 
89
89
  #: ../lib/hammer_cli/defaults_commands.rb:68
90
90
  msgid "Value"
91
- msgstr ""
91
+ msgstr "选项值"
92
92
 
93
93
  #: ../lib/hammer_cli/defaults_commands.rb:86
94
94
  msgid "Delete a default param"
@@ -226,7 +226,7 @@ msgstr "显示版本"
226
226
 
227
227
  #: ../lib/hammer_cli/main.rb:23
228
228
  msgid "unknown version"
229
- msgstr ""
229
+ msgstr "未知版本"
230
230
 
231
231
  #: ../lib/hammer_cli/main.rb:29
232
232
  msgid "Show ids of associated resources"
@@ -300,11 +300,11 @@ msgstr ""
300
300
 
301
301
  #: ../lib/hammer_cli/options/normalizers.rb:173
302
302
  msgid "value must be %s"
303
- msgstr ""
303
+ msgstr "数值必须是 '%s' 中的一个"
304
304
 
305
305
  #: ../lib/hammer_cli/options/normalizers.rb:175
306
306
  msgid "value must be one of %s"
307
- msgstr ""
307
+ msgstr "数值必须是 '%s' 中的一个"
308
308
 
309
309
  #: ../lib/hammer_cli/options/normalizers.rb:196
310
310
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
@@ -3,7 +3,7 @@
3
3
  # Leah Liu <lliu@redhat.com>, 2015. #zanata
4
4
  msgid ""
5
5
  msgstr ""
6
- "Project-Id-Version: hammer-cli 0.6.0\n"
6
+ "Project-Id-Version: hammer-cli 0.7.0\n"
7
7
  "Report-Msgid-Bugs-To: \n"
8
8
  "PO-Revision-Date: 2015-04-27 01:22+0000\n"
9
9
  "Last-Translator: Leah Liu <lliu@redhat.com>\n"
@@ -209,8 +209,8 @@ msgstr "错误:在配置中禁用了一些要求的模块:%s"
209
209
  msgid "Comma-separated list of key=value."
210
210
  msgstr "用逗号分开的 key=value 列表。"
211
211
 
212
- msgid "value must be defined as a comma-separated list of key=value"
213
- msgstr "必须使用以逗号分开的 key=value 列表定义数值"
212
+ msgid "value must be defined as a comma-separated list of key=value or valid JSON"
213
+ msgstr ""
214
214
 
215
215
  msgid "Comma separated list of values."
216
216
  msgstr "逗号分开的数值列表。"
@@ -275,14 +275,19 @@ msgstr "Id"
275
275
  msgid "Name"
276
276
  msgstr "名称"
277
277
 
278
- # translation auto-copied from project NetworkManager, version 0.9.9.0, document NetworkManager
279
- msgid "yes"
280
- msgstr ""
278
+ msgid ""
279
+ "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navig"
280
+ "ation)\""
281
+ msgstr ""
281
282
 
282
283
  # translation auto-copied from project firstboot, version 19.6, document firstboot, author Leah Liu
283
284
  msgid "no"
284
285
  msgstr "否"
285
286
 
287
+ # translation auto-copied from project NetworkManager, version 0.9.9.0, document NetworkManager
288
+ msgid "yes"
289
+ msgstr "是"
290
+
286
291
  msgid ""
287
292
  "Warning: location hammer.modules.d is deprecated, move your module configurati"
288
293
  "ons to cli.modules.d"
@@ -317,8 +322,23 @@ msgstr "无法一次设置所有选项 %s"
317
322
  msgid "Options %s are required"
318
323
  msgstr "需要选项 %s"
319
324
 
325
+ #, fuzzy
326
+ msgid "You can't set option %s"
327
+ msgstr "无法设置任意选项 %s"
328
+
329
+ #, fuzzy
330
+ msgid "Option %s is required"
331
+ msgstr "需要选项 %s"
332
+
320
333
  msgid "You can't set any of options %s"
321
334
  msgstr "无法设置任意选项 %s"
322
335
 
323
336
  msgid "At least one of options %s is required"
324
337
  msgstr "至少需要选项 %s 中的一个"
338
+
339
+ #, fuzzy
340
+ msgid "One of options %s is required"
341
+ msgstr "至少需要选项 %s 中的一个"
342
+
343
+ msgid "Only one of options %s can be set"
344
+ msgstr ""
Binary file
@@ -9,8 +9,8 @@ msgstr ""
9
9
  "Project-Id-Version: Foreman\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2015-12-08 08:56+0000\n"
12
- "PO-Revision-Date: 2015-12-11 09:09+0000\n"
13
- "Last-Translator: Lukáš Zapletal\n"
12
+ "PO-Revision-Date: 2016-03-08 16:59+0000\n"
13
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
14
14
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -68,7 +68,7 @@ msgstr ""
68
68
 
69
69
  #: ../lib/hammer_cli/defaults_commands.rb:37
70
70
  msgid "Provider"
71
- msgstr ""
71
+ msgstr "供應商"
72
72
 
73
73
  #: ../lib/hammer_cli/defaults_commands.rb:38
74
74
  msgid "Supported defaults"
@@ -76,7 +76,7 @@ msgstr ""
76
76
 
77
77
  #: ../lib/hammer_cli/defaults_commands.rb:39
78
78
  msgid "Description"
79
- msgstr ""
79
+ msgstr "說明"
80
80
 
81
81
  #: ../lib/hammer_cli/defaults_commands.rb:56
82
82
  msgid "List all the default parameters"
@@ -84,11 +84,11 @@ msgstr ""
84
84
 
85
85
  #: ../lib/hammer_cli/defaults_commands.rb:67
86
86
  msgid "Parameter"
87
- msgstr ""
87
+ msgstr "參數"
88
88
 
89
89
  #: ../lib/hammer_cli/defaults_commands.rb:68
90
90
  msgid "Value"
91
- msgstr ""
91
+ msgstr ""
92
92
 
93
93
  #: ../lib/hammer_cli/defaults_commands.rb:86
94
94
  msgid "Delete a default param"
@@ -226,7 +226,7 @@ msgstr "顯示版本"
226
226
 
227
227
  #: ../lib/hammer_cli/main.rb:23
228
228
  msgid "unknown version"
229
- msgstr ""
229
+ msgstr "不明的版本"
230
230
 
231
231
  #: ../lib/hammer_cli/main.rb:29
232
232
  msgid "Show ids of associated resources"
@@ -300,11 +300,11 @@ msgstr ""
300
300
 
301
301
  #: ../lib/hammer_cli/options/normalizers.rb:173
302
302
  msgid "value must be %s"
303
- msgstr ""
303
+ msgstr "值必須是「%s」之一"
304
304
 
305
305
  #: ../lib/hammer_cli/options/normalizers.rb:175
306
306
  msgid "value must be one of %s"
307
- msgstr ""
307
+ msgstr "值必須是「%s」之一"
308
308
 
309
309
  #: ../lib/hammer_cli/options/normalizers.rb:196
310
310
  msgid "Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format"
@@ -7,7 +7,7 @@
7
7
  # tchuang <tchuang@redhat.com>, 2015. #zanata
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: hammer-cli 0.6.0\n"
10
+ "Project-Id-Version: hammer-cli 0.7.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "PO-Revision-Date: 2015-04-28 05:21+0000\n"
13
13
  "Last-Translator: tchuang <tchuang@redhat.com>\n"
@@ -212,8 +212,8 @@ msgstr "錯誤:某些必要的模組在配置中已停用:%s "
212
212
  msgid "Comma-separated list of key=value."
213
213
  msgstr "逗號區隔開的一列 key=value。"
214
214
 
215
- msgid "value must be defined as a comma-separated list of key=value"
216
- msgstr "值必須以一列逗號區隔開的 key=value 來定義"
215
+ msgid "value must be defined as a comma-separated list of key=value or valid JSON"
216
+ msgstr ""
217
217
 
218
218
  msgid "Comma separated list of values."
219
219
  msgstr "逗號區隔開的值。"
@@ -274,12 +274,17 @@ msgstr "ID"
274
274
  msgid "Name"
275
275
  msgstr "名稱"
276
276
 
277
- msgid "yes"
278
- msgstr "是"
277
+ msgid ""
278
+ "\"Page #{collection.meta.page} of #{pages} (use --page and --per-page for navig"
279
+ "ation)\""
280
+ msgstr ""
279
281
 
280
282
  msgid "no"
281
283
  msgstr "否"
282
284
 
285
+ msgid "yes"
286
+ msgstr "是"
287
+
283
288
  msgid ""
284
289
  "Warning: location hammer.modules.d is deprecated, move your module configurati"
285
290
  "ons to cli.modules.d"
@@ -314,8 +319,23 @@ msgstr "您不可一次將所有選項設為 %s"
314
319
  msgid "Options %s are required"
315
320
  msgstr "%s 選項乃必要的"
316
321
 
322
+ #, fuzzy
323
+ msgid "You can't set option %s"
324
+ msgstr "您不可將任何選項設為 %s"
325
+
326
+ #, fuzzy
327
+ msgid "Option %s is required"
328
+ msgstr "%s 選項乃必要的"
329
+
317
330
  msgid "You can't set any of options %s"
318
331
  msgstr "您不可將任何選項設為 %s"
319
332
 
320
333
  msgid "At least one of options %s is required"
321
334
  msgstr "需要至少一項 %s 選項"
335
+
336
+ #, fuzzy
337
+ msgid "One of options %s is required"
338
+ msgstr "需要至少一項 %s 選項"
339
+
340
+ msgid "Only one of options %s can be set"
341
+ msgstr ""
@@ -118,6 +118,18 @@ describe 'commands' do
118
118
  assert_cmd(expected_result, result)
119
119
  end
120
120
 
121
+ it 'adds default from provider with name with dashed' do
122
+ options = ['--param-name=organization-id', '--provider=foreman']
123
+
124
+ @defaults.expects(:add_defaults_to_conf).with({'organization-id' => nil}, 'foreman').once
125
+
126
+ expected_result = success_result("Added organization-id default-option with value that will be generated from the server.\n")
127
+
128
+ result = run_cmd(cmd + options, @context)
129
+ assert_cmd(expected_result, result)
130
+ end
131
+
132
+
121
133
  it 'reports unsupported option' do
122
134
  options = ['--param-name=unsupported', '--provider=foreman']
123
135
  expected_result = success_result("The param name is not supported by provider. See `hammer defaults providers` for supported params.\n")
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField::display?" tests="0" time="0.000323308" failures="0" errors="0" skipped="0" assertions="0" timestamp="2015-12-10T23:59:29+00:00">
2
+ <testsuite name="Fields::ContainerField::display?" tests="0" time="0.000195743" failures="0" errors="0" skipped="0" assertions="0">
3
3
  <system-out>
4
4
  </system-out>
5
5
  <system-err>
@@ -1,12 +1,12 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField::display?::blank is allowed" tests="4" time="0.000639071" failures="0" errors="0" skipped="0" assertions="4" timestamp="2015-12-10T23:59:29+00:00">
3
- <testcase name="test_0001_returns false the value is nil" time="0.000175561" assertions="1">
2
+ <testsuite name="Fields::ContainerField::display?::blank is allowed" tests="4" time="0.000514044" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_returns false the value is nil" time="0.000160735" assertions="1">
4
4
  </testcase>
5
- <testcase name="test_0002_returns false the value is empty array" time="5.9406e-05" assertions="1">
5
+ <testcase name="test_0003_returns false the value is empty hash" time="5.924e-05" assertions="1">
6
6
  </testcase>
7
- <testcase name="test_0003_returns false the value is empty hash" time="4.6797e-05" assertions="1">
7
+ <testcase name="test_0004_returns true when there is some data under the path" time="5.1533e-05" assertions="1">
8
8
  </testcase>
9
- <testcase name="test_0004_returns true when there is some data under the path" time="4.3579e-05" assertions="1">
9
+ <testcase name="test_0002_returns false the value is empty array" time="4.7909e-05" assertions="1">
10
10
  </testcase>
11
11
  <system-out>
12
12
  </system-out>
@@ -1,12 +1,12 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField::display?::blank is not allowed" tests="4" time="0.000575088" failures="0" errors="0" skipped="0" assertions="4" timestamp="2015-12-10T23:59:29+00:00">
3
- <testcase name="test_0001_returns false the value is nil" time="0.000122725" assertions="1">
2
+ <testsuite name="Fields::ContainerField::display?::blank is not allowed" tests="4" time="0.00050542" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_returns false the value is nil" time="0.000104095" assertions="1">
4
4
  </testcase>
5
- <testcase name="test_0003_returns false the value is empty hash" time="6.1108e-05" assertions="1">
5
+ <testcase name="test_0004_returns true when there is some data under the path" time="5.5074e-05" assertions="1">
6
6
  </testcase>
7
- <testcase name="test_0002_returns false the value is empty array" time="5.3353e-05" assertions="1">
7
+ <testcase name="test_0002_returns false the value is empty array" time="4.9163e-05" assertions="1">
8
8
  </testcase>
9
- <testcase name="test_0004_returns true when there is some data under the path" time="5.0954e-05" assertions="1">
9
+ <testcase name="test_0003_returns false the value is empty hash" time="4.4524e-05" assertions="1">
10
10
  </testcase>
11
11
  <system-out>
12
12
  </system-out>
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::ContainerField" tests="0" time="0.000277871" failures="0" errors="0" skipped="0" assertions="0" timestamp="2015-12-10T23:59:29+00:00">
2
+ <testsuite name="Fields::ContainerField" tests="0" time="0.000180394" failures="0" errors="0" skipped="0" assertions="0">
3
3
  <system-out>
4
4
  </system-out>
5
5
  <system-err>
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::display?" tests="0" time="0.000210054" failures="0" errors="0" skipped="0" assertions="0" timestamp="2015-12-10T23:59:29+00:00">
2
+ <testsuite name="Fields::Field::display?" tests="0" time="0.000177184" failures="0" errors="0" skipped="0" assertions="0">
3
3
  <system-out>
4
4
  </system-out>
5
5
  <system-err>
@@ -1,8 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::display?::blank is allowed" tests="2" time="0.000503861" failures="0" errors="0" skipped="0" assertions="2" timestamp="2015-12-10T23:59:29+00:00">
3
- <testcase name="test_0001_returns false the value is nil" time="0.000185633" assertions="1">
2
+ <testsuite name="Fields::Field::display?::blank is allowed" tests="2" time="0.000346718" failures="0" errors="0" skipped="0" assertions="2">
3
+ <testcase name="test_0002_returns true when there is some data under the path" time="9.5291e-05" assertions="1">
4
4
  </testcase>
5
- <testcase name="test_0002_returns true when there is some data under the path" time="6.1723e-05" assertions="1">
5
+ <testcase name="test_0001_returns false the value is nil" time="5.3478e-05" assertions="1">
6
6
  </testcase>
7
7
  <system-out>
8
8
  </system-out>
@@ -1,8 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::display?::blank is not allowed" tests="2" time="0.00044003" failures="0" errors="0" skipped="0" assertions="2" timestamp="2015-12-10T23:59:29+00:00">
3
- <testcase name="test_0001_returns false the value is nil" time="0.000133908" assertions="1">
2
+ <testsuite name="Fields::Field::display?::blank is not allowed" tests="2" time="0.000332031" failures="0" errors="0" skipped="0" assertions="2">
3
+ <testcase name="test_0002_returns true when there is some data under the path" time="8.2527e-05" assertions="1">
4
4
  </testcase>
5
- <testcase name="test_0002_returns true when there is some data under the path" time="7.3251e-05" assertions="1">
5
+ <testcase name="test_0001_returns false the value is nil" time="5.4331e-05" assertions="1">
6
6
  </testcase>
7
7
  <system-out>
8
8
  </system-out>
@@ -1,8 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::hide_blank?" tests="2" time="0.000405606" failures="0" errors="0" skipped="0" assertions="2" timestamp="2015-12-10T23:59:29+00:00">
3
- <testcase name="test_0001_defaults to false" time="8.1123e-05" assertions="1">
2
+ <testsuite name="Fields::Field::hide_blank?" tests="2" time="0.000327248" failures="0" errors="0" skipped="0" assertions="2">
3
+ <testcase name="test_0001_defaults to false" time="7.399e-05" assertions="1">
4
4
  </testcase>
5
- <testcase name="test_0002_can be set to true in the constructor" time="5.5117e-05" assertions="1">
5
+ <testcase name="test_0002_can be set to true in the constructor" time="5.3648e-05" assertions="1">
6
6
  </testcase>
7
7
  <system-out>
8
8
  </system-out>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="Fields::Field::parameters" tests="1" time="0.000331232" failures="0" errors="0" skipped="0" assertions="1" timestamp="2015-12-10T23:59:29+00:00">
3
- <testcase name="test_0001_returns all parameters passed to a filed" time="0.000118381" assertions="1">
2
+ <testsuite name="Fields::Field::parameters" tests="1" time="0.000281758" failures="0" errors="0" skipped="0" assertions="1">
3
+ <testcase name="test_0001_returns all parameters passed to a filed" time="0.00010987" assertions="1">
4
4
  </testcase>
5
5
  <system-out>
6
6
  </system-out>