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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 868a8e68a48bc62811df5a4ab64435cda6212082
4
- data.tar.gz: 539c10477811018ad2b8d0f0c8fa9d59191790ce
3
+ metadata.gz: 1eb7b00b6eb2c15c47b0b6c9ea73725fbda349f1
4
+ data.tar.gz: 4edced705fc179d6a5b7384252b63aabab20fd43
5
5
  SHA512:
6
- metadata.gz: 68ffe6c3fb1a5e6d78d44ddcf5450eb075dc7934e84635d73c7878494b958e2939f055686b7976d43448dda199410e0aa7813e341600a8490eaff9e8bd210996
7
- data.tar.gz: 46d1701fce3b87c73e45deb3977385cdb3b73031ff245d5b57132910246b291ee937372a6dde87fc779eb27bffa6ad7dbea42d67fe823e085e4acc6261bcab06
6
+ metadata.gz: a620ba885042649e32682ddb25b666c99e4c20527545e7d7a638346655fbad1ec2bbf85a3e5b1be5fce67a33dab70a5e02612001733574ee9d9c582daab9beae
7
+ data.tar.gz: 8435e876c86699d93e471eb7b64018a0cb49b5aff3717ad738a6f829be18f791cf0583675a34360a4309595f936069ea941a3e521f0c31db470c868c148af8b4
@@ -1,3 +1,7 @@
1
+ **3.3.5** (September 25, 2015)
2
+
3
+ * Fix bug related to absolute path being reintroduced into history cache #141.
4
+
1
5
  **3.3.4** (September 1, 2015)
2
6
 
3
7
  * Relative cache contents now work with windows.
@@ -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! { |path| path.start_with?("file-digest://") ? expand_from_root(path) : path }
310
- if asset = yield(deps)
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
@@ -1,3 +1,3 @@
1
1
  module Sprockets
2
- VERSION = "3.3.4"
2
+ VERSION = "3.3.5"
3
3
  end
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
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-01 00:00:00.000000000 Z
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.0'
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.0'
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