conjur-cli 5.5.0 → 5.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -2
- data/CHANGELOG.md +22 -0
- data/Dockerfile +1 -1
- data/Gemfile +2 -7
- data/Jenkinsfile +98 -0
- data/LICENSE.md +195 -0
- data/README.md +19 -1
- data/acceptance-features/support/hooks.rb +1 -2
- data/acceptance-features/support/world.rb +8 -2
- data/build-deb.sh +3 -1
- data/ci/secrets/publish.yml +2 -2
- data/{conjur.gemspec → conjur-cli.gemspec} +3 -2
- data/lib/conjur/command.rb +82 -22
- data/lib/conjur/command/groups.rb +1 -1
- data/lib/conjur/command/resources.rb +7 -4
- data/lib/conjur/command/roles.rb +31 -9
- data/lib/conjur/version.rb +2 -2
- data/publish-rubygem.sh +11 -0
- data/spec/command/resources_spec.rb +92 -10
- data/spec/command/roles_spec.rb +133 -1
- data/{jenkins.sh → test.sh} +0 -0
- metadata +73 -58
- data/LICENSE +0 -22
data/{jenkins.sh → test.sh}
RENAMED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjur-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafal Rzepecki
|
@@ -9,286 +9,300 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '4.2'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '4.2'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: conjur-api
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 4.
|
34
|
+
version: '4.30'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 4.
|
41
|
+
version: '4.30'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: gli
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 2.8.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 2.8.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: highline
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '1.7'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ~>
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '1.7'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: netrc
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - ~>
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0.10'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - ~>
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0.10'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: methadone
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - ~>
|
88
|
+
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '1.9'
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - ~>
|
95
|
+
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '1.9'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: deep_merge
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - ~>
|
102
|
+
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '1.0'
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- - ~>
|
109
|
+
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '1.0'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: xdg
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- - ~>
|
116
|
+
- - "~>"
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '2.2'
|
119
119
|
type: :runtime
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
|
-
- - ~>
|
123
|
+
- - "~>"
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '2.2'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: table_print
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- - ~>
|
130
|
+
- - "~>"
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '1.5'
|
133
133
|
type: :runtime
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - ~>
|
137
|
+
- - "~>"
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '1.5'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: semantic
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 1.4.1
|
147
|
+
type: :runtime
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 1.4.1
|
140
154
|
- !ruby/object:Gem::Dependency
|
141
155
|
name: cas_rest_client
|
142
156
|
requirement: !ruby/object:Gem::Requirement
|
143
157
|
requirements:
|
144
|
-
- - ~>
|
158
|
+
- - "~>"
|
145
159
|
- !ruby/object:Gem::Version
|
146
160
|
version: '1.3'
|
147
161
|
type: :runtime
|
148
162
|
prerelease: false
|
149
163
|
version_requirements: !ruby/object:Gem::Requirement
|
150
164
|
requirements:
|
151
|
-
- - ~>
|
165
|
+
- - "~>"
|
152
166
|
- !ruby/object:Gem::Version
|
153
167
|
version: '1.3'
|
154
168
|
- !ruby/object:Gem::Dependency
|
155
169
|
name: rspec
|
156
170
|
requirement: !ruby/object:Gem::Requirement
|
157
171
|
requirements:
|
158
|
-
- - ~>
|
172
|
+
- - "~>"
|
159
173
|
- !ruby/object:Gem::Version
|
160
174
|
version: '3.0'
|
161
175
|
type: :development
|
162
176
|
prerelease: false
|
163
177
|
version_requirements: !ruby/object:Gem::Requirement
|
164
178
|
requirements:
|
165
|
-
- - ~>
|
179
|
+
- - "~>"
|
166
180
|
- !ruby/object:Gem::Version
|
167
181
|
version: '3.0'
|
168
182
|
- !ruby/object:Gem::Dependency
|
169
183
|
name: simplecov
|
170
184
|
requirement: !ruby/object:Gem::Requirement
|
171
185
|
requirements:
|
172
|
-
- -
|
186
|
+
- - ">="
|
173
187
|
- !ruby/object:Gem::Version
|
174
188
|
version: '0'
|
175
189
|
type: :development
|
176
190
|
prerelease: false
|
177
191
|
version_requirements: !ruby/object:Gem::Requirement
|
178
192
|
requirements:
|
179
|
-
- -
|
193
|
+
- - ">="
|
180
194
|
- !ruby/object:Gem::Version
|
181
195
|
version: '0'
|
182
196
|
- !ruby/object:Gem::Dependency
|
183
197
|
name: aruba
|
184
198
|
requirement: !ruby/object:Gem::Requirement
|
185
199
|
requirements:
|
186
|
-
- - ~>
|
200
|
+
- - "~>"
|
187
201
|
- !ruby/object:Gem::Version
|
188
202
|
version: '0.12'
|
189
203
|
type: :development
|
190
204
|
prerelease: false
|
191
205
|
version_requirements: !ruby/object:Gem::Requirement
|
192
206
|
requirements:
|
193
|
-
- - ~>
|
207
|
+
- - "~>"
|
194
208
|
- !ruby/object:Gem::Version
|
195
209
|
version: '0.12'
|
196
210
|
- !ruby/object:Gem::Dependency
|
197
211
|
name: ci_reporter_rspec
|
198
212
|
requirement: !ruby/object:Gem::Requirement
|
199
213
|
requirements:
|
200
|
-
- - ~>
|
214
|
+
- - "~>"
|
201
215
|
- !ruby/object:Gem::Version
|
202
216
|
version: '1.0'
|
203
217
|
type: :development
|
204
218
|
prerelease: false
|
205
219
|
version_requirements: !ruby/object:Gem::Requirement
|
206
220
|
requirements:
|
207
|
-
- - ~>
|
221
|
+
- - "~>"
|
208
222
|
- !ruby/object:Gem::Version
|
209
223
|
version: '1.0'
|
210
224
|
- !ruby/object:Gem::Dependency
|
211
225
|
name: ci_reporter_cucumber
|
212
226
|
requirement: !ruby/object:Gem::Requirement
|
213
227
|
requirements:
|
214
|
-
- - ~>
|
228
|
+
- - "~>"
|
215
229
|
- !ruby/object:Gem::Version
|
216
230
|
version: '1.0'
|
217
231
|
type: :development
|
218
232
|
prerelease: false
|
219
233
|
version_requirements: !ruby/object:Gem::Requirement
|
220
234
|
requirements:
|
221
|
-
- - ~>
|
235
|
+
- - "~>"
|
222
236
|
- !ruby/object:Gem::Version
|
223
237
|
version: '1.0'
|
224
238
|
- !ruby/object:Gem::Dependency
|
225
239
|
name: rake
|
226
240
|
requirement: !ruby/object:Gem::Requirement
|
227
241
|
requirements:
|
228
|
-
- - ~>
|
242
|
+
- - "~>"
|
229
243
|
- !ruby/object:Gem::Version
|
230
244
|
version: '10.0'
|
231
245
|
type: :development
|
232
246
|
prerelease: false
|
233
247
|
version_requirements: !ruby/object:Gem::Requirement
|
234
248
|
requirements:
|
235
|
-
- - ~>
|
249
|
+
- - "~>"
|
236
250
|
- !ruby/object:Gem::Version
|
237
251
|
version: '10.0'
|
238
252
|
- !ruby/object:Gem::Dependency
|
239
253
|
name: io-grab
|
240
254
|
requirement: !ruby/object:Gem::Requirement
|
241
255
|
requirements:
|
242
|
-
- - ~>
|
256
|
+
- - "~>"
|
243
257
|
- !ruby/object:Gem::Version
|
244
258
|
version: '0.0'
|
245
259
|
type: :development
|
246
260
|
prerelease: false
|
247
261
|
version_requirements: !ruby/object:Gem::Requirement
|
248
262
|
requirements:
|
249
|
-
- - ~>
|
263
|
+
- - "~>"
|
250
264
|
- !ruby/object:Gem::Version
|
251
265
|
version: '0.0'
|
252
266
|
- !ruby/object:Gem::Dependency
|
253
267
|
name: json_spec
|
254
268
|
requirement: !ruby/object:Gem::Requirement
|
255
269
|
requirements:
|
256
|
-
- -
|
270
|
+
- - ">="
|
257
271
|
- !ruby/object:Gem::Version
|
258
272
|
version: '0'
|
259
273
|
type: :development
|
260
274
|
prerelease: false
|
261
275
|
version_requirements: !ruby/object:Gem::Requirement
|
262
276
|
requirements:
|
263
|
-
- -
|
277
|
+
- - ">="
|
264
278
|
- !ruby/object:Gem::Version
|
265
279
|
version: '0'
|
266
280
|
- !ruby/object:Gem::Dependency
|
267
281
|
name: cucumber-api
|
268
282
|
requirement: !ruby/object:Gem::Requirement
|
269
283
|
requirements:
|
270
|
-
- -
|
284
|
+
- - ">="
|
271
285
|
- !ruby/object:Gem::Version
|
272
286
|
version: '0'
|
273
287
|
type: :development
|
274
288
|
prerelease: false
|
275
289
|
version_requirements: !ruby/object:Gem::Requirement
|
276
290
|
requirements:
|
277
|
-
- -
|
291
|
+
- - ">="
|
278
292
|
- !ruby/object:Gem::Version
|
279
293
|
version: '0'
|
280
294
|
- !ruby/object:Gem::Dependency
|
281
295
|
name: addressable
|
282
296
|
requirement: !ruby/object:Gem::Requirement
|
283
297
|
requirements:
|
284
|
-
- -
|
298
|
+
- - ">="
|
285
299
|
- !ruby/object:Gem::Version
|
286
300
|
version: '0'
|
287
301
|
type: :development
|
288
302
|
prerelease: false
|
289
303
|
version_requirements: !ruby/object:Gem::Requirement
|
290
304
|
requirements:
|
291
|
-
- -
|
305
|
+
- - ">="
|
292
306
|
- !ruby/object:Gem::Version
|
293
307
|
version: '0'
|
294
308
|
description:
|
@@ -303,13 +317,13 @@ executables:
|
|
303
317
|
extensions: []
|
304
318
|
extra_rdoc_files: []
|
305
319
|
files:
|
306
|
-
- .dockerignore
|
307
|
-
- .githooks/pre_commit/run_specs.rb
|
308
|
-
- .gitignore
|
309
|
-
- .kateproject
|
310
|
-
- .overcommit.yml
|
311
|
-
- .project
|
312
|
-
- .rubocop.yml
|
320
|
+
- ".dockerignore"
|
321
|
+
- ".githooks/pre_commit/run_specs.rb"
|
322
|
+
- ".gitignore"
|
323
|
+
- ".kateproject"
|
324
|
+
- ".overcommit.yml"
|
325
|
+
- ".project"
|
326
|
+
- ".rubocop.yml"
|
313
327
|
- APPLIANCE_VERSION
|
314
328
|
- CHANGELOG.md
|
315
329
|
- Dockerfile
|
@@ -317,7 +331,8 @@ files:
|
|
317
331
|
- Dockerfile.publish
|
318
332
|
- Dockerfile.validate-packaging
|
319
333
|
- Gemfile
|
320
|
-
-
|
334
|
+
- Jenkinsfile
|
335
|
+
- LICENSE.md
|
321
336
|
- PUBLISH.md
|
322
337
|
- README.md
|
323
338
|
- Rakefile
|
@@ -392,7 +407,7 @@ files:
|
|
392
407
|
- ci/publish.sh
|
393
408
|
- ci/secrets/publish.yml
|
394
409
|
- ci/test.sh
|
395
|
-
- conjur.gemspec
|
410
|
+
- conjur-cli.gemspec
|
396
411
|
- debify.sh
|
397
412
|
- deprecations.sh
|
398
413
|
- features/conjurize.feature
|
@@ -414,7 +429,6 @@ files:
|
|
414
429
|
- features/support/hooks.rb
|
415
430
|
- features/support/host.json
|
416
431
|
- features/support/world.rb
|
417
|
-
- jenkins.sh
|
418
432
|
- lib/conjur-cli.rb
|
419
433
|
- lib/conjur.rb
|
420
434
|
- lib/conjur/audit/follower.rb
|
@@ -463,6 +477,7 @@ files:
|
|
463
477
|
- lib/patches/conjur/error.rb
|
464
478
|
- lib/patches/gli.rb
|
465
479
|
- profile.rb
|
480
|
+
- publish-rubygem.sh
|
466
481
|
- publish.sh
|
467
482
|
- spec/authn_spec.rb
|
468
483
|
- spec/command/assets_spec.rb
|
@@ -492,6 +507,7 @@ files:
|
|
492
507
|
- spec/dsl/runner_spec.rb
|
493
508
|
- spec/env_spec.rb
|
494
509
|
- spec/spec_helper.rb
|
510
|
+
- test.sh
|
495
511
|
homepage: https://github.com/conjurinc/cli-ruby
|
496
512
|
licenses:
|
497
513
|
- MIT
|
@@ -502,17 +518,17 @@ require_paths:
|
|
502
518
|
- lib
|
503
519
|
required_ruby_version: !ruby/object:Gem::Requirement
|
504
520
|
requirements:
|
505
|
-
- -
|
521
|
+
- - ">="
|
506
522
|
- !ruby/object:Gem::Version
|
507
523
|
version: '0'
|
508
524
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
509
525
|
requirements:
|
510
|
-
- -
|
526
|
+
- - ">="
|
511
527
|
- !ruby/object:Gem::Version
|
512
528
|
version: '0'
|
513
529
|
requirements: []
|
514
530
|
rubyforge_project:
|
515
|
-
rubygems_version: 2.
|
531
|
+
rubygems_version: 2.6.14
|
516
532
|
signing_key:
|
517
533
|
specification_version: 4
|
518
534
|
summary: Conjur command line interface
|
@@ -564,4 +580,3 @@ test_files:
|
|
564
580
|
- spec/dsl/runner_spec.rb
|
565
581
|
- spec/env_spec.rb
|
566
582
|
- spec/spec_helper.rb
|
567
|
-
has_rdoc:
|
data/LICENSE
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Copyright (c) 2012 Conjur Inc
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|