pickle_i18n 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/pickle_i18n.rb +1 -1
- data/pickle_i18n.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
data/lib/pickle_i18n.rb
CHANGED
|
@@ -21,7 +21,7 @@ module PickleI18n
|
|
|
21
21
|
# モデルの日本語名についてもfactoryを設定します
|
|
22
22
|
# pickle_config.factories['商品'] = pickle_config.factories['product']
|
|
23
23
|
|
|
24
|
-
[:activemodel, :activerecord].each do |scope|
|
|
24
|
+
[:activemodel, :activerecord, :mongoid].each do |scope|
|
|
25
25
|
begin
|
|
26
26
|
models_hash = I18n.config.backend.translate(locale, :models, :scope => scope)
|
|
27
27
|
model_translations.update(models_hash.stringify_keys.invert)
|
data/pickle_i18n.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{pickle_i18n}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["akimatter"]
|
|
12
|
-
s.date = %q{2011-05-
|
|
12
|
+
s.date = %q{2011-05-25}
|
|
13
13
|
s.description = %q{pickle_i18n support pickle internationalization}
|
|
14
14
|
s.email = %q{akm2000@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: pickle_i18n
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.3
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- akimatter
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-05-
|
|
13
|
+
date: 2011-05-25 00:00:00 +09:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -106,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
106
106
|
requirements:
|
|
107
107
|
- - ">="
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
hash: -
|
|
109
|
+
hash: -2043215570868067191
|
|
110
110
|
segments:
|
|
111
111
|
- 0
|
|
112
112
|
version: "0"
|