typefascist 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/Gemfile +18 -0
- data/Gemfile.lock +118 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +57 -0
- data/VERSION +1 -0
- data/bin/typefascist +32 -0
- data/lib/convertors/sfnt_to_woff2 +0 -0
- data/lib/typefascist.rb +1 -0
- data/lib/typefascist/convert.rb +76 -0
- data/test/helper.rb +34 -0
- data/test/test_typefascist.rb +7 -0
- data/typefascist.gemspec +76 -0
- metadata +172 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d7871dfdcf0741c592fe586f4fe45f76febb85d5
|
4
|
+
data.tar.gz: 80a22d10b2db530a8ba940401d8a9c56dc58c91c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 009e3e2bb8c4f77137e0c767aa09705566eafab20dc0b72351ecad1184180cde9d50bdb05b850478255ca832292df9b2894851b3f1126fca9a6af9d160fef390
|
7
|
+
data.tar.gz: e75cda8c0c00dd6335ee7cb950b56f3ca538603f8a013420dcd9076f691c38362f801f9c74fa8a19216b5f28e0fc8322045ac4b6575a4a41bdcf50427813481e
|
data/.document
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
source 'http://rubygems.org'
|
2
|
+
|
3
|
+
group :production do
|
4
|
+
gem 'rubypython', '~> 0.6'
|
5
|
+
gem 'commander', '~> 4.3.4'
|
6
|
+
gem 'terminal-announce', '~> 1.0.0'
|
7
|
+
end
|
8
|
+
|
9
|
+
group :development do
|
10
|
+
gem 'shoulda', '>= 0'
|
11
|
+
gem 'yard', '~> 0.7'
|
12
|
+
gem 'rdoc', '~> 3.12'
|
13
|
+
gem 'bundler', '~> 1.0'
|
14
|
+
gem 'jeweler', '~> 2.0'
|
15
|
+
gem 'simplecov', '~> 0'
|
16
|
+
gem 'reek', '~> 1.2'
|
17
|
+
gem 'roodi', '~> 2.1'
|
18
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
activesupport (4.2.3)
|
5
|
+
i18n (~> 0.7)
|
6
|
+
json (~> 1.7, >= 1.7.7)
|
7
|
+
minitest (~> 5.1)
|
8
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
9
|
+
tzinfo (~> 1.1)
|
10
|
+
addressable (2.3.8)
|
11
|
+
blankslate (3.1.3)
|
12
|
+
builder (3.2.2)
|
13
|
+
commander (4.3.4)
|
14
|
+
highline (~> 1.7.2)
|
15
|
+
contracts (0.9)
|
16
|
+
descendants_tracker (0.0.4)
|
17
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
18
|
+
docile (1.1.5)
|
19
|
+
faraday (0.9.1)
|
20
|
+
multipart-post (>= 1.2, < 3)
|
21
|
+
ffi (1.9.10)
|
22
|
+
git (1.2.9.1)
|
23
|
+
github_api (0.12.3)
|
24
|
+
addressable (~> 2.3)
|
25
|
+
descendants_tracker (~> 0.0.4)
|
26
|
+
faraday (~> 0.8, < 0.10)
|
27
|
+
hashie (>= 3.3)
|
28
|
+
multi_json (>= 1.7.5, < 2.0)
|
29
|
+
nokogiri (~> 1.6.3)
|
30
|
+
oauth2
|
31
|
+
hashie (3.4.2)
|
32
|
+
highline (1.7.2)
|
33
|
+
i18n (0.7.0)
|
34
|
+
jeweler (2.0.1)
|
35
|
+
builder
|
36
|
+
bundler (>= 1.0)
|
37
|
+
git (>= 1.2.5)
|
38
|
+
github_api
|
39
|
+
highline (>= 1.6.15)
|
40
|
+
nokogiri (>= 1.5.10)
|
41
|
+
rake
|
42
|
+
rdoc
|
43
|
+
json (1.8.3)
|
44
|
+
jwt (1.5.1)
|
45
|
+
mini_portile (0.6.2)
|
46
|
+
minitest (5.7.0)
|
47
|
+
multi_json (1.11.2)
|
48
|
+
multi_xml (0.5.5)
|
49
|
+
multipart-post (2.0.0)
|
50
|
+
nokogiri (1.6.6.2)
|
51
|
+
mini_portile (~> 0.6.0)
|
52
|
+
oauth2 (1.0.0)
|
53
|
+
faraday (>= 0.8, < 0.10)
|
54
|
+
jwt (~> 1.0)
|
55
|
+
multi_json (~> 1.3)
|
56
|
+
multi_xml (~> 0.5)
|
57
|
+
rack (~> 1.2)
|
58
|
+
rack (1.6.4)
|
59
|
+
rainbow (2.0.0)
|
60
|
+
rake (10.4.2)
|
61
|
+
rdoc (3.12.2)
|
62
|
+
json (~> 1.4)
|
63
|
+
reek (1.2.13)
|
64
|
+
ripper_ruby_parser (~> 0.0.7)
|
65
|
+
ruby2ruby (~> 1.2.5)
|
66
|
+
ruby_parser (~> 2.0)
|
67
|
+
sexp_processor (~> 3.0)
|
68
|
+
ripper_ruby_parser (0.0.8)
|
69
|
+
sexp_processor (~> 3.0)
|
70
|
+
roodi (2.1.0)
|
71
|
+
ruby_parser
|
72
|
+
ruby2ruby (1.2.5)
|
73
|
+
ruby_parser (~> 2.0)
|
74
|
+
sexp_processor (~> 3.0)
|
75
|
+
ruby_parser (2.3.1)
|
76
|
+
sexp_processor (~> 3.0)
|
77
|
+
rubypython (0.6.3)
|
78
|
+
blankslate (>= 2.1.2.3)
|
79
|
+
ffi (>= 1.0.7)
|
80
|
+
sexp_processor (3.2.0)
|
81
|
+
shoulda (3.5.0)
|
82
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
83
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
84
|
+
shoulda-context (1.2.1)
|
85
|
+
shoulda-matchers (2.8.0)
|
86
|
+
activesupport (>= 3.0.0)
|
87
|
+
simplecov (0.10.0)
|
88
|
+
docile (~> 1.1.0)
|
89
|
+
json (~> 1.8)
|
90
|
+
simplecov-html (~> 0.10.0)
|
91
|
+
simplecov-html (0.10.0)
|
92
|
+
terminal-announce (1.0.0)
|
93
|
+
bundler
|
94
|
+
contracts
|
95
|
+
rainbow
|
96
|
+
thread_safe (0.3.5)
|
97
|
+
tzinfo (1.2.2)
|
98
|
+
thread_safe (~> 0.1)
|
99
|
+
yard (0.8.7.6)
|
100
|
+
|
101
|
+
PLATFORMS
|
102
|
+
ruby
|
103
|
+
|
104
|
+
DEPENDENCIES
|
105
|
+
bundler (~> 1.0)
|
106
|
+
commander (~> 4.3.4)
|
107
|
+
jeweler (~> 2.0)
|
108
|
+
rdoc (~> 3.12)
|
109
|
+
reek (~> 1.2)
|
110
|
+
roodi (~> 2.1)
|
111
|
+
rubypython (~> 0.6)
|
112
|
+
shoulda
|
113
|
+
simplecov (~> 0)
|
114
|
+
terminal-announce (~> 1.0.0)
|
115
|
+
yard (~> 0.7)
|
116
|
+
|
117
|
+
BUNDLED WITH
|
118
|
+
1.10.5
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2015 Benji Visser
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
= typefascist
|
2
|
+
|
3
|
+
Description goes here.
|
4
|
+
|
5
|
+
== Contributing to typefascist
|
6
|
+
|
7
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
9
|
+
* Fork the project.
|
10
|
+
* Start a feature/bugfix branch.
|
11
|
+
* Commit and push until you are happy with your contribution.
|
12
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
|
+
|
15
|
+
== Copyright
|
16
|
+
|
17
|
+
Copyright (c) 2015 Benji Visser. See LICENSE.txt for
|
18
|
+
further details.
|
19
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
require 'rake'
|
13
|
+
|
14
|
+
require 'jeweler'
|
15
|
+
Jeweler::Tasks.new do |gem|
|
16
|
+
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
17
|
+
gem.name = "typefascist"
|
18
|
+
gem.homepage = "http://github.com/noqcks/typefascist"
|
19
|
+
gem.license = "MIT"
|
20
|
+
gem.summary = %Q{The font conversion gem}
|
21
|
+
gem.description = %Q{A simple gem to convert fonts from almost anything to almost anything}
|
22
|
+
gem.email = "theodore.r.visser@gmail.com"
|
23
|
+
gem.authors = ["Benji Visser"]
|
24
|
+
# dependencies defined in Gemfile
|
25
|
+
end
|
26
|
+
Jeweler::RubygemsDotOrgTasks.new
|
27
|
+
|
28
|
+
require 'rake/testtask'
|
29
|
+
Rake::TestTask.new(:test) do |test|
|
30
|
+
test.libs << 'lib' << 'test'
|
31
|
+
test.pattern = 'test/**/test_*.rb'
|
32
|
+
test.verbose = true
|
33
|
+
end
|
34
|
+
|
35
|
+
desc "Code coverage detail"
|
36
|
+
task :simplecov do
|
37
|
+
ENV['COVERAGE'] = "true"
|
38
|
+
Rake::Task['test'].execute
|
39
|
+
end
|
40
|
+
|
41
|
+
require 'reek/rake/task'
|
42
|
+
Reek::Rake::Task.new do |t|
|
43
|
+
t.fail_on_error = true
|
44
|
+
t.verbose = false
|
45
|
+
t.source_files = 'lib/**/*.rb'
|
46
|
+
end
|
47
|
+
|
48
|
+
require 'roodi'
|
49
|
+
require 'roodi_task'
|
50
|
+
RoodiTask.new do |t|
|
51
|
+
t.verbose = false
|
52
|
+
end
|
53
|
+
|
54
|
+
task :default => :test
|
55
|
+
|
56
|
+
require 'yard'
|
57
|
+
YARD::Rake::YardocTask.new
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
data/bin/typefascist
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require_relative '../lib/typefascist'
|
5
|
+
require 'commander'
|
6
|
+
require 'terminal-announce'
|
7
|
+
|
8
|
+
Commander.configure do
|
9
|
+
program :name, 'Typefascist'
|
10
|
+
program :version, '0.0.1'
|
11
|
+
program :description, 'The font convertor'
|
12
|
+
program :help, 'Author', 'Ben Visser <benjamin.visser@telus.com>'
|
13
|
+
|
14
|
+
default_command :convert
|
15
|
+
|
16
|
+
command :convert do |command|
|
17
|
+
command.syntax = 'convert <file> --format woff'
|
18
|
+
command.description = 'A font conversion tool that can convert to anything from anything'
|
19
|
+
command.option '--format String', String, 'Format to convert to'
|
20
|
+
command.action do |args, options|
|
21
|
+
options.default format: 'woff2'
|
22
|
+
abort 'Please select a file to convert: typefascist <file>' unless args.first
|
23
|
+
from = File.extname(args.first).delete('.')
|
24
|
+
file = File.absolute_path args.first
|
25
|
+
if(!File.exist?(file))
|
26
|
+
Announce.failure "The file #{file} does not exist"
|
27
|
+
else
|
28
|
+
Convert.forge(file, from, options.format);
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
Binary file
|
data/lib/typefascist.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require_relative "typefascist/convert"
|
@@ -0,0 +1,76 @@
|
|
1
|
+
require 'rubypython'
|
2
|
+
require 'terminal-announce'
|
3
|
+
|
4
|
+
module Convert
|
5
|
+
@@fontforge_enabled = [
|
6
|
+
'woff', 'otf', 'ufo', 'svg', 'eot', 'afm', 'bin', 'cff',
|
7
|
+
'dfont', 'pdf', 'pfa', 'pfb', 'pfm', 'ps', 'pt3', 'suit',
|
8
|
+
't11', 't42', 'tfm', 'ttc', 'ttf'
|
9
|
+
];
|
10
|
+
|
11
|
+
# /////////////////
|
12
|
+
# /// TO WOFF2 ////
|
13
|
+
# /////////////////
|
14
|
+
|
15
|
+
def self.to_woff2(file, from)
|
16
|
+
fontforge(file, from, 'otf')
|
17
|
+
Announce.info "Converting from #{from} to woff2"
|
18
|
+
suppress_output { system "#{Pathname.pwd}/lib/convertors/sfnt_to_woff2 #{file}" }
|
19
|
+
suppress_output { system "rm -rf #{file}" }
|
20
|
+
file.sub! 'otf', 'woff2'
|
21
|
+
Announce.success "Font converted at #{file}"
|
22
|
+
end
|
23
|
+
|
24
|
+
# //////////////////////////////
|
25
|
+
# /// TO BASICALLY ANYTHING ////
|
26
|
+
# //////////////////////////////
|
27
|
+
|
28
|
+
def self.fontforge(file, from, to)
|
29
|
+
RubyPython.start()
|
30
|
+
fontforge = RubyPython.import('fontforge')
|
31
|
+
font = suppress_output { fontforge.open(file) }
|
32
|
+
file.sub! from, to
|
33
|
+
suppress_output { fontforge.font.generate(font, file) }
|
34
|
+
RubyPython.stop
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.forge(file, from, to)
|
38
|
+
fonts = [from, to];
|
39
|
+
if (fonts & @@fontforge_enabled).length.eql? 2
|
40
|
+
Announce.info "Converting from #{from} to #{to}"
|
41
|
+
self.fontforge(file, from, to)
|
42
|
+
Announce.success "Font converted at #{file}"
|
43
|
+
else
|
44
|
+
conversion = "to_#{to}"
|
45
|
+
if(self.respond_to? :"#{conversion}")
|
46
|
+
self.method(conversion).call(file, from)
|
47
|
+
else
|
48
|
+
Announce.failure "Conversion from #{from} to #{to} not supported"
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
# /////////////////////
|
54
|
+
# ///// HELPERS //////
|
55
|
+
# /////////////////////
|
56
|
+
|
57
|
+
# Suppresses all output to terminal
|
58
|
+
def self.suppress_output
|
59
|
+
begin
|
60
|
+
original_stderr = $stderr.clone
|
61
|
+
original_stdout = $stdout.clone
|
62
|
+
$stderr.reopen(File.new('/dev/null', 'w'))
|
63
|
+
$stdout.reopen(File.new('/dev/null', 'w'))
|
64
|
+
retval = yield
|
65
|
+
rescue Exception => e
|
66
|
+
$stdout.reopen(original_stdout)
|
67
|
+
$stderr.reopen(original_stderr)
|
68
|
+
raise e
|
69
|
+
ensure
|
70
|
+
$stdout.reopen(original_stdout)
|
71
|
+
$stderr.reopen(original_stderr)
|
72
|
+
end
|
73
|
+
retval
|
74
|
+
end
|
75
|
+
|
76
|
+
end
|
data/test/helper.rb
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
|
3
|
+
module SimpleCov::Configuration
|
4
|
+
def clean_filters
|
5
|
+
@filters = []
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
SimpleCov.configure do
|
10
|
+
clean_filters
|
11
|
+
load_adapter 'test_frameworks'
|
12
|
+
end
|
13
|
+
|
14
|
+
ENV["COVERAGE"] && SimpleCov.start do
|
15
|
+
add_filter "/.rvm/"
|
16
|
+
end
|
17
|
+
require 'rubygems'
|
18
|
+
require 'bundler'
|
19
|
+
begin
|
20
|
+
Bundler.setup(:default, :development)
|
21
|
+
rescue Bundler::BundlerError => e
|
22
|
+
$stderr.puts e.message
|
23
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
24
|
+
exit e.status_code
|
25
|
+
end
|
26
|
+
require 'test/unit'
|
27
|
+
require 'shoulda'
|
28
|
+
|
29
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
30
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
31
|
+
require 'typefascist'
|
32
|
+
|
33
|
+
class Test::Unit::TestCase
|
34
|
+
end
|
data/typefascist.gemspec
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: typefascist 0.0.1 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "typefascist"
|
9
|
+
s.version = "0.0.1"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
|
+
s.authors = ["Benji Visser"]
|
14
|
+
s.date = "2015-07-11"
|
15
|
+
s.description = "A simple gem to convert fonts from almost anything to almost anything"
|
16
|
+
s.email = "theodore.r.visser@gmail.com"
|
17
|
+
s.executables = ["typefascist"]
|
18
|
+
s.extra_rdoc_files = [
|
19
|
+
"LICENSE.txt",
|
20
|
+
"README.rdoc"
|
21
|
+
]
|
22
|
+
s.files = [
|
23
|
+
".document",
|
24
|
+
"Gemfile",
|
25
|
+
"Gemfile.lock",
|
26
|
+
"LICENSE.txt",
|
27
|
+
"README.rdoc",
|
28
|
+
"Rakefile",
|
29
|
+
"VERSION",
|
30
|
+
"bin/typefascist",
|
31
|
+
"lib/convertors/sfnt_to_woff2",
|
32
|
+
"lib/typefascist.rb",
|
33
|
+
"lib/typefascist/convert.rb",
|
34
|
+
"test/helper.rb",
|
35
|
+
"test/test_typefascist.rb",
|
36
|
+
"typefascist.gemspec"
|
37
|
+
]
|
38
|
+
s.homepage = "http://github.com/noqcks/typefascist"
|
39
|
+
s.licenses = ["MIT"]
|
40
|
+
s.rubygems_version = "2.4.6"
|
41
|
+
s.summary = "The font conversion gem"
|
42
|
+
|
43
|
+
if s.respond_to? :specification_version then
|
44
|
+
s.specification_version = 4
|
45
|
+
|
46
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
48
|
+
s.add_development_dependency(%q<yard>, ["~> 0.7"])
|
49
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
50
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
51
|
+
s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
|
52
|
+
s.add_development_dependency(%q<simplecov>, ["~> 0"])
|
53
|
+
s.add_development_dependency(%q<reek>, ["~> 1.2"])
|
54
|
+
s.add_development_dependency(%q<roodi>, ["~> 2.1"])
|
55
|
+
else
|
56
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
57
|
+
s.add_dependency(%q<yard>, ["~> 0.7"])
|
58
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
59
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
60
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0"])
|
61
|
+
s.add_dependency(%q<simplecov>, ["~> 0"])
|
62
|
+
s.add_dependency(%q<reek>, ["~> 1.2"])
|
63
|
+
s.add_dependency(%q<roodi>, ["~> 2.1"])
|
64
|
+
end
|
65
|
+
else
|
66
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
67
|
+
s.add_dependency(%q<yard>, ["~> 0.7"])
|
68
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
69
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
70
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0"])
|
71
|
+
s.add_dependency(%q<simplecov>, ["~> 0"])
|
72
|
+
s.add_dependency(%q<reek>, ["~> 1.2"])
|
73
|
+
s.add_dependency(%q<roodi>, ["~> 2.1"])
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
metadata
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: typefascist
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Benji Visser
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-07-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: shoulda
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: yard
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.7'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.7'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rdoc
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.12'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.12'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jeweler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: reek
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.2'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: roodi
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '2.1'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '2.1'
|
125
|
+
description: A simple gem to convert fonts from almost anything to almost anything
|
126
|
+
email: theodore.r.visser@gmail.com
|
127
|
+
executables:
|
128
|
+
- typefascist
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files:
|
131
|
+
- LICENSE.txt
|
132
|
+
- README.rdoc
|
133
|
+
files:
|
134
|
+
- ".document"
|
135
|
+
- Gemfile
|
136
|
+
- Gemfile.lock
|
137
|
+
- LICENSE.txt
|
138
|
+
- README.rdoc
|
139
|
+
- Rakefile
|
140
|
+
- VERSION
|
141
|
+
- bin/typefascist
|
142
|
+
- lib/convertors/sfnt_to_woff2
|
143
|
+
- lib/typefascist.rb
|
144
|
+
- lib/typefascist/convert.rb
|
145
|
+
- test/helper.rb
|
146
|
+
- test/test_typefascist.rb
|
147
|
+
- typefascist.gemspec
|
148
|
+
homepage: http://github.com/noqcks/typefascist
|
149
|
+
licenses:
|
150
|
+
- MIT
|
151
|
+
metadata: {}
|
152
|
+
post_install_message:
|
153
|
+
rdoc_options: []
|
154
|
+
require_paths:
|
155
|
+
- lib
|
156
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
requirements: []
|
167
|
+
rubyforge_project:
|
168
|
+
rubygems_version: 2.4.6
|
169
|
+
signing_key:
|
170
|
+
specification_version: 4
|
171
|
+
summary: The font conversion gem
|
172
|
+
test_files: []
|