conjur-cli 5.6.4 → 5.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/ci/package.sh +1 -3
- data/ci/publish.sh +2 -2
- data/lib/conjur/command/init.rb +1 -0
- data/lib/conjur/version.rb +1 -1
- data/spec/command/assets_spec.rb +0 -3
- data/spec/command/audit_spec.rb +0 -4
- data/spec/command/resources_spec.rb +0 -4
- data/spec/command/variable_expiration_spec.rb +0 -10
- data/spec/spec_helper.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d830fcde4d635f03a1d61e9e5b704a823bf22d6c
|
4
|
+
data.tar.gz: 40a9d5682c992ced7a4a6e1e1d6759079bffd8a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deada212f945a318918bad614874f4ac5b851abde130626177541b4415318a4ab7fe0caaf73406bec1723d2283e49caf07322344311161194089a37866df2fa9
|
7
|
+
data.tar.gz: dbc670b14e09246918d64fc7481328e8ac47bc1cbbddb05acc634b16bb3d0969b684d806465b87486c6c396c4047b15757bccae508f184cb49dc18c6625d7101
|
data/CHANGELOG.md
CHANGED
data/ci/package.sh
CHANGED
@@ -9,9 +9,7 @@ rake build
|
|
9
9
|
|
10
10
|
gem install --no-ri --no-rdoc --install-dir /tmp/gems pkg/*.gem
|
11
11
|
|
12
|
-
ITERATION=$(date +%s)
|
13
|
-
|
14
12
|
find /tmp/gems/cache -name '*.gem' | xargs -rn1 \
|
15
|
-
fpm --prefix $(gem environment gemdir)
|
13
|
+
fpm --prefix $(gem environment gemdir) -s gem -t deb
|
16
14
|
|
17
15
|
cp -a *.deb /share
|
data/ci/publish.sh
CHANGED
@@ -26,10 +26,10 @@ for package in *.deb; do
|
|
26
26
|
-v $PWD/tmp/deb:/src \
|
27
27
|
conjur-cli-publish \
|
28
28
|
upload \
|
29
|
-
--url https://conjurinc.
|
29
|
+
--url https://conjurinc.jfrog.io/conjurinc \
|
30
30
|
--user $ART_USERNAME \
|
31
31
|
--password $ART_PASSWORD \
|
32
32
|
--deb "$distribution"/"$component"/amd64 \
|
33
33
|
$package \
|
34
|
-
debian-
|
34
|
+
debian-private/
|
35
35
|
done
|
data/lib/conjur/command/init.rb
CHANGED
data/lib/conjur/version.rb
CHANGED
data/spec/command/assets_spec.rb
CHANGED
@@ -5,9 +5,6 @@ describe Conjur::Command::Assets, logged_in: true do
|
|
5
5
|
let(:asset) { double(attributes: asset_attributes ) }
|
6
6
|
let(:asset_attributes) { {"some"=>"attributes" } }
|
7
7
|
before(:each) { allow(api).to receive(KIND.to_sym).and_return(asset) }
|
8
|
-
def invoke_silently
|
9
|
-
expect { invoke }.to write
|
10
|
-
end
|
11
8
|
|
12
9
|
context "asset:create" do
|
13
10
|
before(:each) {
|
data/spec/command/audit_spec.rb
CHANGED
@@ -13,10 +13,6 @@ describe Conjur::Command::Audit, logged_in: true do
|
|
13
13
|
invoke
|
14
14
|
end
|
15
15
|
|
16
|
-
def invoke_silently
|
17
|
-
silence_stderr { invoke }
|
18
|
-
end
|
19
|
-
|
20
16
|
def self.describe_command_success cmd, method, *expected_args, &block
|
21
17
|
describe_command cmd do
|
22
18
|
it "calls api.#{method}(#{expected_args.map(&:inspect).join(',')})" do
|
@@ -11,10 +11,6 @@ describe Conjur::Command::Resources, logged_in: true do
|
|
11
11
|
allow(api).to receive(:resource).with(full_resource_id).and_return(resource_instance)
|
12
12
|
end
|
13
13
|
|
14
|
-
def invoke_silently
|
15
|
-
expect { invoke }.to write
|
16
|
-
end
|
17
|
-
|
18
14
|
shared_examples 'it displays resource attributes' do
|
19
15
|
it "as JSON to stdout" do
|
20
16
|
expect(JSON::parse( expect { invoke }.to write )).to eq(resource_attributes)
|
@@ -2,16 +2,6 @@ require 'spec_helper'
|
|
2
2
|
require 'conjur/command/variables'
|
3
3
|
|
4
4
|
describe Conjur::Command::Variables, :logged_in => true do
|
5
|
-
def invoke_silently
|
6
|
-
real_stderr = $stderr
|
7
|
-
$stderr = StringIO.new
|
8
|
-
begin
|
9
|
-
invoke
|
10
|
-
ensure
|
11
|
-
$stderr = real_stderr
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
5
|
let (:variable) { double(:name => 'foo') }
|
16
6
|
let (:incompatible_server_msg) { /not supported/ }
|
17
7
|
|
data/spec/spec_helper.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: 5.6.
|
4
|
+
version: 5.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafal Rzepecki
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-03-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -534,7 +534,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
534
534
|
version: '0'
|
535
535
|
requirements: []
|
536
536
|
rubyforge_project:
|
537
|
-
rubygems_version: 2.
|
537
|
+
rubygems_version: 2.5.2.1
|
538
538
|
signing_key:
|
539
539
|
specification_version: 4
|
540
540
|
summary: Conjur command line interface
|