translations_sync 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +3 -0
- data/Rakefile +1 -1
- data/lib/translations_sync.rb +1 -1
- metadata +4 -4
data/Changelog
CHANGED
data/Rakefile
CHANGED
data/lib/translations_sync.rb
CHANGED
@@ -50,7 +50,7 @@ class TranslationsSync
|
|
50
50
|
I18n.backend.send(:init_translations) unless I18n.backend.initialized?
|
51
51
|
@translations = I18n.backend.send :translations
|
52
52
|
if source
|
53
|
-
re = Regexp.new "
|
53
|
+
re = Regexp.new "\\/#{Regexp.escape source}_[a-z]{2}(-[A-Z]{2})?\\.(yml|rb)\\Z"
|
54
54
|
I18n.load_path.reject! do |path|
|
55
55
|
path !~ re
|
56
56
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: translations_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dmitri Koulikoff
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-05-24 00:00:00 +04:00
|
19
19
|
default_executable: translations_sync
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|