hammer_cli 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +75 -44
- data/bin/hammer +2 -0
- data/lib/hammer_cli/abstract.rb +55 -7
- data/lib/hammer_cli/apipie/command.rb +8 -2
- data/lib/hammer_cli/apipie/options.rb +12 -12
- data/lib/hammer_cli/apipie/read_command.rb +4 -9
- data/lib/hammer_cli/apipie/resource.rb +66 -16
- data/lib/hammer_cli/apipie/write_command.rb +1 -1
- data/lib/hammer_cli/exception_handler.rb +9 -9
- data/lib/hammer_cli/main.rb +6 -0
- data/lib/hammer_cli/messages.rb +7 -7
- data/lib/hammer_cli/output/adapter/abstract.rb +8 -3
- data/lib/hammer_cli/output/adapter/base.rb +13 -36
- data/lib/hammer_cli/output/adapter/silent.rb +3 -3
- data/lib/hammer_cli/output/adapter/table.rb +10 -23
- data/lib/hammer_cli/output/dsl.rb +10 -10
- data/lib/hammer_cli/output/fields.rb +35 -44
- data/lib/hammer_cli/output/formatters.rb +81 -0
- data/lib/hammer_cli/output/output.rb +8 -6
- data/lib/hammer_cli/output.rb +1 -0
- data/lib/hammer_cli/settings.rb +4 -4
- data/lib/hammer_cli/version.rb +1 -1
- metadata +22 -37
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Martin Bačovský
|
@@ -10,107 +9,94 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-09-26 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: clamp
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - '>='
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '0'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: rest-client
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '0'
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: '0'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: logging
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: '0'
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - '>='
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: '0'
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: awesome_print
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
|
-
- -
|
60
|
+
- - '>='
|
69
61
|
- !ruby/object:Gem::Version
|
70
62
|
version: '0'
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
|
-
- -
|
67
|
+
- - '>='
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: '0'
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: table_print
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
|
-
- -
|
74
|
+
- - '>='
|
85
75
|
- !ruby/object:Gem::Version
|
86
76
|
version: '0'
|
87
77
|
type: :runtime
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
|
-
- -
|
81
|
+
- - '>='
|
93
82
|
- !ruby/object:Gem::Version
|
94
83
|
version: '0'
|
95
84
|
- !ruby/object:Gem::Dependency
|
96
85
|
name: highline
|
97
86
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
87
|
requirements:
|
100
|
-
- -
|
88
|
+
- - '>='
|
101
89
|
- !ruby/object:Gem::Version
|
102
90
|
version: '0'
|
103
91
|
type: :runtime
|
104
92
|
prerelease: false
|
105
93
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
94
|
requirements:
|
108
|
-
- -
|
95
|
+
- - '>='
|
109
96
|
- !ruby/object:Gem::Version
|
110
97
|
version: '0'
|
111
|
-
description:
|
112
|
-
|
113
|
-
'
|
98
|
+
description: |
|
99
|
+
Hammer cli provides universal extendable CLI interface for ruby apps
|
114
100
|
email: mbacovsk@redhat.com
|
115
101
|
executables:
|
116
102
|
- hammer
|
@@ -140,6 +126,7 @@ files:
|
|
140
126
|
- lib/hammer_cli/main.rb
|
141
127
|
- lib/hammer_cli/settings.rb
|
142
128
|
- lib/hammer_cli/output/output.rb
|
129
|
+
- lib/hammer_cli/output/formatters.rb
|
143
130
|
- lib/hammer_cli/output/adapter/abstract.rb
|
144
131
|
- lib/hammer_cli/output/adapter/table.rb
|
145
132
|
- lib/hammer_cli/output/adapter/base.rb
|
@@ -163,27 +150,25 @@ files:
|
|
163
150
|
homepage: http://github.com/theforeman/hammer-cli
|
164
151
|
licenses:
|
165
152
|
- GPL-3
|
153
|
+
metadata: {}
|
166
154
|
post_install_message:
|
167
155
|
rdoc_options: []
|
168
156
|
require_paths:
|
169
157
|
- lib
|
170
158
|
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
-
none: false
|
172
159
|
requirements:
|
173
|
-
- -
|
160
|
+
- - '>='
|
174
161
|
- !ruby/object:Gem::Version
|
175
162
|
version: '0'
|
176
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
164
|
requirements:
|
179
|
-
- -
|
165
|
+
- - '>='
|
180
166
|
- !ruby/object:Gem::Version
|
181
167
|
version: '0'
|
182
168
|
requirements: []
|
183
169
|
rubyforge_project:
|
184
|
-
rubygems_version:
|
170
|
+
rubygems_version: 2.0.3
|
185
171
|
signing_key:
|
186
|
-
specification_version:
|
172
|
+
specification_version: 4
|
187
173
|
summary: Universal command-line interface
|
188
174
|
test_files: []
|
189
|
-
has_rdoc:
|