rfc5646 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/rfc5646/locale.rb +14 -0
- data/lib/rfc5646/version.rb +1 -1
- 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: aa9154de45ab97ee9e423d75e75b0789bf7fa89c
|
4
|
+
data.tar.gz: 9c328b4a4ed93745d321dd3830b721805943918c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7d065e0765f3a825fdc3cf92fe5311fbe834ae8c3d21029c377fba69d032bab5e36cabefcfd79ccaedb85a6b3b056918b9fd653ad3a5541e58bf8d4aeb4a41e
|
7
|
+
data.tar.gz: 304de7ac1fc62ecd19ed6689aa2669d8dd78b0ea4ea1d2439e2c5d72a7ce9b393db847699545d9295e54ac3f64185e2a22b6d6d8ed2837709d0c713dbbfa6edb
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
0.1.3
|
2
|
+
|
3
|
+
* Add legal notice on top of locale.rb as it required by Apache 2.0 license
|
4
|
+
|
1
5
|
0.1.2
|
2
6
|
|
3
7
|
* Add locales.en.yml to I18n.load_path instead of loading it
|
@@ -5,4 +9,4 @@
|
|
5
9
|
0.1.1
|
6
10
|
|
7
11
|
* **Fix** localization loading
|
8
|
-
* Allow to pass nil into Locale.from_rfc5646
|
12
|
+
* Allow to pass nil into Locale.from_rfc5646 method
|
data/lib/rfc5646/locale.rb
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# Copyright 2014 Square Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
1
15
|
require 'active_support/core_ext/object/try'
|
2
16
|
require 'active_support/core_ext/object/blank'
|
3
17
|
require 'i18n'
|
data/lib/rfc5646/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rfc5646
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artyom Bolshakov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|