crowbar-client 1.0.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -4
- data/bin/{crowbar → crowbarctl} +0 -0
- data/lib/crowbar/client/app/barclamp.rb +3 -3
- data/lib/crowbar/client/app/node.rb +9 -9
- data/lib/crowbar/client/app/proposal.rb +8 -8
- data/lib/crowbar/client/app/repository.rb +3 -3
- data/lib/crowbar/client/app/role.rb +6 -6
- data/lib/crowbar/client/mixin/format.rb +8 -8
- data/lib/crowbar/client/version.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7cd53688bfbc14f2894c740577bd8606e2a0162
|
4
|
+
data.tar.gz: 114e67d7040c3af63514ec9424432de09a02ae06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e366c5b53565cc2ef9767b0b4de934f59e5b2c668afd9e1fe2315490349b4c355f89bc3999e80342a853a6020f2a9c9e220fadf3978dc6c4278f04b78dd1576
|
7
|
+
data.tar.gz: fbe5929613ab1065b75a571b9b04dc37a9fa84870c40549b735c497a0ca030ac07c02b97da1bdcad86512559256b62c4b8a28816723e85af84847595c64e92d2
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,22 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [2.0.0](https://github.com/crowbar/crowbar-client/releases/tag/v2.0.0) - 2015-11-12
|
4
|
+
|
5
|
+
* BREAKING
|
6
|
+
* Renamed bin/crowbar to bin/crowbarctl (@tboerger)
|
7
|
+
* BUGFIX
|
8
|
+
* Fixed format shortcuts to method instead of class options (@tboerger)
|
9
|
+
* ENHANCEMENT
|
10
|
+
* Be sure to set the correct output format(@tboerger)
|
11
|
+
|
3
12
|
## [1.0.1](https://github.com/crowbar/crowbar-client/releases/tag/v1.0.1) - 2015-11-11
|
4
13
|
|
5
|
-
*
|
6
|
-
* Fixed typos for renaming of
|
7
|
-
*
|
14
|
+
* BUGFIX
|
15
|
+
* Fixed typos for renaming of HostIP (@tboerger)
|
16
|
+
* Fixed typos for renaming of VirtualIP (@tboerger)
|
17
|
+
* ENHANCEMENT
|
18
|
+
* Downgraded terminal-table dependency (@tboerger)
|
8
19
|
|
9
20
|
## [1.0.0](https://github.com/crowbar/crowbar-client/releases/tag/v1.0.0) - 2015-11-11
|
10
21
|
|
11
|
-
* Initial release
|
22
|
+
* Initial release (@tboerger)
|
data/bin/{crowbar → crowbarctl}
RENAMED
File without changes
|
@@ -40,19 +40,19 @@ module Crowbar
|
|
40
40
|
banner: "<format>",
|
41
41
|
desc: "Format of the output, valid formats are table, json or plain"
|
42
42
|
|
43
|
-
|
43
|
+
method_option :table,
|
44
44
|
type: :boolean,
|
45
45
|
default: false,
|
46
46
|
aliases: [],
|
47
47
|
desc: "Format output as table, a shortcut for --format table option"
|
48
48
|
|
49
|
-
|
49
|
+
method_option :json,
|
50
50
|
type: :boolean,
|
51
51
|
default: false,
|
52
52
|
aliases: [],
|
53
53
|
desc: "Format output as table, a shortcut for --format table option"
|
54
54
|
|
55
|
-
|
55
|
+
method_option :plain,
|
56
56
|
type: :boolean,
|
57
57
|
default: false,
|
58
58
|
aliases: [],
|
@@ -42,19 +42,19 @@ module Crowbar
|
|
42
42
|
banner: "<format>",
|
43
43
|
desc: "Format of the output, valid formats are table, json or plain"
|
44
44
|
|
45
|
-
|
45
|
+
method_option :table,
|
46
46
|
type: :boolean,
|
47
47
|
default: false,
|
48
48
|
aliases: [],
|
49
49
|
desc: "Format output as table, a shortcut for --format table option"
|
50
50
|
|
51
|
-
|
51
|
+
method_option :json,
|
52
52
|
type: :boolean,
|
53
53
|
default: false,
|
54
54
|
aliases: [],
|
55
55
|
desc: "Format output as table, a shortcut for --format table option"
|
56
56
|
|
57
|
-
|
57
|
+
method_option :plain,
|
58
58
|
type: :boolean,
|
59
59
|
default: false,
|
60
60
|
aliases: [],
|
@@ -98,19 +98,19 @@ module Crowbar
|
|
98
98
|
banner: "<format>",
|
99
99
|
desc: "Format of the output, valid formats are table, json or plain"
|
100
100
|
|
101
|
-
|
101
|
+
method_option :table,
|
102
102
|
type: :boolean,
|
103
103
|
default: false,
|
104
104
|
aliases: [],
|
105
105
|
desc: "Format output as table, a shortcut for --format table option"
|
106
106
|
|
107
|
-
|
107
|
+
method_option :json,
|
108
108
|
type: :boolean,
|
109
109
|
default: false,
|
110
110
|
aliases: [],
|
111
111
|
desc: "Format output as table, a shortcut for --format json option"
|
112
112
|
|
113
|
-
|
113
|
+
method_option :plain,
|
114
114
|
type: :boolean,
|
115
115
|
default: false,
|
116
116
|
aliases: [],
|
@@ -157,19 +157,19 @@ module Crowbar
|
|
157
157
|
banner: "<format>",
|
158
158
|
desc: "Format of the output, valid formats are table, json or plain"
|
159
159
|
|
160
|
-
|
160
|
+
method_option :table,
|
161
161
|
type: :boolean,
|
162
162
|
default: false,
|
163
163
|
aliases: [],
|
164
164
|
desc: "Format output as table, a shortcut for --format table option"
|
165
165
|
|
166
|
-
|
166
|
+
method_option :json,
|
167
167
|
type: :boolean,
|
168
168
|
default: false,
|
169
169
|
aliases: [],
|
170
170
|
desc: "Format output as table, a shortcut for --format table option"
|
171
171
|
|
172
|
-
|
172
|
+
method_option :plain,
|
173
173
|
type: :boolean,
|
174
174
|
default: false,
|
175
175
|
aliases: [],
|
@@ -42,19 +42,19 @@ module Crowbar
|
|
42
42
|
banner: "<format>",
|
43
43
|
desc: "Format of the output, valid formats are table, json or plain"
|
44
44
|
|
45
|
-
|
45
|
+
method_option :table,
|
46
46
|
type: :boolean,
|
47
47
|
default: false,
|
48
48
|
aliases: [],
|
49
49
|
desc: "Format output as table, a shortcut for --format table option"
|
50
50
|
|
51
|
-
|
51
|
+
method_option :json,
|
52
52
|
type: :boolean,
|
53
53
|
default: false,
|
54
54
|
aliases: [],
|
55
55
|
desc: "Format output as table, a shortcut for --format json option"
|
56
56
|
|
57
|
-
|
57
|
+
method_option :plain,
|
58
58
|
type: :boolean,
|
59
59
|
default: false,
|
60
60
|
aliases: [],
|
@@ -103,19 +103,19 @@ module Crowbar
|
|
103
103
|
banner: "<format>",
|
104
104
|
desc: "Format of the output, valid formats are table, json or plain"
|
105
105
|
|
106
|
-
|
106
|
+
method_option :table,
|
107
107
|
type: :boolean,
|
108
108
|
default: false,
|
109
109
|
aliases: [],
|
110
110
|
desc: "Format output as table, a shortcut for --format table option"
|
111
111
|
|
112
|
-
|
112
|
+
method_option :json,
|
113
113
|
type: :boolean,
|
114
114
|
default: false,
|
115
115
|
aliases: [],
|
116
116
|
desc: "Format output as table, a shortcut for --format json option"
|
117
117
|
|
118
|
-
|
118
|
+
method_option :plain,
|
119
119
|
type: :boolean,
|
120
120
|
default: false,
|
121
121
|
aliases: [],
|
@@ -171,7 +171,7 @@ module Crowbar
|
|
171
171
|
banner: "<file>",
|
172
172
|
desc: "Reading proposal data from this json file"
|
173
173
|
|
174
|
-
|
174
|
+
method_option :merge,
|
175
175
|
type: :boolean,
|
176
176
|
default: false,
|
177
177
|
aliases: ["-m"],
|
@@ -221,7 +221,7 @@ module Crowbar
|
|
221
221
|
banner: "<file>",
|
222
222
|
desc: "Reading proposal data from this json file"
|
223
223
|
|
224
|
-
|
224
|
+
method_option :merge,
|
225
225
|
type: :boolean,
|
226
226
|
default: false,
|
227
227
|
aliases: ["-m"],
|
@@ -42,19 +42,19 @@ module Crowbar
|
|
42
42
|
banner: "<format>",
|
43
43
|
desc: "Format of the output, valid formats are table, json or plain"
|
44
44
|
|
45
|
-
|
45
|
+
method_option :table,
|
46
46
|
type: :boolean,
|
47
47
|
default: false,
|
48
48
|
aliases: [],
|
49
49
|
desc: "Format output as table, a shortcut for --format table option"
|
50
50
|
|
51
|
-
|
51
|
+
method_option :json,
|
52
52
|
type: :boolean,
|
53
53
|
default: false,
|
54
54
|
aliases: [],
|
55
55
|
desc: "Format output as table, a shortcut for --format json option"
|
56
56
|
|
57
|
-
|
57
|
+
method_option :plain,
|
58
58
|
type: :boolean,
|
59
59
|
default: false,
|
60
60
|
aliases: [],
|
@@ -42,19 +42,19 @@ module Crowbar
|
|
42
42
|
banner: "<format>",
|
43
43
|
desc: "Format of the output, valid formats are table, json or plain"
|
44
44
|
|
45
|
-
|
45
|
+
method_option :table,
|
46
46
|
type: :boolean,
|
47
47
|
default: false,
|
48
48
|
aliases: [],
|
49
49
|
desc: "Format output as table, a shortcut for --format table option"
|
50
50
|
|
51
|
-
|
51
|
+
method_option :json,
|
52
52
|
type: :boolean,
|
53
53
|
default: false,
|
54
54
|
aliases: [],
|
55
55
|
desc: "Format output as table, a shortcut for --format json option"
|
56
56
|
|
57
|
-
|
57
|
+
method_option :plain,
|
58
58
|
type: :boolean,
|
59
59
|
default: false,
|
60
60
|
aliases: [],
|
@@ -100,19 +100,19 @@ module Crowbar
|
|
100
100
|
banner: "<format>",
|
101
101
|
desc: "Format of the output, valid formats are table, json or plain"
|
102
102
|
|
103
|
-
|
103
|
+
method_option :table,
|
104
104
|
type: :boolean,
|
105
105
|
default: false,
|
106
106
|
aliases: [],
|
107
107
|
desc: "Format output as table, a shortcut for --format table option"
|
108
108
|
|
109
|
-
|
109
|
+
method_option :json,
|
110
110
|
type: :boolean,
|
111
111
|
default: false,
|
112
112
|
aliases: [],
|
113
113
|
desc: "Format output as table, a shortcut for --format json option"
|
114
114
|
|
115
|
-
|
115
|
+
method_option :plain,
|
116
116
|
type: :boolean,
|
117
117
|
default: false,
|
118
118
|
aliases: [],
|
@@ -26,28 +26,28 @@ module Crowbar
|
|
26
26
|
def provide_format
|
27
27
|
case
|
28
28
|
when json?
|
29
|
-
:json
|
29
|
+
options[:format] = :json
|
30
30
|
when plain?
|
31
|
-
:plain
|
31
|
+
options[:format] = :plain
|
32
32
|
when table?
|
33
|
-
:table
|
34
|
-
else
|
35
|
-
:table
|
33
|
+
options[:format] = :table
|
36
34
|
end
|
35
|
+
|
36
|
+
options[:format].to_sym
|
37
37
|
end
|
38
38
|
|
39
39
|
protected
|
40
40
|
|
41
41
|
def json?
|
42
|
-
options[:
|
42
|
+
options[:json]
|
43
43
|
end
|
44
44
|
|
45
45
|
def plain?
|
46
|
-
options[:
|
46
|
+
options[:plain]
|
47
47
|
end
|
48
48
|
|
49
49
|
def table?
|
50
|
-
options[:
|
50
|
+
options[:table]
|
51
51
|
end
|
52
52
|
end
|
53
53
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crowbar-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Boerger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -197,14 +197,14 @@ description: |2
|
|
197
197
|
email:
|
198
198
|
- tboerger@suse.de
|
199
199
|
executables:
|
200
|
-
-
|
200
|
+
- crowbarctl
|
201
201
|
extensions: []
|
202
202
|
extra_rdoc_files: []
|
203
203
|
files:
|
204
204
|
- CHANGELOG.md
|
205
205
|
- LICENSE
|
206
206
|
- README.md
|
207
|
-
- bin/
|
207
|
+
- bin/crowbarctl
|
208
208
|
- lib/crowbar-client.rb
|
209
209
|
- lib/crowbar/client.rb
|
210
210
|
- lib/crowbar/client/app.rb
|