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.
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-05-24 v.0.2.7
2
+ * Bug with filename prefix fixed
3
+
1
4
  2011-04-14 v.0.2.6
2
5
  * Fogotten debug output removed
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.6"
9
+ GEM_VERSION = "0.2.7"
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}_[a-z]{2}(-[A-Z]{2})?\\.(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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 6
10
- version: 0.2.6
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-04-14 00:00:00 +04:00
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