libffm 0.2.2 → 0.3.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: ae5aa07354f74ff2815053614f8b01add2f33f492d77e7d3ab08c068e1c8d7c7
4
- data.tar.gz: 4ba05563fd526c32957f03e02a50e537fc005893ae546a501127869da8ae3d9c
3
+ metadata.gz: e4654201de1d7ca6d66f60cc25deb31aa7dca624387373038ad60081ff298fd0
4
+ data.tar.gz: cc97da4ea5faeabce3729f9a126df241c549c699ee49744e67a311fbeaa58125
5
5
  SHA512:
6
- metadata.gz: c50b5bc56c8b13389f4097cb72a2b86a5fd971230c449294862b3c8c88df9501b452f3dcab1ab22a3b602cda73ae13a2e868977150a80df61e2cc45b4c5a5f8d
7
- data.tar.gz: aa9d938ca5d2ef510a34161f322696927cb17d5b39911fbaa3486faf15d4ca1234857f9ffbc30efec5df329286513ea9bfc6a1012c5c4fe115364f3e10dcbe88
6
+ metadata.gz: f12ceea056e554f7f80370ec353ffe0091889a83b0f1875febe1820abeba8ab15b9d3636526044c6ab3a62fb4fbdfc22e07dd5bd37420a518ef112c23a3f5cd8
7
+ data.tar.gz: b345acbb68319e08096c2a078c47afe70b68cb67f0f30020672e903e81a52e195caac52d38b17337cc5c87a152fc27ce03bbcaf2f80e09d568db7de729087ee1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.3.0 (2023-05-11)
2
+
3
+ - Dropped support for Ruby < 3
4
+
5
+ ## 0.2.3 (2022-02-27)
6
+
7
+ - Fixed installation on Mac ARM
8
+
1
9
  ## 0.2.2 (2022-12-26)
2
10
 
3
11
  - Fixed error in finalizer
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  Copyright (c) 2017 The LIBFFM Project.
3
- Copyright (c) 2020-2022 Andrew Kane.
3
+ Copyright (c) 2020-2023 Andrew Kane.
4
4
  All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without
@@ -2,7 +2,10 @@ require "mkmf-rice"
2
2
 
3
3
  # -DUSESSE requires sse3
4
4
  # TODO test for it or update fork to use __SSE3__
5
- $CXXFLAGS += " -std=c++17 $(optflags) -march=native"
5
+
6
+ # -march=native not supported with ARM Mac
7
+ default_optflags = RbConfig::CONFIG["host_os"] =~ /darwin/i && RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i ? "" : "-march=native"
8
+ $CXXFLAGS << " -std=c++17 $(optflags) " << with_config("optflags", default_optflags)
6
9
 
7
10
  apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i
8
11
 
@@ -1,3 +1,3 @@
1
1
  module Libffm
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libffm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.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: 2022-12-26 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,14 +61,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: '2.6'
64
+ version: '3'
65
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  requirements: []
71
- rubygems_version: 3.4.1
71
+ rubygems_version: 3.4.10
72
72
  signing_key:
73
73
  specification_version: 4
74
74
  summary: Field-aware factorization machines for Ruby