fasttext 0.2.4 → 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: 2d8ffe46ec8c99cd82a51bae25a0459e80c0cae15cb659bdaf14bf2c2f7101db
4
- data.tar.gz: 9dc3c29570f263f940b9d45e0bee85768f594283bb1b7fb1a50df2edf749cf62
3
+ metadata.gz: 374cacde6bb0c017d6d787dd41180d5de774929a34cad2e356546e02c89345b6
4
+ data.tar.gz: b4c767a2d263053148a2f02537fd2eff0883840cf8da5e4c5f437c5fcaca55da
5
5
  SHA512:
6
- metadata.gz: 6cd42f0002111aa1a77531d514a35e7d9490e7be903a3b1051b0b4070b2da4daf8a6b28200abe4ff5c5cbc55abb4c914511c5a311e4070656d98587b660186d0
7
- data.tar.gz: 8cbdf4eee1d98951222ab1e047c06d97edb0822d69b7260f7a97819b1cd3f043bc87b4dd9680907e94bd79d3ba420cddf324d46df9fe0d90e8e9a7e675e83b4d
6
+ metadata.gz: 65dceed43c0cb7f84779b85b8387bdd67ab43b779fff5577e4bb13202ddee6a0d27fbdcab5f82af40fc070925c6e30ce73090c7db7d21da48a79810011235fd5
7
+ data.tar.gz: c565ef3d2c8132e84ec84a2d33b04caf6c8dead8928287966db1c34814673df3ca5a3d8372e3994478fd364f95c806a2515fa7f2106bef30deaf9e89f19a938a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.4.0 (2024-10-22)
2
+
3
+ - Dropped support for Ruby < 3.1
4
+
5
+ ## 0.3.0 (2023-07-24)
6
+
7
+ - Fixed installation error on Windows
8
+ - Dropped support for Ruby < 3
9
+
1
10
  ## 0.2.4 (2022-01-16)
2
11
 
3
12
  - Improved ARM detection
data/LICENSE.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2016-present, Facebook, Inc.
4
- Copyright (c) 2019-2022 Andrew Kane
4
+ Copyright (c) 2019-2024 Andrew Kane
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  [fastText](https://fasttext.cc) - efficient text classification and representation learning - for Ruby
4
4
 
5
- [![Build Status](https://github.com/ankane/fastText-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/fastText-ruby/actions)
5
+ [![Build Status](https://github.com/ankane/fastText-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/fastText-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 '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.4.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.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: 2022-01-16 00:00:00.000000000 Z
11
+ date: 2024-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rice
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.2
19
+ version: 4.3.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.2
26
+ version: 4.3.3
27
27
  description:
28
28
  email: andrew@ankane.org
29
29
  executables: []
@@ -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.1'
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.5.16
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Efficient text classification and representation learning for Ruby