conjur-cli 5.6.3 → 5.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ed6b6ede4ce280bd68268f820911a620b7ab216
4
- data.tar.gz: 8b5dfecbcbcabc3adb7d2e3325660e6a5a8e7c49
3
+ metadata.gz: 1f8b622320f010ccc24a307ded9146bd7856f7c0
4
+ data.tar.gz: 4d4bc63522bff544432931780925a31e9e0b8e19
5
5
  SHA512:
6
- metadata.gz: 9d5e00ad48beb3ab211759acdaf249def511f3efe832dc04399c540102d9182488286de3900c792cb63015f3537cd7f677805f4b7f19c1984d6b2991507624b9
7
- data.tar.gz: 464040c1700ea7ab95ecce32ce63681d81535af916ecf642fc8408d5c7756ddc8c5f828251e5830263e029f1051191bbc0fe0b1b1b40cfd9dc9cb18f9e443f3d
6
+ metadata.gz: 4684b54823fa3b59154ad8bb76d96b89a721e60e8dcb32572475c77e6114887e1fdc8d8180cf664a637e54d59bb7f7bee6d4a01aaa2cbe08a7b8b9524abcfaee
7
+ data.tar.gz: b70c5ba938ef59b5f08e174735fd4de3e7f3cc3eae52eee0e0026d15579a7d7aa9ce2e7d975451a50bb36392565ff6b71c07f5aba0b3467868a33b9140d40ae2
data/APPLIANCE_VERSION CHANGED
@@ -1 +1 @@
1
- 5.0
1
+ 4.9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 5.6.4
2
+
3
+ * Allow activesupport 5 as a dependency.
4
+
1
5
  # 5.6.3
2
6
 
3
7
  * Fix the gemspec to reflect dependency changes.
data/Jenkinsfile CHANGED
@@ -47,38 +47,50 @@ pipeline {
47
47
 
48
48
  stage('Publish deb') {
49
49
  when {
50
- branch 'master'
50
+ branch 'v4'
51
51
  }
52
52
 
53
53
  steps {
54
- sh './publish.sh conjurtools stable'
54
+ sh './publish-deb.sh $(cat APPLIANCE_VERSION) stable'
55
55
  }
56
56
  }
57
57
 
58
- // Only publish to RubyGems if branch is 'master'
59
- // AND someone confirms this stage within 5 minutes
60
- stage('Publish to RubyGems?') {
58
+ // Only publish to RubyGems if the HEAD is
59
+ // tagged with the same version as in version.rb
60
+ stage('Publish to RubyGems') {
61
61
  agent { label 'releaser-v2' }
62
62
 
63
63
  when {
64
- allOf {
65
- branch 'v4'
66
- expression {
67
- boolean publish = false
68
- try {
69
- timeout(time: 5, unit: 'MINUTES') {
70
- input(message: 'Publish to RubyGems?')
71
- publish = true
72
- }
73
- } catch (final ignore) {
74
- publish = false
75
- }
76
- return publish
77
- }
64
+ expression {
65
+ def exitCode = sh returnStatus: true, script: ''' set +x
66
+ echo "Determining if publishing is requested..."
67
+
68
+ VERSION=`cat lib/conjur/version.rb | grep \'VERSION\\s*=\' | sed -e "s/.*\'\\(.*\\)\'.*/\\1/"`
69
+ echo Declared version: $VERSION
70
+
71
+ # Jenkins git plugin is broken and always fetches with `--no-tags`
72
+ # (or `--tags`, neither of which is what you want), so tags end up
73
+ # not being fetched. Try to fix that.
74
+ # (Unfortunately this fetches all remote heads, so we may have to find
75
+ # another solution for bigger repos.)
76
+ git fetch -q
77
+
78
+ # note when tag not found git rev-parse will just print its name
79
+ TAG=`git rev-parse tags/v$VERSION 2>/dev/null || :`
80
+ echo Tag v$VERSION: $TAG
81
+
82
+ HEAD=`git rev-parse HEAD`
83
+ echo HEAD: $HEAD
84
+
85
+ test "$HEAD" = "$TAG"
86
+ '''
87
+ return exitCode == 0
78
88
  }
79
89
  }
80
90
  steps {
91
+ checkout scm
81
92
  sh './publish-rubygem.sh'
93
+ deleteDir()
82
94
  }
83
95
  }
84
96
  }
data/conjur-cli.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = Conjur::VERSION
17
17
 
18
- gem.add_dependency 'activesupport', '~> 4.2'
18
+ gem.add_dependency 'activesupport', '>= 4.2', '< 6'
19
19
  gem.add_dependency 'conjur-api', '~> 4.30'
20
20
  gem.add_dependency 'gli', '>=2.8.0'
21
21
  gem.add_dependency 'highline', '~> 1.7'
@@ -19,6 +19,6 @@
19
19
  # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
20
  #
21
21
  module Conjur
22
- VERSION = '5.6.3'.freeze
22
+ VERSION = '5.6.4'.freeze
23
23
  ::Version=VERSION
24
24
  end
@@ -1,6 +1,6 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  distribution=$1
4
- component=${2:-`echo $GIT_BRANCH | sed 's/^origin\///' | tr '/' '.'`}
4
+ component=${2:-`echo $BRANCH_NAME | sed 's/^origin\///' | tr '/' '.'`}
5
5
 
6
6
  exec summon -f ci/secrets/publish.yml ./ci/publish.sh $distribution $component
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.3
4
+ version: 5.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafal Rzepecki
@@ -9,22 +9,28 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-10-20 00:00:00.000000000 Z
12
+ date: 2017-10-23 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
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '6'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
26
29
  - !ruby/object:Gem::Version
27
30
  version: '4.2'
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '6'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: conjur-api
30
36
  requirement: !ruby/object:Gem::Requirement
@@ -477,8 +483,8 @@ files:
477
483
  - lib/patches/conjur/error.rb
478
484
  - lib/patches/gli.rb
479
485
  - profile.rb
486
+ - publish-deb.sh
480
487
  - publish-rubygem.sh
481
- - publish.sh
482
488
  - spec/authn_spec.rb
483
489
  - spec/command/assets_spec.rb
484
490
  - spec/command/audit_spec.rb