unicode-tools 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/unicode-tools/active_record_extension/squish.rb +1 -1
- data/unicode-tools.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c08b3dc01afdfbd5bf38236447e5eb7bf4d086cec5cbad6e9ee40b1b73a82376
|
|
4
|
+
data.tar.gz: 2499c14f2049b94d4abb1412757bf07b0f55983ba242d81aa6e312ab83a9c08f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/unicode-tools.gemspec
CHANGED
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.
|
|
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:
|
|
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.
|
|
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
|