fedux_org-stdlib 0.6.33 → 0.6.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/fedux_org_stdlib/shell_language_detector.rb +1 -1
- data/lib/fedux_org_stdlib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7738c2d1d54b614c2d6c9757399123ee68d88cb3
|
4
|
+
data.tar.gz: 7198ca2af7a4643f8456af73e050d5a8f2d1b507
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0aa70d17ddfdd24cdaf35fd80686430e61728e67d9a3a73cbbb8e6029249ff227f9a20a3172eefa9d92009a66e1b6632129f829643d7b6ba7eda403b1de0489
|
7
|
+
data.tar.gz: a008933a6e5542fd48e80de6febc867058f27146d97de21d5aa22bbfadba5a4e3f2c7243c4d79079cbf586cc7e48098a0ff7d11f170c2fa4d9c1caee77135741
|
data/Gemfile.lock
CHANGED
@@ -30,7 +30,7 @@ module FeduxOrgStdlib
|
|
30
30
|
language_code, country_code, encoding = lang.scan(/([^_-]+)[_-]([^.]+)\.([A-Za-z0-9_-]*)/i).flatten.map(&:downcase).map { |e| e.gsub('-', '_') }.map { |e| e.to_sym if !e.nil? }
|
31
31
|
language_code, country_code, encoding = *overwrite if !overwrite.blank?
|
32
32
|
|
33
|
-
return Language.new(language_code: language_code, country_code: country_code, encoding: encoding) if language_code &&
|
33
|
+
return Language.new(language_code: language_code, country_code: country_code, encoding: encoding) if language_code && (allowed.blank? || allowed.include?(language_code))
|
34
34
|
Language.new(language_code: default_language_code, country_code: default_country_code, encoding: default_encoding)
|
35
35
|
end
|
36
36
|
end
|