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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/xws.rb +3 -2
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 881a511b1723995dc2062cb47c9980e581be294a
|
4
|
+
data.tar.gz: f5102d9fd94deef4ccd44a2102b2787e03922933
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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.
|
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-
|
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
|