unicode 0.4.4.2-java → 0.4.4.5-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +3 -3
- data/lib/unicode.rb +1 -2
- data/unicode.gemspec +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 35aba0628e4628240ca8d815d1a51bb1c80cdc42239500aa4c42e26fae73da5e
|
4
|
+
data.tar.gz: 81852343bff072718cb2dc2af78eb339eab68988bbe3b0253a2f90d1a5f825da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54779217686691427cfe7fd41aa7b777870a3f4780650b38b6a61241a0d443dfdfd21021e24318100ca0c854e7baeee50035a091eb6524e8ea26638e6d312cb9
|
7
|
+
data.tar.gz: dea8cc90cd7859535aa577dd104b5b0ed4f29157b18bbc9d7f948f05e496b3144f8fb6593c7704cae4cb65af6e7a33c43c81d3b9bf152b9c27fde40b7e4e8d7a
|
data/Rakefile
CHANGED
@@ -20,7 +20,7 @@ end
|
|
20
20
|
namespace :gem do
|
21
21
|
|
22
22
|
desc 'Build all gem files'
|
23
|
-
task :
|
23
|
+
task all: %w[clean gem gem:java gem:windows]
|
24
24
|
|
25
25
|
java_gem_spec = gem_spec.dup
|
26
26
|
java_gem_spec.platform = 'java'
|
@@ -33,7 +33,7 @@ namespace :gem do
|
|
33
33
|
java_gem_path = File.join(java_gem_dir, java_gem_file)
|
34
34
|
|
35
35
|
desc "Build the gem file #{java_gem_file}"
|
36
|
-
task :
|
36
|
+
task java: java_gem_path
|
37
37
|
|
38
38
|
file java_gem_path => [java_gem_dir] + java_gem_spec.files do
|
39
39
|
lib_file = 'lib/unicode.rb'
|
@@ -54,7 +54,7 @@ namespace :gem do
|
|
54
54
|
|
55
55
|
desc 'Build native gems for Windows'
|
56
56
|
task :windows do
|
57
|
-
ENV['RUBY_CC_VERSION'] = '1.9.3:2.0.0:2.1.5'
|
57
|
+
ENV['RUBY_CC_VERSION'] = '1.9.3:2.0.0:2.1.5:2.2.2:2.3.0'
|
58
58
|
sh 'rake cross compile'
|
59
59
|
sh 'rake cross native gem'
|
60
60
|
end
|
data/lib/unicode.rb
CHANGED
@@ -63,9 +63,8 @@ module Unicode
|
|
63
63
|
|
64
64
|
alias_method :nfkc, :normalize_KC
|
65
65
|
|
66
|
-
# Normalize Unicode string with #decompose_safe (#decompose_safe + #compose).
|
67
66
|
def normalize_C_safe(str)
|
68
|
-
|
67
|
+
compose(decompose_safe(str))
|
69
68
|
end
|
70
69
|
|
71
70
|
alias_method :nfc_safe, :normalize_C_safe
|
data/unicode.gemspec
CHANGED
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.4.
|
4
|
+
version: 0.4.4.5
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Yoshida Masato
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2013-02-07 00:00:00.000000000 Z
|
@@ -29,7 +29,7 @@ homepage: http://www.yoshidam.net/Ruby.html#unicode
|
|
29
29
|
licenses:
|
30
30
|
- Ruby
|
31
31
|
metadata: {}
|
32
|
-
post_install_message:
|
32
|
+
post_install_message:
|
33
33
|
rdoc_options: []
|
34
34
|
require_paths:
|
35
35
|
- lib
|
@@ -44,9 +44,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
46
|
requirements: []
|
47
|
-
|
48
|
-
|
49
|
-
signing_key:
|
47
|
+
rubygems_version: 3.3.15
|
48
|
+
signing_key:
|
50
49
|
specification_version: 3
|
51
50
|
summary: Unicode normalization library.
|
52
51
|
test_files: []
|