unf_ext 0.0.4-x86-mingw32 → 0.0.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Rakefile +7 -7
- data/VERSION +1 -1
- data/ext/unf_ext/unf.cc +2 -2
- data/lib/1.8/unf_ext.so +0 -0
- data/lib/1.9/unf_ext.so +0 -0
- data/unf_ext.gemspec +15 -18
- metadata +28 -42
data/Gemfile
CHANGED
@@ -7,8 +7,8 @@ source "http://rubygems.org"
|
|
7
7
|
# Include everything needed to run rake, tests, features, etc.
|
8
8
|
group :development do
|
9
9
|
gem "shoulda", ">= 0"
|
10
|
-
gem "bundler", "~> 1.
|
10
|
+
gem "bundler", "~> 1.1.3"
|
11
11
|
gem "jeweler", "~> 1.6.4"
|
12
|
-
gem "rcov", ">= 0"
|
12
|
+
# gem "rcov", ">= 0"
|
13
13
|
gem "rake-compiler", ">= 0.7.9"
|
14
14
|
end
|
data/Rakefile
CHANGED
@@ -44,13 +44,13 @@ Rake::TestTask.new(:test) do |test|
|
|
44
44
|
test.verbose = true
|
45
45
|
end
|
46
46
|
|
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
|
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
54
|
|
55
55
|
task :default => :test
|
56
56
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/ext/unf_ext/unf.cc
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
extern "C" {
|
9
9
|
VALUE unf_allocate(VALUE klass);
|
10
10
|
VALUE unf_initialize(VALUE self);
|
11
|
-
|
11
|
+
void unf_delete(UNF::Normalizer* ptr);
|
12
12
|
VALUE unf_normalize(VALUE self, VALUE source, VALUE normalization_form);
|
13
13
|
|
14
14
|
ID FORM_NFD;
|
@@ -42,7 +42,7 @@ extern "C" {
|
|
42
42
|
return self;
|
43
43
|
}
|
44
44
|
|
45
|
-
|
45
|
+
void unf_delete(UNF::Normalizer* ptr) {
|
46
46
|
ptr->~Normalizer();
|
47
47
|
ruby_xfree(ptr);
|
48
48
|
}
|
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
@@ -4,15 +4,15 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.0.
|
7
|
+
s.name = "unf_ext"
|
8
|
+
s.version = "0.0.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
15
|
-
s.extensions = [
|
11
|
+
s.authors = ["Takeru Ohta", "Akinori MUSHA"]
|
12
|
+
s.date = "2012-05-30"
|
13
|
+
s.description = "Unicode Normalization Form support library for CRuby"
|
14
|
+
s.email = "knu@idaemons.org"
|
15
|
+
s.extensions = ["ext/unf_ext/extconf.rb"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE.txt",
|
18
18
|
"README.md"
|
@@ -38,33 +38,30 @@ Gem::Specification.new do |s|
|
|
38
38
|
"test/test_unf_ext.rb",
|
39
39
|
"unf_ext.gemspec"
|
40
40
|
]
|
41
|
-
s.homepage =
|
42
|
-
s.licenses = [
|
43
|
-
s.require_paths = [
|
44
|
-
s.rubygems_version =
|
45
|
-
s.summary =
|
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
46
|
|
47
47
|
if s.respond_to? :specification_version then
|
48
48
|
s.specification_version = 3
|
49
49
|
|
50
50
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
51
51
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
52
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.
|
52
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.1.3"])
|
53
53
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
54
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
55
54
|
s.add_development_dependency(%q<rake-compiler>, [">= 0.7.9"])
|
56
55
|
else
|
57
56
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
58
|
-
s.add_dependency(%q<bundler>, ["~> 1.
|
57
|
+
s.add_dependency(%q<bundler>, ["~> 1.1.3"])
|
59
58
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
60
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
61
59
|
s.add_dependency(%q<rake-compiler>, [">= 0.7.9"])
|
62
60
|
end
|
63
61
|
else
|
64
62
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
65
|
-
s.add_dependency(%q<bundler>, ["~> 1.
|
63
|
+
s.add_dependency(%q<bundler>, ["~> 1.1.3"])
|
66
64
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
67
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
68
65
|
s.add_dependency(%q<rake-compiler>, [">= 0.7.9"])
|
69
66
|
end
|
70
67
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unf_ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: x86-mingw32
|
12
12
|
authors:
|
13
13
|
- Takeru Ohta
|
@@ -16,11 +16,12 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2012-05-30 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
|
22
|
+
prerelease: false
|
23
|
+
type: :development
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
25
|
none: false
|
25
26
|
requirements:
|
26
27
|
- - ">="
|
@@ -29,28 +30,28 @@ dependencies:
|
|
29
30
|
segments:
|
30
31
|
- 0
|
31
32
|
version: "0"
|
32
|
-
|
33
|
-
|
34
|
-
prerelease: false
|
33
|
+
version_requirements: *id001
|
34
|
+
name: shoulda
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
|
37
|
-
|
36
|
+
prerelease: false
|
37
|
+
type: :development
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
39
|
none: false
|
39
40
|
requirements:
|
40
41
|
- - ~>
|
41
42
|
- !ruby/object:Gem::Version
|
42
|
-
hash:
|
43
|
+
hash: 21
|
43
44
|
segments:
|
44
45
|
- 1
|
45
|
-
-
|
46
|
-
-
|
47
|
-
version: 1.
|
48
|
-
|
49
|
-
|
50
|
-
prerelease: false
|
46
|
+
- 1
|
47
|
+
- 3
|
48
|
+
version: 1.1.3
|
49
|
+
version_requirements: *id002
|
50
|
+
name: bundler
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
|
-
|
53
|
-
|
52
|
+
prerelease: false
|
53
|
+
type: :development
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
55
|
none: false
|
55
56
|
requirements:
|
56
57
|
- - ~>
|
@@ -61,26 +62,12 @@ dependencies:
|
|
61
62
|
- 6
|
62
63
|
- 4
|
63
64
|
version: 1.6.4
|
64
|
-
|
65
|
-
|
66
|
-
prerelease: false
|
65
|
+
version_requirements: *id003
|
66
|
+
name: jeweler
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
|
-
name: rcov
|
69
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
|
-
none: false
|
71
|
-
requirements:
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
hash: 3
|
75
|
-
segments:
|
76
|
-
- 0
|
77
|
-
version: "0"
|
78
|
-
type: :development
|
79
|
-
requirement: *id004
|
80
68
|
prerelease: false
|
81
|
-
|
82
|
-
|
83
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
69
|
+
type: :development
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
84
71
|
none: false
|
85
72
|
requirements:
|
86
73
|
- - ">="
|
@@ -91,9 +78,8 @@ dependencies:
|
|
91
78
|
- 7
|
92
79
|
- 9
|
93
80
|
version: 0.7.9
|
94
|
-
|
95
|
-
|
96
|
-
prerelease: false
|
81
|
+
version_requirements: *id004
|
82
|
+
name: rake-compiler
|
97
83
|
description: Unicode Normalization Form support library for CRuby
|
98
84
|
email: knu@idaemons.org
|
99
85
|
executables: []
|
@@ -154,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
140
|
requirements: []
|
155
141
|
|
156
142
|
rubyforge_project:
|
157
|
-
rubygems_version: 1.8.
|
143
|
+
rubygems_version: 1.8.23
|
158
144
|
signing_key:
|
159
145
|
specification_version: 3
|
160
146
|
summary: Unicode Normalization Form support library for CRuby
|