Sha256: 8f703a7e0f75ca6b95c07485bf216da7e24579ed7072d716cf19aa687d4d6881
Contents?: true
Size: 892 Bytes
Versions: 4
Compression:
Stored size: 892 Bytes
Contents
# frozen_string_literal: true require "faraday" require "relaton/index" require "relaton_bib" require_relative "relaton_iana/version" require_relative "relaton_iana/config" require_relative "relaton_iana/util" require_relative "relaton_iana/iana_bibliographic_item" require_relative "relaton_iana/xml_parser" require_relative "relaton_iana/hash_converter" require_relative "relaton_iana/iana_bibliography" require_relative "relaton_iana/parser" require_relative "relaton_iana/data_fetcher" module RelatonIana class Error < StandardError; end # 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 RelatonIana::VERSION + RelatonBib::VERSION # grammars end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
relaton-iana-1.18.0 | lib/relaton_iana.rb |
relaton-iana-1.17.0 | lib/relaton_iana.rb |
relaton-iana-1.16.2 | lib/relaton_iana.rb |
relaton-iana-1.16.1 | lib/relaton_iana.rb |