unf_ext 0.0.7.7-x86-mingw32 → 0.0.8-x86-mingw32

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: 8597e76a99cb96b77d73753ed4092b40bb25d1e5053c88780f991251e5ff294d
4
- data.tar.gz: 7e0a23bc6fa39e61c323a4869013040282d8c362e4ea3e2c0712e0913e268d4e
3
+ metadata.gz: 6309af2e82dfd6b9fdae545bdccbde524b436defb913fb122d5293d4bcc04691
4
+ data.tar.gz: de0fcfd7eaf3aaca8cdeb7206bf7abbb7cae7454ac1401595cd77394cbb45511
5
5
  SHA512:
6
- metadata.gz: 1f4ece8467dd725e5e4b67a3670985d8acf0aec3c1cde1dc31cb5bd59657b80ccaf6fd2ab36c6d500be32ef686216d0142f5fe42e92143a94233e7997c2b3812
7
- data.tar.gz: a9540ce8ae2d0a251b8f7b77369ee36b5fd1c9f65ad27a26b686bf24447cb0d43f75cda8a8987757b2a4c765932f7defd9694fe35da880f2f712e8ea9d69c235
6
+ metadata.gz: '041390598be50f3eb88dcce396d4c6a1806793090101bbef2523413d1f7ec76440078ec437782c052b2ccf8d6d298f3f5f9b41fc4eba41cd6f0e3cb2a738ef91'
7
+ data.tar.gz: 36f6cf55ad85447b17695ca21f0a9826caebb682dd675053b7da0b52519dffa872e461c0dbb17eb56bbb4bb593eb6ec7384ca5d84c535ab399dd39a011ccdda4
@@ -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.7.7 (2019-03-19)
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
- RakeCompilerDock.sh "(bundle --local --quiet || bundle) && rake cross native gem"
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 => :'gem:all'
25
+ task :gems => %i[build gem:native]
23
26
 
24
27
  require 'rake/testtask'
25
28
  Rake::TestTask.new(:test) do |test|
data/lib/2.3/unf_ext.so CHANGED
Binary file
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 CHANGED
Binary file
data/lib/2.7/unf_ext.so CHANGED
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  module UNF
2
2
  class Normalizer
3
- VERSION = "0.0.7.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
data/test/test_unf_ext.rb CHANGED
@@ -1,4 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
1
  require 'helper'
3
2
  require 'pathname'
4
3
 
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
- if RUBY_VERSION < "1.9"
28
- gem.add_development_dependency("rake", [">= 0.9.2.2", "< 11"])
29
- gem.add_development_dependency('i18n', '< 0.7.0')
30
- # Cap dependency on activesupport with < 4.0 on behalf of
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", [">= 0.7.9"])
41
- gem.add_development_dependency("rake-compiler-dock", [">= 1.0.1"])
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unf_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7.7
4
+ version: 0.0.8
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Takeru Ohta
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-03-29 00:00:00.000000000 Z
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: 0.7.9
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: 0.7.9
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.1
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.1
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.2/unf_ext.so
124
123
  - lib/2.3/unf_ext.so
125
124
  - lib/2.4/unf_ext.so
126
125
  - lib/2.5/unf_ext.so
127
126
  - lib/2.6/unf_ext.so
128
127
  - lib/2.7/unf_ext.so
128
+ - lib/3.0/unf_ext.so
129
129
  - lib/unf_ext.rb
130
130
  - lib/unf_ext/version.rb
131
131
  - test/helper.rb
@@ -144,17 +144,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - ">="
146
146
  - !ruby/object:Gem::Version
147
- version: '2.2'
147
+ version: '2.3'
148
148
  - - "<"
149
149
  - !ruby/object:Gem::Version
150
- version: 2.8.dev
150
+ version: 3.1.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
- rubygems_version: 3.1.2
157
+ rubygems_version: 3.2.3
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Unicode Normalization Form support library for CRuby
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
data/lib/2.2/unf_ext.so DELETED
Binary file