sort_alphabetical 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sort_alphabetical.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 686edf9b5decfc20a1327603e92b5389302f88ca
4
- data.tar.gz: 8f7413d9292606436f75a27690316eed9a5b0d76
3
+ metadata.gz: abd87e79d0755ac81d2750f92a9ac487b8b040e9
4
+ data.tar.gz: 9193bfcd544e3c49448f24a35be42f05b746559f
5
5
  SHA512:
6
- metadata.gz: aaa516e87d9e48e1f4d4258f01785917beba3c6a90d76d1f262bf38ddbda9de95b769ed0be76bdef0a4e5bcf8a2e951fd52e373e1acf244c44ccb394f9c55595
7
- data.tar.gz: 349201ef3e175ff20dd5a218b9e413ffe22bd75010f09373322d980cb025017253263825f3efc7b81972f368b02847f944a97bac79af13d8376a893f42a5876f
6
+ metadata.gz: 829d17e26f1d16915f761cb36f3c5debf8045bfca14c3b93a9ef70ede9a4621e6cbc3242b8933b709365fa969c187541643043ccf89f353b52b96de128f9cdf9
7
+ data.tar.gz: 1550f997a3bac0b7095c2922206cdd2cd170c491160fb9317f46a2879790aad9279fe0a6d68cbc567fe8410e0705ff807b79965f4cd9b1923a4fc8491f6efd0a
@@ -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.1
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: 2014-05-12 00:00:00.000000000 Z
11
+ date: 2015-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: unicode_utils