extface 0.6.7 → 0.6.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c376f952a40571a4428da1a0f64923c183cdb20c
|
4
|
+
data.tar.gz: 0c1192e818ff8576fbc8661a031da9dcdf9bbe31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71b0f1023fce0cdcff96e8f941e7987f9c8035a52f5a4d7c3e04bb3ec37afec60abc62dbabd4025fffe5c7d96a6b5842469340d294a8711131005892c8dccdaa
|
7
|
+
data.tar.gz: d80e0dd0ad4beb9067f2216c9e19708b88a4dafde875c462709494e214b33e2ecb9cc215a969b21f1a1cad19a13a8f7f5d7af4d935c983aa3900eeacc9e96910
|
@@ -295,10 +295,10 @@ module Extface
|
|
295
295
|
private
|
296
296
|
def build_sale_data(item)
|
297
297
|
encoded_text1 = device.encoding.present? ? item.text1.encode(device.encoding).b : item.text1
|
298
|
-
encoded_text1 = encoded_text1.mb_chars.slice!(0..27).to_s + '...' if encoded_text1 && encoded_text1.b.length > 30
|
298
|
+
encoded_text1 = encoded_text1.mb_chars.slice!(0..27).to_s.b + '...' if encoded_text1 && encoded_text1.b.length > 30
|
299
299
|
|
300
300
|
encoded_text2 = device.encoding.present? ? item.text2.encode(device.encoding).b : item.text2
|
301
|
-
encoded_text2 =
|
301
|
+
encoded_text2 = encoded_text2.mb_chars.slice!(0..27).to_s.b + '...' if encoded_text2 && encoded_text2.b.length > 30
|
302
302
|
|
303
303
|
"".b.tap() do |data|
|
304
304
|
data << encoded_text1 unless encoded_text1.blank?
|
@@ -271,10 +271,10 @@ module Extface
|
|
271
271
|
private
|
272
272
|
def build_sale_data(item)
|
273
273
|
encoded_text1 = device.encoding.present? ? item.text1.encode(device.encoding).b : item.text1
|
274
|
-
encoded_text1 = encoded_text1.mb_chars.slice!(0..19).to_s + '...' if encoded_text1 && encoded_text1.b.length > 22
|
274
|
+
encoded_text1 = encoded_text1.mb_chars.slice!(0..19).to_s.b + '...' if encoded_text1 && encoded_text1.b.length > 22
|
275
275
|
|
276
276
|
encoded_text2 = device.encoding.present? ? item.text2.encode(device.encoding).b : item.text2
|
277
|
-
encoded_text2 =
|
277
|
+
encoded_text2 = encoded_text2.mb_chars.slice!(0..19).to_s.b + '...' if encoded_text2 && encoded_text2.b.length > 22
|
278
278
|
|
279
279
|
"".b.tap() do |data|
|
280
280
|
data << encoded_text1 unless encoded_text1.blank?
|
@@ -271,10 +271,10 @@ module Extface
|
|
271
271
|
private
|
272
272
|
def build_sale_data(item)
|
273
273
|
encoded_text1 = device.encoding.present? ? item.text1.encode(device.encoding).b : item.text1
|
274
|
-
encoded_text1 = encoded_text1.mb_chars.slice!(0..19).to_s + '...' if encoded_text1 && encoded_text1.b.length > 22
|
274
|
+
encoded_text1 = encoded_text1.mb_chars.slice!(0..19).to_s.b + '...' if encoded_text1 && encoded_text1.b.length > 22
|
275
275
|
|
276
276
|
encoded_text2 = device.encoding.present? ? item.text2.encode(device.encoding).b : item.text2
|
277
|
-
encoded_text2 =
|
277
|
+
encoded_text2 = encoded_text2.mb_chars.slice!(0..19).to_s.b + '...' if encoded_text2 && encoded_text2.b.length > 22
|
278
278
|
|
279
279
|
"".b.tap() do |data|
|
280
280
|
data << encoded_text1 unless encoded_text1.blank?
|
@@ -270,10 +270,10 @@ module Extface
|
|
270
270
|
|
271
271
|
def build_sale_data(item)
|
272
272
|
encoded_text1 = device.encoding.present? ? item.text1.encode(device.encoding).b : item.text1
|
273
|
-
encoded_text1 = encoded_text1.mb_chars.slice!(0..27).to_s + '...' if encoded_text1 && encoded_text1.b.length > 30
|
273
|
+
encoded_text1 = encoded_text1.mb_chars.slice!(0..27).to_s.b + '...' if encoded_text1 && encoded_text1.b.length > 30
|
274
274
|
|
275
275
|
encoded_text2 = device.encoding.present? ? item.text2.encode(device.encoding).b : item.text2
|
276
|
-
encoded_text2 =
|
276
|
+
encoded_text2 = encoded_text2.mb_chars.slice!(0..27).to_s.b + '...' if encoded_text2 && encoded_text2.b.length > 30
|
277
277
|
|
278
278
|
"".b.tap() do |data|
|
279
279
|
data << encoded_text1 unless encoded_text1.blank?
|
data/lib/extface/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: extface
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Vangelov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|