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 +4 -4
- data/CHANGELOG.md +6 -3
- data/lib/aerospike/client.rb +7 -0
- data/lib/aerospike/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5f1927589fab415975f46da19cfc0de4dc00285abe0627f0472d1e8aa27f5c9
|
4
|
+
data.tar.gz: e8245b120f0f78882e6dba592169434372eaa99032b6542167c7a46296c2bff9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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]
|
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**
|
data/lib/aerospike/client.rb
CHANGED
@@ -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)
|
data/lib/aerospike/version.rb
CHANGED
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.
|
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-
|
13
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: msgpack
|