midas-edge 0.3.2 → 0.4.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: f8175447ed65a3d573a488a8c980900732900da1e9d8e70d0db33a9d95019b12
4
- data.tar.gz: 6a14d897bae5824729568c4d9a9e6c50e6116687a0fd1ee06b65df297a5a4d38
3
+ metadata.gz: 9c3db1f509441415ac085be38171d25fed7f4a9bb1e22e54dc38f18b6527f372
4
+ data.tar.gz: bae0dafc0a478110df0283014377a51b3e7d26aaee3adc4131f3678c0337f262
5
5
  SHA512:
6
- metadata.gz: d3bfc584de5bce01ffab5ef755a3bbc1d380e7cd40b867567cd158a0542e8b8f58cf935f1f88e48bf3d338ad936e5259647e5f53a85a602fa37b8bf5887dc349
7
- data.tar.gz: 7d6766011b2901640b13a268d4146a2f3c2f211d6d36f05ece1bf496e16ae413b1720841b45a7231c13059acf55e8e323e74f8dcfe4b10d7c33c6f6b049590d9
6
+ metadata.gz: 6b7ce6f9eb5d43e7044264a2cbbad37a7cb46f31061fa82a1c2422699be35d13f27258c4362f0eb619f85e780cf1ea05eabdd0e6c574268a0c665d1a3f6a2ba1
7
+ data.tar.gz: 495b966fab46c902ca0bbb8b9a84802122f60cceae27ceb185f99a8b69a0e2e9b57d6d12e66e237d991991741537fde0be1658536d265552bb472e4723cd73d0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.4.0 (2023-05-11)
2
+
3
+ - Dropped support for Ruby < 3
4
+
5
+ ## 0.3.3 (2022-12-28)
6
+
7
+ - Fixed installation error on Mac
8
+
1
9
  ## 0.3.2 (2021-06-08)
2
10
 
3
11
  - Fixed installation error
data/NOTICE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  Copyright 2020 Rui Liu (liurui39660) and Siddharth Bhatia (bhatiasiddharth)
2
- Copyright 2020-2021 Andrew Kane
2
+ Copyright 2020-2023 Andrew Kane
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
- # MIDAS
1
+ # MIDAS Ruby
2
2
 
3
3
  [MIDAS](https://github.com/bhatiasiddharth/MIDAS) - edge stream anomaly detection - for Ruby
4
4
 
5
- [![Build Status](https://github.com/ankane/midas/workflows/build/badge.svg?branch=master)](https://github.com/ankane/midas/actions)
5
+ [![Build Status](https://github.com/ankane/midas-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/midas-ruby/actions)
6
6
 
7
7
  ## Installation
8
8
 
9
9
  Add this line to your application’s Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'midas-edge'
12
+ gem "midas-edge"
13
13
  ```
14
14
 
15
15
  ## Getting Started
@@ -78,22 +78,22 @@ midas.fit_predict("data.csv")
78
78
 
79
79
  ## History
80
80
 
81
- View the [changelog](https://github.com/ankane/midas/blob/master/CHANGELOG.md)
81
+ View the [changelog](https://github.com/ankane/midas-ruby/blob/master/CHANGELOG.md)
82
82
 
83
83
  ## Contributing
84
84
 
85
85
  Everyone is encouraged to help improve this project. Here are a few ways you can help:
86
86
 
87
- - [Report bugs](https://github.com/ankane/midas/issues)
88
- - Fix bugs and [submit pull requests](https://github.com/ankane/midas/pulls)
87
+ - [Report bugs](https://github.com/ankane/midas-ruby/issues)
88
+ - Fix bugs and [submit pull requests](https://github.com/ankane/midas-ruby/pulls)
89
89
  - Write, clarify, or fix documentation
90
90
  - Suggest or add new features
91
91
 
92
92
  To get started with development:
93
93
 
94
94
  ```sh
95
- git clone --recursive https://github.com/ankane/midas.git
96
- cd midas
95
+ git clone --recursive https://github.com/ankane/midas-ruby.git
96
+ cd midas-ruby
97
97
  bundle install
98
98
  bundle exec rake compile
99
99
  bundle exec rake test
data/ext/midas/extconf.rb CHANGED
@@ -7,6 +7,9 @@ numo = File.join(Gem.loaded_specs["numo-narray"].require_path, "numo")
7
7
  abort "Numo header not found" unless find_header("numo/narray.h", numo)
8
8
  abort "Numo library not found" if Gem.win_platform? && !find_library("narray", nil, numo)
9
9
 
10
+ # for https://bugs.ruby-lang.org/issues/19005
11
+ $LDFLAGS += " -Wl,-undefined,dynamic_lookup" if RbConfig::CONFIG["host_os"] =~ /darwin/i
12
+
10
13
  midas = File.expand_path("../../vendor/MIDAS/src", __dir__)
11
14
  abort "Midas not found" unless find_header("NormalCore.hpp", midas)
12
15
 
data/lib/midas/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Midas
2
- VERSION = "0.3.2"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: midas-edge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-08 00:00:00.000000000 Z
11
+ date: 2023-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rice
@@ -61,7 +61,7 @@ files:
61
61
  - vendor/MIDAS/src/FilteringCore.hpp
62
62
  - vendor/MIDAS/src/NormalCore.hpp
63
63
  - vendor/MIDAS/src/RelationalCore.hpp
64
- homepage: https://github.com/ankane/midas
64
+ homepage: https://github.com/ankane/midas-ruby
65
65
  licenses:
66
66
  - MIT
67
67
  metadata: {}
@@ -73,14 +73,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: '2.6'
76
+ version: '3'
77
77
  required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubygems_version: 3.2.3
83
+ rubygems_version: 3.4.10
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: Edge stream anomaly detection for Ruby