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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0189fe3444b92b7468d379d57810529d29a7db064a3edfa7fa3bf27a99f7ae61'
4
- data.tar.gz: 507f242c01b5553dc2c9fab17cbf007e87ba4d9b3a409743332c6f4001fde923
3
+ metadata.gz: 7a5f2f33ecb4da9e9c9ec743c6ba758c6defe2e3351bb8b59fcafffc0f4beaa7
4
+ data.tar.gz: 0601bdbdfbe8517fcc0a11411a00e46cf83b864d9cfec4de149bc10e6c5d993b
5
5
  SHA512:
6
- metadata.gz: e837c5f3dca1314ccff62d9b667c8307d0f05ac659987fdcd0d586d145c2840374743fb2633ce9e6bbc9fc427f2d3273acd14d926b807d5a6439003df833619e
7
- data.tar.gz: cdcbde349551607bb7c327d37cdbad0600e664b8ec438700edad201d001ba710f59543ad00e2379732eb7abd443927834ff7e5c9e9d52c83cf3c8d51066aade0
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.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|
@@ -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,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.7.7
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: 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
@@ -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: '0'
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.0.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