nexus_api 1.6.0 → 1.6.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: 7b981b77e2fa8974130a33a27630ce244b53b687b97a2114bc63105711801da8
4
- data.tar.gz: a3f630982cbc1f490d96972873c60754993b801b57a3a039e59a82d9b3a2058b
3
+ metadata.gz: 2f708328c5c5cc947266bf002b345c88177e4780a1d25796ec1b918d682439b4
4
+ data.tar.gz: 8006685084aaabb5fd3d9db2d87d7b6d3ee838db88eec94320145860ece8a30d
5
5
  SHA512:
6
- metadata.gz: 30d6669a51b4efdce8cfb1590b1ad2ba768772c74f932e515c7191f300fbb78ed4bf600e33a26c9513055e7ca4dbb5a508a7963d862354ce564a9a3ed1d6c5e7
7
- data.tar.gz: 979cc37ee0887b22a2cb7fca2c4cbe2bd102c0cd0e4423e95aad068720bc27b40e76294fe7519e277d300710dd0774e7141bd2b64bf9c36250423546cb2906fc
6
+ metadata.gz: 46adf2cec475f1b3f19a9088f6b9efaec6aaa6b368933889e640b5ffed24c91f3190c5c9a36c7e1de49be9c3225a2444b44cc14b0dc74014c524d5755e6995ae
7
+ data.tar.gz: c5e9670c1f4532d5ba268bead70b71bfc5626593b3addd260e80e7bc320faf392910b4db88dab910ba843e4ac9dd05afce04c88e76ea067ba966a02ec3ac6548
@@ -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
+ ## [1.6.1](https://github.com/Cisco-AMP/nexus_api/compare/v1.6.0...v1.6.1) - 2020-07-20
9
+ ### Fixed
10
+ - Parameters for tag creation were being JSON encoded twice resulting in data Nexus could not parse
11
+
12
+
8
13
  ## [1.6.0](https://github.com/Cisco-AMP/nexus_api/compare/v1.5.0...v1.6.0) - 2020-07-20
9
14
  ### Added
10
15
  - `create_repository_raw_hosted()`
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nexus_api (1.6.0)
4
+ nexus_api (1.6.1)
5
5
  bundler (~> 2)
6
6
  docker-api (~> 1.34.2)
7
7
  dotenv (~> 2.7.5)
@@ -16,9 +16,9 @@ module NexusAPI
16
16
 
17
17
  # POST /service/rest/v1/tags
18
18
  def create_tag(name:)
19
- parameters = JSON.dump({
19
+ parameters = {
20
20
  'name' => name,
21
- })
21
+ }
22
22
  @connection.post(endpoint: 'tags', parameters: parameters)
23
23
  end
24
24
 
@@ -1,4 +1,4 @@
1
1
  module NexusAPI
2
- VERSION = '1.6.0'
2
+ VERSION = '1.6.1'
3
3
  end
4
4
 
@@ -1,5 +1,3 @@
1
- require 'json'
2
-
3
1
  module NexusAPI
4
2
  class ParameterBuilder
5
3
  # Write Policies
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: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Levesque