Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add Ruby 3.0 support - remove travis.yml - drop support for Ruby <= 2.1 (users on older Ruby can use an earlier version of this gem) - cleanup gempsec and add Ruby >= 2.2 condition to gemspec - remove unneeded magic comments (coding: utf-8)
- Loading branch information
1 parent
f2ba120
commit b91ea72
Showing
7 changed files
with
33 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
require 'bundler/gem_tasks' | ||
|
||
gemspec = Bundler::GemHelper.gemspec | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module UNF | ||
class Normalizer | ||
VERSION = "0.0.7.7" | ||
VERSION = "0.0.7.8" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
require 'helper' | ||
require 'pathname' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,30 @@ | ||
# -*- encoding: utf-8 -*- | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'unf_ext/version' | ||
|
||
Gem::Specification.new do |gem| | ||
gem.name = "unf_ext" | ||
gem.name = 'unf_ext' | ||
gem.version = UNF::Normalizer::VERSION | ||
gem.authors = ["Takeru Ohta", "Akinori MUSHA"] | ||
gem.email = ["knu@idaemons.org"] | ||
gem.description = %q{Unicode Normalization Form support library for CRuby} | ||
gem.summary = %q{Unicode Normalization Form support library for CRuby} | ||
gem.homepage = "https://github.com/knu/ruby-unf_ext" | ||
gem.licenses = ["MIT"] | ||
gem.authors = ['Takeru Ohta', 'Akinori MUSHA'] | ||
gem.email = ['knu@idaemons.org'] | ||
gem.description = 'Unicode Normalization Form support library for CRuby' | ||
gem.summary = 'Unicode Normalization Form support library for CRuby' | ||
gem.homepage = 'https://github.com/knu/ruby-unf_ext' | ||
gem.licenses = ['MIT'] | ||
|
||
gem.files = `git ls-files`.split($/) | ||
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } | ||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}).grep(%r{/test_[^/]+\.rb$}) | ||
gem.require_paths = ["lib"] | ||
gem.extensions = ["ext/unf_ext/extconf.rb"] | ||
gem.require_paths = ['lib'] | ||
gem.extensions = ['ext/unf_ext/extconf.rb'] | ||
gem.extra_rdoc_files = %w[LICENSE.txt README.md] | ||
|
||
gem.extra_rdoc_files = [ | ||
"LICENSE.txt", | ||
"README.md" | ||
] | ||
gem.required_ruby_version = '>= 2.2' | ||
|
||
if RUBY_VERSION < "1.9" | ||
gem.add_development_dependency("rake", [">= 0.9.2.2", "< 11"]) | ||
gem.add_development_dependency('i18n', '< 0.7.0') | ||
# Cap dependency on activesupport with < 4.0 on behalf of | ||
# shoulda-matchers to satisfy bundler. | ||
gem.add_development_dependency("activesupport", ["< 4.0"]) | ||
gem.add_development_dependency("test-unit", ["= 3.1.5"]) | ||
else | ||
gem.add_development_dependency("rake", [">= 0.9.2.2"]) | ||
gem.add_development_dependency("test-unit") | ||
end | ||
gem.add_development_dependency("rdoc", ["> 2.4.2"]) | ||
gem.add_development_dependency("bundler", [">= 1.2"]) | ||
gem.add_development_dependency("rake-compiler", [">= 0.7.9"]) | ||
gem.add_development_dependency("rake-compiler-dock", [">= 1.0.1"]) | ||
gem.add_development_dependency('rake', ['>= 0.9.2.2']) | ||
gem.add_development_dependency('test-unit') | ||
gem.add_development_dependency('rdoc', ['> 2.4.2']) | ||
gem.add_development_dependency('bundler', ['>= 1.2']) | ||
gem.add_development_dependency('rake-compiler', ['>= 0.7.9']) | ||
gem.add_development_dependency('rake-compiler-dock', ['>= 1.0.1']) | ||
end |