Sha256: f274d5f83e2e62c95d25976d24a4833840902c3ef0c9e0aa7ce030993313ded0
Contents?: true
Size: 865 Bytes
Versions: 1
Compression:
Stored size: 865 Bytes
Contents
begin require 'simplecov' rescue LoadError # ignore end begin case when RUBY_PLATFORM == 'java' # require 'debug' # Debugger.start else require 'byebug' end rescue LoadError # ignore end require 'nokogiri' require 'citeproc' require 'citeproc/ruby' require 'csl/styles' module MimicksCiteProcJS def processor @processor ||= CiteProc::Processor.new :style => @style, :format => default_format, :locale => default_locale_path end def default_format unless @format @format = CiteProc::Ruby::Format.load('citeprocjs') @format.config[:bib_indent] = nil end @format end def default_locale_path File.expand_path('../../../spec/fixtures/locales/locales-en-US.xml', __FILE__) end def default_locale @locale ||= CSL::Locale.load default_locale_path end end World(MimicksCiteProcJS)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
citeproc-1.0.7 | features/support/env.rb |