rich_i18n 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG
CHANGED
data/README.textile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.2
|
@@ -16,6 +16,7 @@ module Rich
|
|
16
16
|
filename = "config/initializers/enrichments.rb"
|
17
17
|
line = "\nRich::I18n::Engine.enable_i18n_cms"
|
18
18
|
|
19
|
+
create_file filename unless File.exists?(filename)
|
19
20
|
return if File.open(filename).readlines.collect(&:strip).include? line.strip
|
20
21
|
|
21
22
|
File.open(filename, "a+") do |file|
|
@@ -14,9 +14,12 @@ class RichI18nTranslationGenerator < Rails::Generator::Base
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def after_generate
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
filename = destination_path("config/initializers/enrichments.rb")
|
18
|
+
line = "\nRich::I18n::Engine.enable_i18n_cms"
|
19
|
+
|
20
|
+
File.open(filename, "a+") do |file|
|
21
|
+
file << line
|
22
|
+
end unless File.open(filename).readlines.collect(&:strip).include? line.strip
|
20
23
|
|
21
24
|
system "rake db:migrate" if options[:migrate]
|
22
25
|
end
|
data/rich_i18n.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rich_i18n}
|
8
|
-
s.version = "1.3.
|
8
|
+
s.version = "1.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 = ["Paul Engel"]
|
12
|
-
s.date = %q{2010-11-
|
12
|
+
s.date = %q{2010-11-09}
|
13
13
|
s.description = %q{Rich-i18n is a module of E9s (http://github.com/archan937/e9s) which enriches I18n, Formtastic, the String and Symbol classes. This simplifies internationalization of your Rails application making a Rails developers life much easier.}
|
14
14
|
s.email = %q{paul.engel@holder.nl}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rich_i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 1.3.
|
9
|
+
- 2
|
10
|
+
version: 1.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Paul Engel
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-09 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|