i18n_data 0.6.0 → 0.6.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
  SHA1:
3
- metadata.gz: 3d9d895d0cec012530d0a3f331f376a139cfdfb0
4
- data.tar.gz: 3c86de778cb74f0f2239fbf1fda3e5bb96d47210
3
+ metadata.gz: 0e4d744ba1f01728a059e6c59180014c7911993f
4
+ data.tar.gz: 79aba74a0e653867edbc86064d290269b8f206f0
5
5
  SHA512:
6
- metadata.gz: 9d0fc31e5a9882a76e737a2dbaa9dbe7373390e010bcd025165796c116e868780c53e7e1e38e53c00265caf20bb6b6593402ea5f9c45f72378e15a19b953669a
7
- data.tar.gz: 9903bc98fbe95de305df1f7cf34efbe5ea7967d7b2eb81a6f06d42bc244ab6f2255082a2f92e2c713e2ec8b27562652ce8e31dc07586f3fab8bea3a884c41367
6
+ metadata.gz: 3e22e8c877988bd66e56626243eaef6359c7b4906673d72b991a8500e31cd74acbb7521d575f771031d3d5912b0050db6638a329848f31ea50659fd93a893c0c
7
+ data.tar.gz: 28349a3cbac9ce707a2cbae246fd214e3ae88d53531e0bc7a558e7fb783c31e1d199bd264651275568cb04ddf5ce0265778e9926cd18f89906bb06da47336c89
@@ -1,3 +1,3 @@
1
1
  module I18nData
2
- VERSION = Version = "0.6.0"
2
+ VERSION = Version = "0.6.1"
3
3
  end
data/lib/i18n_data.rb CHANGED
@@ -74,9 +74,9 @@ module I18nData
74
74
  common_languages = ['EN','ES','FR','DE','ZH']
75
75
  langs = (common_languages + (languages.keys - common_languages))
76
76
 
77
- langs.each do |code|
77
+ langs.each do |lang|
78
78
  begin
79
- send(type, code).each do |code, name|
79
+ send(type, lang).each do |code, name|
80
80
  # supports "Dutch" and "Dutch; Flemish", checks for inclusion first -> faster
81
81
  match_found = (name.include?(search) and name.split(';').map{|s| s.strip }.include?(search))
82
82
  return code if match_found
metadata CHANGED
@@ -1,36 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MRAwDgYDVQQDDAdtaWNo
14
- YWVsMRcwFQYKCZImiZPyLGQBGRYHZ3Jvc3NlcjESMBAGCgmSJomT8ixkARkWAml0
15
- MB4XDTE0MDIwNDIwMjk0MVoXDTE1MDIwNDIwMjk0MVowPzEQMA4GA1UEAwwHbWlj
16
- aGFlbDEXMBUGCgmSJomT8ixkARkWB2dyb3NzZXIxEjAQBgoJkiaJk/IsZAEZFgJp
17
- dDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMorXo/hgbUq97+kII9H
18
- MsQcLdC/7wQ1ZP2OshVHPkeP0qH8MBHGg6eYisOX2ubNagF9YTCZWnhrdKrwpLOO
19
- cPLaZbjUjljJ3cQR3B8Yn1veV5IhG86QseTBjymzJWsLpqJ1UZGpfB9tXcsFtuxO
20
- 6vHvcIHdzvc/OUkICttLbH+1qb6rsHUceqh+JrH4GrsJ5H4hAfIdyS2XMK7YRKbh
21
- h+IBu6dFWJJByzFsYmV1PDXln3UBmgAt65cmCu4qPfThioCGDzbSJrGDGLmw/pFX
22
- FPpVCm1zgYSb1v6Qnf3cgXa2f2wYGm17+zAVyIDpwryFru9yF/jJxE38z/DRsd9R
23
- /88CAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFLIj
24
- Z1x7SnjGGHK+MiVZkFjjS/iMMB0GA1UdEQQWMBSBEm1pY2hhZWxAZ3Jvc3Nlci5p
25
- dDAdBgNVHRIEFjAUgRJtaWNoYWVsQGdyb3NzZXIuaXQwDQYJKoZIhvcNAQEFBQAD
26
- ggEBAExBcUWfGuamYn+IddOA0Ws8jUKwB14RXoZRDrTiTAlMm3Bkg2OKyxS3uJXa
27
- 6Z+LwFiZwVYk62yHXqNzEJycQk4SEmY+xDWLj0p7X6qEeU4QZKwR1TwJ5z3PTrZ6
28
- irJgM3q7NIBRvmTzRaAghWcQn+Eyr5YLOfMksjVBMUMnzh5/ZDgq53LphgJbGwvz
29
- ScJAgfNclLHnjk9q1mT1s0e1FPWbiAL3siBIR5HpH8qtSEiivTf2ntciebOqS93f
30
- F5etKHZg0j3eHO31/i2HnswY04lqGImUu6aM5EnijFTB7PPW2KwKKM4+kKDYFdlw
31
- /0WV1Ng2/Y6qsHwmqGg2VlYj2h4=
32
- -----END CERTIFICATE-----
33
- date: 2014-07-19 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2015-03-12 00:00:00.000000000 Z
34
12
  dependencies: []
35
13
  description:
36
14
  email: michael@grosser.it
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
@@ -1,2 +0,0 @@
1
- �S>��o��
2
- jm5h��g{UW�~/V�&D�HuN�]���)���!����q��ޘͦԃ]Icj���
metadata.gz.sig DELETED
Binary file