fanforce-workers 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fanforce/workers/version.rb +1 -1
- data/lib/fanforce/workers/workers.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjcwNDU5NWRjOGUwNGRiMzZkNTlkMmU4OGVjZDljNmM2Nzg4ZjZjNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGMxZTM4Y2JiYmEzNmJkNWIwYjUwNDY3ZjAzNjk0N2U4YmIyZTBmMg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjBkMTAzOGJhYmQwMjk0YjI4NDczMWMyZmMyY2FkNmRmNjg3YmM0MjJjMTQz
|
10
|
+
OWZlZmYwNjBiYjY5MmEyYjM0YWU0MzFkNDhhYjE4ZjUzYjRmZTA5MWYwODFi
|
11
|
+
ZDBlMjVkMDg2OTc1YTVhYmFiMThmZjZkN2MzM2E5OGJmNDA3ZGM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzRkYWViOGVmNTk0Y2E1ZjU1YzZlZWVmYWMzYTIyOWY2NzFlYTFlNzY2MzBm
|
14
|
+
YzdlNmU5NDE2NDg4YjEzYWE3ZDMzMjg4OTQ4ODdmNDdkOGRlNTQzOGVmZGM2
|
15
|
+
MGZiMjVhYTUyYjQzZGE2MDI3OWY2MWRjZmJlOTJiN2FlZTZkM2U=
|
@@ -57,7 +57,7 @@ class Fanforce::Workers
|
|
57
57
|
if text
|
58
58
|
l = length - truncate_string.chars.to_a.length
|
59
59
|
chars = text.chars.to_a
|
60
|
-
(chars.length > length ? chars[0...l] + truncate_string : text).to_s
|
60
|
+
(chars.length > length ? chars[0...l].join('') + truncate_string : text).to_s
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|