unf_ext 0.0.5-x86-mingw32 → 0.0.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/Gemfile +3 -13
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/Rakefile +6 -52
- data/lib/1.8/unf_ext.so +0 -0
- data/lib/1.9/unf_ext.so +0 -0
- data/lib/unf_ext/version.rb +5 -0
- data/unf_ext.gemspec +23 -59
- metadata +82 -94
- data/VERSION +0 -1
data/.gitignore
ADDED
data/Gemfile
CHANGED
@@ -1,14 +1,4 @@
|
|
1
|
-
source
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
1
|
+
source 'https://rubygems.org'
|
5
2
|
|
6
|
-
#
|
7
|
-
|
8
|
-
group :development do
|
9
|
-
gem "shoulda", ">= 0"
|
10
|
-
gem "bundler", "~> 1.1.3"
|
11
|
-
gem "jeweler", "~> 1.6.4"
|
12
|
-
# gem "rcov", ">= 0"
|
13
|
-
gem "rake-compiler", ">= 0.7.9"
|
14
|
-
end
|
3
|
+
# Specify your gem's dependencies in ruby-unf_ext.gemspec
|
4
|
+
gemspec
|
data/LICENSE.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
The MIT License
|
2
2
|
|
3
3
|
Copyright (c) 2010 Takeru Ohta <phjgt308@gmail.com>
|
4
|
-
Copyright (c) 2011 Akinori MUSHA <knu@idaemons.org> (extended Ruby support)
|
4
|
+
Copyright (c) 2011, 2012, 2013 Akinori MUSHA <knu@idaemons.org> (extended Ruby support)
|
5
5
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,65 +1,19 @@
|
|
1
|
-
#
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
require 'bundler/gem_tasks'
|
2
3
|
|
3
|
-
|
4
|
-
require 'bundler'
|
5
|
-
begin
|
6
|
-
Bundler.setup(:default, :development)
|
7
|
-
rescue Bundler::BundlerError => e
|
8
|
-
$stderr.puts e.message
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
-
exit e.status_code
|
11
|
-
end
|
12
|
-
require 'rake'
|
13
|
-
|
14
|
-
require 'jeweler'
|
15
|
-
Jeweler::Tasks.new do |gem|
|
16
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
-
gem.name = "unf_ext"
|
18
|
-
gem.homepage = "http://github.com/knu/ruby-unf_ext"
|
19
|
-
gem.license = "MIT"
|
20
|
-
gem.summary = %Q{Unicode Normalization Form support library for CRuby}
|
21
|
-
gem.description = %Q{Unicode Normalization Form support library for CRuby}
|
22
|
-
gem.email = "knu@idaemons.org"
|
23
|
-
gem.authors = ["Takeru Ohta", "Akinori MUSHA"]
|
24
|
-
# dependencies defined in Gemfile
|
25
|
-
end
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
27
|
-
|
28
|
-
def generated_gemspec
|
29
|
-
eval(File.read(Rake.application.jeweler.gemspec_helper.path))
|
30
|
-
rescue
|
31
|
-
nil
|
32
|
-
end
|
4
|
+
gemspec = Bundler::GemHelper.gemspec
|
33
5
|
|
34
6
|
require 'rake/extensiontask'
|
35
|
-
Rake::ExtensionTask.new('unf_ext',
|
7
|
+
Rake::ExtensionTask.new('unf_ext', gemspec) do |ext|
|
36
8
|
ext.cross_compile = true
|
37
9
|
ext.cross_platform = 'x86-mingw32'
|
38
10
|
end
|
39
11
|
|
40
12
|
require 'rake/testtask'
|
41
13
|
Rake::TestTask.new(:test) do |test|
|
42
|
-
test.libs << '
|
43
|
-
test.
|
14
|
+
test.libs << 'test'
|
15
|
+
test.test_files = gemspec.test_files
|
44
16
|
test.verbose = true
|
45
17
|
end
|
46
18
|
|
47
|
-
#require 'rcov/rcovtask'
|
48
|
-
#Rcov::RcovTask.new do |test|
|
49
|
-
# test.libs << 'test'
|
50
|
-
# test.pattern = FileList['test/**/test_*.rb']
|
51
|
-
# test.verbose = true
|
52
|
-
# test.rcov_opts << '--exclude "gems/*"'
|
53
|
-
#end
|
54
|
-
|
55
19
|
task :default => :test
|
56
|
-
|
57
|
-
require 'rake/rdoctask'
|
58
|
-
Rake::RDocTask.new do |rdoc|
|
59
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
60
|
-
|
61
|
-
rdoc.rdoc_dir = 'rdoc'
|
62
|
-
rdoc.title = "unf_ext #{version}"
|
63
|
-
rdoc.rdoc_files.include('README*')
|
64
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
65
|
-
end
|
data/lib/1.8/unf_ext.so
CHANGED
Binary file
|
data/lib/1.9/unf_ext.so
CHANGED
Binary file
|
data/unf_ext.gemspec
CHANGED
@@ -1,68 +1,32 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'unf_ext/version'
|
5
5
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "unf_ext"
|
8
|
+
gem.version = UNF::Normalizer::VERSION
|
9
|
+
gem.authors = ["Takeru Ohta", "Akinori MUSHA"]
|
10
|
+
gem.email = ["knu@idaemons.org"]
|
11
|
+
gem.description = %q{Unicode Normalization Form support library for CRuby}
|
12
|
+
gem.summary = %q{Unicode Normalization Form support library for CRuby}
|
13
|
+
gem.homepage = "https://github.com/knu/ruby-unf_ext"
|
14
|
+
gem.licenses = ["MIT"]
|
9
15
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
16
|
+
gem.files = `git ls-files`.split($/)
|
17
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
18
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}).grep(%r{/test_[^/]+\.rb$})
|
19
|
+
gem.require_paths = ["lib"]
|
20
|
+
gem.extensions = ["ext/unf_ext/extconf.rb"]
|
21
|
+
|
22
|
+
gem.extra_rdoc_files = [
|
17
23
|
"LICENSE.txt",
|
18
24
|
"README.md"
|
19
25
|
]
|
20
|
-
s.files = [
|
21
|
-
".document",
|
22
|
-
"Gemfile",
|
23
|
-
"LICENSE.txt",
|
24
|
-
"README.md",
|
25
|
-
"Rakefile",
|
26
|
-
"VERSION",
|
27
|
-
"ext/unf_ext/extconf.rb",
|
28
|
-
"ext/unf_ext/unf.cc",
|
29
|
-
"ext/unf_ext/unf/normalizer.hh",
|
30
|
-
"ext/unf_ext/unf/table.hh",
|
31
|
-
"ext/unf_ext/unf/trie/char_stream.hh",
|
32
|
-
"ext/unf_ext/unf/trie/node.hh",
|
33
|
-
"ext/unf_ext/unf/trie/searcher.hh",
|
34
|
-
"ext/unf_ext/unf/util.hh",
|
35
|
-
"lib/unf_ext.rb",
|
36
|
-
"test/helper.rb",
|
37
|
-
"test/normalization-test.txt",
|
38
|
-
"test/test_unf_ext.rb",
|
39
|
-
"unf_ext.gemspec"
|
40
|
-
]
|
41
|
-
s.homepage = "http://github.com/knu/ruby-unf_ext"
|
42
|
-
s.licenses = ["MIT"]
|
43
|
-
s.require_paths = ["lib"]
|
44
|
-
s.rubygems_version = "1.8.23"
|
45
|
-
s.summary = "Unicode Normalization Form support library for CRuby"
|
46
26
|
|
47
|
-
|
48
|
-
|
27
|
+
gem.add_development_dependency("shoulda", [">= 0"])
|
28
|
+
gem.add_development_dependency("rdoc", ["> 2.4.2"])
|
29
|
+
gem.add_development_dependency("bundler", [">= 1.2"])
|
30
|
+
gem.add_development_dependency("rake-compiler", [">= 0.7.9"])
|
49
31
|
|
50
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
51
|
-
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
52
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.1.3"])
|
53
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
54
|
-
s.add_development_dependency(%q<rake-compiler>, [">= 0.7.9"])
|
55
|
-
else
|
56
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
57
|
-
s.add_dependency(%q<bundler>, ["~> 1.1.3"])
|
58
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
59
|
-
s.add_dependency(%q<rake-compiler>, [">= 0.7.9"])
|
60
|
-
end
|
61
|
-
else
|
62
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
63
|
-
s.add_dependency(%q<bundler>, ["~> 1.1.3"])
|
64
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
65
|
-
s.add_dependency(%q<rake-compiler>, [">= 0.7.9"])
|
66
|
-
end
|
67
32
|
end
|
68
|
-
|
metadata
CHANGED
@@ -1,101 +1,96 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: unf_ext
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 5
|
10
|
-
version: 0.0.5
|
11
6
|
platform: x86-mingw32
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Takeru Ohta
|
14
9
|
- Akinori MUSHA
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
prerelease: false
|
23
|
-
type: :development
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 3
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
33
|
-
version_requirements: *id001
|
13
|
+
date: 2013-02-16 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
34
16
|
name: shoulda
|
35
|
-
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :development
|
36
24
|
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: rdoc
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ! '>'
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: 2.4.2
|
37
39
|
type: :development
|
38
|
-
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
42
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
|
45
|
-
- 1
|
46
|
-
- 1
|
47
|
-
- 3
|
48
|
-
version: 1.1.3
|
49
|
-
version_requirements: *id002
|
43
|
+
requirements:
|
44
|
+
- - ! '>'
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.4.2
|
47
|
+
- !ruby/object:Gem::Dependency
|
50
48
|
name: bundler
|
51
|
-
|
52
|
-
prerelease: false
|
53
|
-
type: :development
|
54
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
55
50
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
|
61
|
-
- 1
|
62
|
-
- 6
|
63
|
-
- 4
|
64
|
-
version: 1.6.4
|
65
|
-
version_requirements: *id003
|
66
|
-
name: jeweler
|
67
|
-
- !ruby/object:Gem::Dependency
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.2'
|
55
|
+
type: :development
|
68
56
|
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.2'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: rake-compiler
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 0.7.9
|
69
71
|
type: :development
|
70
|
-
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
74
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
hash: 17
|
76
|
-
segments:
|
77
|
-
- 0
|
78
|
-
- 7
|
79
|
-
- 9
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
80
78
|
version: 0.7.9
|
81
|
-
version_requirements: *id004
|
82
|
-
name: rake-compiler
|
83
79
|
description: Unicode Normalization Form support library for CRuby
|
84
|
-
email:
|
80
|
+
email:
|
81
|
+
- knu@idaemons.org
|
85
82
|
executables: []
|
86
|
-
|
87
83
|
extensions: []
|
88
|
-
|
89
|
-
extra_rdoc_files:
|
84
|
+
extra_rdoc_files:
|
90
85
|
- LICENSE.txt
|
91
86
|
- README.md
|
92
|
-
files:
|
87
|
+
files:
|
93
88
|
- .document
|
89
|
+
- .gitignore
|
94
90
|
- Gemfile
|
95
91
|
- LICENSE.txt
|
96
92
|
- README.md
|
97
93
|
- Rakefile
|
98
|
-
- VERSION
|
99
94
|
- ext/unf_ext/extconf.rb
|
100
95
|
- ext/unf_ext/unf.cc
|
101
96
|
- ext/unf_ext/unf/normalizer.hh
|
@@ -105,44 +100,37 @@ files:
|
|
105
100
|
- ext/unf_ext/unf/trie/searcher.hh
|
106
101
|
- ext/unf_ext/unf/util.hh
|
107
102
|
- lib/unf_ext.rb
|
103
|
+
- lib/unf_ext/version.rb
|
108
104
|
- test/helper.rb
|
109
105
|
- test/normalization-test.txt
|
110
106
|
- test/test_unf_ext.rb
|
111
107
|
- unf_ext.gemspec
|
112
108
|
- lib/1.8/unf_ext.so
|
113
109
|
- lib/1.9/unf_ext.so
|
114
|
-
homepage:
|
115
|
-
licenses:
|
110
|
+
homepage: https://github.com/knu/ruby-unf_ext
|
111
|
+
licenses:
|
116
112
|
- MIT
|
117
113
|
post_install_message:
|
118
114
|
rdoc_options: []
|
119
|
-
|
120
|
-
require_paths:
|
115
|
+
require_paths:
|
121
116
|
- lib
|
122
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
118
|
none: false
|
124
|
-
requirements:
|
125
|
-
- -
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
|
128
|
-
|
129
|
-
- 0
|
130
|
-
version: "0"
|
131
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ! '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
124
|
none: false
|
133
|
-
requirements:
|
134
|
-
- -
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
|
137
|
-
segments:
|
138
|
-
- 0
|
139
|
-
version: "0"
|
125
|
+
requirements:
|
126
|
+
- - ! '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
140
129
|
requirements: []
|
141
|
-
|
142
130
|
rubyforge_project:
|
143
|
-
rubygems_version: 1.8.
|
131
|
+
rubygems_version: 1.8.24
|
144
132
|
signing_key:
|
145
133
|
specification_version: 3
|
146
134
|
summary: Unicode Normalization Form support library for CRuby
|
147
|
-
test_files:
|
148
|
-
|
135
|
+
test_files:
|
136
|
+
- test/test_unf_ext.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.0.5
|