unf_ext 0.0.7.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/unf_ext.yml +49 -0
- data/CHANGELOG.md +9 -1
- data/Rakefile +8 -5
- data/lib/unf_ext/version.rb +1 -1
- data/test/test_unf_ext.rb +0 -1
- data/unf_ext.gemspec +6 -14
- metadata +12 -12
- data/.travis.yml +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a5f2f33ecb4da9e9c9ec743c6ba758c6defe2e3351bb8b59fcafffc0f4beaa7
|
4
|
+
data.tar.gz: 0601bdbdfbe8517fcc0a11411a00e46cf83b864d9cfec4de149bc10e6c5d993b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1b4787eca42dc997a48c1805096ace556c1dbb977161f281ba554f11134295629c4bab35c9a186286644c831f58cc664bbae94d7033086071ab972c40d9a17f
|
7
|
+
data.tar.gz: e94a37d853f56a4d858c52dcc7346d6a6cfd2e796297a6345211a421fe7a07c58fb188c54e8574e36971488b5512e538f3ec01c99dc5b176d3fdc29d5573fd70
|
@@ -0,0 +1,49 @@
|
|
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.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0, head ]
|
16
|
+
include:
|
17
|
+
- { os: windows-2019, ruby: mingw }
|
18
|
+
exclude:
|
19
|
+
- { os: macos-11.0, ruby: 2.2 }
|
20
|
+
- { os: macos-11.0, ruby: 2.3 }
|
21
|
+
- { os: windows-2019, ruby: head }
|
22
|
+
|
23
|
+
steps:
|
24
|
+
- name: repo checkout
|
25
|
+
uses: actions/checkout@v2
|
26
|
+
|
27
|
+
- name: load ruby cross-compilation toolkit
|
28
|
+
uses: MSP-Greg/setup-ruby-pkgs@v1
|
29
|
+
with:
|
30
|
+
ruby-version: ${{ matrix.ruby }}
|
31
|
+
mingw: _upgrade_
|
32
|
+
|
33
|
+
- name: bundle install
|
34
|
+
shell: pwsh
|
35
|
+
run: |
|
36
|
+
# update RubyGems in Ruby 2.2, bundle install
|
37
|
+
if ('${{ matrix.ruby }}' -lt '2.3') {
|
38
|
+
gem update --system 2.7.10 --no-document
|
39
|
+
}
|
40
|
+
bundle config set --local path .bundle/vendor
|
41
|
+
bundle install --jobs 4 --retry 3
|
42
|
+
|
43
|
+
- name: compile
|
44
|
+
timeout-minutes: 5
|
45
|
+
run: bundle exec rake compile
|
46
|
+
|
47
|
+
- name: test
|
48
|
+
timeout-minutes: 5
|
49
|
+
run: bundle exec rake test
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
## 0.0.
|
1
|
+
## 0.0.8
|
2
|
+
|
3
|
+
- No functional change in the library code.
|
4
|
+
- Include Windows binaries for Ruby 3.0.
|
5
|
+
- Drop support for Ruby 2.1 and earlier.
|
6
|
+
- Replace Travis CI with Github Actions.
|
7
|
+
- Fix cross-build after upgrading rake-compiler/rake-compiler-dock to 1.1.1/1.1.0.
|
8
|
+
|
9
|
+
## 0.0.7.7 (2020-03-30)
|
2
10
|
|
3
11
|
- Include Windows binaries for Ruby 2.7.
|
4
12
|
|
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/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", [">= 1.0
|
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
|
5
5
|
platform: ruby
|
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: 2021-09-14 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: 1.0
|
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: 1.0
|
97
|
+
version: 1.1.0
|
98
98
|
description: Unicode Normalization Form support library for CRuby
|
99
99
|
email:
|
100
100
|
- knu@idaemons.org
|
@@ -106,8 +106,8 @@ extra_rdoc_files:
|
|
106
106
|
- README.md
|
107
107
|
files:
|
108
108
|
- ".document"
|
109
|
+
- ".github/workflows/unf_ext.yml"
|
109
110
|
- ".gitignore"
|
110
|
-
- ".travis.yml"
|
111
111
|
- CHANGELOG.md
|
112
112
|
- Gemfile
|
113
113
|
- LICENSE.txt
|
@@ -131,7 +131,7 @@ homepage: https://github.com/knu/ruby-unf_ext
|
|
131
131
|
licenses:
|
132
132
|
- MIT
|
133
133
|
metadata: {}
|
134
|
-
post_install_message:
|
134
|
+
post_install_message:
|
135
135
|
rdoc_options: []
|
136
136
|
require_paths:
|
137
137
|
- lib
|
@@ -139,15 +139,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
139
|
requirements:
|
140
140
|
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version: '
|
142
|
+
version: '2.2'
|
143
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
145
|
- - ">="
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
150
|
-
signing_key:
|
149
|
+
rubygems_version: 3.2.22
|
150
|
+
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Unicode Normalization Form support library for CRuby
|
153
153
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,22 +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
|
11
|
-
- 2.4
|
12
|
-
- 2.5
|
13
|
-
- 2.6
|
14
|
-
- 2.7
|
15
|
-
- ruby-head
|
16
|
-
matrix:
|
17
|
-
allow_failures:
|
18
|
-
- rvm: ruby-head
|
19
|
-
before_install:
|
20
|
-
- gem update --system --conservative || gem install --conservative bundler -v '<2'
|
21
|
-
before_script:
|
22
|
-
- rake compile
|