hebrew 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hebrew.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dccbbe3d1173be26a4a0bf0527669c20c054aa07
|
4
|
+
data.tar.gz: d03cd42416c578729d69a5d0f4200f82950d0f8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c3027be5c73cd44ccade52be6d9f0ac796814e13c5d1a037d0a9e96436e1e0e28a10c85881f375b3e628a3049926ff9f07e5d9168d872ed5686bc428729b84c
|
7
|
+
data.tar.gz: 38ef10f3f1c65988f9b18f8403c49bf15c27bed7cbbd1b6cc88f5aeef87e0482b47eeea0d2f010ee391f0054ef4d6501a558be100a31c29fae3818d4ce2d3b07
|
data/lib/hebrew.rb
CHANGED
@@ -77,7 +77,7 @@ class String
|
|
77
77
|
#NIKKUD_CP1255.include?(cp) # cleaner, but much slower
|
78
78
|
end
|
79
79
|
def self.is_codepoint_nikkud_utf8(cp)
|
80
|
-
return ((cp > 0x05af && cp <
|
80
|
+
return ((cp > 0x05af && cp < 0x05bd) or [0x05c1, 0x05c2].include?(cp))
|
81
81
|
#NIKKUD_UTF8.include?(cp) # cleaner, but much slower
|
82
82
|
end
|
83
83
|
# this will return true if the first parameter is a nikkud character in the encoding of the second parameter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hebrew
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Asaf Bartov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Some useful code to identify, transcode, and manipulate Hebrew text
|
14
14
|
email: asaf.bartov@gmail.com
|
@@ -27,17 +27,17 @@ require_paths:
|
|
27
27
|
- lib
|
28
28
|
required_ruby_version: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '0'
|
33
33
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|
39
39
|
rubyforge_project:
|
40
|
-
rubygems_version: 2.
|
40
|
+
rubygems_version: 2.4.6
|
41
41
|
signing_key:
|
42
42
|
specification_version: 4
|
43
43
|
summary: Hebrew string manipulation
|