middleman-fontcustom 0.1.0 → 0.1.1

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: 6b3ac39052b57ad1ddd2351429375de8b358d099
4
- data.tar.gz: b269fc145af167b598f38e3b26563e49d63765c8
3
+ metadata.gz: 5d8c5b45be514b3412800e662713aeeb32e46d10
4
+ data.tar.gz: 8f93eced829db73bb8e0cb68afc782a2e28fd7d9
5
5
  SHA512:
6
- metadata.gz: 4e7a0f8ea33f0675ec008f04ecb0585ba4202fe24cb21a7d3772ea5a3c335d505bdc15a7cdb5c75c545b1de3c0132e3effa99bee42cf839a998d839d78790e0e
7
- data.tar.gz: 93a9c4c9b8ada3ac03cc5d83639eb5e75406e08387a17efd49534d1c0e289016ccba285fb935c8b1cbeaf0d1148a3710da34286dfa52947d01fb5aa99c7ffdbe
6
+ metadata.gz: b7169876e748c0c2cf68931a26d6c7d4543d9500805182bfa8e031d84ab37ab50bb91aa4442aa1ba90d876fd00bb943a8f81cf3886da0b1bcb89d40107b4e333
7
+ data.tar.gz: 74f46a44d4718d6472127563e6a96d78e547115d85a1a0634537bf367a1cf198896a90e9d86021b3baed9bdbdb7cc8b359ddd44e4e79688674c85cce8a33772a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.1
2
+
3
+ - Change default icon folder
4
+
1
5
  # 0.1.0
2
6
 
3
7
  - First release
data/Gemfile CHANGED
@@ -1,10 +1,10 @@
1
- source "https://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
- git "git://github.com/middleman/middleman.git", :branch => "v3-stable" do
4
- gem "middleman-core"
3
+ git 'git://github.com/middleman/middleman.git', :branch => 'v3-stable' do
4
+ gem 'middleman-core'
5
5
  end
6
6
 
7
7
  # Specify your gem's dependencies in middleman-fontcustom.gemspec
8
8
  gemspec
9
9
 
10
- gem "rake", "~> 10.0.3"
10
+ gem 'rake', '~> 10.3.1'
data/README.md CHANGED
@@ -1 +1,38 @@
1
1
  # middleman-fontcustom
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/middleman-fontcustom.svg)](http://badge.fury.io/rb/middleman-fontcustom)
4
+ [![Dependency Status](https://gemnasium.com/oame/middleman-fontcustom.svg)](https://gemnasium.com/oame/middleman-fontcustom)
5
+
6
+ middleman-fontcustom is an extension that provides webfont generator for the Middleman.
7
+
8
+ ## Installation
9
+
10
+ Add `gem "middleman-fontcustom"` into your `Gemfile` and run `bundle install`
11
+
12
+ ## Configure
13
+
14
+ ```ruby
15
+ activate :fontcustom
16
+ ```
17
+
18
+ Following lines are default options of this extension.
19
+
20
+ ```ruby
21
+ activate :fontcustom do |fc|
22
+ fc.font_name = 'fontcustom'
23
+ fc.source_dir = 'assets/fontcustom'
24
+ fc.fonts_dir = 'source/fonts'
25
+ fc.css_dir = 'source/stylesheets'
26
+ fc.templates = 'scss'
27
+ # fc.templates = 'scss-rails scss css'
28
+ fc.no_hash = false
29
+ end
30
+ ```
31
+
32
+ Put your icon files(just like svg) into `source_dir`, then run `middleman server`.
33
+
34
+ If `source_dir` has been changed, webfont files and stylesheets will be generated automatically.
35
+
36
+ ## License
37
+
38
+ Copyright (C) 2014 Ryo Ameya. see LICENSE.md for further details.
@@ -3,7 +3,7 @@ require 'fontcustom'
3
3
  module Middleman
4
4
  class FontcustomExtension < Extension
5
5
  option :font_name, 'fontcustom', 'Output font name'
6
- option :source_dir, 'assets/icons', 'Folder contains icon files'
6
+ option :source_dir, 'assets/fontcustom', 'Folder contains icon files'
7
7
  option :fonts_dir, 'source/fonts', 'Folder to output fonts'
8
8
  option :css_dir, 'source/stylesheets', 'Folder to output css'
9
9
  option :templates, 'scss', 'Output templates'
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Fontcustom
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Ameya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-02 00:00:00.000000000 Z
11
+ date: 2014-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -81,3 +81,4 @@ signing_key:
81
81
  specification_version: 4
82
82
  summary: Generate web-fonts in your Middleman project
83
83
  test_files: []
84
+ has_rdoc: