web_translate_it 3.0.0 → 3.0.1

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
  SHA256:
3
- metadata.gz: 1bc4b7dbcd64e3579d7c3e2e387318a225ec4ea022ffff11d5b0e75cd2e7d02c
4
- data.tar.gz: 7a8d7a94642bbdb7445b94960da05584e8f0c2f3c7a10fbb13ee44e60e727235
3
+ metadata.gz: e22896a712b614732ce3add4277542b2856c090a431b3e5f10de10b4856c0f36
4
+ data.tar.gz: 139d2226850e033244060ef4691d21126e61a6c1e5de742d3fa91c689cc65e22
5
5
  SHA512:
6
- metadata.gz: cc10adf1aff74638ec4e8109c5524d0f445b84eddded635fbd06ff03ecd262bcdbd2b519357bc4eb275eb7a92a62573c03eb48365ee3a2c1f3e6ba4989a1804c
7
- data.tar.gz: 9fae2edb938c720297b251ebe512442dfb75a06d04dcdc7012cc1989ea510ef9560453380a0eda9cd0590a366481515b8cbf5b95b03e9d6bcc4b9c65e5e6dc11
6
+ metadata.gz: 864cbddc7beaf93d1812501a8e8acb57d1247c92472f549db3e49512a65da14f806139f27d1236eecfdf914f9b8b484c57b2a869054a853c9b838099461a19ef
7
+ data.tar.gz: 758c10b05573c64e7f45e5f975c647d435ad1b241c316ef944f1278d3b3c7ce861e960096096a39b3e07ebfefa23a899d6ce7b6b35c486f5a9c49b3c7603980a
@@ -3,7 +3,7 @@
3
3
  class StringUtil
4
4
 
5
5
  def self.backward_truncate(str)
6
- return '...' << str[str.length - 50 + 3..str.length] if str.length > 50
6
+ return "...#{str[str.length - 50 + 3..str.length]}" if str.length > 50
7
7
 
8
8
  spaces = ''
9
9
  (50 - str.length).times { spaces += ' ' }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web_translate_it
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edouard Briere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-20 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  - !ruby/object:Gem::Version
100
100
  version: '0'
101
101
  requirements: []
102
- rubygems_version: 3.4.19
102
+ rubygems_version: 3.4.22
103
103
  signing_key:
104
104
  specification_version: 4
105
105
  summary: A CLI tool to sync locale files with WebTranslateIt.com.