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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d8c5b45be514b3412800e662713aeeb32e46d10
4
- data.tar.gz: 8f93eced829db73bb8e0cb68afc782a2e28fd7d9
3
+ metadata.gz: ee86884d5cc6f0350f716a5a0132924bce766949
4
+ data.tar.gz: 64cdc76276958f60d875375497a55874d70b62bb
5
5
  SHA512:
6
- metadata.gz: b7169876e748c0c2cf68931a26d6c7d4543d9500805182bfa8e031d84ab37ab50bb91aa4442aa1ba90d876fd00bb943a8f81cf3886da0b1bcb89d40107b4e333
7
- data.tar.gz: 74f46a44d4718d6472127563e6a96d78e547115d85a1a0634537bf367a1cf198896a90e9d86021b3baed9bdbdb7cc8b359ddd44e4e79688674c85cce8a33772a
6
+ metadata.gz: adeb9ec7a4b27bc9629e40be1b64e6194c894684c79a30055f17d4e70edfc77d0945cb97c31d0127fd488331ba6f3911f4b7590d317dd8ebc83452732c6afc06
7
+ data.tar.gz: 85cd063dd70645456bf350d1c71d5b409610c31035e1db852d9d233ce1ab36533fe9c289961732d2c5556de788a6713eaa9f44e92ad9b858514b26aeec0909f8
data/.gitignore CHANGED
@@ -3,7 +3,7 @@
3
3
  /vendor/bundle
4
4
  Gemfile.lock
5
5
  pkg/*
6
+
7
+ # OS Specific
6
8
  Thumbs.db
7
9
  .DS_Store
8
- .rbenv-version
9
- .ruby-version
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.2.0
2
+
3
+ - add "preprocessor_path" option for fontcustom by @dleavitt
4
+
1
5
  # 0.1.1
2
6
 
3
7
  - Change default icon folder
data/Gemfile CHANGED
@@ -1,10 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- git 'git://github.com/middleman/middleman.git', :branch => 'v3-stable' do
4
- gem 'middleman-core'
5
- end
6
-
7
3
  # Specify your gem's dependencies in middleman-fontcustom.gemspec
8
4
  gemspec
9
-
10
- gem 'rake', '~> 10.3.1'
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Ryo Ameya http://randompaper.co
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 Ryo Ameya. see LICENSE.md for further details.
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
 
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Fontcustom
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -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 = ["Ryo Ameya"]
10
- s.email = ["oame@oameya.com"]
11
- s.homepage = "https://github.com/oame/middleman-fontcustom"
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 = '>= 1.9.3'
20
+ s.required_ruby_version = ">= 1.9.3"
21
21
 
22
- s.add_runtime_dependency("middleman-core", ["~> 3.2"])
23
- s.add_runtime_dependency("fontcustom", ["~> 1.3.3"])
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.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
- - Ryo Ameya
7
+ - Yasuaki Uechi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-05 00:00:00.000000000 Z
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: '3.2'
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: '3.2'
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.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.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
- - oame@oameya.com
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/oame/middleman-fontcustom
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.2.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: