sprockets 3.3.4 → 3.3.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sprockets might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/sprockets/loader.rb +4 -2
- data/lib/sprockets/version.rb +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1eb7b00b6eb2c15c47b0b6c9ea73725fbda349f1
|
4
|
+
data.tar.gz: 4edced705fc179d6a5b7384252b63aabab20fd43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a620ba885042649e32682ddb25b666c99e4c20527545e7d7a638346655fbad1ec2bbf85a3e5b1be5fce67a33dab70a5e02612001733574ee9d9c582daab9beae
|
7
|
+
data.tar.gz: 8435e876c86699d93e471eb7b64018a0cb49b5aff3717ad738a6f829be18f791cf0583675a34360a4309595f936069ea941a3e521f0c31db470c868c148af8b4
|
data/CHANGELOG.md
CHANGED
data/lib/sprockets/loader.rb
CHANGED
@@ -306,8 +306,10 @@ module Sprockets
|
|
306
306
|
|
307
307
|
history = cache.get(key) || []
|
308
308
|
history.each_with_index do |deps, index|
|
309
|
-
deps.map
|
310
|
-
|
309
|
+
expanded_deps = deps.map do |path|
|
310
|
+
path.start_with?("file-digest://") ? expand_from_root(path) : path
|
311
|
+
end
|
312
|
+
if asset = yield(expanded_deps)
|
311
313
|
cache.set(key, history.rotate!(index)) if index > 0
|
312
314
|
return asset
|
313
315
|
end
|
data/lib/sprockets/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Stephenson
|
@@ -9,22 +9,28 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-09-
|
12
|
+
date: 2015-09-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '1
|
20
|
+
version: '1'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '3'
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- - "
|
28
|
+
- - ">"
|
26
29
|
- !ruby/object:Gem::Version
|
27
|
-
version: '1
|
30
|
+
version: '1'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3'
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: closure-compiler
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|