lolita-i18n 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/lolita-i18n.rb +2 -3
  3. data/lolita-i18n.gemspec +1 -1
  4. metadata +20 -20
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
data/lib/lolita-i18n.rb CHANGED
@@ -52,9 +52,8 @@ module Lolita
52
52
  end
53
53
 
54
54
  def load_translations
55
- if !self.yaml_backend.send(:translations) || self.yaml_backend.send(:translations).empty?
56
- self.yaml_backend.load_translations
57
- end
55
+ # don't cache
56
+ self.yaml_backend.load_translations
58
57
  end
59
58
 
60
59
  def initialize_chain
data/lolita-i18n.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "lolita-i18n"
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["ITHouse (Latvia)", "Arturs Meisters", "Gatis Tomsons"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolita-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2012-02-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: lolita
18
- requirement: &73099830 !ruby/object:Gem::Requirement
18
+ requirement: &83808380 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 3.2.0.rc.6
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *73099830
26
+ version_requirements: *83808380
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: hiredis
29
- requirement: &73099120 !ruby/object:Gem::Requirement
29
+ requirement: &83807280 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ~>
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 0.3.1
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *73099120
37
+ version_requirements: *83807280
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: redis
40
- requirement: &73098170 !ruby/object:Gem::Requirement
40
+ requirement: &83806730 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ~>
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 2.2.2
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *73098170
48
+ version_requirements: *83806730
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: yajl-ruby
51
- requirement: &73113540 !ruby/object:Gem::Requirement
51
+ requirement: &83805310 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ~>
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 1.0.0
57
57
  type: :runtime
58
58
  prerelease: false
59
- version_requirements: *73113540
59
+ version_requirements: *83805310
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: easy_translate
62
- requirement: &73110350 !ruby/object:Gem::Requirement
62
+ requirement: &83820270 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ~>
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: 0.2.1
68
68
  type: :runtime
69
69
  prerelease: false
70
- version_requirements: *73110350
70
+ version_requirements: *83820270
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: shoulda
73
- requirement: &73122860 !ruby/object:Gem::Requirement
73
+ requirement: &83816870 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: '0'
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *73122860
81
+ version_requirements: *83816870
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: bundler
84
- requirement: &73118280 !ruby/object:Gem::Requirement
84
+ requirement: &83828530 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ~>
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: 1.0.0
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *73118280
92
+ version_requirements: *83828530
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: jeweler
95
- requirement: &73133740 !ruby/object:Gem::Requirement
95
+ requirement: &83824730 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ~>
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: 1.5.2
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *73133740
103
+ version_requirements: *83824730
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rcov
106
- requirement: &73142040 !ruby/object:Gem::Requirement
106
+ requirement: &83840380 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
@@ -111,7 +111,7 @@ dependencies:
111
111
  version: '0'
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *73142040
114
+ version_requirements: *83840380
115
115
  description: Lolita plugin, that enables .yml files management from administrative
116
116
  interface. Also faster access to translations, that DB store
117
117
  email: support@ithouse.lv
@@ -171,7 +171,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  segments:
173
173
  - 0
174
- hash: 560858397
174
+ hash: 763032781
175
175
  required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  none: false
177
177
  requirements: