unicode 0.4.4.4-x86-mingw32 → 0.4.4.5-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a764f221f61f9938a07a6f1ddd55c6af9116a9da
4
- data.tar.gz: d9c53f99c25a0dbfc76345745c8b2a3946fa2bd8
2
+ SHA256:
3
+ metadata.gz: bd102f4787a73d703bb42973bc393bda7ad71f85e5d2061b2492d2a860237170
4
+ data.tar.gz: 19f4958baa728fffeaab7316d52bb83484e33e9ab891243ce3498df3f5fab48e
5
5
  SHA512:
6
- metadata.gz: badd43557b7b0b567b4c69e26a7f4e4c4fea1f91720599c2bea2dfe4c4a291bf099ff542b0646fe8f0b27b7c65fcf677bcd8f102aa499780c3444ab50582d81e
7
- data.tar.gz: 0a7c1466e1cd6534bfa732a2b1459aabbae8cdc117b28a9fafa07d1a923853e28468a0ccfe88c39d0c5577c580bb4e4a879754f307646fae2f685f923dbe653d
6
+ metadata.gz: 11f1f66d8e2f95963753900048cddf6d0c2537e2c5b7e46a9fa1dac6c087d894ee0182027f0efbcdbbfe52afafa1189b138f83b3b08e1c8ce450c9a9c32d6139
7
+ data.tar.gz: 144eac9b4f072ac34784e0752cd0bb51e32ae3847ae7e6688cbad2389b18f419bb6c3ceb6bc38300317f9e5075bf0e6e1b3d0531ce3ad2bc626f00674c2ea0cc
data/Rakefile CHANGED
@@ -10,9 +10,11 @@ gem_spec = eval(File.read(File.expand_path('../unicode.gemspec', __FILE__)))
10
10
 
11
11
  gem_task = Gem::PackageTask.new(gem_spec) {|pkg|}
12
12
 
13
+ platforms = %w[x86-mingw32 x86-mswin32-60]
14
+
13
15
  Rake::ExtensionTask.new('unicode_native', gem_spec) do |ext|
14
16
  ext.cross_compile = true
15
- ext.cross_platform = ['x86-mingw32', 'x86-mswin32-60']
17
+ ext.cross_platform = platforms
16
18
  ext.ext_dir = 'ext/unicode'
17
19
  ext.lib_dir = 'lib/unicode'
18
20
  end
@@ -54,9 +56,10 @@ namespace :gem do
54
56
 
55
57
  desc 'Build native gems for Windows'
56
58
  task :windows do
57
- ENV['RUBY_CC_VERSION'] = '1.9.3:2.0.0:2.1.5:2.2.2:2.3.0'
58
- sh 'rake cross compile'
59
- sh 'rake cross native gem'
59
+ require 'rake_compiler_dock'
60
+ platforms.each { |platform|
61
+ RakeCompilerDock.sh "rake native:#{platform} gem", platform: platform
62
+ }
60
63
  end
61
64
 
62
65
  end
@@ -34,8 +34,9 @@ static rb_encoding* enc_out;
34
34
 
35
35
  inline static VALUE
36
36
  taintObject(VALUE src, VALUE obj) {
37
- if (OBJ_TAINTED(src))
38
- OBJ_TAINT(obj);
37
+ // deprecated: taintedness turned out to be a wrong idea
38
+ //if (OBJ_TAINTED(src))
39
+ // OBJ_TAINT(obj);
39
40
  return obj;
40
41
  }
41
42
  #define TO_(src, obj) (taintObject(src, obj))
@@ -994,8 +995,9 @@ typedef struct _get_categories_param {
994
995
  } get_categories_param;
995
996
 
996
997
  static VALUE
997
- get_categories_internal(get_categories_param* param)
998
+ get_categories_internal(VALUE param_value)
998
999
  {
1000
+ get_categories_param* param = (get_categories_param*)param_value;
999
1001
  WString* wstr = param->wstr;
1000
1002
  VALUE str = param->str;
1001
1003
  VALUE* catname = param->catname;
@@ -1018,8 +1020,9 @@ get_categories_internal(get_categories_param* param)
1018
1020
  }
1019
1021
 
1020
1022
  VALUE
1021
- get_categories_ensure(WString* wstr)
1023
+ get_categories_ensure(VALUE wstr_value)
1022
1024
  {
1025
+ WString* wstr = (WString*)wstr_value;
1023
1026
  WStr_free(wstr);
1024
1027
  return Qnil;
1025
1028
  }
@@ -1131,8 +1134,9 @@ typedef struct _get_text_elements_param {
1131
1134
  } get_text_elements_param;
1132
1135
 
1133
1136
  VALUE
1134
- get_text_elements_internal(get_text_elements_param* param)
1137
+ get_text_elements_internal(VALUE param_value)
1135
1138
  {
1139
+ get_text_elements_param* param = (get_text_elements_param*)param_value;
1136
1140
  WString* wstr = param->wstr;
1137
1141
  VALUE str = param->str;
1138
1142
  int start_pos;
@@ -1206,8 +1210,9 @@ get_text_elements_internal(get_text_elements_param* param)
1206
1210
  }
1207
1211
 
1208
1212
  VALUE
1209
- get_text_elements_ensure(WString* wstr)
1213
+ get_text_elements_ensure(VALUE wstr_value)
1210
1214
  {
1215
+ WString* wstr = (WString*)wstr_value;
1211
1216
  WStr_free(wstr);
1212
1217
  return Qnil;
1213
1218
  }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/unicode.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{unicode}
5
- s.version = "0.4.4.4"
5
+ s.version = "0.4.4.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [%q{Yoshida Masato}]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4.4
4
+ version: 0.4.4.5
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Yoshida Masato
@@ -27,11 +27,14 @@ files:
27
27
  - ext/unicode/wstring.c
28
28
  - ext/unicode/wstring.h
29
29
  - lib/unicode.rb
30
- - lib/unicode/1.9/unicode_native.so
31
- - lib/unicode/2.0/unicode_native.so
32
- - lib/unicode/2.1/unicode_native.so
33
- - lib/unicode/2.2/unicode_native.so
34
- - lib/unicode/2.3/unicode_native.so
30
+ - lib/unicode/2.4/unicode_native.so
31
+ - lib/unicode/2.5/unicode_native.so
32
+ - lib/unicode/2.6/unicode_native.so
33
+ - lib/unicode/2.7/unicode_native.so
34
+ - lib/unicode/3.0/unicode_native.so
35
+ - lib/unicode/3.1/unicode_native.so
36
+ - lib/unicode/3.2/unicode_native.so
37
+ - lib/unicode/3.3/unicode_native.so
35
38
  - test/test.rb
36
39
  - tools/README
37
40
  - tools/mkunidata.rb
@@ -49,15 +52,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
49
52
  requirements:
50
53
  - - ">="
51
54
  - !ruby/object:Gem::Version
52
- version: '0'
55
+ version: '2.4'
56
+ - - "<"
57
+ - !ruby/object:Gem::Version
58
+ version: 3.4.dev
53
59
  required_rubygems_version: !ruby/object:Gem::Requirement
54
60
  requirements:
55
61
  - - ">="
56
62
  - !ruby/object:Gem::Version
57
63
  version: '0'
58
64
  requirements: []
59
- rubyforge_project:
60
- rubygems_version: 2.6.6
65
+ rubygems_version: 3.3.26
61
66
  signing_key:
62
67
  specification_version: 3
63
68
  summary: Unicode normalization library.
Binary file
Binary file
Binary file
Binary file