translations_sync 0.4.12 → 0.4.13

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/translations_sync.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9bbb466d5bec48738d3f8978811adfc55382257b
4
- data.tar.gz: a0ec22498cc2b69d9e6d7023246576b2f986aeba
3
+ metadata.gz: 801a60a0da7235319e73255bacd40bde11cdd7b8
4
+ data.tar.gz: d9239d14432b943871cd245f4166f5f54b8d9a70
5
5
  SHA512:
6
- metadata.gz: 4e0e0fe429de9083f2123081c4ad1f66d0b93ac9351e897790350abb041f9ad67c47e5a03888ace3dca09a860b8996691c756439be7347b1c82cc44df718e5cf
7
- data.tar.gz: 4139b16d2849f70f77b861db31c8b23865d3ac74b4a40e49f46e94751c1cdb352edb4ef88ec1e4f8d39e1c6a07e7f2718451bf2f6b2e830b73bb85a0f226bc37
6
+ metadata.gz: 4de1ea944b4379456e6d6f0a7aa1f3f9ffd0852e583330e97ae136585c926634e3285f846b0c88d49b19f88c31a0a25a24742d420019d518f9a43bb05e5dc72d
7
+ data.tar.gz: e9a06445eb4d099bcef02e5321b840b01b483e30f2496bcd0da053fe334490278296813d0c6fe15cfc69cabae4843213df0c821531c275fce6ff1c10efb3d47a
@@ -89,8 +89,8 @@ class TranslationsSync
89
89
  acc
90
90
  end
91
91
 
92
- translations_path_re = Regexp.new "#{translations_dir}(\\/[a-z]{2}(?:-[A-Z]{2})?)?\\/[-_/0-9a-zA-Z]+(?:(_|\\.)[a-z]{2}(?:-[A-Z]{2})?)?\\.(?:yml|rb)\\Z"
93
- I18n.load_path.find do |path|
92
+ translations_path_re = Regexp.new "#{translations_dir}(\\/[a-z]{2}(?:-[A-Z]{2})?)?\\/[-_/0-9a-zA-Z]+?(?:(_|\\.)[a-z]{2}(?:-[A-Z]{2})?)?\\.(?:yml|rb)\\Z"
93
+ I18n.load_path.find do |path|
94
94
  path.match translations_path_re
95
95
  end
96
96
  @prefix = $1 or @separator = $2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translations_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.12
4
+ version: 0.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Koulikoff