sprockets 3.0.0 → 3.0.1
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/README.md +5 -1
- data/lib/sprockets/context.rb +3 -1
- data/lib/sprockets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bd725a04a1285df9ad884d11fa77a3f2e00857b
|
4
|
+
data.tar.gz: b2d4ca0a8689c24ba57a971147aeadccbcbfd9ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb7d070feb9768f6b08fd19a9231ac16eda299732fdc60555eff057956009c11b87dd327761e5f9a010f1157dbcf74ce008dcda406fdebc839f9050300d230df
|
7
|
+
data.tar.gz: 40360fc4bedbc30323ea5a02ddf3013af39bc1e6ae7723c0ad7b1c889c98236be061c14207c3d645eeae9e9d3aedbbdadbcddac56abc1d61fa11ce53d09f9dc4
|
data/README.md
CHANGED
@@ -449,7 +449,11 @@ submit a pull request.
|
|
449
449
|
|
450
450
|
### Version History
|
451
451
|
|
452
|
-
**3.0.
|
452
|
+
**3.0.1** (April 14, 2015)
|
453
|
+
|
454
|
+
* Fixed `Context#depend_on` with paths outside the load path
|
455
|
+
|
456
|
+
**3.0.0** (April 12, 2015)
|
453
457
|
|
454
458
|
* New processor API. Tilt interface is deprecated.
|
455
459
|
* Improved file store caching backend.
|
data/lib/sprockets/context.rb
CHANGED
@@ -108,7 +108,9 @@ module Sprockets
|
|
108
108
|
# the dependency file with invalidate the cache of the
|
109
109
|
# source file.
|
110
110
|
def depend_on(path)
|
111
|
-
|
111
|
+
path = path.to_s if path.is_a?(Pathname)
|
112
|
+
|
113
|
+
if environment.absolute_path?(path) && environment.stat(path)
|
112
114
|
@dependencies << environment.build_file_digest_uri(path)
|
113
115
|
else
|
114
116
|
resolve(path, compat: false)
|
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.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Stephenson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|