fontcustom 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,10 @@
1
+ ## 0.1.4 (2/19/2013)
2
+
3
+ * Instructions for stopping watcher ([#46](https://github.com/FontCustom/fontcustom/issues/46))
4
+ * Dev/contribution instructions ([#45](https://github.com/FontCustom/fontcustom/issues/45))
5
+
1
6
  ## 0.1.3 (2/2/2013)
7
+
2
8
  * Add --debug CLI option, which shows fontforge output ([#37](https://github.com/FontCustom/fontcustom/issues/37))
3
9
  * Patch for Illustrator CS6 SVG output ([#42](https://github.com/FontCustom/fontcustom/pull/42))
4
10
  * Generate IE7 stylesheet ([#43](https://github.com/FontCustom/fontcustom/pull/43))
@@ -0,0 +1,11 @@
1
+ # FontCustom Contributing Checklist
2
+
3
+ First, thanks for your interest in making FontCustom better! This project was born out of an over-heard conversation between two devs in a coffee shop — it's come a long ways thanks to the support of kind folks like you.
4
+
5
+ ## A short list to help you get started:
6
+
7
+ * Check out [issues]() for ideas. Is someone else working on something similar?
8
+ * Fork the repo and work out of a named topic branch, a la `git checkout -b my_sweet_contribution`. Please don't work directly off `master`.
9
+ * Run tests with `guard`.
10
+ * Add/improve tests for your contributions.
11
+ * Submit a pull request!
@@ -6,9 +6,9 @@ module Fontcustom
6
6
  # duplicated from Fontcustom::Generator so as to also appear under `fontcustom help` command
7
7
  class_option :output, :aliases => '-o', :desc => 'Specify an output directory. Default: $DIR/fontcustom'
8
8
  class_option :name, :aliases => '-n', :desc => 'Specify a font name. This will be used in the generated fonts and CSS. Default: fontcustom'
9
+ class_option :font_path, :aliases => '-f', :desc => 'Specify a path for fonts in css @font-face declaration. Default: none'
9
10
  class_option :nohash, :type => :boolean, :default => false, :desc => 'Disable filename hashes. Default: false'
10
11
  class_option :debug, :type => :boolean, :default => false, :desc => 'Display debug messages. Default: false'
11
- class_option :font_path, :aliases => '-f', :desc => 'Specify a path for fonts in css @font-face declaration. Default: none'
12
12
  class_option :html, :type => :boolean, :default => false, :desc => 'Generate html page with icons'
13
13
 
14
14
  desc 'compile DIR [options]', 'Generates webfonts and CSS from *.svg and *.eps files in DIR.'
@@ -18,7 +18,7 @@ module Fontcustom
18
18
  Fontcustom.compile(*ARGV)
19
19
  end
20
20
 
21
- desc 'watch DIR [options]', 'Watches DIR for changes and regenerates webfonts and CSS automatically.'
21
+ desc 'watch DIR [options]', 'Watches DIR for changes and regenerates webfonts and CSS automatically. Ctrl + C to stop.'
22
22
  def watch(*args)
23
23
  ARGV.shift
24
24
  Fontcustom.watch(*ARGV)
@@ -10,9 +10,9 @@ module Fontcustom
10
10
  argument :input, :type => :string
11
11
  class_option :output, :aliases => '-o'
12
12
  class_option :name, :aliases => '-n'
13
+ class_option :font_path, :aliases => '-f'
13
14
  class_option :nohash, :type => :boolean, :default => false
14
15
  class_option :debug, :type => :boolean, :default => false
15
- class_option :font_path, :aliases => '-f'
16
16
  class_option :html, :type => :boolean, :default => false
17
17
 
18
18
  def self.source_root
@@ -1,3 +1,3 @@
1
1
  module Fontcustom
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -16,11 +16,12 @@ module Fontcustom
16
16
  @listener = Listen.to(dir).filter(/\.(eps|svg)$/).change(&callback)
17
17
 
18
18
  begin
19
- puts "Fontcustom is watching your icons at " + dir
19
+ puts 'Fontcustom is watching your icons at ' + dir
20
+ puts 'Press Ctrl + C to stop.'
20
21
  Fontcustom.compile(*args)
21
22
  @listener.start()
22
23
 
23
- # Catches Cmd/Ctrl + C
24
+ # Catches Ctrl + C
24
25
  # Does listen gem have a better way of handling this?
25
26
  rescue SignalException
26
27
  stop
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fontcustom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-02 00:00:00.000000000 Z
13
+ date: 2013-02-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
@@ -200,6 +200,7 @@ extra_rdoc_files: []
200
200
  files:
201
201
  - .gitignore
202
202
  - CHANGELOG.md
203
+ - CONTRIBUTING.md
203
204
  - Gemfile
204
205
  - Guardfile
205
206
  - LICENSES.txt
@@ -238,12 +239,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
239
  - - ! '>='
239
240
  - !ruby/object:Gem::Version
240
241
  version: '0'
242
+ segments:
243
+ - 0
244
+ hash: 2717137854162198806
241
245
  required_rubygems_version: !ruby/object:Gem::Requirement
242
246
  none: false
243
247
  requirements:
244
248
  - - ! '>='
245
249
  - !ruby/object:Gem::Version
246
250
  version: '0'
251
+ segments:
252
+ - 0
253
+ hash: 2717137854162198806
247
254
  requirements: []
248
255
  rubyforge_project:
249
256
  rubygems_version: 1.8.24