asset_pipeline_i18n 3.2.6 → 3.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +9 -1
- metadata +6 -6
data/README.rdoc
CHANGED
@@ -9,7 +9,7 @@ Some additional words: you would like to internationalize your javascript/css fi
|
|
9
9
|
alert(<%= I18n.t('javascript.key.name') %>)
|
10
10
|
|
11
11
|
That works OK in development mode but with asset pipeline you have only one precompiled and (cached) *application.js* file translated with the default language.
|
12
|
-
What you would need is a collection of language specific _application.js_ files, like *application-en.js*, *application-it.js*, etc
|
12
|
+
What you would need is a collection of language specific _application.js_ files, like *application-en.js*, *application-it.js*, etc. This gem is exactly for that!
|
13
13
|
|
14
14
|
== Usage
|
15
15
|
|
@@ -30,5 +30,13 @@ then
|
|
30
30
|
Of course you also have to use something like:
|
31
31
|
javascript_include_tag "application-#{I18n.locale}"
|
32
32
|
|
33
|
+
== Versioning
|
34
|
+
|
35
|
+
The idea is to use the same version number of the Rails version the gem is compatible with. So asset_pipeline_i18n version 3.2.5 is for Rails 3.2.5 and so on.
|
36
|
+
If the gem is broken and we have to release a fix, then we will use a forth levelnumber, like 3.2.5.1
|
37
|
+
To keep things easy, the dependency of the gem if of the form ~> x.x.x, so we assume that it works also with new versions of Rails, until proved otherwise :)
|
38
|
+
|
39
|
+
== Contacts
|
40
|
+
|
33
41
|
Home page: https://github.com/simplificator/asset_pipeline_i18n
|
34
42
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asset_pipeline_i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-08-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.
|
21
|
+
version: 3.2.8
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.
|
29
|
+
version: 3.2.8
|
30
30
|
description: Provide some additional rake task to precompile assets for any available
|
31
31
|
locale
|
32
32
|
email: nicola.piccinini@simplificator.com
|