toolrack 0.18.3 → 0.18.4

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: 33606fd552ba35fa9af2f032d704440626f0f1b3ca6ba361b53d1952e3c266b2
4
- data.tar.gz: adf32d9df2d717b66f7779e5238c58cfd9c3550a7bd6fc7789159d9f19cbc841
3
+ metadata.gz: c6a506db360557daefb809411b512395aac74d913dc1bb0cff940f2612e417e0
4
+ data.tar.gz: addd62c6018933443d13796781ba724cee67cce53ac63b9213a95bc53bbcae68
5
5
  SHA512:
6
- metadata.gz: 9361b04efc6f158189d98fbd9dc6842d19a4c3a80f55364b24eca161fd3d5645798c7a9bf6b714ed0c89d3caba205abe041c04e710f1d76c531954ee5fdb0862
7
- data.tar.gz: 8fa2db2fef4e493bc8366b26231673b35d531c8a1b10c7cec95fc07ed154a34323e5ae83e2c44d549832abeda7dc3e3622e192324fb2a51170151c7c097139a3
6
+ metadata.gz: e72646b3f299c5e9b1b6775f56ac1d7b5e0efc38f6a129de141278c7634593ed6373e8579d633fc1ec1625870cf0386b5c387b1ddcfcdefea6f8bc21ba5503da
7
+ data.tar.gz: 73db539e2bad7d08d35b5213fb487eb6c04ec9fe2493f47c489debb79bea1333207084f64e8ebb9fc28083612dc8b3e6564a597d03059f511c3b056ef2f46f6d
data/.release_history.yml CHANGED
@@ -12,3 +12,5 @@ toolrack:
12
12
  :timestamp: 1637901450.2854214
13
13
  - :version: 0.18.2
14
14
  :timestamp: 1637905200.1032739
15
+ - :version: 0.18.3
16
+ :timestamp: 1637906184.4767737
@@ -11,8 +11,12 @@ module Antrapol
11
11
  true
12
12
  elsif obj.respond_to?(:empty?)
13
13
  begin
14
- if obj.respond_to?(:strip)
15
- obj.strip.empty?
14
+ if obj.ascii_only?
15
+ if obj.respond_to?(:strip)
16
+ obj.strip.empty?
17
+ else
18
+ obj.empty?
19
+ end
16
20
  else
17
21
  obj.empty?
18
22
  end
@@ -21,7 +25,7 @@ module Antrapol
21
25
  # This will happen if the data is binary but the reading of the data
22
26
  # is in ascii format.
23
27
  if ex.message =~ /invalid byte sequence/
24
- cuLogger.twarn :is_empty?, "Invalid byte sequence exception might indicates the data is expected in binary but was given a ASCII buffer to test. Please load the data in binary and test again"
28
+ cuLogger.twarn :is_empty?, "Invalid byte sequence exception indicates the data is in binary but was given a ASCII buffer to test."
25
29
  false
26
30
  else
27
31
  raise
@@ -1,6 +1,6 @@
1
1
  module Antrapol
2
2
  module ToolRack
3
- VERSION = "0.18.3"
3
+ VERSION = "0.18.4"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolrack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.3
4
+ version: 0.18.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-26 00:00:00.000000000 Z
11
+ date: 2022-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tlogger