e9s 2.1.3 → 2.1.4

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.
Files changed (6) hide show
  1. data/CHANGELOG +6 -0
  2. data/README.textile +9 -1
  3. data/Rakefile +3 -3
  4. data/VERSION +1 -1
  5. data/e9s.gemspec +11 -11
  6. metadata +13 -13
data/CHANGELOG CHANGED
@@ -1,5 +1,11 @@
1
1
  = E9s CHANGELOG
2
2
 
3
+ == Version 2.1.4 (October 20, 2010)
4
+
5
+ * Using Rich-CMS v2.0.7 and higher
6
+ * Using Rich-i18n v1.2.3 and higher
7
+ * Using Rich-pluralization v1.0.6 and higher
8
+
3
9
  == Version 2.1.3 (October 8, 2010)
4
10
 
5
11
  * Using Rich-CMS v2.0.6
@@ -239,7 +239,7 @@ You can combine translations by using passed string containing translation keys
239
239
 
240
240
  h3. Translation meta data with EnrichedString
241
241
 
242
- When translating text, you possibly want to know the @key@, the @value@, the @locale@ and the @derivative key@ (the argument passed for translation). Rich-i18n preserves just that in an @EnrichedString@ which is a subclass of @String@. Calling @.meta_data@ returns a hash with the meta data:
242
+ When translating text, you possibly want to know the @key@, the @value@, the @locale@ and the @derivative key@ (the argument passed for translation). Rich-i18n preserves just that in an @EnrichedString@ which is a wrapper containing meta data and the translation. Calling @.meta_data@ returns a hash with the meta data:
243
243
 
244
244
  <pre>
245
245
  >> "MORE".t.class
@@ -361,6 +361,14 @@ The E9s module Rich-i18n has its own conventions which are simpler. A few exampl
361
361
  ...
362
362
  </pre>
363
363
 
364
+ You can also render translations as HTML. When editing translations in Rich-CMS, you will be provided with a WYSIWYG editor. Simply specify @:as => :html@.
365
+
366
+ <pre>
367
+ ...
368
+ <%= "application.index.welcome_text".t :as => :html %>
369
+ ...
370
+ </pre>
371
+
364
372
  For further documentation, please check the "Rich-i18n README":http://github.com/archan937/rich_i18n file.
365
373
 
366
374
  h3. E9s in your browser
data/Rakefile CHANGED
@@ -12,9 +12,9 @@ begin
12
12
  gemspec.homepage = "http://codehero.es/rails_gems_plugins/e9s"
13
13
  gemspec.author = "Paul Engel"
14
14
 
15
- gemspec.add_dependency "rich_cms" , ">= 2.0.6"
16
- gemspec.add_dependency "rich_i18n" , ">= 1.2.1"
17
- gemspec.add_dependency "rich_pluralization", ">= 1.0.3"
15
+ gemspec.add_dependency "rich_cms" , ">= 2.0.7"
16
+ gemspec.add_dependency "rich_i18n" , ">= 1.2.3"
17
+ gemspec.add_dependency "rich_pluralization", ">= 1.0.6"
18
18
  end
19
19
  Jeweler::GemcutterTasks.new
20
20
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.3
1
+ 2.1.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{e9s}
8
- s.version = "2.1.3"
8
+ s.version = "2.1.4"
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-10-08}
12
+ s.date = %q{2010-10-20}
13
13
  s.description = %q{E9s was created due to the need of simply implementing I18n within a Rails application. This simplifies internationalization of your Rails application making a Rails developers life much easier. E9s is divided into modules (as gem and plugin): Rich-CMS (http://github.com/archan937/rich_cms) , Rich-i18n (http://github.com/archan937/rich_i18n) and Rich-pluralization (http://github.com/archan937/rich_pluralization).}
14
14
  s.email = %q{paul.engel@holder.nl}
15
15
  s.extra_rdoc_files = [
@@ -51,18 +51,18 @@ Gem::Specification.new do |s|
51
51
  s.specification_version = 3
52
52
 
53
53
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
- s.add_runtime_dependency(%q<rich_cms>, [">= 2.0.6"])
55
- s.add_runtime_dependency(%q<rich_i18n>, [">= 1.2.1"])
56
- s.add_runtime_dependency(%q<rich_pluralization>, [">= 1.0.3"])
54
+ s.add_runtime_dependency(%q<rich_cms>, [">= 2.0.7"])
55
+ s.add_runtime_dependency(%q<rich_i18n>, [">= 1.2.3"])
56
+ s.add_runtime_dependency(%q<rich_pluralization>, [">= 1.0.6"])
57
57
  else
58
- s.add_dependency(%q<rich_cms>, [">= 2.0.6"])
59
- s.add_dependency(%q<rich_i18n>, [">= 1.2.1"])
60
- s.add_dependency(%q<rich_pluralization>, [">= 1.0.3"])
58
+ s.add_dependency(%q<rich_cms>, [">= 2.0.7"])
59
+ s.add_dependency(%q<rich_i18n>, [">= 1.2.3"])
60
+ s.add_dependency(%q<rich_pluralization>, [">= 1.0.6"])
61
61
  end
62
62
  else
63
- s.add_dependency(%q<rich_cms>, [">= 2.0.6"])
64
- s.add_dependency(%q<rich_i18n>, [">= 1.2.1"])
65
- s.add_dependency(%q<rich_pluralization>, [">= 1.0.3"])
63
+ s.add_dependency(%q<rich_cms>, [">= 2.0.7"])
64
+ s.add_dependency(%q<rich_i18n>, [">= 1.2.3"])
65
+ s.add_dependency(%q<rich_pluralization>, [">= 1.0.6"])
66
66
  end
67
67
  end
68
68
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: e9s
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 3
10
- version: 2.1.3
9
+ - 4
10
+ version: 2.1.4
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-10-08 00:00:00 +02:00
18
+ date: 2010-10-20 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 3
29
+ hash: 1
30
30
  segments:
31
31
  - 2
32
32
  - 0
33
- - 6
34
- version: 2.0.6
33
+ - 7
34
+ version: 2.0.7
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
@@ -42,12 +42,12 @@ dependencies:
42
42
  requirements:
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- hash: 29
45
+ hash: 25
46
46
  segments:
47
47
  - 1
48
48
  - 2
49
- - 1
50
- version: 1.2.1
49
+ - 3
50
+ version: 1.2.3
51
51
  type: :runtime
52
52
  version_requirements: *id002
53
53
  - !ruby/object:Gem::Dependency
@@ -58,12 +58,12 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- hash: 17
61
+ hash: 27
62
62
  segments:
63
63
  - 1
64
64
  - 0
65
- - 3
66
- version: 1.0.3
65
+ - 6
66
+ version: 1.0.6
67
67
  type: :runtime
68
68
  version_requirements: *id003
69
69
  description: "E9s was created due to the need of simply implementing I18n within a Rails application. This simplifies internationalization of your Rails application making a Rails developers life much easier. E9s is divided into modules (as gem and plugin): Rich-CMS (http://github.com/archan937/rich_cms) , Rich-i18n (http://github.com/archan937/rich_i18n) and Rich-pluralization (http://github.com/archan937/rich_pluralization)."