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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 929c65abc4c62ada59ea640250a9c06055beaf3f
4
- data.tar.gz: de457e5cfa66957bc8303f77f06cb93de5b775ac
3
+ metadata.gz: 29f652410db589cf985204c349358d7da2c0da35
4
+ data.tar.gz: ac2d22b6dce7e4b50fe95916afe976f281a9ee63
5
5
  SHA512:
6
- metadata.gz: 1b3ec5923b1cf327bf857ff7855a32596a466c866a80285d87b406af6dc54e75e079682cfcd478d0021d0ad16cbc8ade982d5606e5bdde2669509157fb9afe27
7
- data.tar.gz: fbf50412ba839227ae0fcde89eaae7daf20d69e52bdb9b90ca517b909002cd985c75e6d7ce6690e6ab89f60ee068610646c5dd31cc9b998a990ea90c0429e0f3
6
+ metadata.gz: 9b0c726ef58ecfbc0d9617718f7471c97845efd0744863030dbb3a61c2b15bd71011565010b0643d023f13af4cca0e75d6864c140150595b41f240dabc2ef552
7
+ data.tar.gz: 8de11d35a457c4bc8b98af78e93139871839fe02e78caaedcb1b1c8996b980a668836dc2a2d925acdee440f78f8ddb7c0634501206077d40196cec233f8b120c
@@ -1,33 +1,33 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- asset_pipeline_i18n (4.0.1.0)
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.4)
11
- actionpack (= 4.1.4)
12
- actionview (= 4.1.4)
13
- mail (~> 2.5.4)
14
- actionpack (4.1.4)
15
- actionview (= 4.1.4)
16
- activesupport (= 4.1.4)
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.4)
20
- activesupport (= 4.1.4)
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.4)
24
- activesupport (= 4.1.4)
23
+ activemodel (4.1.6)
24
+ activesupport (= 4.1.6)
25
25
  builder (~> 3.1)
26
- activerecord (4.1.4)
27
- activemodel (= 4.1.4)
28
- activesupport (= 4.1.4)
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.4)
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.5.4)
43
- mime-types (~> 1.16)
44
- treetop (~> 1.4.8)
45
- mime-types (1.25.1)
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.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)
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.4)
58
+ railties (= 4.1.6)
61
59
  sprockets-rails (~> 2.0)
62
- railties (4.1.4)
63
- actionpack (= 4.1.4)
64
- activesupport (= 4.1.4)
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.0)
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.3)
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
- treetop (1.4.15)
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
- clean_cache
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.clean_cache
41
+ def t.fixup_cache
42
42
  env = manifest.environment
43
- def env.expire_index!
44
- @assets.clear
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
@@ -1,3 +1,3 @@
1
1
  module AssetPipelineI18n
2
- VERSION = "4.0.1.1"
2
+ VERSION = "4.0.1.2"
3
3
  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.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-07-16 00:00:00.000000000 Z
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: