blingfire 0.1.7 → 0.1.8

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: 4c6b1fa4c1af8020140b480f8c3579bd62232b25d3cbe470a5149ecac7279a8c
4
- data.tar.gz: ea2c66e829368d3858759edb0e0b5644e2f1abc14458d6a8a11e618aacb33951
3
+ metadata.gz: 466b528fca6404415ad072b597cbb6fc96628a325504aba0e7becc4793b35b3f
4
+ data.tar.gz: c1e02e1f8c48578c6407ac9f7d7a996ecd78205ffdcaa3158144012f61d8922e
5
5
  SHA512:
6
- metadata.gz: 714e09d5190152a1009c33000651675405a3f6402f1be056ecce74d73c1aa16c265d3c68245cb0118b5fe6e693d35f21b64b372b8f9d91ae445f063d92c22678
7
- data.tar.gz: 3ec81c37b184e4363b4faf16d89a9869362c0655e19be451540dada56f32cba607fc7fe94dbe9210da3a864dc22dd692fc161619d2c80e6cdf0847b8f8029305
6
+ metadata.gz: cbfd60e8e54b42a1e7258afcebb51d27029bf66a2969daf4badc62f3117d7113b8d02f99c3445513dc37f08698205c21ba97787ba761512166257438b73d3956
7
+ data.tar.gz: 1aa595a55116d5e084d31e087180ed04392d1b7d91932a875d53cab88bc72b3a1ae179c15094b9679aa9fa78dc4419afc70f144ba971343d0c465a7842ca634e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.8 (2023-02-01)
2
+
3
+ - Improved ARM detection
4
+
1
5
  ## 0.1.7 (2021-09-24)
2
6
 
3
7
  - Updated Bling Fire to 0.1.8
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
- # Bling Fire
1
+ # Bling Fire Ruby
2
2
 
3
3
  [Bling Fire](https://github.com/microsoft/BlingFire) - high speed text tokenization - for Ruby
4
4
 
5
- [![Build Status](https://github.com/ankane/blingfire/workflows/build/badge.svg?branch=master)](https://github.com/ankane/blingfire/actions)
5
+ [![Build Status](https://github.com/ankane/blingfire-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/blingfire-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 'blingfire'
12
+ gem "blingfire"
13
13
  ```
14
14
 
15
15
  ## Getting Started
@@ -98,22 +98,22 @@ model.ids_to_text(ids)
98
98
 
99
99
  ## History
100
100
 
101
- View the [changelog](https://github.com/ankane/blingfire/blob/master/CHANGELOG.md)
101
+ View the [changelog](https://github.com/ankane/blingfire-ruby/blob/master/CHANGELOG.md)
102
102
 
103
103
  ## Contributing
104
104
 
105
105
  Everyone is encouraged to help improve this project. Here are a few ways you can help:
106
106
 
107
- - [Report bugs](https://github.com/ankane/blingfire/issues)
108
- - Fix bugs and [submit pull requests](https://github.com/ankane/blingfire/pulls)
107
+ - [Report bugs](https://github.com/ankane/blingfire-ruby/issues)
108
+ - Fix bugs and [submit pull requests](https://github.com/ankane/blingfire-ruby/pulls)
109
109
  - Write, clarify, or fix documentation
110
110
  - Suggest or add new features
111
111
 
112
112
  To get started with development:
113
113
 
114
114
  ```sh
115
- git clone https://github.com/ankane/blingfire.git
116
- cd blingfire
115
+ git clone https://github.com/ankane/blingfire-ruby.git
116
+ cd blingfire-ruby
117
117
  bundle install
118
118
  bundle exec rake vendor:all download:models
119
119
  bundle exec rake test
@@ -1,3 +1,3 @@
1
1
  module BlingFire
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
data/lib/blingfire.rb CHANGED
@@ -15,13 +15,13 @@ module BlingFire
15
15
  if Gem.win_platform?
16
16
  "blingfiretokdll.dll"
17
17
  elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
18
- if RbConfig::CONFIG["host_cpu"] =~ /arm/i
18
+ if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
19
19
  "libblingfiretokdll.arm64.dylib"
20
20
  else
21
21
  "libblingfiretokdll.dylib"
22
22
  end
23
23
  else
24
- if RbConfig::CONFIG["host_cpu"] =~ /aarch64/i
24
+ if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
25
25
  "libblingfiretokdll.arm64.so"
26
26
  else
27
27
  "libblingfiretokdll.so"
metadata CHANGED
@@ -1,59 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blingfire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
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-09-25 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: minitest
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '5'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '5'
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
+ dependencies: []
55
13
  description:
56
- email: andrew@chartkick.com
14
+ email: andrew@ankane.org
57
15
  executables: []
58
16
  extensions: []
59
17
  extra_rdoc_files: []
@@ -71,7 +29,7 @@ files:
71
29
  - vendor/libblingfiretokdll.arm64.so
72
30
  - vendor/libblingfiretokdll.dylib
73
31
  - vendor/libblingfiretokdll.so
74
- homepage: https://github.com/ankane/blingfire
32
+ homepage: https://github.com/ankane/blingfire-ruby
75
33
  licenses:
76
34
  - MIT
77
35
  metadata: {}
@@ -90,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
48
  - !ruby/object:Gem::Version
91
49
  version: '0'
92
50
  requirements: []
93
- rubygems_version: 3.2.22
51
+ rubygems_version: 3.4.1
94
52
  signing_key:
95
53
  specification_version: 4
96
54
  summary: High speed text tokenization for Ruby