lib/fontist.rb in fontist-0.2.0 vs lib/fontist.rb in fontist-0.3.0
- old
+ new
@@ -3,11 +3,11 @@
require "fontist/finder"
require "fontist/source"
require "fontist/installer"
require "fontist/system_font"
-require "fontist/ms_vista_font"
+require "fontist/formulas"
module Fontist
def self.lib_path
Fontist.root_path.join("lib")
end
@@ -16,9 +16,13 @@
Pathname.new(File.dirname(__dir__))
end
def self.assets_path
Fontist.root_path.join("assets")
+ end
+
+ def self.data_path
+ Fontist.lib_path.join("fontist", "data")
end
def self.fontist_path
Pathname.new(Dir.home).join(".fontist")
end