hammer_cli 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/bin/hammer +14 -4
  3. data/doc/release_notes.md +8 -0
  4. data/lib/hammer_cli/abstract.rb +1 -3
  5. data/lib/hammer_cli/logger.rb +29 -0
  6. data/lib/hammer_cli/settings.rb +1 -3
  7. data/lib/hammer_cli/version.rb +1 -1
  8. data/locale/de/LC_MESSAGES/hammer-cli.mo +0 -0
  9. data/locale/de/hammer-cli.edit.po +21 -21
  10. data/locale/de/hammer-cli.po +32 -24
  11. data/locale/en/LC_MESSAGES/hammer-cli.mo +0 -0
  12. data/locale/en/hammer-cli.edit.po +4 -4
  13. data/locale/en/hammer-cli.po +1 -1
  14. data/locale/en_GB/LC_MESSAGES/hammer-cli.mo +0 -0
  15. data/locale/en_GB/hammer-cli.edit.po +71 -70
  16. data/locale/en_GB/hammer-cli.po +81 -69
  17. data/locale/es/LC_MESSAGES/hammer-cli.mo +0 -0
  18. data/locale/es/hammer-cli.edit.po +35 -34
  19. data/locale/es/hammer-cli.po +46 -41
  20. data/locale/fr/LC_MESSAGES/hammer-cli.mo +0 -0
  21. data/locale/fr/hammer-cli.edit.po +4 -4
  22. data/locale/fr/hammer-cli.po +10 -9
  23. data/locale/hammer-cli.pot +6 -6
  24. data/locale/it/LC_MESSAGES/hammer-cli.mo +0 -0
  25. data/locale/it/hammer-cli.edit.po +12 -12
  26. data/locale/it/hammer-cli.po +19 -12
  27. data/locale/ja/LC_MESSAGES/hammer-cli.mo +0 -0
  28. data/locale/ja/hammer-cli.edit.po +13 -13
  29. data/locale/ja/hammer-cli.po +19 -18
  30. data/locale/ko/LC_MESSAGES/hammer-cli.mo +0 -0
  31. data/locale/ko/hammer-cli.edit.po +12 -12
  32. data/locale/ko/hammer-cli.po +16 -15
  33. data/locale/pt_BR/LC_MESSAGES/hammer-cli.mo +0 -0
  34. data/locale/pt_BR/hammer-cli.edit.po +13 -12
  35. data/locale/pt_BR/hammer-cli.po +18 -13
  36. data/locale/ru/LC_MESSAGES/hammer-cli.mo +0 -0
  37. data/locale/ru/hammer-cli.edit.po +17 -17
  38. data/locale/ru/hammer-cli.po +26 -21
  39. data/locale/zh_CN/LC_MESSAGES/hammer-cli.mo +0 -0
  40. data/locale/zh_CN/hammer-cli.edit.po +40 -40
  41. data/locale/zh_CN/hammer-cli.po +58 -54
  42. data/locale/zh_TW/LC_MESSAGES/hammer-cli.mo +0 -0
  43. data/locale/zh_TW/hammer-cli.edit.po +12 -12
  44. data/locale/zh_TW/hammer-cli.po +16 -15
  45. data/test/unit/abstract_test.rb +25 -7
  46. data/test/unit/logger_test.rb +18 -0
  47. data/test/unit/settings_test.rb +4 -3
  48. data/test/unit/test_helper.rb +1 -1
  49. metadata +13 -81
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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bačovský
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-29 00:00:00.000000000 Z
12
+ date: 2015-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: clamp
@@ -25,36 +25,8 @@ dependencies:
25
25
  - - '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: 1.0.0
28
- - !ruby/object:Gem::Dependency
29
- name: rest-client
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - <
33
- - !ruby/object:Gem::Version
34
- version: 1.7.0
35
- type: :runtime
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - <
40
- - !ruby/object:Gem::Version
41
- version: 1.7.0
42
28
  - !ruby/object:Gem::Dependency
43
29
  name: logging
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - <
47
- - !ruby/object:Gem::Version
48
- version: 2.0.0
49
- type: :runtime
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - <
54
- - !ruby/object:Gem::Version
55
- version: 2.0.0
56
- - !ruby/object:Gem::Dependency
57
- name: awesome_print
58
30
  requirement: !ruby/object:Gem::Requirement
59
31
  requirements:
60
32
  - - '>='
@@ -68,7 +40,7 @@ dependencies:
68
40
  - !ruby/object:Gem::Version
69
41
  version: '0'
