Sha256: 3ae86ace5a58095763f22640d8deffa746b3d597294c535363708a3a3606ef9d

Contents?: true

Size: 959 Bytes

Versions: 2

Compression:

Stored size: 959 Bytes

Contents

require "relaton/index"
require "relaton_bib"
require "relaton_calconnect/version"
require "relaton_calconnect/util"
require "relaton_calconnect/document_type"
require "relaton_calconnect/cc_bibliography"
require "relaton_calconnect/hit_collection"
require "relaton_calconnect/hit"
require "relaton_calconnect/scrapper"
require "relaton_calconnect/technical_committee"
require "relaton_calconnect/cc_bibliographic_item"
require "relaton_calconnect/xml_parser"
require "relaton_calconnect/hash_converter"
require "relaton_calconnect/data_fetcher"

module RelatonCalconnect
  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 RelatonCalconnect::VERSION + RelatonBib::VERSION # grammars
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
relaton-calconnect-1.19.1 lib/relaton_calconnect.rb
relaton-calconnect-1.19.0 lib/relaton_calconnect.rb