sort_alphabetical 1.0.1 → 1.0.2
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/sort_alphabetical.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abd87e79d0755ac81d2750f92a9ac487b8b040e9
|
4
|
+
data.tar.gz: 9193bfcd544e3c49448f24a35be42f05b746559f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 829d17e26f1d16915f761cb36f3c5debf8045bfca14c3b93a9ef70ede9a4621e6cbc3242b8933b709365fa969c187541643043ccf89f353b52b96de128f9cdf9
|
7
|
+
data.tar.gz: 1550f997a3bac0b7095c2922206cdd2cd170c491160fb9317f46a2879790aad9279fe0a6d68cbc567fe8410e0705ff807b79965f4cd9b1923a4fc8491f6efd0a
|
data/lib/sort_alphabetical.rb
CHANGED
@@ -19,8 +19,8 @@ module SortAlphabetical
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def normalize(string)
|
22
|
-
UnicodeUtils.compatibility_decomposition(string).split('').select do |c|
|
22
|
+
UnicodeUtils.compatibility_decomposition(string).split(''.freeze).select do |c|
|
23
23
|
UnicodeUtils.general_category(c) =~ /Letter|Separator|Punctuation|Number/
|
24
24
|
end.join
|
25
25
|
end
|
26
|
-
end
|
26
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sort_alphabetical
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unicode_utils
|