asset_pipeline_i18n 4.0.1.0 → 4.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +50 -46
- data/LICENSE +21 -0
- data/README.rdoc +10 -10
- data/asset_pipeline_i18n.gemspec +1 -1
- data/lib/asset_pipeline_i18n/version.rb +1 -1
- metadata +12 -11
- data/MIT-LICENSE +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 929c65abc4c62ada59ea640250a9c06055beaf3f
|
4
|
+
data.tar.gz: de457e5cfa66957bc8303f77f06cb93de5b775ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b3ec5923b1cf327bf857ff7855a32596a466c866a80285d87b406af6dc54e75e079682cfcd478d0021d0ad16cbc8ade982d5606e5bdde2669509157fb9afe27
|
7
|
+
data.tar.gz: fbf50412ba839227ae0fcde89eaae7daf20d69e52bdb9b90ca517b909002cd985c75e6d7ce6690e6ab89f60ee068610646c5dd31cc9b998a990ea90c0429e0f3
|
data/Gemfile.lock
CHANGED
@@ -2,82 +2,86 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
asset_pipeline_i18n (4.0.1.0)
|
5
|
-
rails (
|
5
|
+
rails (>= 4.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionmailer (4.
|
11
|
-
actionpack (= 4.
|
10
|
+
actionmailer (4.1.4)
|
11
|
+
actionpack (= 4.1.4)
|
12
|
+
actionview (= 4.1.4)
|
12
13
|
mail (~> 2.5.4)
|
13
|
-
actionpack (4.
|
14
|
-
|
15
|
-
|
16
|
-
erubis (~> 2.7.0)
|
14
|
+
actionpack (4.1.4)
|
15
|
+
actionview (= 4.1.4)
|
16
|
+
activesupport (= 4.1.4)
|
17
17
|
rack (~> 1.5.2)
|
18
18
|
rack-test (~> 0.6.2)
|
19
|
-
|
20
|
-
activesupport (= 4.
|
21
|
-
builder (~> 3.1
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
19
|
+
actionview (4.1.4)
|
20
|
+
activesupport (= 4.1.4)
|
21
|
+
builder (~> 3.1)
|
22
|
+
erubis (~> 2.7.0)
|
23
|
+
activemodel (4.1.4)
|
24
|
+
activesupport (= 4.1.4)
|
25
|
+
builder (~> 3.1)
|
26
|
+
activerecord (4.1.4)
|
27
|
+
activemodel (= 4.1.4)
|
28
|
+
activesupport (= 4.1.4)
|
29
|
+
arel (~> 5.0.0)
|
30
|
+
activesupport (4.1.4)
|
31
|
+
i18n (~> 0.6, >= 0.6.9)
|
32
|
+
json (~> 1.7, >= 1.7.7)
|
33
|
+
minitest (~> 5.1)
|
32
34
|
thread_safe (~> 0.1)
|
33
|
-
tzinfo (~>
|
34
|
-
arel (
|
35
|
-
|
36
|
-
builder (3.1.4)
|
35
|
+
tzinfo (~> 1.1)
|
36
|
+
arel (5.0.1.20140414130214)
|
37
|
+
builder (3.2.2)
|
37
38
|
erubis (2.7.0)
|
38
39
|
hike (1.2.3)
|
39
|
-
i18n (0.6.
|
40
|
+
i18n (0.6.11)
|
41
|
+
json (1.8.1)
|
40
42
|
mail (2.5.4)
|
41
43
|
mime-types (~> 1.16)
|
42
44
|
treetop (~> 1.4.8)
|
43
|
-
mime-types (1.25)
|
44
|
-
minitest (4.
|
45
|
-
multi_json (1.
|
46
|
-
polyglot (0.3.
|
45
|
+
mime-types (1.25.1)
|
46
|
+
minitest (5.4.0)
|
47
|
+
multi_json (1.10.1)
|
48
|
+
polyglot (0.3.5)
|
47
49
|
rack (1.5.2)
|
48
50
|
rack-test (0.6.2)
|
49
51
|
rack (>= 1.0)
|
50
|
-
rails (4.
|
51
|
-
actionmailer (= 4.
|
52
|
-
actionpack (= 4.
|
53
|
-
|
54
|
-
|
52
|
+
rails (4.1.4)
|
53
|
+
actionmailer (= 4.1.4)
|
54
|
+
actionpack (= 4.1.4)
|
55
|
+
actionview (= 4.1.4)
|
56
|
+
activemodel (= 4.1.4)
|
57
|
+
activerecord (= 4.1.4)
|
58
|
+
activesupport (= 4.1.4)
|
55
59
|
bundler (>= 1.3.0, < 2.0)
|
56
|
-
railties (= 4.
|
57
|
-
sprockets-rails (~> 2.0
|
58
|
-
railties (4.
|
59
|
-
actionpack (= 4.
|
60
|
-
activesupport (= 4.
|
60
|
+
railties (= 4.1.4)
|
61
|
+
sprockets-rails (~> 2.0)
|
62
|
+
railties (4.1.4)
|
63
|
+
actionpack (= 4.1.4)
|
64
|
+
activesupport (= 4.1.4)
|
61
65
|
rake (>= 0.8.7)
|
62
66
|
thor (>= 0.18.1, < 2.0)
|
63
|
-
rake (10.
|
64
|
-
sprockets (2.
|
67
|
+
rake (10.3.2)
|
68
|
+
sprockets (2.12.0)
|
65
69
|
hike (~> 1.2)
|
66
70
|
multi_json (~> 1.0)
|
67
71
|
rack (~> 1.0)
|
68
72
|
tilt (~> 1.1, != 1.3.0)
|
69
|
-
sprockets-rails (2.
|
73
|
+
sprockets-rails (2.1.3)
|
70
74
|
actionpack (>= 3.0)
|
71
75
|
activesupport (>= 3.0)
|
72
76
|
sprockets (~> 2.8)
|
73
|
-
thor (0.
|
74
|
-
thread_safe (0.
|
75
|
-
atomic
|
77
|
+
thor (0.19.1)
|
78
|
+
thread_safe (0.3.4)
|
76
79
|
tilt (1.4.1)
|
77
80
|
treetop (1.4.15)
|
78
81
|
polyglot
|
79
82
|
polyglot (>= 0.3.1)
|
80
|
-
tzinfo (
|
83
|
+
tzinfo (1.2.1)
|
84
|
+
thread_safe (~> 0.1)
|
81
85
|
|
82
86
|
PLATFORMS
|
83
87
|
ruby
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2013 Corin Langosch
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.rdoc
CHANGED
@@ -13,21 +13,23 @@ What you would need is a collection of language specific _application.js_ files,
|
|
13
13
|
|
14
14
|
== Usage
|
15
15
|
|
16
|
-
|
16
|
+
If not already done, define all locales your application uses in an initializer:
|
17
17
|
|
18
|
-
|
19
|
-
gem 'asset_pipeline_i18n'
|
20
|
-
end
|
18
|
+
I18n.available_locales = %w(de it en fr)
|
21
19
|
|
22
|
-
|
20
|
+
Add the gem to your Gemfile:
|
23
21
|
|
24
|
-
|
22
|
+
gem 'asset_pipeline_i18n'
|
25
23
|
|
26
|
-
|
24
|
+
In your application.rb add:
|
25
|
+
|
26
|
+
config.localized_assets = ["application-%{locale}.js"]
|
27
|
+
|
28
|
+
Now define all the application-xx.js files for every locale like that:
|
27
29
|
|
28
30
|
//= require application
|
29
31
|
|
30
|
-
|
32
|
+
And of course, in your layout, you also have to use something like:
|
31
33
|
|
32
34
|
javascript_include_tag "application-#{I18n.locale}"
|
33
35
|
|
@@ -35,8 +37,6 @@ Finally:
|
|
35
37
|
|
36
38
|
rake assets:precompile
|
37
39
|
|
38
|
-
Sample application: https://github.com/pic/rails_asset_pipeline_i18n (thanks to Morgan Hallgren)
|
39
|
-
|
40
40
|
== Known problems
|
41
41
|
|
42
42
|
=== Remove "require_tree ."
|
data/asset_pipeline_i18n.gemspec
CHANGED
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: 4.0.1.
|
4
|
+
version: 4.0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicola Piccinini
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-07-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 4.0.
|
20
|
+
version: 4.0.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 4.0.
|
27
|
+
version: 4.0.0
|
28
28
|
description: Localized precompiled assets for Rails
|
29
29
|
email:
|
30
30
|
- nicola.piccinini@simplificator.com
|
@@ -33,10 +33,10 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- .gitignore
|
36
|
+
- ".gitignore"
|
37
37
|
- Gemfile
|
38
38
|
- Gemfile.lock
|
39
|
-
-
|
39
|
+
- LICENSE
|
40
40
|
- README.rdoc
|
41
41
|
- Rakefile
|
42
42
|
- asset_pipeline_i18n.gemspec
|
@@ -53,18 +53,19 @@ require_paths:
|
|
53
53
|
- lib
|
54
54
|
required_ruby_version: !ruby/object:Gem::Requirement
|
55
55
|
requirements:
|
56
|
-
- -
|
56
|
+
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0'
|
64
64
|
requirements: []
|
65
65
|
rubyforge_project: asset_pipeline_i18n
|
66
|
-
rubygems_version: 2.
|
66
|
+
rubygems_version: 2.2.2
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
69
|
summary: Localized precompiled assets for Rails
|
70
70
|
test_files: []
|
71
|
+
has_rdoc:
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright 2012 YOURNAME
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|