asset_pipeline_i18n 4.0.1.1 → 4.0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +34 -39
- data/lib/asset_pipeline_i18n/railtie.rb +4 -7
- data/lib/asset_pipeline_i18n/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29f652410db589cf985204c349358d7da2c0da35
|
4
|
+
data.tar.gz: ac2d22b6dce7e4b50fe95916afe976f281a9ee63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b0c726ef58ecfbc0d9617718f7471c97845efd0744863030dbb3a61c2b15bd71011565010b0643d023f13af4cca0e75d6864c140150595b41f240dabc2ef552
|
7
|
+
data.tar.gz: 8de11d35a457c4bc8b98af78e93139871839fe02e78caaedcb1b1c8996b980a668836dc2a2d925acdee440f78f8ddb7c0634501206077d40196cec233f8b120c
|
data/Gemfile.lock
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
asset_pipeline_i18n (4.0.1.
|
4
|
+
asset_pipeline_i18n (4.0.1.2)
|
5
5
|
rails (>= 4.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionmailer (4.1.
|
11
|
-
actionpack (= 4.1.
|
12
|
-
actionview (= 4.1.
|
13
|
-
mail (~> 2.5.4)
|
14
|
-
actionpack (4.1.
|
15
|
-
actionview (= 4.1.
|
16
|
-
activesupport (= 4.1.
|
10
|
+
actionmailer (4.1.6)
|
11
|
+
actionpack (= 4.1.6)
|
12
|
+
actionview (= 4.1.6)
|
13
|
+
mail (~> 2.5, >= 2.5.4)
|
14
|
+
actionpack (4.1.6)
|
15
|
+
actionview (= 4.1.6)
|
16
|
+
activesupport (= 4.1.6)
|
17
17
|
rack (~> 1.5.2)
|
18
18
|
rack-test (~> 0.6.2)
|
19
|
-
actionview (4.1.
|
20
|
-
activesupport (= 4.1.
|
19
|
+
actionview (4.1.6)
|
20
|
+
activesupport (= 4.1.6)
|
21
21
|
builder (~> 3.1)
|
22
22
|
erubis (~> 2.7.0)
|
23
|
-
activemodel (4.1.
|
24
|
-
activesupport (= 4.1.
|
23
|
+
activemodel (4.1.6)
|
24
|
+
activesupport (= 4.1.6)
|
25
25
|
builder (~> 3.1)
|
26
|
-
activerecord (4.1.
|
27
|
-
activemodel (= 4.1.
|
28
|
-
activesupport (= 4.1.
|
26
|
+
activerecord (4.1.6)
|
27
|
+
activemodel (= 4.1.6)
|
28
|
+
activesupport (= 4.1.6)
|
29
29
|
arel (~> 5.0.0)
|
30
|
-
activesupport (4.1.
|
30
|
+
activesupport (4.1.6)
|
31
31
|
i18n (~> 0.6, >= 0.6.9)
|
32
32
|
json (~> 1.7, >= 1.7.7)
|
33
33
|
minitest (~> 5.1)
|
@@ -39,48 +39,43 @@ GEM
|
|
39
39
|
hike (1.2.3)
|
40
40
|
i18n (0.6.11)
|
41
41
|
json (1.8.1)
|
42
|
-
mail (2.
|
43
|
-
mime-types (
|
44
|
-
|
45
|
-
|
46
|
-
minitest (5.4.0)
|
42
|
+
mail (2.6.1)
|
43
|
+
mime-types (>= 1.16, < 3)
|
44
|
+
mime-types (2.3)
|
45
|
+
minitest (5.4.2)
|
47
46
|
multi_json (1.10.1)
|
48
|
-
polyglot (0.3.5)
|
49
47
|
rack (1.5.2)
|
50
48
|
rack-test (0.6.2)
|
51
49
|
rack (>= 1.0)
|
52
|
-
rails (4.1.
|
53
|
-
actionmailer (= 4.1.
|
54
|
-
actionpack (= 4.1.
|
55
|
-
actionview (= 4.1.
|
56
|
-
activemodel (= 4.1.
|
57
|
-
activerecord (= 4.1.
|
58
|
-
activesupport (= 4.1.
|
50
|
+
rails (4.1.6)
|
51
|
+
actionmailer (= 4.1.6)
|
52
|
+
actionpack (= 4.1.6)
|
53
|
+
actionview (= 4.1.6)
|
54
|
+
activemodel (= 4.1.6)
|
55
|
+
activerecord (= 4.1.6)
|
56
|
+
activesupport (= 4.1.6)
|
59
57
|
bundler (>= 1.3.0, < 2.0)
|
60
|
-
railties (= 4.1.
|
58
|
+
railties (= 4.1.6)
|
61
59
|
sprockets-rails (~> 2.0)
|
62
|
-
railties (4.1.
|
63
|
-
actionpack (= 4.1.
|
64
|
-
activesupport (= 4.1.
|
60
|
+
railties (4.1.6)
|
61
|
+
actionpack (= 4.1.6)
|
62
|
+
activesupport (= 4.1.6)
|
65
63
|
rake (>= 0.8.7)
|
66
64
|
thor (>= 0.18.1, < 2.0)
|
67
65
|
rake (10.3.2)
|
68
|
-
sprockets (2.12.
|
66
|
+
sprockets (2.12.2)
|
69
67
|
hike (~> 1.2)
|
70
68
|
multi_json (~> 1.0)
|
71
69
|
rack (~> 1.0)
|
72
70
|
tilt (~> 1.1, != 1.3.0)
|
73
|
-
sprockets-rails (2.1.
|
71
|
+
sprockets-rails (2.1.4)
|
74
72
|
actionpack (>= 3.0)
|
75
73
|
activesupport (>= 3.0)
|
76
74
|
sprockets (~> 2.8)
|
77
75
|
thor (0.19.1)
|
78
76
|
thread_safe (0.3.4)
|
79
77
|
tilt (1.4.1)
|
80
|
-
|
81
|
-
polyglot
|
82
|
-
polyglot (>= 0.3.1)
|
83
|
-
tzinfo (1.2.1)
|
78
|
+
tzinfo (1.2.2)
|
84
79
|
thread_safe (~> 0.1)
|
85
80
|
|
86
81
|
PLATFORMS
|
@@ -23,7 +23,7 @@ module AssetPipelineI18n
|
|
23
23
|
Rails.logger.info "Compiling assets for locale #{locale}..."
|
24
24
|
I18n.locale = locale
|
25
25
|
with_logger do
|
26
|
-
|
26
|
+
fixup_cache
|
27
27
|
manifest.compile(assets)
|
28
28
|
end
|
29
29
|
end
|
@@ -38,13 +38,10 @@ module AssetPipelineI18n
|
|
38
38
|
# new methods for better code structure on our side
|
39
39
|
#
|
40
40
|
|
41
|
-
def t.
|
41
|
+
def t.fixup_cache
|
42
42
|
env = manifest.environment
|
43
|
-
|
44
|
-
|
45
|
-
end
|
46
|
-
manifest.environment.send(:expire_index!)
|
47
|
-
rm_rf(cache_path)
|
43
|
+
env.cache.instance_variable_set("@root", Rails.root.join("tmp", "cache", "assets", "#{Rails.env}-#{I18n.locale}"))
|
44
|
+
manifest.environment.instance_variable_get("@assets").clear
|
48
45
|
end
|
49
46
|
end
|
50
47
|
end
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicola Piccinini
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -68,4 +68,3 @@ signing_key:
|
|
68
68
|
specification_version: 4
|
69
69
|
summary: Localized precompiled assets for Rails
|
70
70
|
test_files: []
|
71
|
-
has_rdoc:
|