conjur-cli 6.2.5 → 6.2.6

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
  SHA256:
3
- metadata.gz: e1e8bd9b3f0492516bb7636d952ef5b9d8019aecedf93b4cb32ca0060417dd06
4
- data.tar.gz: 0c51275a1eab0e47724036a0ddcf76e55eac4b9298c703b85ad0393346ac597a
3
+ metadata.gz: d32639d38348697c37ba5bf0585a327f6977d8f2ccab13d5cb54c0e53cc51459
4
+ data.tar.gz: 6b322f2a82897d6b18f3306a6a02fc23ec1312737239fa4a7c8d85ab5dfc06df
5
5
  SHA512:
6
- metadata.gz: 9f8a5b7f4e9030008e7557e9c68ec661f4d03ee9a17ce78e59c806ca4fa71e99746f700630ec397e0066e6b0519e95e6c951583621d93d6ae1cf70a27db23303
7
- data.tar.gz: 8f541da5d129e2e6ba4a0ac3e544b595041c4708d258708f8914ea4c6fdf37218f651a9d4fc022578dbee15d81e077c8745c105d57392c61bbfa1916261e1cd3
6
+ metadata.gz: 9efa930d071c062bfbe28bcef30df93c1e99ee6d59774736c717b759e64ce1fb20c163d119fba3c96294a269bfbcacc51380bc8f516f1a3199ab33839ed98b6a
7
+ data.tar.gz: 0bc8d101b7010b39c8837705682a7ac487910eff2c371e13ec20454dfcf708c247711cf2c283b86457a4f8dbd873ee3c725fd7c6ec4840300bd1c3973138dadb
data/CHANGELOG.md CHANGED
@@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [6.2.6] - 2022-01-31
10
+
11
+ ### Changed
12
+ - Allow activesupport >=6 as a dependency for ruby-3.0.2.
13
+ [cyberark/conjur-cli#339](https://github.com/cyberark/conjur-cli/pull/339)
14
+ - Add Ruby 3 tests in CI.
15
+ - Set Ruby 3 as default.
16
+ [cyberark/conjur-cli#344](https://github.com/cyberark/conjur-cli/pull/344)
17
+ - Bump `conjur-api-ruby` gem.
18
+ - Bump `rake` gem.
19
+
9
20
  ## [6.2.5] - 2021-09-29
10
21
 
11
22
  ### Fixed
@@ -65,7 +76,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
65
76
  - **Codebase forked: for changes to the 5.x (API [v4](https://github.com/cyberark/conjur-cli/tree/v4)) series, see
66
77
  [CHANGELOG in `v4` branch][v4-changelog](https://github.com/cyberark/conjur-cli/blob/v4/CHANGELOG.md)**
67
78
 
68
- [Unreleased]: https://github.com/cyberark/conjur-cli/compare/v6.2.4...HEAD
79
+ [Unreleased]: https://github.com/cyberark/conjur-cli/compare/v6.2.6...HEAD
80
+ [6.2.6]: https://github.com/cyberark/conjur-cli/compare/v6.2.5...v6.2.6
81
+ [6.2.5]: https://github.com/cyberark/conjur-cli/compare/v6.2.4...v6.2.5
69
82
  [6.2.4]: https://github.com/cyberark/conjur-cli/compare/v6.2.3...v6.2.4
70
83
  [6.2.3]: https://github.com/cyberark/conjur-cli/compare/v6.2.2...v6.2.3
71
84
  [6.2.2]: https://github.com/cyberark/conjur-cli/compare/v6.2.1...v6.2.2
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- #ruby=ruby-2.7.0
3
+ #ruby=ruby-3.0
4
4
  #ruby-gemset=conjur-cli
5
5
 
6
6
  # Specify your gem's dependencies in conjur.gemspec
data/Jenkinsfile CHANGED
@@ -26,7 +26,7 @@ pipeline {
26
26
  }
27
27
  }
28
28
 
29
- stage('Test 2.5') {
29
+ stage('Test Ruby 2.5') {
30
30
  environment {
31
31
  RUBY_VERSION = '2.5'
32
32
  }
@@ -42,7 +42,7 @@ pipeline {
42
42
  }
43
43
  }
44
44
 
45
- stage('Test 2.6') {
45
+ stage('Test Ruby 2.6') {
46
46
  environment {
47
47
  RUBY_VERSION = '2.6'
48
48
  }
@@ -58,7 +58,7 @@ pipeline {
58
58
  }
59
59
  }
60
60
 
61
- stage('Test 2.7') {
61
+ stage('Test Ruby 2.7') {
62
62
  environment {
63
63
  RUBY_VERSION = '2.7'
64
64
  }
@@ -74,6 +74,22 @@ pipeline {
74
74
  }
75
75
  }
76
76
 
77
+ stage('Test Ruby 3.0') {
78
+ environment {
79
+ RUBY_VERSION = '3.0'
80
+ }
81
+
82
+ steps {
83
+ sh './test.sh'
84
+ }
85
+
86
+ post {
87
+ always {
88
+ junit 'spec/reports/*.xml, features/reports/*.xml'
89
+ }
90
+ }
91
+ }
92
+
77
93
  stage('Submit Coverage Report'){
78
94
  steps{
79
95
  sh 'ci/submit-coverage'
data/NOTICES.txt CHANGED
@@ -8,19 +8,19 @@ of the license associated with each component.
8
8
 
9
9
  SECTION 1: Apache-2.0
10
10
 
11
- >>> https://rubygems.org/gems/conjur-api/versions/5.3.4
12
- >>> https://rubygems.org/gems/gli/versions/2.19.2
11
+ >>> https://rubygems.org/gems/conjur-api/versions/5.3.7
12
+ >>> https://rubygems.org/gems/gli/versions/2.21.0
13
13
 
14
14
  SECTION 2: BSD-2-Clause
15
15
 
16
- >>> https://rubygems.org/gems/highline/versions/1.7.10
16
+ >>> https://rubygems.org/gems/highline/versions/2.0.3
17
17
  >>> https://rubygems.org/gems/xdg/versions/2.2.3
18
18
 
19
19
  SECTION 3: MIT
20
20
 
21
- >>> https://rubygems.org/gems/activesupport/versions/5.2.4.4
22
- >>> https://rubygems.org/gems/deep_merge/versions/1.0.1
23
- >>> https://rubygems.org/gems/netrc/versions/0.10.3
21
+ >>> https://rubygems.org/gems/activesupport/versions/6.1.4.4
22
+ >>> https://rubygems.org/gems/deep_merge/versions/1.2.2
23
+ >>> https://rubygems.org/gems/netrc/versions/0.11.0
24
24
  >>> https://rubygems.org/gems/table_print/versions/1.5.7
25
25
 
26
26
  APPENDIX: Standard License Files and Templates
@@ -35,7 +35,7 @@ APPENDIX: Standard License Files and Templates
35
35
 
36
36
  Apache-2.0 License is applicable to the following component(s).
37
37
 
38
- >>> https://rubygems.org/gems/conjur-api/versions/5.3.4
38
+ >>> https://rubygems.org/gems/conjur-api/versions/5.3.7
39
39
 
40
40
  Copyright (c) 2020 CyberArk Software Ltd. All rights reserved.'
41
41
 
@@ -51,7 +51,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
51
51
  See the License for the specific language governing permissions and
52
52
  limitations under the License.
53
53
 
54
- >>> https://rubygems.org/gems/gli/versions/2.19.2
54
+ >>> https://rubygems.org/gems/gli/versions/2.21.0
55
55
 
56
56
  Copyright (c) 2010 by Dave Copeland
57
57
 
@@ -69,7 +69,7 @@ limitations under the License.
69
69
 
70
70
  --------------- SECTION 2: BSD-2-Clause ----------
71
71
 
72
- >>> https://rubygems.org/gems/highline/versions/1.7.10
72
+ >>> https://rubygems.org/gems/highline/versions/2.0.3
73
73
 
74
74
  Copyright 2005 Gray Productions. All rights reserved.
75
75
 
@@ -100,7 +100,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
100
100
 
101
101
  MIT License is applicable to the following component(s).
102
102
 
103
- >>> https://rubygems.org/gems/activesupport/versions/5.2.4.4
103
+ >>> https://rubygems.org/gems/activesupport/versions/6.1.4.4
104
104
 
105
105
  Copyright (c) 2005-2018 David Heinemeier Hansson'
106
106
 
@@ -123,7 +123,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
123
123
  SOFTWARE.
124
124
 
125
125
 
126
- >>> https://rubygems.org/gems/deep_merge/versions/1.0.1
126
+ >>> https://rubygems.org/gems/deep_merge/versions/1.2.2
127
127
 
128
128
  Copyright (c) 2008-2104 Steve Midgley, Daniel DeLeo
129
129
 
@@ -145,7 +145,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
145
145
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
146
146
  THE SOFTWARE.
147
147
 
148
- >>> https://rubygems.org/gems/netrc/versions/0.10.3
148
+ >>> https://rubygems.org/gems/netrc/versions/0.11.0
149
149
 
150
150
  Copyright (c) 2011-2014 CONTRIBUTORS.md
151
151
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.2.5
1
+ 6.2.6
data/conjur-cli.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
21
21
  # Filter out development only executables
22
22
  gem.executables -= %w{parse-changelog.sh}
23
23
 
24
- gem.add_dependency 'activesupport', '>= 4.2', '< 6'
24
+ gem.add_dependency 'activesupport', '~> 6.0'
25
25
  gem.add_dependency 'conjur-api', '~> 5.3'
26
26
  gem.add_dependency 'deep_merge', '~> 1.0'
27
27
  gem.add_dependency 'gli', '>=2.8.0'
@@ -37,7 +37,7 @@ Gem::Specification.new do |gem|
37
37
  gem.add_development_dependency 'io-grab', '~> 0.0'
38
38
  gem.add_development_dependency 'json_spec'
39
39
  gem.add_development_dependency 'pry-byebug'
40
- gem.add_development_dependency 'rake', '~> 12.3.3'
40
+ gem.add_development_dependency 'rake', '~> 13.0'
41
41
  gem.add_development_dependency 'rspec', '~> 3.0'
42
42
  gem.add_development_dependency 'simplecov', '~> 0.17', '< 0.18'
43
43
  end
data/jenkins.sh CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -ex
2
2
 
3
3
  # Constants
4
- RUBY_VERSION_DEFAULT="2.7"
4
+ RUBY_VERSION_DEFAULT="3.0"
5
5
 
6
6
  # Arguments
7
7
  RUBY_VERSION=${1-${RUBY_VERSION_DEFAULT}}
@@ -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 = '6.2.5'
22
+ VERSION = '6.2.6'
23
23
  ::Version=VERSION
24
24
  end
data/test.sh CHANGED
@@ -1,11 +1,15 @@
1
1
  #!/bin/bash -ex
2
2
 
3
- : ${RUBY_VERSION=2.7}
3
+ : ${RUBY_VERSION=3.0}
4
4
 
5
5
  # My local RUBY_VERSION is set to ruby-#.#.# so this allows running locally.
6
6
  RUBY_VERSION=$(cut -d '-' -f 2 <<< $RUBY_VERSION)
7
7
 
8
8
  main() {
9
+ if ! docker info >/dev/null 2>&1; then
10
+ echo "Docker does not seem to be running, run it first and retry"
11
+ exit 1
12
+ fi
9
13
 
10
14
  # set up the containers to run in their own namespace
11
15
  COMPOSE_PROJECT_NAME="$(basename "$PWD")_$(openssl rand -hex 3)"
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjur-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.5
4
+ version: 6.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Conjur Maintainers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-29 00:00:00.000000000 Z
11
+ date: 2022-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '4.2'
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '6'
19
+ version: '6.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '4.2'
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '6'
26
+ version: '6.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: conjur-api
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -232,14 +226,14 @@ dependencies:
232
226
  requirements:
233
227
  - - "~>"
234
228
  - !ruby/object:Gem::Version
235
- version: 12.3.3
229
+ version: '13.0'
236
230
  type: :development
237
231
  prerelease: false
238
232
  version_requirements: !ruby/object:Gem::Requirement
239
233
  requirements:
240
234
  - - "~>"
241
235
  - !ruby/object:Gem::Version
242
- version: 12.3.3
236
+ version: '13.0'
243
237
  - !ruby/object:Gem::Dependency
244
238
  name: rspec
245
239
  requirement: !ruby/object:Gem::Requirement
@@ -285,9 +279,6 @@ extra_rdoc_files: []
285
279
  files:
286
280
  - ".dockerignore"
287
281
  - ".github/CODEOWNERS"
288
- - ".github/ISSUE_TEMPLATE/bug.md"
289
- - ".github/ISSUE_TEMPLATE/feature_request.md"
290
- - ".github/PULL_REQUEST_TEMPLATE.md"
291
282
  - ".gitignore"
292
283
  - ".gitleaks.toml"
293
284
  - ".kateproject"
@@ -1,42 +0,0 @@
1
- ---
2
- name: Bug
3
- about: Create a bug report to help us improve
4
- title: ''
5
- labels: component/cli, kind/bug
6
- assignees: ''
7
-
8
- ---
9
-
10
- ## Summary
11
- A clear and concise description of what the bug is.
12
-
13
- ## Steps to Reproduce
14
- Steps to reproduce the behavior:
15
- 1. Go to '...'
16
- 2. Click on '....'
17
- 3. Scroll down to '....'
18
- 4. See error
19
-
20
- ## Expected Results
21
- A clear and concise description of what you expected to happen.
22
-
23
- ## Actual Results (including error logs, if applicable)
24
- A clear and concise description of what actually did happen.
25
-
26
- ## Reproducible
27
- * [ ] Always
28
- * [ ] Sometimes
29
- * [ ] Non-Reproducible
30
-
31
- ## Version/Tag number
32
- What version of the product are you running? Any version info that you can share is helpful.
33
- For example, you might give the version from Docker logs, the Docker tag, a specific download URL,
34
- the output of the `/info` route, etc.
35
-
36
- ## Environment setup
37
- Can you describe the environment in which this product is running? Is it running on a VM / in a container / in a cloud?
38
- Which cloud provider? Which container orchestrator (including version)?
39
- The more info you can share about your runtime environment, the better we may be able to reproduce the issue.
40
-
41
- ## Additional Information
42
- Add any other context about the problem here.
@@ -1,27 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: ''
5
- labels: kind/enhancement, component/cli
6
- assignees: ''
7
-
8
- ---
9
-
10
- ## Is your feature request related to a problem? Please describe.
11
-
12
- A clear and concise description of what the problem is. Ex. `I would like to see [...] because [...]`.
13
- Please include the intended use case and what the feature would improve on so that we can prioritize
14
- the feature accordingly.
15
-
16
- ## Describe the solution you would like
17
-
18
- A clear and concise description of what the desired end result(s) would be.
19
-
20
- ## Describe alternatives you have considered
21
-
22
- A clear and concise description of any alternative solutions or features that may be related to this that
23
- you have considered.
24
-
25
- ## Additional context
26
-
27
- Add any other context information about the feature request here.
@@ -1,21 +0,0 @@
1
- ### What does this PR do?
2
- - _What's changed? Why were these changes made?_
3
- - _How should the reviewer approach this PR, especially if manual tests are required?_
4
- - _Are there relevant screenshots you can add to the PR description?_
5
-
6
- ### What ticket does this PR close?
7
- Resolves #[relevant GitHub issues, eg 76]
8
-
9
- ### Checklists
10
-
11
- #### Change log
12
- - [ ] The CHANGELOG has been updated, or
13
- - [ ] This PR does not include user-facing changes and doesn't require a CHANGELOG update
14
-
15
- #### Test coverage
16
- - [ ] This PR includes new unit and integration tests to go with the code changes, or
17
- - [ ] The changes in this PR do not require tests
18
-
19
- #### Documentation
20
- - [ ] Docs (e.g. `README`s) were updated in this PR, and/or there is a follow-on issue to update docs, or
21
- - [ ] This PR does not require updating any documentation