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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 196e262a4bc69c0989859f510f703ccf2b2c16ca
4
- data.tar.gz: 8c511861fd25f35955e3f4c748bf97a1ef49dc6b
3
+ metadata.gz: 1bd725a04a1285df9ad884d11fa77a3f2e00857b
4
+ data.tar.gz: b2d4ca0a8689c24ba57a971147aeadccbcbfd9ce
5
5
  SHA512:
6
- metadata.gz: 78fed6b263b253262e03d814f7b1989da90e4c840a7be325a6bae7ff40d58dbc807ae9469f95400ef8fbf33f1ade9746757344a42da29c48dc0a228567337d71
7
- data.tar.gz: 1798e1b5216d9c9ed70056b0a828f3ac7a119e0dd2773a590a80dec4b209f93c12eedc7ee7e49b00381df16d91891fc124ca7d0aa59253e9602dc34a398d79ed
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.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.
@@ -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
- if environment.absolute_path?(path) && environment.directory?(path)
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)
@@ -1,3 +1,3 @@
1
1
  module Sprockets
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
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.0.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 00:00:00.000000000 Z
12
+ date: 2015-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack