hebrew 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hebrew.rb +1 -1
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e744e020d212f7b11acbb82e9e4d99944fc3d06c
4
- data.tar.gz: 3f0fb1762473e8b52a4fbf7b33b8251e3a632a08
3
+ metadata.gz: dccbbe3d1173be26a4a0bf0527669c20c054aa07
4
+ data.tar.gz: d03cd42416c578729d69a5d0f4200f82950d0f8f
5
5
  SHA512:
6
- metadata.gz: eeb8e700eaa11b89dbfd77107cb09d15a56de4c5eab1320301fb1445d411ae2e6bc527195f6c83cb24e9189ed09c36a039d458cb19d665d7700952e4d6868151
7
- data.tar.gz: f8ded3902c477c207425e64daf813f7f403b9d8652dba662508b6f179e1421ca4a8e3573f12fbd52babcb35e57389c67ef8d0406b3da104122c8129723cc015f
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 < 0x05ba) or [0x05bb, 0x05bc, 0x05c1, 0x05c2].include?(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.7
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: 2014-04-03 00:00:00.000000000 Z
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.2.1
40
+ rubygems_version: 2.4.6
41
41
  signing_key:
42
42
  specification_version: 4
43
43
  summary: Hebrew string manipulation