Skip to content

Commit

Permalink
Merge pull request #131 from aerospike/stage
Browse files Browse the repository at this point in the history
v4.0.0
  • Loading branch information
khaf authored Aug 14, 2024
2 parents b9c8544 + 0f2c3fd commit 444508d
Show file tree
Hide file tree
Showing 64 changed files with 2,393 additions and 2,567 deletions.
47 changes: 19 additions & 28 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,31 @@ jobs:
test:
runs-on: ${{matrix.os}}-latest
continue-on-error: ${{matrix.experimental}}

strategy:
matrix:
os:
- ubuntu

# - macos

ruby:
- 2.6
- 2.7
- "2.6"
- "3.3"

experimental: [false]
env: [""]

include:
- os: ubuntu
ruby: head
experimental: true

steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true

- name: Start server
timeout-minutes: 5
env:
TERM: dumb
run:
.github/workflows/start_cluster.sh 2

- name: Run tests
timeout-minutes: 30
env:
AEROSPIKE_HOSTS: "127.0.0.1:3000,127.0.0.1:3100"
run: ${{matrix.env}} bundle exec rspec
- name: Set up Aerospike Database
uses: reugn/github-action-aerospike@v1
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Run tests
timeout-minutes: 30
env:
AEROSPIKE_HOSTS: "127.0.0.1:3000"
CODECOV_ENABLED: "false"
run: ${{matrix.env}} bundle exec rspec
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

All notable changes to this project will be documented in this file.

## [4.0.0] 2024-08-14

- **New Features**
- [CLIENT-2177] Add support for `MapReturnType#MAP_ORDERED` and `MapReturnType#MAP_UNORDERED`.
- [CLIENT-2308] Add `Exp#infinity_val` and `Exp#wildcard_val`.
- [CLIENT_1731] Support Batch Operations.

- **Updates**
- [CLIENT-3055] Remove Unsupported Server Features (`Predexp` and `BatchDirect`).

- **Improvements**
- [CLIENT-3056] Fix Github Actions Workflow. Tests still fail due to runner constraints, but we are now on the right track.
- [CLIENT-2682] Code Coverage - obtain current code coverage numbers for automated unit/integration functional tests.

- **Fixes**
- [CLIENT-3080] Set correct return types in list/map read expressions.
Set `bool` return type for list read expressions with `ListReturnType.EXISTS`.
Set `bool` return type for map read expressions with `MapReturnType.EXISTS`.
Set `map` return type for map read expressions with `MapReturnType.UNORDERED_MAP` or `MapReturnType.ORDERED_MAP`.
- [CLIENT-3072] Fix an issue where `Statement#return_data` is not respected.

## [3.0.0] 2023-12-15
Notice: This version of the client only supports Aerospike Server v6.0 and later. Some features will work for the older server versions.
- **new_features**
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ group :development do
gem "rubocop-rspec", require: false
end

gem "base64"
gem "bcrypt"
gem "msgpack", "~> 1.2"
gem "rake"
Expand Down
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ An Aerospike library for Ruby.

This library is compatible with Ruby 2.3+ and supports Linux, Mac OS X and various other BSDs.

- [Usage](#Usage)
- [Prerequisites](#Prerequisites)
- [Installation](#Installation)
- [Benchmarks](#Benchmarks)
- [API Documentaion](#API-Documentation)
- [Tests](#Tests)
- [Examples](#Examples)
- [Tools](#Tools)
- [Aerospike Ruby Client ](#aerospike-ruby-client---)
- [Usage:](#usage)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Installation from Ruby gems](#installation-from-ruby-gems)
- [Installation from source](#installation-from-source)
- [Tests](#tests)
- [Examples](#examples)
- [Tools](#tools)
- [Benchmarks](#benchmarks)
- [API Documentation](#api-documentation)
- [License](#license)


## Usage:
Expand Down Expand Up @@ -97,7 +101,7 @@ This library is packaged with a number of tests.

To run all the test cases:

$ AEROSPIKE_HOSTS="<host:port>[,<hoist:port>]" AEROSPIKE_USER="<user>" AEROSPIKE_PASSWORD="<pass>" bundle exec rspec
$ AEROSPIKE_HOSTS="<host:port>[,<host:port>]" AEROSPIKE_USER="<user>" AEROSPIKE_PASSWORD="<pass>" bundle exec rspec

<a name="Examples"></a>
## Examples
Expand Down
206 changes: 0 additions & 206 deletions examples/pred_exp.rb

This file was deleted.

Loading

0 comments on commit 444508d

Please sign in to comment.