nexus_api 2.0.0 → 2.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cef507212dc118ed642feb046f02507b8d3d1dd5f6ef82ea575debf5f9ec435
4
- data.tar.gz: d2cc63846f5ad0957d06ff7a2d1f894aebc43cd02f1897bdd8781ca13d755cb3
3
+ metadata.gz: 680f17c06a69fe75f28949eda5fa16454ca8e71ad3eb4f3672a44a334dd78b0e
4
+ data.tar.gz: '008405bea89567a5e1843fc4e742c2951c2a55a2d150d06893ed159fda43bda9'
5
5
  SHA512:
6
- metadata.gz: 5b5ed7626a93a6c8da54c4147dc55d8dd1cf7daa85af4397866a8942489c1ac4374495a66450a26f4f3b54e2ff55eb2f9931252445fd40b610c4f2f2df9475e7
7
- data.tar.gz: 6b1a560d2f14f54d481c97c776c53980acbd8a99c203aa27ea933a0f90fcabad05257553332804474bd22a2ed23507b8f5d0a2c39e1316c4147b86a59cda9824
6
+ metadata.gz: 84a7ac3b47b5a6fdd06af0db9e9dc60e0d344dfc0408e9d1ddba5e5c7f76e300d57fca066170f009d72dfb4647d27a2287b3d8b991ea910d59482e3f2e5e5843
7
+ data.tar.gz: 395b05f6af8559f4a0e6ac7c0f80206af0fd16366338fc2d6153f74a5f30b6086138de054af142770e3b641e9f0fb4e1fc37948970769de80ddde652c73033b6
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
 
