fasttext 0.2.4 → 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: 2d8ffe46ec8c99cd82a51bae25a0459e80c0cae15cb659bdaf14bf2c2f7101db
4
- data.tar.gz: 9dc3c29570f263f940b9d45e0bee85768f594283bb1b7fb1a50df2edf749cf62
3
+ metadata.gz: 901023151197dbfbf3f5869eb97607201a355bbbb929221e8ee46800d979e306
4
+ data.tar.gz: eb3652ad82ff2e79f6ea7141ceaef245fdfda9f7985ec12bbfa9a69ceae25eed
5
5
  SHA512:
6
- metadata.gz: 6cd42f0002111aa1a77531d514a35e7d9490e7be903a3b1051b0b4070b2da4daf8a6b28200abe4ff5c5cbc55abb4c914511c5a311e4070656d98587b660186d0
7
- data.tar.gz: 8cbdf4eee1d98951222ab1e047c06d97edb0822d69b7260f7a97819b1cd3f043bc87b4dd9680907e94bd79d3ba420cddf324d46df9fe0d90e8e9a7e675e83b4d
6
+ metadata.gz: 9987aa49ccb296a56ff8cccca54754d9579fbad4019c2ca79c899a7778d4bc88074740c52001de65774a8066cf754f2016307600cf0df0a51855cd14688344a0
7
+ data.tar.gz: 9072b668db0c34f3135d33752a8aca4d7ceb61a3e46a429f56e1eaad3ca6a21569955035298995938ff201e0063d1493d561cf3e296d26b3693adf6f39d33855
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.3.0 (2023-07-24)
2
+
3
+ - Fixed installation error on Windows
4
+ - Dropped support for Ruby < 3
5
+
1
6
  ## 0.2.4 (2022-01-16)
2
7
 
3
8
  - Improved ARM detection
data/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  Add this line to your application’s Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'fasttext'
12
+ gem "fasttext"
13
13
  ```
14
14
 
15
15
  ## Getting Started
data/ext/fasttext/ext.cpp CHANGED
@@ -1,5 +1,6 @@
1
1
  // stdlib
2
2
  #include <cmath>
3
+ #include <cstdint>
3
4
  #include <iterator>
4
5
  #include <sstream>
5
6
  #include <stdexcept>
@@ -1,3 +1,3 @@
1
1
  module FastText
2
- VERSION = "0.2.4"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/fasttext.rb CHANGED
@@ -5,10 +5,10 @@ require "fasttext/ext"
5
5
  require "tempfile"
6
6
 
7
7
  # modules
8
- require "fasttext/model"
9
- require "fasttext/classifier"
10
- require "fasttext/vectorizer"
11
- require "fasttext/version"
8
+ require_relative "fasttext/model"
9
+ require_relative "fasttext/classifier"
10
+ require_relative "fasttext/vectorizer"
11
+ require_relative "fasttext/version"
12
12
 
13
13
  module FastText
14
14
  class Error < StandardError; end
@@ -8,6 +8,7 @@
8
8
 
9
9
  #pragma once
10
10
 
11
+ #include <cstdint>
11
12
  #include <istream>
12
13
  #include <ostream>
13
14
  #include <string>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fasttext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
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-01-16 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rice
@@ -83,14 +83,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: '2.6'
86
+ version: '3'
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubygems_version: 3.3.3
93
+ rubygems_version: 3.4.10
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Efficient text classification and representation learning for Ruby