unf_ext 0.0.7.5-x86-mingw32 → 0.0.8.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/unf_ext.yml +43 -0
- data/CHANGELOG.md +22 -2
- data/Rakefile +8 -5
- data/ext/unf_ext/extconf.rb +20 -0
- data/lib/2.4/unf_ext.so +0 -0
- data/lib/2.5/unf_ext.so +0 -0
- data/lib/2.6/unf_ext.so +0 -0
- data/lib/2.7/unf_ext.so +0 -0
- data/lib/3.0/unf_ext.so +0 -0
- data/lib/3.1/unf_ext.so +0 -0
- data/lib/unf_ext/version.rb +1 -1
- data/test/test_unf_ext.rb +0 -1
- data/unf_ext.gemspec +6 -14
- metadata +19 -20
- data/.travis.yml +0 -23
- data/lib/2.0/unf_ext.so +0 -0
- data/lib/2.1/unf_ext.so +0 -0
- data/lib/2.2/unf_ext.so +0 -0
- data/lib/2.3/unf_ext.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6dea05cd5f88ace9040ca6b0460dde055cb9e0195774bdc9e98202a015d235a3
|
4
|
+
data.tar.gz: 0ec16f002ea993b373b50fb51f0e228f1a277594bcb943c6d376cbcf63fca2a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9c0d1233321845abdb7214480ce550cec41d8bd6c379c36d3319454f3f2f34b46dc57dd2094cd8294bb684a689e36148027a8fe8c6eba40721e0ffebe6c263d
|
7
|
+
data.tar.gz: 7deba8fdf08e6ea8283652ca6bafe816560174127145818fd52c2503e764aad15a64b9bbbe08e776226e6f5e9b0a81abb5c66bedc1ecebe3c788b5b698647e0f
|
@@ -0,0 +1,43 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
name: >-
|
8
|
+
${{ matrix.os }} ${{ matrix.ruby }}
|
9
|
+
|
10
|
+
runs-on: ${{ matrix.os }}
|
11
|
+
strategy:
|
12
|
+
fail-fast: false
|
13
|
+
matrix:
|
14
|
+
os: [ ubuntu-20.04, macos-11.0, windows-2019 ]
|
15
|
+
ruby: [ 2.6, 2.7, "3.0", 3.1, head ]
|
16
|
+
include:
|
17
|
+
- { os: windows-2019, ruby: mingw }
|
18
|
+
exclude:
|
19
|
+
- { os: windows-2019, ruby: head }
|
20
|
+
|
21
|
+
steps:
|
22
|
+
- name: repo checkout
|
23
|
+
uses: actions/checkout@v2
|
24
|
+
|
25
|
+
- name: load ruby cross-compilation toolkit
|
26
|
+
uses: MSP-Greg/setup-ruby-pkgs@v1
|
27
|
+
with:
|
28
|
+
ruby-version: ${{ matrix.ruby }}
|
29
|
+
mingw: _upgrade_
|
30
|
+
|
31
|
+
- name: bundle install
|
32
|
+
shell: pwsh
|
33
|
+
run: |
|
34
|
+
bundle config set --local path .bundle/vendor
|
35
|
+
bundle install --jobs 4 --retry 3
|
36
|
+
|
37
|
+
- name: compile
|
38
|
+
timeout-minutes: 5
|
39
|
+
run: bundle exec rake compile
|
40
|
+
|
41
|
+
- name: test
|
42
|
+
timeout-minutes: 5
|
43
|
+
run: bundle exec rake test
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
|
+
## 0.0.8.1 (2022-03-13)
|
2
|
+
|
3
|
+
- Include Windows binaries for Ruby 3.1.
|
4
|
+
|
5
|
+
## 0.0.8 (2021-09-14)
|
6
|
+
|
7
|
+
- No functional change in the library code.
|
8
|
+
- Include Windows binaries for Ruby 3.0.
|
9
|
+
- Drop support for Ruby 2.1 and earlier.
|
10
|
+
- Replace Travis CI with Github Actions.
|
11
|
+
- Fix cross-build after upgrading rake-compiler/rake-compiler-dock to 1.1.1/1.1.0.
|
12
|
+
|
13
|
+
## 0.0.7.7 (2020-03-30)
|
14
|
+
|
15
|
+
- Include Windows binaries for Ruby 2.7.
|
16
|
+
|
17
|
+
## 0.0.7.6 (2019-03-19)
|
18
|
+
|
19
|
+
- Include Windows binaries for Ruby 2.6.
|
20
|
+
|
1
21
|
## 0.0.7.5 (2018-02-06)
|
2
22
|
|
3
|
-
-
|
23
|
+
- Include Windows binaries for Ruby 2.5.
|
4
24
|
|
5
25
|
## 0.0.7.4 (2017-04-19)
|
6
26
|
|
@@ -14,7 +34,7 @@
|
|
14
34
|
|
15
35
|
## 0.0.7.2 (2016-02-01)
|
16
36
|
|
17
|
-
-
|
37
|
+
- Include Windows binaries for Ruby 2.3.
|
18
38
|
|
19
39
|
## 0.0.7.1 (2015-04-18)
|
20
40
|
|
data/Rakefile
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
1
|
require 'bundler/gem_tasks'
|
3
2
|
|
4
3
|
gemspec = Bundler::GemHelper.gemspec
|
@@ -13,13 +12,17 @@ end
|
|
13
12
|
namespace :gem do
|
14
13
|
task :native do
|
15
14
|
require 'rake_compiler_dock'
|
16
|
-
|
15
|
+
sh 'bundle package --all'
|
16
|
+
%w[
|
17
|
+
x64-mingw32
|
18
|
+
x86-mingw32
|
19
|
+
].each do |plat|
|
20
|
+
RakeCompilerDock.sh "bundle --local && rake native:#{plat} gem", platform: plat
|
21
|
+
end
|
17
22
|
end
|
18
|
-
|
19
|
-
task :all => [:build, :native]
|
20
23
|
end
|
21
24
|
|
22
|
-
task :gems =>
|
25
|
+
task :gems => %i[build gem:native]
|
23
26
|
|
24
27
|
require 'rake/testtask'
|
25
28
|
Rake::TestTask.new(:test) do |test|
|
data/ext/unf_ext/extconf.rb
CHANGED
@@ -4,6 +4,26 @@ if with_config('static-libstdc++')
|
|
4
4
|
$LDFLAGS << ' ' << `#{CONFIG['CC']} -print-file-name=libstdc++.a`.chomp
|
5
5
|
else
|
6
6
|
have_library('stdc++')
|
7
|
+
|
8
|
+
case RbConfig::CONFIG['host_os']
|
9
|
+
when /solaris(!?2.11)/
|
10
|
+
# Do a little trickery here to enable C++ standard on Solaris 11 if found.
|
11
|
+
# This also forces 64bit compilation mode.
|
12
|
+
$CXX = CONFIG['CXX']
|
13
|
+
$CXX << ' ' << '-m64'
|
14
|
+
$CFLAGS = CONFIG['CFLAGS'].gsub(/-std=c99/, '')
|
15
|
+
$CFLAGS << ' ' << '-m64 -std=c++11'
|
16
|
+
$CPPFLAGS = CONFIG['CFLAGS'].gsub(/-std=c99/, '')
|
17
|
+
$CPPFLAGS << ' ' << '-m64 -std=c++11'
|
18
|
+
$CXXFLAGS = CONFIG['CFLAGS'].gsub(/-std=c99/, '')
|
19
|
+
$CXXFLAGS << ' ' << '-m64 -std=c++11'
|
20
|
+
when /aix/
|
21
|
+
# Compiler flags necessary on AIX.
|
22
|
+
# rubocop:disable Style/GlobalVars
|
23
|
+
$CFLAGS << ' ' << '-D_ALL_SOURCE=1'
|
24
|
+
$CPPFLAGS << ' ' << '-D_ALL_SOURCE=1'
|
25
|
+
$CXXFLAGS << ' ' << '-D_ALL_SOURCE=1'
|
26
|
+
end
|
7
27
|
end
|
8
28
|
|
9
29
|
create_makefile 'unf_ext'
|
data/lib/2.4/unf_ext.so
CHANGED
Binary file
|
data/lib/2.5/unf_ext.so
CHANGED
Binary file
|
data/lib/2.6/unf_ext.so
ADDED
Binary file
|
data/lib/2.7/unf_ext.so
ADDED
Binary file
|
data/lib/3.0/unf_ext.so
ADDED
Binary file
|
data/lib/3.1/unf_ext.so
ADDED
Binary file
|
data/lib/unf_ext/version.rb
CHANGED
data/test/test_unf_ext.rb
CHANGED
data/unf_ext.gemspec
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
1
|
lib = File.expand_path('../lib', __FILE__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require 'unf_ext/version'
|
@@ -24,19 +23,12 @@ Gem::Specification.new do |gem|
|
|
24
23
|
"README.md"
|
25
24
|
]
|
26
25
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
# shoulda-matchers to satisfy bundler.
|
32
|
-
gem.add_development_dependency("activesupport", ["< 4.0"])
|
33
|
-
gem.add_development_dependency("test-unit", ["= 3.1.5"])
|
34
|
-
else
|
35
|
-
gem.add_development_dependency("rake", [">= 0.9.2.2"])
|
36
|
-
gem.add_development_dependency("test-unit")
|
37
|
-
end
|
26
|
+
gem.required_ruby_version = '>= 2.2'
|
27
|
+
|
28
|
+
gem.add_development_dependency("rake", [">= 0.9.2.2"])
|
29
|
+
gem.add_development_dependency("test-unit")
|
38
30
|
gem.add_development_dependency("rdoc", ["> 2.4.2"])
|
39
31
|
gem.add_development_dependency("bundler", [">= 1.2"])
|
40
|
-
gem.add_development_dependency("rake-compiler", [">=
|
41
|
-
gem.add_development_dependency("rake-compiler-dock", ["
|
32
|
+
gem.add_development_dependency("rake-compiler", [">= 1.1.1"])
|
33
|
+
gem.add_development_dependency("rake-compiler-dock", [">= 1.1.0"])
|
42
34
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unf_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8.1
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Takeru Ohta
|
8
8
|
- Akinori MUSHA
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -73,28 +73,28 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
76
|
+
version: 1.1.1
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
83
|
+
version: 1.1.1
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: rake-compiler-dock
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - "
|
88
|
+
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
90
|
+
version: 1.1.0
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - "
|
95
|
+
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
97
|
+
version: 1.1.0
|
98
98
|
description: Unicode Normalization Form support library for CRuby
|
99
99
|
email:
|
100
100
|
- knu@idaemons.org
|
@@ -105,8 +105,8 @@ extra_rdoc_files:
|
|
105
105
|
- README.md
|
106
106
|
files:
|
107
107
|
- ".document"
|
108
|
+
- ".github/workflows/unf_ext.yml"
|
108
109
|
- ".gitignore"
|
109
|
-
- ".travis.yml"
|
110
110
|
- CHANGELOG.md
|
111
111
|
- Gemfile
|
112
112
|
- LICENSE.txt
|
@@ -120,12 +120,12 @@ files:
|
|
120
120
|
- ext/unf_ext/unf/trie/node.hh
|
121
121
|
- ext/unf_ext/unf/trie/searcher.hh
|
122
122
|
- ext/unf_ext/unf/util.hh
|
123
|
-
- lib/2.0/unf_ext.so
|
124
|
-
- lib/2.1/unf_ext.so
|
125
|
-
- lib/2.2/unf_ext.so
|
126
|
-
- lib/2.3/unf_ext.so
|
127
123
|
- lib/2.4/unf_ext.so
|
128
124
|
- lib/2.5/unf_ext.so
|
125
|
+
- lib/2.6/unf_ext.so
|
126
|
+
- lib/2.7/unf_ext.so
|
127
|
+
- lib/3.0/unf_ext.so
|
128
|
+
- lib/3.1/unf_ext.so
|
129
129
|
- lib/unf_ext.rb
|
130
130
|
- lib/unf_ext/version.rb
|
131
131
|
- test/helper.rb
|
@@ -136,7 +136,7 @@ homepage: https://github.com/knu/ruby-unf_ext
|
|
136
136
|
licenses:
|
137
137
|
- MIT
|
138
138
|
metadata: {}
|
139
|
-
post_install_message:
|
139
|
+
post_install_message:
|
140
140
|
rdoc_options: []
|
141
141
|
require_paths:
|
142
142
|
- lib
|
@@ -144,19 +144,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
144
|
requirements:
|
145
145
|
- - ">="
|
146
146
|
- !ruby/object:Gem::Version
|
147
|
-
version: '2.
|
147
|
+
version: '2.4'
|
148
148
|
- - "<"
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
150
|
+
version: 3.2.dev
|
151
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
153
|
- - ">="
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
|
-
|
158
|
-
|
159
|
-
signing_key:
|
157
|
+
rubygems_version: 3.3.4
|
158
|
+
signing_key:
|
160
159
|
specification_version: 4
|
161
160
|
summary: Unicode Normalization Form support library for CRuby
|
162
161
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
rvm:
|
4
|
-
- 1.8.7
|
5
|
-
- ree
|
6
|
-
- 1.9.3
|
7
|
-
- 2.0
|
8
|
-
- 2.1
|
9
|
-
- 2.2
|
10
|
-
- 2.3.4
|
11
|
-
- 2.4.1
|
12
|
-
- ruby-head
|
13
|
-
- rbx-18mode
|
14
|
-
- rbx-19mode
|
15
|
-
matrix:
|
16
|
-
allow_failures:
|
17
|
-
- rvm: ruby-head
|
18
|
-
- rvm: rbx-18mode
|
19
|
-
- rvm: rbx-19mode
|
20
|
-
before_install:
|
21
|
-
- gem install bundler
|
22
|
-
before_script:
|
23
|
-
- rake compile
|
data/lib/2.0/unf_ext.so
DELETED
Binary file
|
data/lib/2.1/unf_ext.so
DELETED
Binary file
|
data/lib/2.2/unf_ext.so
DELETED
Binary file
|
data/lib/2.3/unf_ext.so
DELETED
Binary file
|