Introduce a standard gem configuration interface that allows
users to set an alternate font directory as follows:
Prawn::Icon.configure do |config|
config.font_directory = '/foo/bar'
end
Formally deprecate the FONTDIR and SHIMS constants and replace
with memoized class variables. We're only keeping them around so
as to not release a breaking change.
Bump version to 2.6.0.
Fix a bug with directory pathing in some environments because the
path was built assuming consistent namespacing. We now use
Gem::Specification#full_gem_path to handle the inconsistencies.
Disable the rubocop Layout/MultilineMethodCallIndentation check
as it adds more whitespace than I prefer.
resolves #45
FONTDIR
andSHIMS
constants and replace with memoized class variables. We're only keeping them around so as to not release a breaking change.Gem::Specification#full_gem_path
to handle the inconsistencies.Layout/MultilineMethodCallIndentation
check as it adds more whitespace than I prefer.