70
42
  - !ruby/object:Gem::Dependency
71
- name: table_print
43
+ name: awesome_print
72
44
  requirement: !ruby/object:Gem::Requirement
73
45
  requirements:
74
46
  - - '>='
@@ -82,21 +54,7 @@ dependencies:
82
54
  - !ruby/object:Gem::Version
83
55
  version: '0'
84
56
  - !ruby/object:Gem::Dependency
85
- name: highline
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - <
89
- - !ruby/object:Gem::Version
90
- version: 1.7.0
91
- type: :runtime
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - <
96
- - !ruby/object:Gem::Version
97
- version: 1.7.0
98
- - !ruby/object:Gem::Dependency
99
- name: fast_gettext
57
+ name: table_print
100
58
  requirement: !ruby/object:Gem::Requirement
101
59
  requirements:
102
60
  - - '>='
@@ -110,21 +68,7 @@ dependencies:
110
68
  - !ruby/object:Gem::Version
111
69
  version: '0'
112
70
  - !ruby/object:Gem::Dependency
113
- name: locale
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - '>='
117
- - !ruby/object:Gem::Version
118
- version: 2.0.6
119
- type: :runtime
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - '>='
124
- - !ruby/object:Gem::Version
125
- version: 2.0.6
126
- - !ruby/object:Gem::Dependency
127
- name: json
71
+ name: highline
128
72
  requirement: !ruby/object:Gem::Requirement
129
73
  requirements:
130
74
  - - '>='
@@ -138,7 +82,7 @@ dependencies:
138
82
  - !ruby/object:Gem::Version
139
83
  version: '0'
140
84
  - !ruby/object:Gem::Dependency
141
- name: rb-readline
85
+ name: fast_gettext
142
86
  requirement: !ruby/object:Gem::Requirement
143
87
  requirements:
144
88
  - - '>='
@@ -152,47 +96,33 @@ dependencies:
152
96
  - !ruby/object:Gem::Version
153
97
  version: '0'
154
98
  - !ruby/object:Gem::Dependency
155
- name: fastercsv
99
+ name: locale
156
100
  requirement: !ruby/object:Gem::Requirement
157
101
  requirements:
158
102
  - - '>='
159
103
  - !ruby/object:Gem::Version
160
- version: '0'
104
+ version: 2.0.6
161
105
  type: :runtime
162
106
  prerelease: false
163
107
  version_requirements: !ruby/object:Gem::Requirement
164
108
  requirements:
165
109
  - - '>='
166
110
  - !ruby/object:Gem::Version
167
- version: '0'
168
- - !ruby/object:Gem::Dependency
169
- name: mime-types
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - ~>
173
- - !ruby/object:Gem::Version
174
- version: '1.0'
175
- type: :runtime
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - ~>
180
- - !ruby/object:Gem::Version
181
- version: '1.0'
111
+ version: 2.0.6
182
112
  - !ruby/object:Gem::Dependency
183
113
  name: apipie-bindings
184
114
  requirement: !ruby/object:Gem::Requirement
185
115
  requirements:
186
116
  - - ~>
187
117
  - !ruby/object:Gem::Version
188
- version: 0.0.10
118
+ version: 0.0.14
189
119
  type: :runtime
190
120
  prerelease: false
191
121
  version_requirements: !ruby/object:Gem::Requirement
192
122
  requirements:
193
123
  - - ~>
194
124
  - !ruby/object:Gem::Version
195
- version: 0.0.10
125
+ version: 0.0.14
196
126
  description: |
197
127
  Hammer cli provides universal extendable CLI interface for ruby apps
198
128
  email: mbacovsk@redhat.com
@@ -492,6 +422,7 @@ files:
492
422
  - test/unit/fixtures/json_input/valid.json
493
423
  - test/unit/history_test.rb
494
424
  - test/unit/i18n_test.rb
425
+ - test/unit/logger_test.rb
495
426
  - test/unit/main_test.rb
496
427
  - test/unit/modules_test.rb
497
428
  - test/unit/option_builder_test.rb
@@ -677,6 +608,7 @@ test_files:
677
608
  - test/reports/TEST-HammerCLI-CompleterLine-line-complete.xml
678
609
  - test/reports/TEST-HammerCLI-Output-Definition-empty-.xml
679
610
  - test/reports/TEST-HammerCLI-Options-Normalizers-json-input.xml
611
+ - test/unit/logger_test.rb
680
612
  - test/unit/abstract_test.rb
681
613
  - test/unit/validator_test.rb
682
614
  - test/unit/main_test.rb