cmdx 1.20.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +131 -1
  3. data/README.md +37 -24
  4. data/lib/cmdx/.DS_Store +0 -0
  5. data/lib/cmdx/callbacks.rb +179 -0
  6. data/lib/cmdx/chain.rb +78 -175
  7. data/lib/cmdx/coercions/array.rb +19 -33
  8. data/lib/cmdx/coercions/big_decimal.rb +12 -29
  9. data/lib/cmdx/coercions/boolean.rb +25 -45
  10. data/lib/cmdx/coercions/coerce.rb +32 -0
  11. data/lib/cmdx/coercions/complex.rb +12 -27
  12. data/lib/cmdx/coercions/date.rb +29 -33
  13. data/lib/cmdx/coercions/date_time.rb +29 -33
  14. data/lib/cmdx/coercions/float.rb +8 -29
  15. data/lib/cmdx/coercions/hash.rb +17 -43
  16. data/lib/cmdx/coercions/integer.rb +8 -32
  17. data/lib/cmdx/coercions/rational.rb +12 -33
  18. data/lib/cmdx/coercions/string.rb +6 -24
  19. data/lib/cmdx/coercions/symbol.rb +12 -26
  20. data/lib/cmdx/coercions/time.rb +31 -35
  21. data/lib/cmdx/coercions.rb +174 -0
  22. data/lib/cmdx/configuration.rb +45 -225
  23. data/lib/cmdx/context.rb +263 -242
  24. data/lib/cmdx/deprecation.rb +67 -0
  25. data/lib/cmdx/deprecators/error.rb +22 -0
  26. data/lib/cmdx/deprecators/log.rb +22 -0
  27. data/lib/cmdx/deprecators/warn.rb +21 -0
  28. data/lib/cmdx/deprecators.rb +101 -0
  29. data/lib/cmdx/errors.rb +145 -79
  30. data/lib/cmdx/executors/fiber.rb +42 -0
  31. data/lib/cmdx/executors/thread.rb +36 -0
  32. data/lib/cmdx/executors.rb +95 -0
  33. data/lib/cmdx/fault.rb +85 -78
  34. data/lib/cmdx/i18n_proxy.rb +104 -0
  35. data/lib/cmdx/input.rb +294 -0
  36. data/lib/cmdx/inputs.rb +218 -0
  37. data/lib/cmdx/log_formatters/json.rb +9 -20
  38. data/lib/cmdx/log_formatters/key_value.rb +10 -21
  39. data/lib/cmdx/log_formatters/line.rb +7 -19
  40. data/lib/cmdx/log_formatters/logstash.rb +8 -21
  41. data/lib/cmdx/log_formatters/raw.rb +8 -20
  42. data/lib/cmdx/logger_proxy.rb +30 -0
  43. data/lib/cmdx/mergers/deep_merge.rb +23 -0
  44. data/lib/cmdx/mergers/last_write_wins.rb +23 -0
  45. data/lib/cmdx/mergers/no_merge.rb +20 -0
  46. data/lib/cmdx/mergers.rb +95 -0
  47. data/lib/cmdx/middlewares.rb +128 -0
  48. data/lib/cmdx/output.rb +115 -0
  49. data/lib/cmdx/outputs.rb +66 -0
  50. data/lib/cmdx/pipeline.rb +144 -131
  51. data/lib/cmdx/railtie.rb +10 -36
  52. data/lib/cmdx/result.rb +252 -473
  53. data/lib/cmdx/retriers/bounded_random.rb +24 -0
  54. data/lib/cmdx/retriers/decorrelated_jitter.rb +28 -0
  55. data/lib/cmdx/retriers/exponential.rb +23 -0
  56. data/lib/cmdx/retriers/fibonacci.rb +39 -0
  57. data/lib/cmdx/retriers/full_random.rb +23 -0
  58. data/lib/cmdx/retriers/half_random.rb +24 -0
  59. data/lib/cmdx/retriers/linear.rb +23 -0
  60. data/lib/cmdx/retriers.rb +106 -0
  61. data/lib/cmdx/retry.rb +117 -138
  62. data/lib/cmdx/runtime.rb +251 -0
  63. data/lib/cmdx/settings.rb +68 -196
  64. data/lib/cmdx/signal.rb +165 -0
  65. data/lib/cmdx/task.rb +443 -336
  66. data/lib/cmdx/telemetry.rb +108 -0
  67. data/lib/cmdx/util.rb +73 -0
  68. data/lib/cmdx/validators/absence.rb +10 -39
  69. data/lib/cmdx/validators/exclusion.rb +33 -52
  70. data/lib/cmdx/validators/format.rb +19 -49
  71. data/lib/cmdx/validators/inclusion.rb +33 -54
  72. data/lib/cmdx/validators/length.rb +125 -127
  73. data/lib/cmdx/validators/numeric.rb +123 -123
  74. data/lib/cmdx/validators/presence.rb +10 -39
  75. data/lib/cmdx/validators/validate.rb +31 -0
  76. data/lib/cmdx/validators.rb +161 -0
  77. data/lib/cmdx/version.rb +2 -4
  78. data/lib/cmdx/workflow.rb +74 -82
  79. data/lib/cmdx.rb +111 -42
  80. data/lib/generators/cmdx/install_generator.rb +7 -17
  81. data/lib/generators/cmdx/task_generator.rb +12 -29
  82. data/lib/generators/cmdx/templates/install.rb +128 -52
  83. data/lib/generators/cmdx/templates/task.rb.tt +1 -1
  84. data/lib/generators/cmdx/templates/workflow.rb.tt +1 -2
  85. data/lib/generators/cmdx/workflow_generator.rb +12 -29
  86. data/lib/locales/en.yml +9 -6
  87. data/mkdocs.yml +25 -23
  88. metadata +39 -138
  89. data/lib/cmdx/attribute.rb +0 -440
  90. data/lib/cmdx/attribute_registry.rb +0 -185
  91. data/lib/cmdx/attribute_value.rb +0 -252
  92. data/lib/cmdx/callback_registry.rb +0 -169
  93. data/lib/cmdx/coercion_registry.rb +0 -138
  94. data/lib/cmdx/deprecator.rb +0 -77
  95. data/lib/cmdx/exception.rb +0 -46
  96. data/lib/cmdx/executor.rb +0 -374
  97. data/lib/cmdx/identifier.rb +0 -30
  98. data/lib/cmdx/locale.rb +0 -78
  99. data/lib/cmdx/middleware_registry.rb +0 -148
  100. data/lib/cmdx/middlewares/correlate.rb +0 -140
  101. data/lib/cmdx/middlewares/runtime.rb +0 -62
  102. data/lib/cmdx/middlewares/timeout.rb +0 -78
  103. data/lib/cmdx/parallelizer.rb +0 -100
  104. data/lib/cmdx/utils/call.rb +0 -53
  105. data/lib/cmdx/utils/condition.rb +0 -71
  106. data/lib/cmdx/utils/format.rb +0 -82
  107. data/lib/cmdx/utils/normalize.rb +0 -52
  108. data/lib/cmdx/utils/wrap.rb +0 -38
  109. data/lib/cmdx/validator_registry.rb +0 -143
  110. data/lib/generators/cmdx/locale_generator.rb +0 -39
  111. data/lib/locales/af.yml +0 -53
  112. data/lib/locales/ar.yml +0 -53
  113. data/lib/locales/az.yml +0 -53
  114. data/lib/locales/be.yml +0 -53
  115. data/lib/locales/bg.yml +0 -53
  116. data/lib/locales/bn.yml +0 -53
  117. data/lib/locales/bs.yml +0 -53
  118. data/lib/locales/ca.yml +0 -53
  119. data/lib/locales/cnr.yml +0 -53
  120. data/lib/locales/cs.yml +0 -53
  121. data/lib/locales/cy.yml +0 -53
  122. data/lib/locales/da.yml +0 -53
  123. data/lib/locales/de.yml +0 -53
  124. data/lib/locales/dz.yml +0 -53
  125. data/lib/locales/el.yml +0 -53
  126. data/lib/locales/eo.yml +0 -53
  127. data/lib/locales/es.yml +0 -53
  128. data/lib/locales/et.yml +0 -53
  129. data/lib/locales/eu.yml +0 -53
  130. data/lib/locales/fa.yml +0 -53
  131. data/lib/locales/fi.yml +0 -53
  132. data/lib/locales/fr.yml +0 -53
  133. data/lib/locales/fy.yml +0 -53
  134. data/lib/locales/gd.yml +0 -53
  135. data/lib/locales/gl.yml +0 -53
  136. data/lib/locales/he.yml +0 -53
  137. data/lib/locales/hi.yml +0 -53
  138. data/lib/locales/hr.yml +0 -53
  139. data/lib/locales/hu.yml +0 -53
  140. data/lib/locales/hy.yml +0 -53
  141. data/lib/locales/id.yml +0 -53
  142. data/lib/locales/is.yml +0 -53
  143. data/lib/locales/it.yml +0 -53
  144. data/lib/locales/ja.yml +0 -53
  145. data/lib/locales/ka.yml +0 -53
  146. data/lib/locales/kk.yml +0 -53
  147. data/lib/locales/km.yml +0 -53
  148. data/lib/locales/kn.yml +0 -53
  149. data/lib/locales/ko.yml +0 -53
  150. data/lib/locales/lb.yml +0 -53
  151. data/lib/locales/lo.yml +0 -53
  152. data/lib/locales/lt.yml +0 -53
  153. data/lib/locales/lv.yml +0 -53
  154. data/lib/locales/mg.yml +0 -53
  155. data/lib/locales/mk.yml +0 -53
  156. data/lib/locales/ml.yml +0 -53
  157. data/lib/locales/mn.yml +0 -53
  158. data/lib/locales/mr-IN.yml +0 -53
  159. data/lib/locales/ms.yml +0 -53
  160. data/lib/locales/nb.yml +0 -53
  161. data/lib/locales/ne.yml +0 -53
  162. data/lib/locales/nl.yml +0 -53
  163. data/lib/locales/nn.yml +0 -53
  164. data/lib/locales/oc.yml +0 -53
  165. data/lib/locales/or.yml +0 -53
  166. data/lib/locales/pa.yml +0 -53
  167. data/lib/locales/pl.yml +0 -53
  168. data/lib/locales/pt.yml +0 -53
  169. data/lib/locales/rm.yml +0 -53
  170. data/lib/locales/ro.yml +0 -53
  171. data/lib/locales/ru.yml +0 -53
  172. data/lib/locales/sc.yml +0 -53
  173. data/lib/locales/sk.yml +0 -53
  174. data/lib/locales/sl.yml +0 -53
  175. data/lib/locales/sq.yml +0 -53
  176. data/lib/locales/sr.yml +0 -53
  177. data/lib/locales/st.yml +0 -53
  178. data/lib/locales/sv.yml +0 -53
  179. data/lib/locales/sw.yml +0 -53
  180. data/lib/locales/ta.yml +0 -53
  181. data/lib/locales/te.yml +0 -53
  182. data/lib/locales/th.yml +0 -53
  183. data/lib/locales/tl.yml +0 -53
  184. data/lib/locales/tr.yml +0 -53
  185. data/lib/locales/tt.yml +0 -53
  186. data/lib/locales/ug.yml +0 -53
  187. data/lib/locales/uk.yml +0 -53
  188. data/lib/locales/ur.yml +0 -53
  189. data/lib/locales/uz.yml +0 -53
  190. data/lib/locales/vi.yml +0 -53
  191. data/lib/locales/wo.yml +0 -53
  192. data/lib/locales/zh-CN.yml +0 -53
  193. data/lib/locales/zh-HK.yml +0 -53
  194. data/lib/locales/zh-TW.yml +0 -53
  195. data/lib/locales/zh-YUE.yml +0 -53
