middleman-sprockets 3.4.1 → 3.4.2

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
2
  SHA1:
3
- metadata.gz: 10c8f9ee3155e55fa3f141e5396cfac8ca05e3a5
4
- data.tar.gz: 7ef430536757c24bf59da6aeb2563725415e0db1
3
+ metadata.gz: e1697d1fc6a0d15e0a0972225640f0bde0c508ed
4
+ data.tar.gz: 8dbea3b68dd39c3bc585a6dc8ca5c83d45970a0b
5
5
  SHA512:
6
- metadata.gz: ed05bb9f91b5272b6540eccf96ee5722bb54e8b9972988db0e54f9d15bebaf827fc58b181760af011ff1c9a898f786294c328be949cb7e2b76869751073575d6
7
- data.tar.gz: 49d1cc180c9ca4127859bc9564749aaffa93c26e925bac02b7df58fe169ba3a54c0a07a823846304731be5db22c973cd2656f2bdcde3a5956c50466625e4520d
6
+ metadata.gz: bc617d09a4cb8807e82cb4bee1df19500cc46f2c9a49b6663dd93495cd6d7707d7368f0acadae0c6e274f211025e0703e3ff211266501c0b89fe8162719f33a6
7
+ data.tar.gz: 83c8ee6dce12439c9a6209c8bddfd3741b786b34665bfb8013ee8d70d87d57a63243d4e958a797fe2d6349ec19be4dab30978b6776caaeb7ef6806c6af3f955a
@@ -1,3 +1,8 @@
1
+ 3.4.2
2
+ ===
3
+
4
+ * Add Woff2 support.
5
+
1
6
  3.3.2
2
7
  ===
3
8
 
@@ -108,7 +108,7 @@ module Middleman
108
108
  alias_method :is_in_fonts_directory?, :is_font_by_path?
109
109
 
110
110
  def is_font_by_extension?
111
- has_extname?(*%w(.ttf .woff .eot .otf .svg .svgz))
111
+ has_extname?(*%w(.ttf .woff .woff2 .eot .otf .svg .svgz))
112
112
  end
113
113
 
114
114
  def font_paths
@@ -185,7 +185,9 @@ module Middleman
185
185
 
186
186
  def call(env)
187
187
  # Set the app current path based on the full URL so that helpers work
188
- request_path = URI.decode(File.join(env['SCRIPT_NAME'], env['PATH_INFO']))
188
+ script_name = env['SCRIPT_NAME'].dup
189
+ script_name.gsub!(/^#{@app.config[:http_prefix]}/i, '') if @app.config[:http_prefix]
190
+ request_path = URI.decode(File.join(script_name, env['PATH_INFO']))
189
191
  if request_path.respond_to? :force_encoding
190
192
  request_path.force_encoding('UTF-8')
191
193
  end
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Sprockets
3
- VERSION = "3.4.1"
3
+ VERSION = "3.4.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-sprockets
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.1
4
+ version: 3.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds
@@ -10,62 +10,62 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-12-23 00:00:00.000000000 Z
13
+ date: 2015-02-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: middleman-core
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
19
+ - - '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: '3.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ">="
26
+ - - '>='
27
27
  - !ruby/object:Gem::Version
28
28
  version: '3.3'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: sprockets
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - "~>"
33
+ - - ~>
34
34
  - !ruby/object:Gem::Version
35
35
  version: 2.12.1
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - "~>"
40
+ - - ~>
41
41
  - !ruby/object:Gem::Version
42
42
  version: 2.12.1
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: sprockets-sass
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
47
+ - - ~>
48
48
  - !ruby/object:Gem::Version
49
49
  version: 1.3.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - "~>"
54
+ - - ~>
55
55
  - !ruby/object:Gem::Version
56
56
  version: 1.3.0
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: sprockets-helpers
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - "~>"
61
+ - - ~>
62
62
  - !ruby/object:Gem::Version
63
63
  version: 1.1.0
64
64
  type: :runtime
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - "~>"
68
+ - - ~>
69
69
  - !ruby/object:Gem::Version
70
70
  version: 1.1.0
71
71
  description: Sprockets support for Middleman
@@ -77,10 +77,10 @@ executables: []
77
77
  extensions: []
78
78
  extra_rdoc_files: []
79
79
  files:
80
- - ".gitignore"
81
- - ".rspec"
82
- - ".simplecov"
83
- - ".travis.yml"
80
+ - .gitignore
81
+ - .rspec
82
+ - .simplecov
83
+ - .travis.yml
84
84
  - CHANGELOG.md
85
85
  - CONTRIBUTING.md
86
86
  - Gemfile
@@ -258,12 +258,12 @@ require_paths:
258
258
  - lib
259
259
  required_ruby_version: !ruby/object:Gem::Requirement
260
260
  requirements:
261
- - - ">="
261
+ - - '>='
262
262
  - !ruby/object:Gem::Version
263
263
  version: '0'
264
264
  required_rubygems_version: !ruby/object:Gem::Requirement
265
265
  requirements:
266
- - - ">="
266
+ - - '>='
267
267
  - !ruby/object:Gem::Version
268
268
  version: '0'
269
269
  requirements: []