sprockets 2.12.4 → 2.12.5

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
- SHA1:
3
- metadata.gz: aab0fa8d64dd9f600d048a514e4314c855391a8d
4
- data.tar.gz: 5315f5b7c72857a265745d6bdeb61b54613be859
2
+ SHA256:
3
+ metadata.gz: 80bdc30a8aea68bb04398d467eea5a5e4cfe9b7dcef6ee41e2902debcec63342
4
+ data.tar.gz: 55a0f0b58e3e55c08ccfb30476017b814894b7ec98cf3bd22eecbc8bdcbe5c39
5
5
  SHA512:
6
- metadata.gz: 43e45b508eeb02dae40f657b013adfa2769910e43ecf75d0ae3ccb0af09d7c25374880a78f9b98968b4bb2fedd5bbd56778b2e453ba1871a5ca4c15a89219fc6
7
- data.tar.gz: fc695c06af4bd3e0fe69a60a63fc3e406be48afa978fde708f2bd88a628a6e3a0a4f99cf72611b936e0b63d6d8456aa7cd2bee44b087a006288f45ee5d9fcb9a
6
+ metadata.gz: a3ee63f44b0391509f3e80b1c6b403abf52168a66910da726221b7b45c6c51187f86a7896df45e8b6c7bed68d5218ad7915fa79602e3cf7a23c32622d23ab8a5
7
+ data.tar.gz: da30a4f95ef0691cec504b73b1d832cec2577aa0b2905050e74ad9a89322c6568e3ec250a760ac3a6f2080f738e8ed1580e3ae7ff2a53e8623820d98fea00b2d
@@ -90,7 +90,7 @@ module Sprockets
90
90
  #
91
91
  # http://example.org/assets/../../../etc/passwd
92
92
  #
93
- path.include?("..") || Pathname.new(path).absolute?
93
+ path.include?("..") || Pathname.new(path).absolute? || path.include?("://")
94
94
  end
95
95
 
96
96
  # Returns a 403 Forbidden response tuple
@@ -1,3 +1,3 @@
1
1
  module Sprockets
2
- VERSION = "2.12.4"
2
+ VERSION = "2.12.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: 2.12.4
4
+ version: 2.12.5
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-06-26 00:00:00.000000000 Z
12
+ date: 2018-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hike
@@ -241,6 +241,20 @@ dependencies:
241
241
  - - ">="
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0'
244
+ - !ruby/object:Gem::Dependency
245
+ name: test-unit
246
+ requirement: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: '3.1'
251
+ type: :development
252
+ prerelease: false
253
+ version_requirements: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - "~>"
256
+ - !ruby/object:Gem::Version
257
+ version: '3.1'
244
258
  description: Sprockets is a Rack-based asset packaging system that concatenates and
245
259
  serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.
246
260
  email:
@@ -313,7 +327,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
313
327
  version: '0'
314
328
  requirements: []
315
329
  rubyforge_project: sprockets
316
- rubygems_version: 2.4.5
330
+ rubygems_version: 2.7.6
317
331
  signing_key:
318
332
  specification_version: 4
319
333
  summary: Rack-based asset packaging system