Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stage #131

Merged
merged 13 commits into from
Aug 14, 2024
Merged

Stage #131

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
khaf marked this conversation as resolved.
Show resolved Hide resolved
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
Loading