data/lib/locales/nn.yml DELETED
@@ -1,53 +0,0 @@
1
- nn:
2
- cmdx:
3
- attributes:
4
- required: "må vere tilgjengeleg via kjeldemetoden %{method}"
5
- undefined: "delegerer til udefinert metode %{method}"
6
- coercions:
7
- into_a: "kunne ikkje konvertere til %{type}"
8
- into_an: "kunne ikkje konvertere til %{type}"
9
- into_any: "kunne ikkje konvertere til ein av: %{types}"
10
- unknown: "ukjend %{type} konverteringstype"
11
- returns:
12
- missing: "må vere sett i konteksten"
13
- faults:
14
- invalid: "Ugyldig"
15
- unspecified: "Uspesifisert"
16
- types:
17
- array: "array"
18
- big_decimal: "stor desimal"
19
- boolean: "boolean"
20
- complex: "kompleks"
21
- date_time: "dato og tid"
22
- date: "dato"
23
- float: "flyttal"
24
- hash: "hash"
25
- integer: "heiltal"
26
- rational: "rasjonal"
27
- string: "streng"
28
- symbol: "symbol"
29
- time: "tid"
30
- validators:
31
- absence: "må vere tom"
32
- exclusion:
33
- of: "må ikkje vere ein av: %{values}"
34
- within: "må ikkje vere innanfor %{min} og %{max}"
35
- format: "er eit ugyldig format"
36
- inclusion:
37
- of: "må vere ein av: %{values}"
38
- within: "må vere innanfor %{min} og %{max}"
39
- length:
40
- is: "lengda må vere %{is}"
41
- is_not: "lengda må ikkje vere %{is_not}"
42
- min: "lengda må vere minst %{min}"
43
- max: "lengda kan vere maksimalt %{max}"
44
- not_within: "lengda må ikkje vere innanfor %{min} og %{max}"
45
- within: "lengda må vere innanfor %{min} og %{max}"
46
- numeric:
47
- is: "må vere %{is}"
48
- is_not: "må ikkje vere %{is_not}"
49
- min: "må vere minst %{min}"
50
- max: "kan vere maksimalt %{max}"
51
- not_within: "må ikkje vere innanfor %{min} og %{max}"
52
- within: "må vere innanfor %{min} og %{max}"
53
- presence: "kan ikkje vere tom"
data/lib/locales/oc.yml DELETED
@@ -1,53 +0,0 @@
1
- oc:
2
- cmdx:
3
- attributes:
4
- required: "deu èsser accessible via lo metòde font %{method}"
5
- undefined: "delegar a la metòda non definida %{method}"
6
- coercions:
7
- into_a: "poguèt pas èsser convertit en %{type}"
8
- into_an: "poguèt pas èsser convertit en %{type}"
9
- into_any: "poguèt pas èsser convertit en un de: %{types}"
10
- unknown: "tipe de conversion %{type} desconegut"
11
- returns:
12
- missing: "deu èsser definit dins lo contèxt"
13
- faults:
14
- invalid: "Invalidas"
15
- unspecified: "Non especificada"
16
- types:
17
- array: "array"
18
- big_decimal: "decimal grand"
19
- boolean: "booleen"
20
- complex: "complexe"
21
- date_time: "data e ora"
22
- date: "data"
23
- float: "punt flotant"
24
- hash: "hash"
25
- integer: "entier"
26
- rational: "racional"
27
- string: "cadena"
28
- symbol: "simbol"
29
- time: "ora"
30
- validators:
31
- absence: "deu èsser void"
32
- exclusion:
33
- of: "deu pas èsser un de: %{values}"
34
- within: "deu pas èsser entre %{min} e %{max}"
35
- format: "es un format invalid"
36
- inclusion:
37
- of: "deu èsser un de: %{values}"
38
- within: "deu èsser entre %{min} e %{max}"
39
- length:
40
- is: "la longor deu èsser %{is}"
41
- is_not: "la longor deu pas èsser %{is_not}"
42
- min: "la longor deu èsser almens %{min}"
43
- max: "la longor pòt èsser al màger %{max}"
44
- not_within: "la longor deu pas èsser entre %{min} e %{max}"
45
- within: "la longor deu èsser entre %{min} e %{max}"
46
- numeric:
47
- is: "deu èsser %{is}"
48
- is_not: "deu pas èsser %{is_not}"
49
- min: "deu èsser almens %{min}"
50
- max: "pòt èsser al màger %{max}"
51
- not_within: "deu pas èsser entre %{min} e %{max}"
52
- within: "deu èsser entre %{min} e %{max}"
53
- presence: "pòt pas èsser void"
data/lib/locales/or.yml DELETED
@@ -1,53 +0,0 @@
1
- or:
2
- cmdx:
3
- attributes:
4
- required: "%{method} ଉତ୍ସ ପଦ୍ଧତି ମାଧ୍ୟମରେ ଉପଲବ୍ଧ ହେବା ଆବଶ୍ୟକ"
5
- undefined: "ଅପରିଭାଷିତ ପଦ୍ଧତିକୁ %{method} ନିୟୋଜିତ କରେ"
6
- coercions:
7
- into_a: "%{type} ରେ ପରିବର୍ତ୍ତନ କରି ପାରିଲା ନାହିଁ"
8
- into_an: "%{type} ରେ ପରିବର୍ତ୍ତନ କରି ପାରିଲା ନାହିଁ"
9
- into_any: "ନିମ୍ନଲିଖିତ ମଧ୍ୟରୁ ଗୋଟିଏରେ ପରିବର୍ତ୍ତନ କରି ପାରିଲା ନାହିଁ: %{types}"
10
- unknown: "ଅଜ୍ଞାତ %{type} ପରିବର୍ତ୍ତନ ପ୍ରକାର"
11
- returns:
12
- missing: "ପ୍ରସଙ୍ଗରେ ସେଟ୍ ହୋଇଥିବା ଆବଶ୍ୟକ"
13
- faults:
14
- invalid: "ଅବୈଧ"
15
- unspecified: "ଅନିର୍ଦ୍ଦିଷ୍ଟ"
16
- types:
17
- array: "ଏରେ"
18
- big_decimal: "ବଡ଼ ଦଶମିକ"
19
- boolean: "ବୁଲିଆନ"
20
- complex: "ଜଟିଳ"
21
- date_time: "ତାରିଖ ଏବଂ ସମୟ"
22
- date: "ତାରିଖ"
23
- float: "ଫ୍ଲୋଟିଂ ପଏଣ୍ଟ"
24
- hash: "ହାସ"
25
- integer: "ପୂର୍ଣ୍ଣସଂଖ୍ୟା"
26
- rational: "ପରିମେୟ"
27
- string: "ସ୍ତ୍ରିଂ"
28
- symbol: "ପ୍ରତୀକ"
29
- time: "ସମୟ"
30
- validators:
31
- absence: "ଖାଲି ହୋଇଥିବା ଆବଶ୍ୟକ"
32
- exclusion:
33
- of: "ନିମ୍ନଲିଖିତ ମଧ୍ୟରୁ ଗୋଟିଏ ହୋଇପାରିବ ନାହିଁ: %{values}"
34
- within: "%{min} ଏବଂ %{max} ମଧ୍ୟରେ ହୋଇପାରିବ ନାହିଁ"
35
- format: "ଏକ ଅବୈଧ ଫର୍ମାଟ"
36
- inclusion:
37
- of: "ନିମ୍ନଲିଖିତ ମଧ୍ୟରୁ ଗୋଟିଏ ହୋଇଥିବା ଆବଶ୍ୟକ: %{values}"
38
- within: "%{min} ଏବଂ %{max} ମଧ୍ୟରେ ହୋଇଥିବା ଆବଶ୍ୟକ"
39
- length:
40
- is: "ଦୈର୍ଘ୍ୟ %{is} ହୋଇଥିବା ଆବଶ୍ୟକ"
41
- is_not: "ଦୈର୍ଘ୍ୟ %{is_not} ହୋଇପାରିବ ନାହିଁ"
42
- min: "ଦୈର୍ଘ୍ୟ ଅତିକମ %{min} ହୋଇଥିବା ଆବଶ୍ୟକ"
43
- max: "ଦୈର୍ଘ୍ୟ ସର୍ବାଧିକ %{max} ହୋଇପାରିବ"
44
- not_within: "ଦୈର୍ଘ୍ୟ %{min} ଏବଂ %{max} ମଧ୍ୟରେ ହୋଇପାରିବ ନାହିଁ"
45
- within: "ଦୈର୍ଘ୍ୟ %{min} ଏବଂ %{max} ମଧ୍ୟରେ ହୋଇଥିବା ଆବଶ୍ୟକ"
46
- numeric:
47
- is: "%{is} ହୋଇଥିବା ଆବଶ୍ୟକ"
48
- is_not: "%{is_not} ହୋଇପାରିବ ନାହିଁ"
49
- min: "ଅତିକମ %{min} ହୋଇଥିବା ଆବଶ୍ୟକ"
50
- max: "ସର୍ବାଧିକ %{max} ହୋଇପାରିବ"
51
- not_within: "%{min} ଏବଂ %{max} ମଧ୍ୟରେ ହୋଇପାରିବ ନାହିଁ"
52
- within: "%{min} ଏବଂ %{max} ମଧ୍ୟରେ ହୋଇଥିବା ଆବଶ୍ୟକ"
53
- presence: "ଖାଲି ହୋଇପାରିବ ନାହିଁ"
data/lib/locales/pa.yml DELETED
@@ -1,53 +0,0 @@
1
- pa:
2
- cmdx:
3
- attributes:
4
- required: "%{method} ਸਰੋਤ ਵਿਧੀ ਰਾਹੀਂ ਪਹੁੰਚਯੋਗ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ"
5
- undefined: "ਅਪਰਿਭਾਸ਼ਿਤ ਵਿਧੀ ਨੂੰ %{method} ਨਿਰਧਾਰਤ ਕਰਦਾ ਹੈ"
6
- coercions:
7
- into_a: "%{type} ਵਿੱਚ ਬਦਲਿਆ ਨਹੀਂ ਜਾ ਸਕਿਆ"
8
- into_an: "%{type} ਵਿੱਚ ਬਦਲਿਆ ਨਹੀਂ ਜਾ ਸਕਿਆ"
9
- into_any: "ਹੇਠਾਂ ਦਿੱਤੇ ਗਏ ਵਿੱਚੋਂ ਕਿਸੇ ਇੱਕ ਵਿੱਚ ਬਦਲਿਆ ਨਹੀਂ ਜਾ ਸਕਿਆ: %{types}"
10
- unknown: "ਅਣਜਾਣ %{type} ਬਦਲਾਅ ਕਿਸਮ"
11
- returns:
12
- missing: "ਸੰਦਰਭ ਵਿੱਚ ਸੈੱਟ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ"
13
- faults:
14
- invalid: "ਅਵੈਧ"
15
- unspecified: "ਅਨਿਰਧਾਰਿਤ"
16
- types:
17
- array: "ਐਰੇ"
18
- big_decimal: "ਵੱਡਾ ਦਸ਼ਮਲਵ"
19
- boolean: "ਬੂਲੀਅਨ"
20
- complex: "ਜਟਿਲ"
21
- date_time: "ਤਾਰੀਖ ਅਤੇ ਸਮਾਂ"
22
- date: "ਤਾਰੀਖ"
23
- float: "ਫਲੋਟਿੰਗ ਪੁਆਇੰਟ"
24
- hash: "ਹੈਸ਼"
25
- integer: "ਪੂਰਨ ਅੰਕ"
26
- rational: "ਪਰਿਮੇਯ"
27
- string: "ਸਟ੍ਰਿੰਗ"
28
- symbol: "ਚਿੰਨ੍ਹ"
29
- time: "ਸਮਾਂ"
30
- validators:
31
- absence: "ਖਾਲੀ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ"
32
- exclusion:
33
- of: "ਹੇਠਾਂ ਦਿੱਤੇ ਗਏ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਨਹੀਂ ਹੋ ਸਕਦਾ: %{values}"
34
- within: "%{min} ਅਤੇ %{max} ਦੇ ਵਿਚਕਾਰ ਨਹੀਂ ਹੋ ਸਕਦਾ"
35
- format: "ਇੱਕ ਅਵੈਧ ਫਾਰਮੈਟ ਹੈ"
36
- inclusion:
37
- of: "ਹੇਠਾਂ ਦਿੱਤੇ ਗਏ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ: %{values}"
38
- within: "%{min} ਅਤੇ %{max} ਦੇ ਵਿਚਕਾਰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ"
39
- length:
40
- is: "ਲੰਬਾਈ %{is} ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ"
41
- is_not: "ਲੰਬਾਈ %{is_not} ਨਹੀਂ ਹੋ ਸਕਦੀ"
42
- min: "ਲੰਬਾਈ ਘੱਟੋ ਘੱਟ %{min} ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ"
43
- max: "ਲੰਬਾਈ ਵੱਧ ਤੋਂ ਵੱਧ %{max} ਹੋ ਸਕਦੀ ਹੈ"
44
- not_within: "ਲੰਬਾਈ %{min} ਅਤੇ %{max} ਦੇ ਵਿਚਕਾਰ ਨਹੀਂ ਹੋ ਸਕਦੀ"
45
- within: "ਲੰਬਾਈ %{min} ਅਤੇ %{max} ਦੇ ਵਿਚਕਾਰ ਹੋਣੀ ਚਾਹੀਦੀ ਹੈ"
46
- numeric:
47
- is: "%{is} ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ"
48
- is_not: "%{is_not} ਨਹੀਂ ਹੋ ਸਕਦਾ"
49
- min: "ਘੱਟੋ ਘੱਟ %{min} ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ"
50
- max: "ਵੱਧ ਤੋਂ ਵੱਧ %{max} ਹੋ ਸਕਦਾ ਹੈ"
51
- not_within: "%{min} ਅਤੇ %{max} ਦੇ ਵਿਚਕਾਰ ਨਹੀਂ ਹੋ ਸਕਦਾ"
52
- within: "%{min} ਅਤੇ %{max} ਦੇ ਵਿਚਕਾਰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ"
53
- presence: "ਖਾਲੀ ਨਹੀਂ ਹੋ ਸਕਦਾ"
data/lib/locales/pl.yml DELETED
@@ -1,53 +0,0 @@
1
- pl:
2
- cmdx:
3
- attributes:
4
- required: "musi być dostępny przez metodę źródłową %{method}"
5
- undefined: "deleguje do niezdefiniowanej metody %{method}"
6
- coercions:
7
- into_a: "nie można przekonwertować na %{type}"
8
- into_an: "nie można przekonwertować na %{type}"
9
- into_any: "nie można przekonwertować na jeden z: %{types}"
10
- unknown: "nieznany typ konwersji %{type}"
11
- returns:
12
- missing: "musi być ustawione w kontekście"
13
- faults:
14
- invalid: "Nieprawidłowe"
15
- unspecified: "Nieokreślone"
16
- types:
17
- array: "tablica"
18
- big_decimal: "duża liczba dziesiętna"
19
- boolean: "logiczny"
20
- complex: "zespolony"
21
- date_time: "data i czas"
22
- date: "data"
23
- float: "liczba zmiennoprzecinkowa"
24
- hash: "hash"
25
- integer: "liczba całkowita"
26
- rational: "wymierny"
27
- string: "ciąg znaków"
28
- symbol: "symbol"
29
- time: "czas"
30
- validators:
31
- absence: "musi być puste"
32
- exclusion:
33
- of: "nie może być jednym z: %{values}"
34
- within: "nie może być między %{min} a %{max}"
35
- format: "jest nieprawidłowym formatem"
36
- inclusion:
37
- of: "musi być jednym z: %{values}"
38
- within: "musi być między %{min} a %{max}"
39
- length:
40
- is: "długość musi być %{is}"
41
- is_not: "długość nie może być %{is_not}"
42
- min: "długość musi być co najmniej %{min}"
43
- max: "długość może być co najwyżej %{max}"
44
- not_within: "długość nie może być między %{min} a %{max}"
45
- within: "długość musi być między %{min} a %{max}"
46
- numeric:
47
- is: "musi być %{is}"
48
- is_not: "nie może być %{is_not}"
49
- min: "musi być co najmniej %{min}"
50
- max: "może być co najwyżej %{max}"
51
- not_within: "nie może być między %{min} a %{max}"
52
- within: "musi być między %{min} a %{max}"
53
- presence: "nie może być puste"
data/lib/locales/pt.yml DELETED
@@ -1,53 +0,0 @@
1
- pt:
2
- cmdx:
3
- attributes:
4
- required: "deve ser acessível através do método de origem %{method}"
5
- undefined: "delega para método não definido %{method}"
6
- coercions:
7
- into_a: "não foi possível converter em %{type}"
8
- into_an: "não foi possível converter em %{type}"
9
- into_any: "não foi possível converter em um de: %{types}"
10
- unknown: "tipo de conversão %{type} desconhecido"
11
- returns:
12
- missing: "deve estar definido no contexto"
13
- faults:
14
- invalid: "Inválidas"
15
- unspecified: "Não especificada"
16
- types:
17
- array: "array"
18
- big_decimal: "decimal grande"
19
- boolean: "booleano"
20
- complex: "complexo"
21
- date_time: "data e hora"
22
- date: "data"
23
- float: "ponto flutuante"
24
- hash: "hash"
25
- integer: "inteiro"
26
- rational: "racional"
27
- string: "string"
28
- symbol: "símbolo"
29
- time: "tempo"
30
- validators:
31
- absence: "deve estar vazio"
32
- exclusion:
33
- of: "não deve ser um de: %{values}"
34
- within: "não deve estar entre %{min} e %{max}"
35
- format: "é um formato inválido"
36
- inclusion:
37
- of: "deve ser um de: %{values}"
38
- within: "deve estar entre %{min} e %{max}"
39
- length:
40
- is: "o comprimento deve ser %{is}"
41
- is_not: "o comprimento não deve ser %{is_not}"
42
- min: "o comprimento deve ser pelo menos %{min}"
43
- max: "o comprimento deve ser no máximo %{max}"
44
- not_within: "o comprimento não deve estar entre %{min} e %{max}"
45
- within: "o comprimento deve estar entre %{min} e %{max}"
46
- numeric:
47
- is: "deve ser %{is}"
48
- is_not: "não deve ser %{is_not}"
49
- min: "deve ser pelo menos %{min}"
50
- max: "deve ser no máximo %{max}"
51
- not_within: "não deve estar entre %{min} e %{max}"
52
- within: "deve estar entre %{min} e %{max}"
53
- presence: "não pode estar vazio"
data/lib/locales/rm.yml DELETED
@@ -1,53 +0,0 @@
1
- rm:
2
- cmdx:
3
- attributes:
4
- required: "stue esser accessibel via la metoda da funtauna %{method}"
5
- undefined: "delega a la metoda betg definida %{method}"
6
- coercions:
7
- into_a: "na pudeva betg vegnir convertì en %{type}"
8
- into_an: "na pudeva betg vegnir convertì en %{type}"
9
- into_any: "na pudeva betg vegnir convertì en in da: %{types}"
10
- unknown: "tip da conversiun %{type} nunenconuschent"
11
- returns:
12
- missing: "sto esser definì en il context"
13
- faults:
14
- invalid: "Nunvalidas"
15
- unspecified: "Betg specificà"
16
- types:
17
- array: "array"
18
- big_decimal: "decimal grond"
19
- boolean: "booleic"
20
- complex: "complex"
21
- date_time: "data ed ura"
22
- date: "data"
23
- float: "numer cun punt flotant"
24
- hash: "hash"
25
- integer: "entir"
26
- rational: "razional"
27
- string: "chadaina"
28
- symbol: "simbol"
29
- time: "ura"
30
- validators:
31
- absence: "stoscha esser vid"
32
- exclusion:
33
- of: "na dastga betg esser in da: %{values}"
34
- within: "na dastga betg esser tranter %{min} e %{max}"
35
- format: "è in format nunvalid"
36
- inclusion:
37
- of: "stoscha esser in da: %{values}"
38
- within: "stoscha esser tranter %{min} e %{max}"
39
- length:
40
- is: "la lunghezza stoscha esser %{is}"
41
- is_not: "la lunghezza na dastga betg esser %{is_not}"
42
- min: "la lunghezza stoscha esser almain %{min}"
43
- max: "la lunghezza po esser al pli %{max}"
44
- not_within: "la lunghezza na dastga betg esser tranter %{min} e %{max}"
45
- within: "la lunghezza stoscha esser tranter %{min} e %{max}"
46
- numeric:
47
- is: "stoscha esser %{is}"
48
- is_not: "na dastga betg esser %{is_not}"
49
- min: "stoscha esser almain %{min}"
50
- max: "po esser al pli %{max}"
51
- not_within: "na dastga betg esser tranter %{min} e %{max}"
52
- within: "stoscha esser tranter %{min} e %{max}"
53
- presence: "na po betg esser vid"
data/lib/locales/ro.yml DELETED
@@ -1,53 +0,0 @@
1
- ro:
2
- cmdx:
3
- attributes:
4
- required: "trebuie să fie accesibil prin metoda sursă %{method}"
5
- undefined: "delegează la metoda nedefinită %{method}"
6
- coercions:
7
- into_a: "nu a putut fi convertit în %{type}"
8
- into_an: "nu a putut fi convertit în %{type}"
9
- into_any: "nu a putut fi convertit în unul din: %{types}"
10
- unknown: "tip de conversie %{type} necunoscut"
11
- returns:
12
- missing: "trebuie setat în context"
13
- faults:
14
- invalid: "Invalide"
15
- unspecified: "Nespecificat"
16
- types:
17
- array: "array"
18
- big_decimal: "decimal mare"
19
- boolean: "boolean"
20
- complex: "complex"
21
- date_time: "dată și oră"
22
- date: "dată"
23
- float: "număr cu virgulă mobilă"
24
- hash: "hash"
25
- integer: "întreg"
26
- rational: "rațional"
27
- string: "șir"
28
- symbol: "simbol"
29
- time: "timp"
30
- validators:
31
- absence: "trebuie să fie gol"
32
- exclusion:
33
- of: "nu trebuie să fie unul din: %{values}"
34
- within: "nu trebuie să fie între %{min} și %{max}"
35
- format: "este un format invalid"
36
- inclusion:
37
- of: "trebuie să fie unul din: %{values}"
38
- within: "trebuie să fie între %{min} și %{max}"
39
- length:
40
- is: "lungimea trebuie să fie %{is}"
41
- is_not: "lungimea nu trebuie să fie %{is_not}"
42
- min: "lungimea trebuie să fie cel puțin %{min}"
43
- max: "lungimea trebuie să fie cel mult %{max}"
44
- not_within: "lungimea nu trebuie să fie între %{min} și %{max}"
45
- within: "lungimea trebuie să fie între %{min} și %{max}"
46
- numeric:
47
- is: "trebuie să fie %{is}"
48
- is_not: "nu trebuie să fie %{is_not}"
49
- min: "trebuie să fie cel puțin %{min}"
50
- max: "trebuie să fie cel mult %{max}"
51
- not_within: "nu trebuie să fie între %{min} și %{max}"
52
- within: "trebuie să fie între %{min} și %{max}"
53
- presence: "nu poate fi gol"
data/lib/locales/ru.yml DELETED
@@ -1,53 +0,0 @@
1
- ru:
2
- cmdx:
3
- attributes:
4
- required: "должно быть доступно через исходный метод %{method}"
5
- undefined: "делегирует неопределенному методу %{method}"
6
- coercions:
7
- into_a: "не удалось преобразовать в %{type}"
8
- into_an: "не удалось преобразовать в %{type}"
9
- into_any: "не удалось преобразовать в один из: %{types}"
10
- unknown: "неизвестный тип преобразования %{type}"
11
- returns:
12
- missing: "должно быть установлено в контексте"
13
- faults:
14
- invalid: "Неверные"
15
- unspecified: "Не указано"
16
- types:
17
- array: "массив"
18
- big_decimal: "большое десятичное число"
19
- boolean: "логический"
20
- complex: "комплексный"
21
- date_time: "дата и время"
22
- date: "дата"
23
- float: "число с плавающей точкой"
24
- hash: "хэш"
25
- integer: "целое число"
26
- rational: "рациональное"
27
- string: "строка"
28
- symbol: "символ"
29
- time: "время"
30
- validators:
31
- absence: "должен быть пустым"
32
- exclusion:
33
- of: "не должен быть одним из: %{values}"
34
- within: "не должен быть между %{min} и %{max}"
35
- format: "неверный формат"
36
- inclusion:
37
- of: "должен быть одним из: %{values}"
38
- within: "должен быть между %{min} и %{max}"
39
- length:
40
- is: "длина должна быть %{is}"
41
- is_not: "длина не должна быть %{is_not}"
42
- min: "длина должна быть не менее %{min}"
43
- max: "длина должна быть не более %{max}"
44
- not_within: "длина не должна быть между %{min} и %{max}"
45
- within: "длина должна быть между %{min} и %{max}"
46
- numeric:
47
- is: "должен быть %{is}"
48
- is_not: "не должен быть %{is_not}"
49
- min: "должен быть не менее %{min}"
50
- max: "должен быть не более %{max}"
51
- not_within: "не должен быть между %{min} и %{max}"
52
- within: "должен быть между %{min} и %{max}"
53
- presence: "не может быть пустым"
data/lib/locales/sc.yml DELETED
@@ -1,53 +0,0 @@
1
- sc:
2
- cmdx:
3
- attributes:
4
- required: "depet èssere atzessìbile pro mèdiu de su mètodu de orìgine %{method}"
5
- undefined: "delegat a su metodu non definidu %{method}"
6
- coercions:
7
- into_a: "no s'est podidu cunvertire in %{type}"
8
- into_an: "no s'est podidu cunvertire in %{type}"
9
- into_any: "no s'est podidu cunvertire in unu de: %{types}"
10
- unknown: "tipu de cunversione %{type} disconnotu"
11
- returns:
12
- missing: "depet èssere impostadu in su cuntestu"
13
- faults:
14
- invalid: "Non vàlidos"
15
- unspecified: "Non specificadu"
16
- types:
17
- array: "array"
18
- big_decimal: "decimale mannu"
19
- boolean: "booleanu"
20
- complex: "cumpressu"
21
- date_time: "data e ora"
22
- date: "data"
23
- float: "puntu flotante"
24
- hash: "hash"
25
- integer: "interu"
26
- rational: "razionale"
27
- string: "corda"
28
- symbol: "sìmbulu"
29
- time: "ora"
30
- validators:
31
- absence: "deve èssere bòidu"
32
- exclusion:
33
- of: "non deve èssere unu de: %{values}"
34
- within: "non deve èssere intre %{min} e %{max}"
35
- format: "est unu formatu non vàlidu"
36
- inclusion:
37
- of: "deve èssere unu de: %{values}"
38
- within: "deve èssere intre %{min} e %{max}"
39
- length:
40
- is: "sa longària deve èssere %{is}"
41
- is_not: "sa longària non deve èssere %{is_not}"
42
- min: "sa longària deve èssere a su mancu %{min}"
43
- max: "sa longària potet èssere a su màssimu %{max}"
44
- not_within: "sa longària non deve èssere intre %{min} e %{max}"
45
- within: "sa longària deve èssere intre %{min} e %{max}"
46
- numeric:
47
- is: "deve èssere %{is}"
48
- is_not: "non deve èssere %{is_not}"
49
- min: "deve èssere a su mancu %{min}"
50
- max: "potet èssere a su màssimu %{max}"
51
- not_within: "non deve èssere intre %{min} e %{max}"
52
- within: "deve èssere intre %{min} e %{max}"
53
- presence: "non potet èssere bòidu"
data/lib/locales/sk.yml DELETED
@@ -1,53 +0,0 @@
1
- sk:
2
- cmdx:
3
- attributes:
4
- required: "musí byť prístupné cez zdrojovú metódu %{method}"
5
- undefined: "deleguje na nedefinovanú metódu %{method}"
6
- coercions:
7
- into_a: "nepodarilo sa previesť na %{type}"
8
- into_an: "nepodarilo sa previesť na %{type}"
9
- into_any: "nepodarilo sa previesť na jeden z: %{types}"
10
- unknown: "neznámy typ konverzie %{type}"
11
- returns:
12
- missing: "musí byť nastavené v kontexte"
13
- faults:
14
- invalid: "Neplatné"
15
- unspecified: "Nešpecifikované"
16
- types:
17
- array: "pole"
18
- big_decimal: "veľké desatinné číslo"
19
- boolean: "logický"
20
- complex: "komplexný"
21
- date_time: "dátum a čas"
22
- date: "dátum"
23
- float: "desatinné číslo"
24
- hash: "hash"
25
- integer: "celé číslo"
26
- rational: "racionálny"
27
- string: "reťazec"
28
- symbol: "symbol"
29
- time: "čas"
30
- validators:
31
- absence: "musí byť prázdne"
32
- exclusion:
33
- of: "nesmie byť jedným z: %{values}"
34
- within: "nesmie byť medzi %{min} a %{max}"
35
- format: "je neplatný formát"
36
- inclusion:
37
- of: "musí byť jedným z: %{values}"
38
- within: "musí byť medzi %{min} a %{max}"
39
- length:
40
- is: "dĺžka musí byť %{is}"
41
- is_not: "dĺžka nesmie byť %{is_not}"
42
- min: "dĺžka musí byť aspoň %{min}"
43
- max: "dĺžka môže byť najviac %{max}"
44
- not_within: "dĺžka nesmie byť medzi %{min} a %{max}"
45
- within: "dĺžka musí byť medzi %{min} a %{max}"
46
- numeric:
47
- is: "musí byť %{is}"
48
- is_not: "nesmie byť %{is_not}"
49
- min: "musí byť aspoň %{min}"
50
- max: "môže byť najviac %{max}"
51
- not_within: "nesmie byť medzi %{min} a %{max}"
52
- within: "musí byť medzi %{min} a %{max}"
53
- presence: "nesmie byť prázdne"
data/lib/locales/sl.yml DELETED
@@ -1,53 +0,0 @@
1
- sl:
2
- cmdx:
3
- attributes:
4
- required: "mora biti dostopno prek izvorne metode %{method}"
5
- undefined: "delegira nedefinirani metodi %{method}"
6
- coercions:
7
- into_a: "ni bilo mogoče pretvoriti v %{type}"
8
- into_an: "ni bilo mogoče pretvoriti v %{type}"
9
- into_any: "ni bilo mogoče pretvoriti v enega od: %{types}"
10
- unknown: "neznan tip pretvorbe %{type}"
11
- returns:
12
- missing: "mora biti nastavljeno v kontekstu"
13
- faults:
14
- invalid: "Neveljavni"
15
- unspecified: "Nedoločeno"
16
- types:
17
- array: "matrika"
18
- big_decimal: "veliko decimalno število"
19
- boolean: "logično"
20
- complex: "kompleksno"
21
- date_time: "datum in čas"
22
- date: "datum"
23
- float: "število s plavajočo vejico"
24
- hash: "hash"
25
- integer: "celo število"
26
- rational: "racionalno"
27
- string: "niz"
28
- symbol: "simbol"
29
- time: "čas"
30
- validators:
31
- absence: "mora biti prazno"
32
- exclusion:
33
- of: "ne sme biti eden od: %{values}"
34
- within: "ne sme biti med %{min} in %{max}"
35
- format: "je neveljaven format"
36
- inclusion:
37
- of: "mora biti eden od: %{values}"
38
- within: "mora biti med %{min} in %{max}"
39
- length:
40
- is: "dolžina mora biti %{is}"
41
- is_not: "dolžina ne sme biti %{is_not}"
42
- min: "dolžina mora biti vsaj %{min}"
43
- max: "dolžina lahko znaša največ %{max}"
44
- not_within: "dolžina ne sme biti med %{min} in %{max}"
45
- within: "dolžina mora biti med %{min} in %{max}"
46
- numeric:
47
- is: "mora biti %{is}"
48
- is_not: "ne sme biti %{is_not}"
49
- min: "mora biti vsaj %{min}"
50
- max: "lahko znaša največ %{max}"
51
- not_within: "ne sme biti med %{min} in %{max}"
52
- within: "mora biti med %{min} in %{max}"
53
- presence: "ne sme biti prazno"