aerospike 2.28.0 → 2.29.0

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: 646dcb876d7a83fab511f844216980206ee489f5cdb50f6d169a5c1893184861
4
- data.tar.gz: f508306bf2eb681e493f1e929cab19427475f6eb7c0976b3c16b86056083b443
3
+ metadata.gz: a5f1927589fab415975f46da19cfc0de4dc00285abe0627f0472d1e8aa27f5c9
4
+ data.tar.gz: e8245b120f0f78882e6dba592169434372eaa99032b6542167c7a46296c2bff9
5
5
  SHA512:
6
- metadata.gz: 51e3be1cb3b4790695eeae954e989da0df09f62deb43c9bc7995cd6c17e72804f2be1a02cf4bfcf09179a9aaff03c6d87f457bf338226d214614a6d6e3c75719
7
- data.tar.gz: c36094ad5db6f9758131aa33258ec551a59a9fcfd72c3f106008bdcc2a8de9530d47fae6bd90a6d1459bdf772902d8770ec842c8d3cc41ef4cd1d720dd3bd430
6
+ metadata.gz: 3915a6e8d1c82ddf1bdf80b66dcea019270f057b166071a24c1c52419afe9d69aeb97b10210fea58abd011ed4ddef89466823a06fbb807290899f010465314f2
7
+ data.tar.gz: 54c1776cece8e96ec07c75d0860aa2047f096352b2e329785e29c8317d4df7b856388d8fe4aeb506774fadc4fdee54f5e0eae7696ff294189ad9e54b7fe13c7a
data/CHANGELOG.md CHANGED
@@ -2,13 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [2.27.0] 2023-05-18
5
+ ## [2.29.0] 2023-08-24
6
+ - **Updates**
7
+ - [CLIENT-2526] Support for set quota for user defined roles
8
+
9
+ ## [2.28.0] 2023-06-23
6
10
  - **New Features**
7
11
  - [CLIENT-1432] Support minimum connections in connection pools
8
12
 
9
13
  - **Updates**
10
- - [CLIENT-1529] Remove Policy.priority, ScanPolicy.scanPercent and ScanPolicy.failOnClusterChange
11
-
14
+ - [CLIENT-1529] Removed Policy.priority, ScanPolicy.scanPercent and ScanPolicy.failOnClusterChange
12
15
 
13
16
  ## [2.27.0] 2023-05-18
14
17
  - **New Features**
@@ -894,6 +894,13 @@ module Aerospike
894
894
  command.revoke_privileges(@cluster, policy, role_name, privileges)
895
895
  end
896
896
 
897
+ # Set or update quota for a role.
898
+ def set_quotas(role_name, read_quota, write_quota, options = nil)
899
+ policy = create_policy(options, AdminPolicy, default_admin_policy)
900
+ command = AdminCommand.new
901
+ command.set_quotas(@cluster, policy, role_name, read_quota, write_quota)
902
+ end
903
+
897
904
  private
898
905
 
899
906
  def set_default_policies(policies)
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Aerospike
3
- VERSION = "2.28.0"
3
+ VERSION = "2.29.0"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aerospike
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.28.0
4
+ version: 2.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Khosrow Afroozeh
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-06-23 00:00:00.000000000 Z
13
+ date: 2023-08-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: msgpack