marmot 0.0.1 → 0.0.2

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: 7d63183e8ca618db1c3f5535b9694aecf03817ca
4
- data.tar.gz: ef58b0b863574c9c726464e5d956d26d695fe4f6
3
+ metadata.gz: e696ab3975eb1b1de9c87e93b6f4b8d540c4db24
4
+ data.tar.gz: 916e93b1787efecf75144de17258d362b718a43a
5
5
  SHA512:
6
- metadata.gz: aa524f16170c0bb2d8bf02e23176c6a2be79bbb30eed21d1583e256c2baa52f173ba0a56b0cef7f6970be7bac1633b136d9e7638dc18df0b6df3e73ef5289c66
7
- data.tar.gz: 97de6003b10518817cf24ef71cae79e5cb0bc07806e962bbd3308c7c7b92fb72bee37965cdac0934ef9649bc74cf9cec3503413d0202888fa42209529e6a1f4c
6
+ metadata.gz: 7b3a76aad08d973de5d582808c7aadb90de5df6cc874b211cfaec1ae5dd1c34ca584a80c75adc9e7690db865ca56b74fc54e05a65e38d9853b727bcf7ef1abae
7
+ data.tar.gz: 4b2152cab10e08d17cf17a9900bf4f067360f6ce460cc31a48e7d5adfec5efaa5f5b13693154a152f694a882c95f8052eb86d9598aef42ad0178bc5919ca387b
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Marmot — Unofficial [FontSquirrel Webfont Generator](https://github.com/petethepig/) Client
1
+ # Marmot — Unofficial [FontSquirrel Webfont Generator](http://www.fontsquirrel.com/tools/webfont-generator/) Client
2
2
 
3
3
  Marmot automates font-face generation, making it easier and faster:
4
4
 
@@ -78,6 +78,7 @@ Some option names can be confusing. Go to [generator's page](http://www.fontsqui
78
78
  $(this).after($("<div style='color:red;'>"+$(this).attr("name")+" : "+$(this).attr("value")+"</div>"));
79
79
  });
80
80
  ```
81
+ ![Options](https://raw.github.com/petethepig/marmot/master/doc/js-snippet.png)
81
82
 
82
83
  ###What else?
83
84
  Since Marmot is a ruby gem, you can use it in your ruby projects:
@@ -95,3 +96,5 @@ client.convert File.new("font.ttf"), {
95
96
  Marmot is only a couple days old, so this can happen. Please, report on the [Issues page](https://github.com/petethepig/marmot/issues).
96
97
 
97
98
  Or [contact me on Twitter](https://twitter.com/dmi3f)
99
+
100
+ [![githalytics.com alpha](https://cruel-carlota.pagodabox.com/37f28361c2ec4bf7ff7b8a9bc3655929 "githalytics.com")](http://githalytics.com/petethepig/marmot)
data/lib/marmot/client.rb CHANGED
@@ -28,10 +28,6 @@ module Marmot
28
28
  # Default is a File with the name like "webfontkit-20130312-200144.zip"
29
29
  #
30
30
  # @option options
31
- # [IO] :output_stream
32
- # Custom output stream, like STDOUT
33
- #
34
- # @option options
35
31
  # [Hash] :custom_options
36
32
  # Options that will bypass sanitization. Make sure you know what you do before trying it out.
37
33
  #
@@ -47,7 +47,6 @@ module Marmot
47
47
  type = array[0]
48
48
  allowed_values = array[1..999]
49
49
  user_value = options[key].nil? ? options[key.to_s] : options[key]
50
- user_value = user_value.to_s unless user_value.nil?
51
50
 
52
51
  if !user_value.nil? && OPTIONS.has_key?(key) && !NON_EXPERT_OPTIONS.include?(key)
53
52
  options[:mode] = result[:mode] = "expert" if options[:mode].nil?
@@ -1,3 +1,3 @@
1
1
  module Marmot
2
- VERSION = "0.0.1".freeze
2
+ VERSION = "0.0.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marmot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Filimonov