rfc5646 0.1.1 → 0.1.2

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: 6864463ae74c628f96e944fdd49fd428899d5c85
4
- data.tar.gz: 980e25fd41dfda98acafef65bbdb539187752e9c
3
+ metadata.gz: 9e375f37b31f7a3a95bc17dbf42e7cd23625dad9
4
+ data.tar.gz: 6e81a701ffffd447d14ac523f07b05576e3cde27
5
5
  SHA512:
6
- metadata.gz: f4957a4bf34ab5202e6ac8a33d73c16d20bda210a02877f9949be32099b384e7ae2ecaf2cd1f718ed6cd46c279fea8b743ec37503ff5501c2d2083aab5a72520
7
- data.tar.gz: 357b11719ef66de7cfcb43cae76d7b84be858e58f81a2151f0ba21a92d73e819b79b143de0dc5f9b01bb79fab6b03ea0316fd94c278e8ada60dc98b1efbfa6ea
6
+ metadata.gz: 2cbd9e8c9a80f7d08fc1db1d811ef66df45f4a60574cf1a1345c71a7737b2f5563ac3257f93b29609480bf5fb56891d36100153cacd6d3cc937a83fbf954d4a6
7
+ data.tar.gz: a5281fbd56254307e169eca72dc7e2503c04b35ba652555b17b9d0563a307001d3d20b544704dfa4d0897da39be99575a3e19194fa992336c8173f5da9b9d391
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ 0.1.2
2
+
3
+ * Add locales.en.yml to I18n.load_path instead of loading it
4
+
1
5
  0.1.1
2
6
 
3
7
  * **Fix** localization loading
data/lib/rfc5646.rb CHANGED
@@ -3,6 +3,5 @@ module Rfc5646
3
3
  require 'rfc5646/locale'
4
4
  require 'i18n'
5
5
 
6
- locales = Pathname.new(__FILE__).dirname.join('data', 'locales', 'locales.en.yml').to_s
7
- I18n.backend.load_translations(locales)
6
+ I18n.load_path << File.expand_path('../data/locales/locales.en.yml', __FILE__)
8
7
  end
@@ -1,3 +1,3 @@
1
1
  module Rfc5646
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rfc5646
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom Bolshakov