unicode-tools 2.0.0 → 2.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: be6456da3acbb80d2c04ca2f095e04453d6ba5c579a27b16c87e14bc96ca7e39
4
- data.tar.gz: fdc70c9dd6cd9de42aeb7d3c0ac5ac20d95037682c28a12fdb92680d3f40715a
3
+ metadata.gz: c08b3dc01afdfbd5bf38236447e5eb7bf4d086cec5cbad6e9ee40b1b73a82376
4
+ data.tar.gz: 2499c14f2049b94d4abb1412757bf07b0f55983ba242d81aa6e312ab83a9c08f
5
5
  SHA512:
6
- metadata.gz: 90729915192ed88379196ffa0b285ab8a2ea0e1502941e64e56583d25220da6cd4c325bc9fe361395b462e21b911d721a03f5533905a9305b1e2eaf4906102e3
7
- data.tar.gz: 8ba3de562e2249fd1478df742d31a33d75e3ecf2b8f17651700152a12b4a41021ccc1c03946ff0165a0ea8a794a346ad3a1df29304ac82d78ab62303cc424ce4
6
+ metadata.gz: cc29401458ae81d268aa4bbe8f10b84b5850a83687bc7e603fba0932b785024990e928e490810f826c58ac0e7063c17ebabaddbc940c121abd13c4e1d8231175
7
+ data.tar.gz: f5c75816773610a6a74b400ce9147959efc5f55a65648cb82de558a34459f0fa7561afaf60baafb6d7960ce59d3d2c1b2c8d9640dff3269dc1d1aeafdad261f9
@@ -10,7 +10,7 @@ module UnicodeTools
10
10
  attributes.each do |attribute|
11
11
  extension.class_eval <<-RUBY, __FILE__, __LINE__ + 1
12
12
  def #{attribute}=(value)
13
- super(String === value ? value.squish : value)
13
+ super(String === value ? value.squish.presence : value)
14
14
  end
15
15
  RUBY
16
16
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'unicode-tools'
6
- s.version = '2.0.0'
6
+ s.version = '2.0.1'
7
7
  s.authors = ['Yaroslav Konoplov']
8
8
  s.email = ['eahome00@gmail.com']
9
9
  s.summary = 'Unicode-friendly String#trim and String#squish'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicode-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaroslav Konoplov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-26 00:00:00.000000000 Z
11
+ date: 2022-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []
82
- rubygems_version: 3.1.2
82
+ rubygems_version: 3.1.6
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: Unicode-friendly String#trim and String#squish