translations_sync 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Changelog +3 -0
  2. data/Rakefile +1 -1
  3. data/lib/translations_sync.rb +1 -1
  4. metadata +4 -4
data/Changelog CHANGED
@@ -1,3 +1,6 @@
1
+ 2011-04-05 v.0.2.5
2
+ * Bug with filename parsing fixed
3
+
1
4
  2011-03-25 v.0.2.4
2
5
  * Action translatons:remove added
3
6
 
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rubygems/specification'
6
6
  require 'date'
7
7
 
8
8
  GEM = "translations_sync"
9
- GEM_VERSION = "0.2.4"
9
+ GEM_VERSION = "0.2.5"
10
10
  AUTHOR = "Dmitri Koulikoff"
11
11
  EMAIL = "koulikoff@gmail.com"
12
12
  HOMEPAGE = "http://github.com/dima4p/translations_sync/"
@@ -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 "#{Regexp.escape source}_[^.]+\\.(yml|rb)\\Z"
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: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
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-03-25 00:00:00 +03:00
18
+ date: 2011-04-05 00:00:00 +04:00
19
19
  default_executable: translations_sync
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency