xws 0.1.1 → 0.1.2

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: d5e7e6968fbc89b86b4e4ec557441e37f3af0bb6
4
- data.tar.gz: 5afac1aac6dec40e03e6f5c798d041994cc70dfd
3
+ metadata.gz: 881a511b1723995dc2062cb47c9980e581be294a
4
+ data.tar.gz: f5102d9fd94deef4ccd44a2102b2787e03922933
5
5
  SHA512:
6
- metadata.gz: 3205cae8e76a0339f9c981a6cabf4efbf3085e33f365099fac43a171106caa992682a8d88a7cded9493789c4f305c10ef75faf1d0563e3cb562b6f2cd08b6d1a
7
- data.tar.gz: d353a57171d436e53c54437ab5c07764c7e313751b4aa43a6cef9a85b764315986b4bdc5c7c93b593ff97f26bf563273d2a4229b4a2ff5855b096956026f0045
6
+ metadata.gz: 0dc9994e4a0a0fdf88be5cc2dcbeb28f1ba6197336129ad7d7dd08dc8c83288301209942ec976d82605f94fb340a7a0a5f01caeb3ff62a824725eea960360d2e
7
+ data.tar.gz: 7b1b6af8d3119362c2198e0dcbe1b4157fb48bab8d504553150fada04c0de124e05c390118f6978e06f9965b870abf2301e339cbda105f2bbff679d4529a90d2
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/xws.rb CHANGED
@@ -25,7 +25,8 @@ class XWS
25
25
  end
26
26
 
27
27
  words(a.join(' ')).split.group_by(&:to_s).\
28
- inject({}){|r, x| r.merge(x[0] => x[-1].length)}
28
+ inject({}){|r, x| r.merge(String.new(x[0]).\
29
+ force_encoding("utf-8") => x[-1].length)}
29
30
 
30
31
  end
31
32
 
@@ -40,4 +41,4 @@ class XWS
40
41
 
41
42
  end
42
43
 
43
- end
44
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  gBElgRX/rNJ5r9tumb1VJ+TZMg8fu7CmCoC4FuJtnA7ajJHeC0JKSpCDYtgiOs4W
32
32
  ET+JXG7GYubSoQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-11-12 00:00:00.000000000 Z
34
+ date: 2015-11-13 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle
metadata.gz.sig CHANGED
Binary file