hebrew 0.1.8 → 0.1.9

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 +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dccbbe3d1173be26a4a0bf0527669c20c054aa07
4
- data.tar.gz: d03cd42416c578729d69a5d0f4200f82950d0f8f
3
+ metadata.gz: 5a8c1321cb8e5040931921ab180b86295427e64f
4
+ data.tar.gz: fe567fbdb5384b967dfff2a0b787a1b403433a7a
5
5
  SHA512:
6
- metadata.gz: 2c3027be5c73cd44ccade52be6d9f0ac796814e13c5d1a037d0a9e96436e1e0e28a10c85881f375b3e628a3049926ff9f07e5d9168d872ed5686bc428729b84c
7
- data.tar.gz: 38ef10f3f1c65988f9b18f8403c49bf15c27bed7cbbd1b6cc88f5aeef87e0482b47eeea0d2f010ee391f0054ef4d6501a558be100a31c29fae3818d4ce2d3b07
6
+ metadata.gz: 33ec8188e66991dca122aef6ecbb69a34ab566b79ede6fabce62f6de6975f97eeed2be3b4c176b74f4c1b03da3ef44283bb01017b67c2d3e25c86fb2c5619734
7
+ data.tar.gz: 674d5e7ca61a186d7713d245459e4b19b856b0fdc2fc56bd42d557a7e0d0d035ba87b0e194a8f0c5a27a91ffe751d7c247b2b04dda8293b79cf6351cdbb948e3
data/lib/hebrew.rb CHANGED
@@ -31,7 +31,7 @@ class String
31
31
  target = ''.force_encoding('windows-1255')
32
32
  self.each_codepoint {|cp|
33
33
  unless self.class.is_codepoint_nikkud_cp1255(cp)
34
- target += cp.chr(Encoding::CP1255) # is there a neater way?
34
+ target << cp.chr(Encoding::CP1255) # is there a neater way?
35
35
  end
36
36
  }
37
37
  return target
@@ -40,7 +40,7 @@ class String
40
40
  target = ''
41
41
  self.each_codepoint {|cp|
42
42
  unless self.class.is_codepoint_nikkud_utf8(cp)
43
- target += cp.chr(Encoding::UTF_8)
43
+ target << cp.chr(Encoding::UTF_8)
44
44
  end
45
45
  }
46
46
  return target
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.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Asaf Bartov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-04 00:00:00.000000000 Z
11
+ date: 2015-10-21 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