middleman-fontcustom 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile +0 -6
- data/LICENSE.md +1 -1
- data/README.md +2 -1
- data/lib/middleman-fontcustom/extension.rb +3 -1
- data/lib/middleman-fontcustom/version.rb +1 -1
- data/middleman-fontcustom.gemspec +8 -6
- metadata +24 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee86884d5cc6f0350f716a5a0132924bce766949
|
4
|
+
data.tar.gz: 64cdc76276958f60d875375497a55874d70b62bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adeb9ec7a4b27bc9629e40be1b64e6194c894684c79a30055f17d4e70edfc77d0945cb97c31d0127fd488331ba6f3911f4b7590d317dd8ebc83452732c6afc06
|
7
|
+
data.tar.gz: 85cd063dd70645456bf350d1c71d5b409610c31035e1db852d9d233ce1ab36533fe9c289961732d2c5556de788a6713eaa9f44e92ad9b858514b26aeec0909f8
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/LICENSE.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2014
|
1
|
+
Copyright (c) 2014 Yasuaki Uechi http://randompaper.co
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
4
|
|
data/README.md
CHANGED
@@ -26,6 +26,7 @@ activate :fontcustom do |fc|
|
|
26
26
|
fc.templates = 'scss'
|
27
27
|
# fc.templates = 'scss-rails scss css'
|
28
28
|
fc.no_hash = false
|
29
|
+
fc.preprocessor_path = nil
|
29
30
|
end
|
30
31
|
```
|
31
32
|
|
@@ -35,4 +36,4 @@ If `source_dir` has been changed, webfont files and stylesheets will be generate
|
|
35
36
|
|
36
37
|
## License
|
37
38
|
|
38
|
-
Copyright (C) 2014
|
39
|
+
Copyright (C) 2014 Yasuaki Uechi. see LICENSE.md for further details.
|
@@ -8,6 +8,7 @@ module Middleman
|
|
8
8
|
option :css_dir, 'source/stylesheets', 'Folder to output css'
|
9
9
|
option :templates, 'scss', 'Output templates'
|
10
10
|
option :no_hash, true, 'Create hash for no cache policy'
|
11
|
+
option :preprocessor_path, nil, 'Relative path from your compiled CSS to your output directory'
|
11
12
|
|
12
13
|
def initialize(app, options_hash={}, &block)
|
13
14
|
super
|
@@ -25,7 +26,8 @@ module Middleman
|
|
25
26
|
:css => config[:css_dir]
|
26
27
|
},
|
27
28
|
:templates => config[:templates].split(/\s/),
|
28
|
-
:no_hash => config[:no_hash]
|
29
|
+
:no_hash => config[:no_hash],
|
30
|
+
:preprocessor_path => config[:preprocessor_path]
|
29
31
|
}).compile
|
30
32
|
}
|
31
33
|
|
@@ -6,9 +6,9 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = "middleman-fontcustom"
|
7
7
|
s.version = Middleman::Fontcustom::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["
|
10
|
-
s.email = ["
|
11
|
-
s.homepage = "https://github.com/
|
9
|
+
s.authors = ["Yasuaki Uechi"]
|
10
|
+
s.email = ["uetchy@randompaper.co"]
|
11
|
+
s.homepage = "https://github.com/uetchy/middleman-fontcustom"
|
12
12
|
s.summary = %q{Generate web-fonts in your Middleman project}
|
13
13
|
s.description = %q{Generate web-fonts in your Middleman project}
|
14
14
|
s.license = "MIT"
|
@@ -17,8 +17,10 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
|
-
s.required_ruby_version =
|
20
|
+
s.required_ruby_version = ">= 1.9.3"
|
21
21
|
|
22
|
-
s.add_runtime_dependency
|
23
|
-
s.add_runtime_dependency
|
22
|
+
s.add_runtime_dependency "middleman-core", "~> 3.3.7"
|
23
|
+
s.add_runtime_dependency "fontcustom", "~> 1.3.7"
|
24
|
+
|
25
|
+
s.add_development_dependency "rake"
|
24
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-fontcustom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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: 2014-
|
11
|
+
date: 2014-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman-core
|
@@ -16,31 +16,45 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.3.7
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.3.7
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: fontcustom
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.3.
|
33
|
+
version: 1.3.7
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.3.
|
40
|
+
version: 1.3.7
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description: Generate web-fonts in your Middleman project
|
42
56
|
email:
|
43
|
-
-
|
57
|
+
- uetchy@randompaper.co
|
44
58
|
executables: []
|
45
59
|
extensions: []
|
46
60
|
extra_rdoc_files: []
|
@@ -56,7 +70,7 @@ files:
|
|
56
70
|
- lib/middleman-fontcustom/version.rb
|
57
71
|
- lib/middleman_extension.rb
|
58
72
|
- middleman-fontcustom.gemspec
|
59
|
-
homepage: https://github.com/
|
73
|
+
homepage: https://github.com/uetchy/middleman-fontcustom
|
60
74
|
licenses:
|
61
75
|
- MIT
|
62
76
|
metadata: {}
|
@@ -76,9 +90,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
90
|
version: '0'
|
77
91
|
requirements: []
|
78
92
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.
|
93
|
+
rubygems_version: 2.4.2
|
80
94
|
signing_key:
|
81
95
|
specification_version: 4
|
82
96
|
summary: Generate web-fonts in your Middleman project
|
83
97
|
test_files: []
|
84
|
-
has_rdoc:
|