ffi-icu 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dcb52a7fa85970538582cc014850664a50a9725a
4
- data.tar.gz: e226b65e6436f613207145582c1c6b0ccd9d2cf0
3
+ metadata.gz: c381746aed3839388946fda0552882604cbee60c
4
+ data.tar.gz: 6edcf4bb0a7c7fef09c99c3cf6bf269566682736
5
5
  SHA512:
6
- metadata.gz: 62af7b275d1e40bc2d39ce81792f6bff5dc38b4473fcbaf2c507ce8420dd93ce9a2ade21819281288cd893350e3afd930a065d7b6d9d0359e75fedad86a97325
7
- data.tar.gz: b0e89ecc1ca69ddbdb4d6a4ae5818f763b69006609c642aecd484fed96c864bd0db3a0c48cba2e8e56bdae616dc1ff32e2995c126178334a0d6d9b923d09c8c6
6
+ metadata.gz: 7c35fdf15d4d05069c52e26e60ac8f6818775fd7c224ee8b401de582a6cc3bf29f25da78c93c8260e3398cf38349b284f417c63a10560cff479c396e999f5cd5
7
+ data.tar.gz: 1b1c25f761dec3bf855a5c70072f4ef3676319f1d86f8434914e0368df466e2caac85c94531f733ef0c49fbdfec8532f0c618e051d907ec75147d86a1c326e2e
@@ -341,10 +341,12 @@ module ICU
341
341
 
342
342
  # http://icu-project.org/apiref/icu4c/unorm2_8h.html
343
343
 
344
- enum :normalization2_mode, [ :compose, :decompose, :fcd, :compose_contiguous ]
345
- attach_function :unorm2_getInstance, "unorm2_getInstance#{suffix}", [:pointer, :pointer, :normalization2_mode, :pointer], :pointer
346
- attach_function :unorm2_normalize, "unorm2_normalize#{suffix}", [:pointer, :pointer, :int32_t, :pointer, :int32_t, :pointer], :int32_t
347
- attach_function :unorm2_isNormalized, "unorm2_isNormalized#{suffix}", [:pointer, :pointer, :int32_t, :pointer], :bool
344
+ if Gem::Version.new('4.4') <= Gem::Version.new(self.version)
345
+ enum :normalization2_mode, [ :compose, :decompose, :fcd, :compose_contiguous ]
346
+ attach_function :unorm2_getInstance, "unorm2_getInstance#{suffix}", [:pointer, :pointer, :normalization2_mode, :pointer], :pointer
347
+ attach_function :unorm2_normalize, "unorm2_normalize#{suffix}", [:pointer, :pointer, :int32_t, :pointer, :int32_t, :pointer], :int32_t
348
+ attach_function :unorm2_isNormalized, "unorm2_isNormalized#{suffix}", [:pointer, :pointer, :int32_t, :pointer], :bool
349
+ end
348
350
 
349
351
  #
350
352
  # Text Boundary Analysis
@@ -1,3 +1,3 @@
1
1
  module ICU
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-icu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jari Bakken
@@ -14,48 +14,48 @@ dependencies:
14
14
  name: ffi
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
- - - ">="
20
+ - - '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.0.9
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.0'
30
- - - ">="
30
+ - - '>='
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.9
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ~>
38
38
  - !ruby/object:Gem::Version
39
39
  version: 2.5.0
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ~>
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.5.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
53
  version: 0.9.2
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ~>
59
59
  - !ruby/object:Gem::Version
60
60
  version: 0.9.2
61
61
  description: Provides charset detection, locale sensitive collation and more. Depends
@@ -67,9 +67,9 @@ extra_rdoc_files:
67
67
  - LICENSE
68
68
  - README.md
69
69
  files:
70
- - ".document"
71
- - ".gitignore"
72
- - ".travis.yml"
70
+ - .document
71
+ - .gitignore
72
+ - .travis.yml
73
73
  - Gemfile
74
74
  - LICENSE
75
75
  - README.md
@@ -112,22 +112,22 @@ licenses: []
112
112
  metadata: {}
113
113
  post_install_message:
114
114
  rdoc_options:
115
- - "--charset=UTF-8"
115
+ - --charset=UTF-8
116
116
  require_paths:
117
117
  - lib
118
118
  required_ruby_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - ">="
120
+ - - '>='
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
- - - ">="
125
+ - - '>='
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.4.5
130
+ rubygems_version: 2.0.14
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Simple Ruby FFI wrappers for things I need from ICU.