unicode 0.4.4.4 → 0.4.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/ext/unicode/unicode.c +11 -6
  3. data/unicode.gemspec +1 -1
  4. metadata +3 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 260364a31c69811f0f4d504a032876618fd6cee6
4
- data.tar.gz: 7c93905ddc10c0b93eb071024e84b86e4513f5e0
2
+ SHA256:
3
+ metadata.gz: 72bf9153cb3f93efebe6abfa848238ebc37b42ab3e0b133e2f5fdbc6de50716b
4
+ data.tar.gz: a18db454577d61788e0951d3b57d365eea508ad91e76029f9fc70c00a6b1aad4
5
5
  SHA512:
6
- metadata.gz: 1d0df920f2242b2c93521e3e7c09ec3f8ca5549f3619da8c7399192b1e03f32ce8622519fe3aeb0437d70f5adf9a2ef7c0cc4b7a2bef2f9865bdbed10368407e
7
- data.tar.gz: '0682004c3ab8cd4b52358cfd9f1572db46ef56eb4b79662b8db8ad9354d9478db4e3ce47d67632c59493fa0aa46c0d651ee1216e9c1ca450f6f7b5c6d161f029'
6
+ metadata.gz: a1727062e4ef7dbc4013ab8d6d88b4f0ab740fa181fa53137ae6dd9241275c3e3d62d12e3aa1f83825f5bd9c45cac4d39349fa5b4e83a0905b87eb57b64c263c
7
+ data.tar.gz: 96267c0b7bd29948ab2f4c9561e21bbcbfc59c93b4c06e50a191e39b7df012f1260a40f18f84fa0f9257a7ebb3ee55d693c04b56371d58556a234842ba0bc2ee
@@ -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
  }
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,34 +1,13 @@
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: ruby
6
6
  authors:
7
7
  - Yoshida Masato
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDMDCCAhigAwIBAgIBADANBgkqhkiG9w0BAQUFADA+MQswCQYDVQQDDAJ3dzEb
14
- MBkGCgmSJomT8ixkARkWC2JsYWNrd2ludGVyMRIwEAYKCZImiZPyLGQBGRYCZGUw
15
- HhcNMTMwMTMxMDkyMjIyWhcNMTQwMTMxMDkyMjIyWjA+MQswCQYDVQQDDAJ3dzEb
16
- MBkGCgmSJomT8ixkARkWC2JsYWNrd2ludGVyMRIwEAYKCZImiZPyLGQBGRYCZGUw
17
- ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDVXmfa6rbTwKOvtuGoROc1
18
- I4qZjgLX0BA4WecYB97PjwLJmJ1hRvf9JulVCJYYmt5ZEPPXbgi9xLbcp6ofGmnC
19
- i68/kbhcz20/fRUtIJ2phU3ypQTEd2pFddpL7SR2FxLkzvvg5E6nslGn7o2erDpO
20
- 8sm610A3xsgT/eNIr9QA7k4pHh18X1KvZKmmQR4/AjVyKmKawzauKUoHHepjvjVs
21
- s0pVoM7UmOmrS4SafQ3OwUo37f19CVdN2/FW7z3e5+iYhKxdIFdhniX9iDWtA3Jn
22
- 7oUOtiolhCRK4P/c30UjTCDkRkOldsWciFUasROJ5VAV2SVv7FtGHoQLDZ/++tRr
23
- AgMBAAGjOTA3MAkGA1UdEwQCMAAwHQYDVR0OBBYEFIAPWU4BEoYUe82hY/0EkoGd
24
- Oo/WMAsGA1UdDwQEAwIEsDANBgkqhkiG9w0BAQUFAAOCAQEAf2YnB0mj42of22dA
25
- MimgJCAEgB3H5aHbZ6B5WVnFvrC2UUnhP+/kLj/6UgOfqcasy4Xh62NVGuNrf7rF
26
- 7NMN87XwexGuU2GCpIMUd6VCTA7zMP2OWuXEcba7jT5OtiI55buO0J4CRtyeX1XF
27
- qwlGgx4ItcGhMTlDFXj3IkpeVtjD8O7yWE21bHf9lLURmqK/r9KjoxrrVi7+cESJ
28
- H19TDW3R9p594jCl1ykPs3dz/0Bk+r1HTd35Yw+yBbyprSJb4S7OcRRHCryuo09l
29
- NBGyZvOBuqUp0xostWSk0dfxyn/YQ7eqvQRGBhK1VGa7Tg/KYqnemDE57+VOXrua
30
- 59wzaA==
31
- -----END CERTIFICATE-----
10
+ cert_chain: []
32
11
  date: 2013-02-07 00:00:00.000000000 Z
33
12
  dependencies: []
34
13
  description: Unicode normalization library.
@@ -73,8 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
52
  - !ruby/object:Gem::Version
74
53
  version: '0'
75
54
  requirements: []
76
- rubyforge_project:
77
- rubygems_version: 2.6.8
55
+ rubygems_version: 3.3.26
78
56
  signing_key:
79
57
  specification_version: 3
80
58
  summary: Unicode normalization library.