conjur-cli 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/conjur/cli.rb +2 -2
- data/lib/conjur/command/assets.rb +0 -1
- data/lib/conjur/version.rb +1 -1
- metadata +4 -4
data/lib/conjur/cli.rb
CHANGED
@@ -50,7 +50,7 @@ module Conjur
|
|
50
50
|
pre do |global,command,options,args|
|
51
51
|
ENV['CONJUR_ENV'] = Config[:env] || "production"
|
52
52
|
ENV['CONJUR_STACK'] = Config[:stack] if Config[:stack]
|
53
|
-
ENV['CONJUR_STACK'] ||= '
|
53
|
+
ENV['CONJUR_STACK'] ||= 'v4' if ENV['CONJUR_ENV'] == 'production'
|
54
54
|
ENV['CONJUR_ACCOUNT'] = Config[:account] or raise "Missing configuration setting: account. Please set it in ~/.conjurrc"
|
55
55
|
|
56
56
|
if Conjur.log
|
@@ -88,4 +88,4 @@ module Conjur
|
|
88
88
|
true
|
89
89
|
end
|
90
90
|
end
|
91
|
-
end
|
91
|
+
end
|
@@ -109,7 +109,6 @@ class Conjur::Command::Assets < Conjur::Command
|
|
109
109
|
kind, id = get_kind_and_id_from_args(args, 'id')
|
110
110
|
role_name = require_arg(args, 'role-name')
|
111
111
|
member = require_arg(args, 'member')
|
112
|
-
admin_option = !options.delete(:admin).nil?
|
113
112
|
|
114
113
|
asset = api.send(kind, id)
|
115
114
|
tokens = [ asset.resource_kind, asset.resource_id, role_name ]
|
data/lib/conjur/version.rb
CHANGED
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: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-10-
|
13
|
+
date: 2013-10-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: conjur-api
|
@@ -255,7 +255,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
255
255
|
version: '0'
|
256
256
|
segments:
|
257
257
|
- 0
|
258
|
-
hash: -
|
258
|
+
hash: -3349228530066988265
|
259
259
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
260
260
|
none: false
|
261
261
|
requirements:
|
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
version: '0'
|
265
265
|
segments:
|
266
266
|
- 0
|
267
|
-
hash: -
|
267
|
+
hash: -3349228530066988265
|
268
268
|
requirements: []
|
269
269
|
rubyforge_project:
|
270
270
|
rubygems_version: 1.8.25
|