middleman-fontcustom 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/middleman-fontcustom/extension.rb +3 -1
- data/lib/middleman-fontcustom/version.rb +1 -1
- data/middleman-fontcustom.gemspec +2 -2
- metadata +6 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06c06ab444e2c72f378d8ace194411773ebc1435
|
4
|
+
data.tar.gz: c20af1af6bba5e3f02967bc648194c8409700ef4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62644fe5a745188b52e56780caf5616ef5d5a8c1e3048e97ccf9855e75de72be057fa959cb39bbcae31a70ab9571f1ea738f376d33874fd54390338d104a6ff1
|
7
|
+
data.tar.gz: 639b8cc5a23192fc6a17bd6d8d6014c35bcd812a7477783d4efd7f7e0b20600ef3ad45dfe016bfad1e3e3050a916126017a188f65e86f3f69ecdb59f2d76246a
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,7 @@ module Middleman
|
|
9
9
|
option :templates, 'scss', 'Output templates'
|
10
10
|
option :no_hash, true, 'Create hash for no cache policy'
|
11
11
|
option :preprocessor_path, nil, 'Relative path from your compiled CSS to your output directory'
|
12
|
+
option :autowidth, false, 'Trims horizontal white space from each glyph.'
|
12
13
|
|
13
14
|
def initialize(app, options_hash={}, &block)
|
14
15
|
super
|
@@ -27,7 +28,8 @@ module Middleman
|
|
27
28
|
},
|
28
29
|
:templates => config[:templates].split(/\s/),
|
29
30
|
:no_hash => config[:no_hash],
|
30
|
-
:preprocessor_path => config[:preprocessor_path]
|
31
|
+
:preprocessor_path => config[:preprocessor_path],
|
32
|
+
:autowidth => config[:autowidth]
|
31
33
|
}).compile
|
32
34
|
}
|
33
35
|
|
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
|
|
19
19
|
|
20
20
|
s.required_ruby_version = ">= 1.9.3"
|
21
21
|
|
22
|
-
s.add_runtime_dependency "middleman-core", "
|
23
|
-
s.add_runtime_dependency "fontcustom", "~> 1.3
|
22
|
+
s.add_runtime_dependency "middleman-core", ">= 3.3"
|
23
|
+
s.add_runtime_dependency "fontcustom", "~> 1.3"
|
24
24
|
|
25
25
|
s.add_development_dependency "rake"
|
26
26
|
end
|
metadata
CHANGED
@@ -1,49 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-fontcustom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yasuaki Uechi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.3'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.3
|
19
|
+
version: '3.3'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3.3'
|
30
24
|
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.3
|
26
|
+
version: '3.3'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: fontcustom
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version: 1.3
|
33
|
+
version: '1.3'
|
40
34
|
type: :runtime
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
38
|
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.3
|
40
|
+
version: '1.3'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: rake
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|