Sha256: 634486da63b970c5b9ebf024b35a757647d79d330cbfb12a07cece8bf4d13e05
Contents?: true
Size: 828 Bytes
Versions: 3
Compression:
Stored size: 828 Bytes
Contents
require "digest/md5" require "relaton_iso_bib" require "cnccs" require "relaton_gb/version" require "relaton_gb/config" require "relaton_gb/util" require "relaton_gb/gb_bibliography" # if defined? Relaton # require "relaton_gb/processor" # # don't register the gem if it's required form relaton's registry # return if caller.detect { |c| c.include? "register_gems" } # Relaton::Registry.instance.register RelatonGb::Processor # end module RelatonGb # Returns hash of XML reammar # @return [String] def self.grammar_hash # gem_path = File.expand_path "..", __dir__ # grammars_path = File.join gem_path, "grammars", "*" # grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join Digest::MD5.hexdigest RelatonGb::VERSION + RelatonIsoBib::VERSION + RelatonBib::VERSION # grammars end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
relaton-gb-1.16.3 | lib/relaton_gb.rb |
relaton-gb-1.16.2 | lib/relaton_gb.rb |
relaton-gb-1.16.1 | lib/relaton_gb.rb |