8
+ ## [2.0.1](https://github.com/Cisco-AMP/nexus_api/compare/v2.0.0...v2.0.1) - 2020-09-08
9
+ ### Security
10
+ - Use `rake` version `12.3.3` or later to avoid an [OS Command Injection](https://github.com/advisories/GHSA-jppv-gw3r-w3q8)
11
+
12
+
8
13
  ## [2.0.0](https://github.com/Cisco-AMP/nexus_api/compare/v1.6.1...v2.0.0) - 2020-07-27
9
14
  ### Added
10
15
  - Fully implemented create methods for group, hosted, and proxy type repository in the following formats:
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nexus_api (2.0.0)
4
+ nexus_api (2.0.1)
5
5
  bundler (~> 2)
6
6
  docker-api (~> 1.34.2)
7
7
  dotenv (~> 2.7.5)
8
8
  pry (~> 0.12.2)
9
- rake (~> 10.0)
9
+ rake (>= 12.3.3)
10
10
  rest-client (~> 2.1.0)
11
11
  thor (~> 0.20.3)
12
12
 
@@ -18,15 +18,15 @@ GEM
18
18
  coderay (1.1.3)
19
19
  crack (0.4.3)
20
20
  safe_yaml (~> 1.0.0)
21
- diff-lcs (1.3)
21
+ diff-lcs (1.4.4)
22
22
  docile (1.3.2)
23
23
  docker-api (1.34.2)
24
24
  excon (>= 0.47.0)
25
25
  multi_json
26
26
  domain_name (0.5.20190701)
27
27
  unf (>= 0.0.5, < 1.0.0)
28
- dotenv (2.7.5)
29
- excon (0.73.0)
28
+ dotenv (2.7.6)
29
+ excon (0.76.0)
30
30
  hashdiff (1.0.1)
31
31
  http-accept (1.7.0)
32
32
  http-cookie (1.0.3)
@@ -35,13 +35,13 @@ GEM
35
35
  mime-types (3.3.1)
36
36
  mime-types-data (~> 3.2015)
37
37
  mime-types-data (3.2020.0512)
38
- multi_json (1.14.1)
38
+ multi_json (1.15.0)
39
39
  netrc (0.11.0)
40
40
  pry (0.12.2)
41
41
  coderay (~> 1.1.0)
42
42
  method_source (~> 0.9.0)
43
- public_suffix (4.0.4)
44
- rake (10.5.0)
43
+ public_suffix (4.0.6)
44
+ rake (13.0.1)
45
45
  rest-client (2.1.0)
46
46
  http-accept (>= 1.7.0, < 2.0)
47
47
  http-cookie (>= 1.0.2, < 2.0)
@@ -51,17 +51,17 @@ GEM
51
51
  rspec-core (~> 3.9.0)
52
52
  rspec-expectations (~> 3.9.0)
53
53
  rspec-mocks (~> 3.9.0)
54
- rspec-core (3.9.0)
55
- rspec-support (~> 3.9.0)
56
- rspec-expectations (3.9.0)
54
+ rspec-core (3.9.2)
55
+ rspec-support (~> 3.9.3)
56
+ rspec-expectations (3.9.2)
57
57
  diff-lcs (>= 1.2.0, < 2.0)
58
58
  rspec-support (~> 3.9.0)
59
- rspec-mocks (3.9.0)
59
+ rspec-mocks (3.9.1)
60
60
  diff-lcs (>= 1.2.0, < 2.0)
61
61
  rspec-support (~> 3.9.0)
62
- rspec-support (3.9.0)
62
+ rspec-support (3.9.3)
63
63
  safe_yaml (1.0.5)
64
- simplecov (0.18.5)
64
+ simplecov (0.19.0)
65
65
  docile (~> 1.1)
66
66
  simplecov-html (~> 0.11)
67
67
  simplecov-html (0.12.2)
@@ -7,7 +7,7 @@ module NexusAPI
7
7
  end
8
8
 
9
9
  def list_all_assets(repository: nil)
10
- assets = Array.new.tap do |assets|
10
+ Array.new.tap do |assets|
11
11
  loop do
12
12
  assets.concat(list_assets(repository: repository, paginate: true))
13
13
  break unless paginate?
@@ -7,7 +7,7 @@ module NexusAPI
7
7
  end
8
8
 
9
9
  def list_all_components(repository: nil)
10
- components = Array.new.tap do |components|
10
+ Array.new.tap do |components|
11
11
  loop do
12
12
  components.concat(list_components(repository: repository, paginate: true))
13
13
  break unless paginate?
@@ -14,7 +14,7 @@ module NexusAPI
14
14
  end
15
15
 
16
16
  def search_all_assets(name:, format: nil, repository: nil, sha1: nil, version: nil)
17
- results = Array.new.tap do |results|
17
+ Array.new.tap do |results|
18
18
  loop do
19
19
  results.concat(
20
20
  search_asset(
@@ -6,7 +6,7 @@ module NexusAPI
6
6
  end
7
7
 
8
8
  def list_all_tags
9
- tags = Array.new.tap do |tags|
9
+ Array.new.tap do |tags|
10
10
  loop do
11
11
  tags.concat(list_tags(paginate: true))
12
12
  break unless paginate?
@@ -1,4 +1,4 @@
1
1
  module NexusAPI
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
4
4
 
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_runtime_dependency 'docker-api', "~> 1.34.2"
28
28
  spec.add_runtime_dependency 'dotenv', "~> 2.7.5"
29
29
  spec.add_runtime_dependency 'pry', "~> 0.12.2"
30
- spec.add_runtime_dependency 'rake', "~> 10.0"
30
+ spec.add_runtime_dependency 'rake', ">= 12.3.3"
31
31
  spec.add_runtime_dependency 'rest-client', "~> 2.1.0"
32
32
  spec.add_runtime_dependency 'thor', "~> 0.20.3"
33
33
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Levesque
@@ -71,16 +71,16 @@ dependencies:
71
71
  name: rake
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: '10.0'
76
+ version: 12.3.3
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
- version: '10.0'
83
+ version: 12.3.3
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rest-client
86
86
  requirement: !ruby/object:Gem::Requirement