rcf 0.1.2 → 0.3.0

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: 0e11d09b695d7375b6f4fce20cf7c3ae8b4cd1128cf1c300ff8ca04ec4bc27ee
4
- data.tar.gz: 9a4a77df514bbd59e1ab46ac57ff7825a4ecdd9d1aa6d8a6263f4f795f41e7f5
3
+ metadata.gz: 88784c3a443dbd9363830cac69d301b7872aa35df7273e80d46b2fd76bb46010
4
+ data.tar.gz: c75fa88eb7f23e21a7641ec7511bda2653cd4d49012cbfca591dccb657b8d6ee
5
5
  SHA512:
6
- metadata.gz: ec0bb36fdd7d87921493375a92b05700417e3edfb01fbcd0df95b5defa99e950f9665f20fcf794f876b4316823f614245db8b313e69bfc1723a6e9ea0d33a0f0
7
- data.tar.gz: f94c22e51d74cc64d7701f5fe4804a0d9a667eb992bfe761bd4f64202528aa2f7c104a8b62218b0cf3117d33ead6aa13500deb3eb97c2922ba9746ba70eaece6
6
+ metadata.gz: eaefebd2cd64912dc527a8c08b53ad17b883584daaf3c827b88613509cee3117ac78cf5566f9837dbe68301b706ddb38d00d2f3e0c53aacec0d4c41aaf39309e
7
+ data.tar.gz: a431b94730b419612582d71fc511e3e0999a536eab9c140623d00dce6e439fa5ad386742b33766941ff5f58aedef07df1dfa8d23dbb430b4c5b435e8f99b282b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.3.0 (2026-04-14)
2
+
3
+ - Dropped support for Ruby < 3.3
4
+
5
+ ## 0.2.0 (2024-10-23)
6
+
7
+ - Updated RCF to 4.0.0
8
+ - Dropped support for Ruby < 3.1
9
+
1
10
  ## 0.1.2 (2023-06-07)
2
11
 
3
12
  - Fixed error with `dup` and `clone`
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Random Cut Forest](https://github.com/aws/random-cut-forest-by-aws) (RCF) anomaly detection for Ruby
4
4
 
5
- [![Build Status](https://github.com/ankane/random-cut-forest-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/random-cut-forest-ruby/actions)
5
+ [![Build Status](https://github.com/ankane/random-cut-forest-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/random-cut-forest-ruby/actions)
6
6
 
7
7
  ## Installation
8
8
 
data/lib/rcf/forest.rb CHANGED
@@ -24,7 +24,7 @@ module Rcf
24
24
  private
25
25
 
26
26
  def set_param(param, value)
27
- if FFI.rcf_set_param(@pointer, param, value.to_s) != 0
27
+ if FFI.rcf_set_param(@pointer, +param, value.to_s) != 0
28
28
  raise ArgumentError, "Invalid value for #{param}"
29
29
  end
30
30
  end
data/lib/rcf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rcf
2
- VERSION = "0.1.2"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/rcf.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  require "fiddle/import"
3
3
 
4
4
  # modules
5
- require "rcf/forest"
6
- require "rcf/version"
5
+ require_relative "rcf/forest"
6
+ require_relative "rcf/version"
7
7
 
8
8
  module Rcf
9
9
  class Error < StandardError; end